/* ═══════════════════════════════════════════════════════════════
   css/index.css — Regional MHC 2026
   Homepage-specific styles ONLY.
   All shared styles (nav, footer, modals, partners carousel,
   a11y widget, scroll-top, CSS variables, reveal animations,
   responsive breakpoints) live in css/shared.css.
   This file contains only what is unique to index.html:
     1. Hero section (layout, eyebrow, logo, meta pills, buttons,
        stats row, theme card)
     2. Sub-themes section (#subthemes, .st-*)
     3. Countdown section (#countdown-section, .cd-*)
═══════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════════
   1. HERO — WHITE / CLEAN
══════════════════════════════════════════════════════════ */

#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--nav-h) - 52px);
  background: #ffffff;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 3rem;
  align-items: center;
}

/* ── Hero eyebrow styles kept in case used elsewhere, but element removed from HTML ── */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.2rem;
}
.hero-eyebrow-line {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
}

/* ── Conference logo ── */
.hero-logo-wrap {
  margin-bottom: 1rem;
  margin-top: -1rem;
}
.hero-logo-wrap img {
  max-width: 680px;
  width: 100%;
  height: auto;
}

/* ── Meta pills row ── */
.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--ice);
  border: 1px solid var(--border);
  padding: 0.42rem 1rem;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
}
.hero-meta-pill i {
  color: var(--gold);
  font-size: 0.68rem;
}

/* ── CTA buttons row ── */
.hero-btns {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* ── Stats bar ── */
.hero-stats-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--off);
}
.hero-stat {
  padding: 1rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
  flex: 1;
}
.hero-stat:last-child {
  border-right: none;
}
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
  line-height: 1;
}
.hero-stat-lbl {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 0.2rem;
}

/* ── Theme card (right column) ── */
.hero-theme-card {
  background: var(--navy);
  border-top: 5px solid var(--gold);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(8, 28, 58, 0.18);
}
.hero-theme-card::before {
  content: '"';
  position: absolute;
  top: -1rem;
  right: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 10rem;
  font-weight: 800;
  color: rgba(212, 152, 11, 0.10);
  line-height: 1;
  pointer-events: none;
}
.theme-card-eyebrow {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-lt);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.2rem;
}
.theme-card-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.theme-card-badge {
  display: inline-block;
  background: rgba(212, 152, 11, 0.15);
  border: 1px solid rgba(212, 152, 11, 0.3);
  padding: 0.25rem 0.7rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 1.2rem;
}
.theme-card-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  line-height: 1.55;
  margin-bottom: 2rem;
}
.theme-card-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 1.5rem 0;
}
.theme-card-org-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 0.2rem;
}
.theme-card-org-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold-lt);
  flex-shrink: 0;
}
.theme-card-org-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.theme-card-org-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.theme-card-org-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* ── Hero responsive ── */
@media (max-width: 1050px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem 2rem;
  }
  .hero-theme-card { max-width: 100%; }
  .hero-logo-wrap img { max-width: 560px; }
}
@media (max-width: 600px) {
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-stats-row { flex-wrap: wrap; }
  .hero-stat { min-width: 50%; }
  .hero-logo-wrap img { max-width: 100%; }
}


/* ══════════════════════════════════════════════════════════
   2. SUB-THEMES
══════════════════════════════════════════════════════════ */

#subthemes {
  background: var(--off);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}
#subthemes::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--blue));
}

.st-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* Section shared eyebrow + heading used on this page */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.8rem;
}
.section-eyebrow-line {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
}
.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.section-sub {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ── Sub-theme grid ── */
.st-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.st-card {
  background: var(--white);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.st-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s;
}
.st-card:hover {
  box-shadow: 0 8px 32px rgba(8, 28, 58, 0.1);
  transform: translateY(-2px);
  z-index: 1;
}
.st-card:hover::before {
  transform: scaleY(1);
}

.st-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(14, 59, 122, 0.07);
  line-height: 1;
  position: absolute;
  top: 0.5rem;
  right: 1rem;
}
.st-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--navy);
  color: var(--gold-lt);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}
.st-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.st-register {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  cursor: pointer;
  margin-top: auto;
  width: fit-content;
  padding: 0;
  border: none;
  background: none;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.2s;
}
.st-register:hover { color: var(--gold); }
.st-register i { font-size: 0.6rem; }

@media (max-width: 600px) {
  .st-grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════════
   3. COUNTDOWN
══════════════════════════════════════════════════════════ */

#countdown-section {
  background: var(--navy);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}
#countdown-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 700px;
  background: radial-gradient(
    ellipse at center,
    rgba(212, 152, 11, 0.14) 0%,
    transparent 68%
  );
  pointer-events: none;
}
#countdown-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.cd-top-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--gold));
}

.cd-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.cd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 1.4rem;
}
.cd-eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(245, 185, 48, 0.45);
}

.cd-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3.5rem;
  line-height: 1.3;
}
.cd-headline em {
  color: var(--gold-lt);
  font-style: normal;
}

/* Digit blocks */
.cd-blocks {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  flex-wrap: wrap;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}
.cd-unit:last-child { border-right: none; }

.cd-digit {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.45) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.cd-unit-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.7rem;
  display: block;
}

/* Separator colon */
.cd-sep-wrap {
  display: flex;
  align-items: flex-start;
  padding-bottom: 1.4rem;
}
.cd-colon {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  opacity: 0.75;
}

/* Decorative divider below digits */
.cd-divider {
  display: block;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 3rem auto 1.2rem;
}
.cd-sub {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.08em;
}