/* ===========================================
   SECTIONS — Reusable section patterns
   Hero headers, CTA banners, section labels
   =========================================== */

/* --- SECTION LABEL (02 Mission, 03 Geographic, etc.) --- */
.section-label {
  font-family: var(--font-label);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.section-label::before {
  content: '';
  width: 48px;
  height: 1px;
  background-color: var(--color-secondary);
  display: inline-block;
}

/* Variant: no line decoration */
.section-label--no-line::before {
  display: none;
}

/* --- SECTION HEADING --- */
.section-heading {
  font-family: var(--font-headline);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  overflow-wrap: break-word;
}

.section-heading--xl  { font-size: clamp(2.5rem, 5vw, 5rem); }
.section-heading--lg  { font-size: clamp(2rem, 4vw, 3.5rem); }
.section-heading--md  { font-size: clamp(1.5rem, 3vw, 2.25rem); }

.section-heading strong,
.section-heading .accent {
  color: var(--color-secondary);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-primary-container);
}

.hero--full {
  min-height: 100vh;
  height: auto;
}

.hero--tall {
  min-height: 480px;
  height: auto;
}

.hero--home {
  min-height: 100vh;
  height: auto;
  padding: 120px 0 80px 0; /* Extra top padding for fixed navbar */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, var(--color-primary-container), rgba(22, 28, 40, 0.8), transparent);
}

@media (min-width: 768px) {
  .hero-gradient {
    background: linear-gradient(to right, var(--color-primary-container), rgba(22, 28, 40, 0.8), transparent);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) {
  .hero-content {
    padding: 0 var(--space-12);
  }
}

.hero-badge {
  display: inline-block;
  background-color: var(--color-secondary);
  color: #ffffff;
  padding: 4px 16px;
  font-family: var(--font-label);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: var(--space-8);
}

.hero-title {
  font-family: var(--font-headline);
  color: #ffffff;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: var(--space-8);
}

.hero-title--home {
  font-size: clamp(2.5rem, 8vw, 5rem);
}

.hero-title--page {
  font-size: clamp(2.5rem, 10vw, 6rem);
}

.hero-subtitle {
  color: var(--color-on-primary-container);
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 3vw, 1.25rem);
  max-width: 42rem;
  line-height: 1.6;
  margin-bottom: var(--space-12);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-direction: column;
}

@media (min-width: 480px) {
  .hero-buttons {
    flex-direction: row;
    gap: 24px;
    flex-wrap: wrap;
  }
}

/* Hero number indicator */
.hero-indicator {
  position: absolute;
  bottom: var(--space-12);
  right: var(--space-12);
  display: none;
  flex-direction: column;
  align-items: flex-end;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: var(--space-8);
}

.hero-indicator-number {
  font-family: var(--font-headline);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-secondary);
}

.hero-indicator-text {
  font-family: var(--font-label);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
}

/* --- CTA SECTION --- */
.cta-section {
  background-color: var(--color-secondary);
  padding: 64px var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 96px var(--space-12);
  }
}

.cta-title {
  font-family: var(--font-headline);
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: var(--space-8);
}

.cta-title--lg {
  font-size: clamp(2rem, 8vw, 4.5rem);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-direction: column;
}

@media (min-width: 480px) {
  .cta-buttons {
    flex-direction: row;
    gap: 24px;
    flex-wrap: wrap;
  }
}

/* Large decorative watermark text */
.cta-watermark {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-family: var(--font-headline);
  font-size: clamp(5rem, 20vw, 15rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  opacity: 0.1;
  user-select: none;
  pointer-events: none;
  line-height: 1;
}

/* --- ORTHO GRID (dot pattern background) --- */
.ortho-grid {
  background-image: radial-gradient(circle, var(--color-outline-variant) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* --- RESPONSIVE --- */
@media (min-width: 1024px) {
  .hero-indicator {
    display: flex;
  }
}
