/* ============================================================
   이른둥이 — Front (public site) shared components
   Header / nav / mobile sheet / buttons / hero / sections /
   footer / bottom CTA / reveal. Page-specific rules live in
   assets/css/pages/<page>.css.
   ============================================================ */

/* ------------------------------------------------------------------
   Reset + base
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* 한글은 어절(띄어쓰기) 단위로만 줄바꿈 — 단어 중간 끊김 방지.
     긴 영문/URL 등 끊을 곳 없는 토큰은 overflow-wrap 으로 처리 */
  word-break: keep-all;
  overflow-wrap: break-word;
}
/* 메인페이지를 제외한 세부페이지 배경은 흰색 */
body:not(.page-home) { background: #FFFFFF; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--brand-coral-200);
  outline-offset: 4px;
  border-radius: var(--radius-xs);
}

/* ------------------------------------------------------------------
   해상도별 줄바꿈 제어 유틸리티
   - <br>              : 항상 줄바꿈
   - <br class="br-pc">: 데스크톱(>720px)에서만 줄바꿈
   - <br class="br-mo">: 모바일(<=720px)에서만 줄바꿈
   숨겨질 때 단어가 붙지 않도록, 끊는 지점 앞뒤에는 띄어쓰기를 둔다.
   ------------------------------------------------------------------ */
.br-mo { display: none; }
@media (max-width: 720px) {
  .br-pc { display: none; }
  .br-mo { display: inline; }
}

/* ------------------------------------------------------------------
   Layout container
   ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
@media (min-width: 900px) {
  .container { padding: 0 var(--space-10); }
}

/* ------------------------------------------------------------------
   Header
   ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}
.brand img {
  height: 40px;
  width: auto;
}
@media (min-width: 900px) {
  .site-header__inner { height: 84px; }
  .brand img { height: 48px; }
}

/* Primary nav (desktop) */
.nav { display: none; }
@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: var(--space-2);
  }
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  font-weight: var(--fw-medium);
  font-size: 15px;
  color: var(--fg1);
  border-radius: var(--radius-pill);
  transition: background var(--dur) var(--ease-soft), color var(--dur) var(--ease-soft);
  white-space: nowrap;
}
.nav-link:hover { background: var(--brand-cream-100); color: var(--brand-coral-600); }
.nav-link.is-active { color: var(--brand-coral-600); background: var(--brand-cream-100); }
.nav-item__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-2);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--dur) var(--ease-soft);
}
.nav-item:hover .nav-item__menu,
.nav-item:focus-within .nav-item__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-item__menu a {
  display: block;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--fg2);
  transition: background var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft);
}
.nav-item__menu a:hover { background: var(--brand-cream-100); color: var(--brand-coral-600); }
.nav-item__menu a.is-active { color: var(--brand-coral-600); }

/* Header actions */
.header-actions {
  display: none;
  align-items: center;
  gap: var(--space-2);
}
@media (min-width: 1024px) {
  .header-actions { display: flex; }
}
.text-btn {
  padding: var(--space-2) var(--space-4);
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--fg2);
  border-radius: var(--radius-pill);
  transition: background var(--dur-fast) var(--ease-soft);
}
.text-btn:hover { background: var(--brand-cream-100); }

/* Mobile menu toggle */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  color: var(--fg1);
  transition: background var(--dur-fast) var(--ease-soft);
}
.menu-toggle:hover { background: var(--brand-cream-100); }
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

/* Mobile sheet */
.mobile-sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(61, 53, 43, 0.38);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-soft), visibility var(--dur) var(--ease-soft);
}
.mobile-sheet[data-open="true"] { opacity: 1; visibility: visible; }
.mobile-sheet__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 360px);
  background: var(--surface);
  padding: var(--space-6);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease-soft);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.mobile-sheet[data-open="true"] .mobile-sheet__panel { transform: translateX(0); }
.mobile-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}
.mobile-sheet__head img { height: 36px; }
.mobile-sheet__group { border-top: 1px solid var(--border); padding-top: var(--space-4); }
.mobile-sheet__group:first-of-type { border-top: 0; padding-top: 0; }
.mobile-sheet__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 17px;
  color: var(--fg1);
  margin: 0 0 var(--space-2) 0;
}
.mobile-sheet__list a {
  display: block;
  padding: var(--space-3) var(--space-2);
  font-size: 15px;
  color: var(--fg2);
  border-radius: var(--radius-sm);
}
.mobile-sheet__list a:hover { background: var(--brand-cream-100); color: var(--brand-coral-600); }
.mobile-sheet__actions {
  margin-top: auto;
  display: flex;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}
.mobile-sheet__actions .btn { flex: 1; }

/* ------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: 15px;
  line-height: 1;
  transition: background var(--dur) var(--ease-soft),
              color var(--dur) var(--ease-soft),
              transform var(--dur-fast) var(--ease-soft),
              box-shadow var(--dur) var(--ease-soft);
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: var(--fg-on-coral);
  box-shadow: var(--shadow-coral);
}
.btn--primary:hover { background: var(--primary-hover); }
.btn--primary:active { background: var(--primary-press); transform: scale(0.98); }

.btn--ghost {
  background: var(--surface);
  color: var(--fg1);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-xs);
}
.btn--ghost:hover { background: var(--brand-cream-100); }
.btn--ghost:active { transform: scale(0.98); }

.btn--secondary {
  background: #FFFFFF;
  color: var(--brand-brown-700);
  border: 1.5px solid var(--brand-coral-300);
  box-shadow: none;
}
.btn--secondary:hover {
  background: var(--brand-coral-50);
  border-color: var(--brand-coral-400);
}
.btn--secondary:active {
  background: var(--brand-coral-100);
  transform: scale(0.98);
}

.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--sm { padding: 10px 16px; font-size: 14px; }

.btn .plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  color: inherit;
}

/* ------------------------------------------------------------------
   Eyebrow / section title pattern
   ------------------------------------------------------------------ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 var(--space-3) 0;
}
.section-title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--fg1);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-5) 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
}
.lede {
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg2);
  max-width: 56ch;
  margin: 0;
  text-wrap: pretty;
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, var(--brand-blush-100) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 0% 100%, var(--brand-cream-100) 0%, transparent 55%),
    linear-gradient(180deg, var(--brand-cream-50) 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero--full {
  min-height: 520px;
  display: flex;
  align-items: center;
}
@media (min-width: 900px) {
  .hero--full { min-height: 640px; }
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
}
.hero__protect {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      100deg,
      rgba(255, 252, 248, 0.96) 0%,
      rgba(255, 252, 248, 0.86) 28%,
      rgba(255, 252, 248, 0.45) 55%,
      rgba(255, 252, 248, 0) 80%
    );
}
@media (max-width: 720px) {
  .hero__protect {
    background:
      linear-gradient(
        180deg,
        rgba(255, 252, 248, 0.94) 0%,
        rgba(255, 252, 248, 0.7) 45%,
        rgba(255, 252, 248, 0.2) 80%,
        rgba(255, 252, 248, 0) 100%
      );
  }
}
.hero__overlay {
  position: relative;
  z-index: 2;
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
@media (min-width: 900px) {
  .hero__overlay {
    padding-top: var(--space-20);
    padding-bottom: var(--space-20);
  }
}
.hero--full .hero__copy { max-width: 640px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--brand-coral-50);
  border: 1px solid var(--brand-coral-100);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--brand-coral-600);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-xs);
}
.hero__eyebrow svg {
  width: 24px;
  height: 24px;
  color: var(--brand-coral-500);
  flex-shrink: 0;
  animation: heart-beat 1.6s var(--ease-soft) infinite;
}
@keyframes heart-beat {
  0%, 60%, 100% { transform: scale(1); }
  20% { transform: scale(1.18); }
  40% { transform: scale(0.96); }
}
.hero__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--fg1);
  margin: 0 0 var(--space-4) 0;
  font-size: 70px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
@media (max-width: 720px) {
  .hero__title { font-size: clamp(32px, 9vw, 56px); }
  .hero__eyebrow { font-size: 15px; }
  .hero__eyebrow svg { width: 20px; height: 20px; }
  /* 모바일: 우측(아이들)·하단 기준으로 정렬해 아이들이 잘리지 않게 */
  .hero__bg { object-position: right bottom; }
  /* 모바일: 텍스트+CTA를 히어로 상단으로 붙임 */
  .hero--full { align-items: flex-start; }
  .hero__overlay { padding-top: var(--space-10); padding-bottom: var(--space-10); }
}
.hero__title .accent { color: var(--brand-coral-500); }
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
/* 사업보기 버튼 패딩: 상·하 14px · 좌·우 24px (전 해상도) */
.hero__ctas .btn { padding: 14px 24px; }

/* ------------------------------------------------------------------
   Section base
   ------------------------------------------------------------------ */
section.band { padding: var(--space-16) 0; }
@media (min-width: 900px) {
  section.band { padding: 96px 0; }
}
.band--cream { background: var(--bg-alt); }
.band--sunken { background: var(--bg-sunken); }

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: var(--space-16); }
  .two-col--reverse > :first-child { order: 2; }
}

/* Image frame */
.img-frame {
  position: relative;
  border-radius: clamp(14px, 4vw, 32px);
  overflow: hidden;
  background: var(--brand-cream-100);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-frame--portrait { aspect-ratio: 4 / 5; }
.img-frame--fallback {
  background:
    radial-gradient(circle at 30% 30%, var(--brand-blush-100) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, var(--brand-cream-200) 0%, transparent 55%),
    var(--brand-cream-50);
}

/* ------------------------------------------------------------------
   Intro section (우리 아이 건강하게…)
   ------------------------------------------------------------------ */
.intro-question {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.25;
  color: var(--fg1);
  margin: 0 0 var(--space-6) 0;
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.intro-question .underline {
  background-image: linear-gradient(transparent 64%, var(--brand-blush-200) 64%);
  padding: 0 4px;
}

/* Program stats — emphasize 3년 × 5번 */
.program-stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: var(--space-5);
  margin: var(--space-10) auto 0;
}
.program-stat {
  flex: 1 1 0;
  min-width: 0;
  background:
    radial-gradient(circle at 30% 20%, var(--brand-blush-100) 0%, transparent 55%),
    var(--surface);
  border: 1px solid var(--brand-coral-100);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  transition: transform var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
}
.program-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.program-stat__num {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--brand-coral-500);
  font-size: clamp(56px, 9vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.program-stat__num em {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 0.32em;
  color: var(--brand-brown-700);
  font-weight: var(--fw-bold);
  letter-spacing: 0;
}
.program-stat__label {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  color: var(--brand-brown-700);
  font-size: clamp(14px, 1.6vw, 16px);
  letter-spacing: 0.02em;
}
.program-stat__bridge {
  align-self: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--brand-coral-400);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-coral);
  flex-shrink: 0;
}
.program-stat__bridge svg { width: 22px; height: 22px; }
@media (max-width: 600px) {
  .program-stats { flex-direction: column; align-items: stretch; gap: var(--space-3); }
  .program-stat__bridge { transform: rotate(90deg); align-self: center; }
}

/* ------------------------------------------------------------------
   Program steps
   ------------------------------------------------------------------ */
.stepper {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-10);
  padding: 0;
}
.step {
  flex: 1 1 0;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-3);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 120px;
}
.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--brand-coral-50);
  color: var(--brand-coral-600);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.step__label {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--brand-coral-500);
  font-size: clamp(18px, 2.2vw, 22px);
  margin: 0;
  letter-spacing: -0.01em;
}
.step-arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-coral-300);
  align-self: center;
}
@media (max-width: 720px) {
  .stepper { flex-direction: column; align-items: stretch; }
  .step { min-height: 88px; }
  .step-arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* ------------------------------------------------------------------
   Hospitals section
   ------------------------------------------------------------------ */
.hospitals-head {
  text-align: center;
  margin-bottom: var(--space-10);
}
.hospitals-head .section-title { margin-bottom: var(--space-4); }
.hospitals-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: clamp(14px, 4vw, 32px);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) {
  .hospitals-frame { padding: var(--space-10); }
}
.hospitals-frame img {
  width: 100%;
  border-radius: var(--radius-md);
}
.hospitals-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

/* ------------------------------------------------------------------
   Coordinator section
   ------------------------------------------------------------------ */
.coord-image {
  border-radius: clamp(14px, 4vw, 32px);
  overflow: hidden;
  background: var(--brand-cream-100);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: block;
}
.coord-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* ------------------------------------------------------------------
   Page hero (sub-pages) + breadcrumb
   ------------------------------------------------------------------ */
.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, var(--brand-blush-100) 0%, transparent 60%),
    linear-gradient(180deg, var(--brand-cream-50) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  /* 상단 24px / 하단 40px */
  padding: var(--space-6) 0 var(--space-10);
}
.page-hero .breadcrumb { margin-bottom: var(--space-2); }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  color: var(--fg3);
  margin-bottom: var(--space-6);
}
.breadcrumb a { color: var(--fg3); }
.breadcrumb a:hover { color: var(--brand-coral-600); }
.breadcrumb .sep { color: var(--brand-coral-300); }
.breadcrumb .current { color: var(--brand-coral-600); font-weight: var(--fw-semibold); }
.page-title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--fg1);
  margin: 0;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.page-title__accent { color: var(--brand-coral-500); }
.page-title--center { text-align: center; }

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
footer.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  margin-top: 0;
  min-height: 200px;
  padding: var(--space-6) 0;   /* 위·아래 동일 패딩 (24px) */
  display: flex;
  align-items: center;
}
footer.site-footer > .container { width: 100%; }
.footer-top { text-align: center; }
.footer-title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--fg1);
  font-size: 24px;
  margin: 0 0 var(--space-3) 0;
}
.footer-info { display: flex; flex-direction: column; gap: 6px; }
.footer-info p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg2);
}
.footer-info .sep { color: var(--brand-coral-200); margin: 0 6px; }
@media (max-width: 600px) {
  .footer-info p { font-size: 13px; }
}
.footer-bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: 14px;
  color: var(--fg3);
  letter-spacing: 0.04em;
}
.footer-admin { margin: 0; }
.footer-admin__link {
  font-size: 14px;
  color: var(--fg4);
  letter-spacing: 0.04em;
  padding: 0;
  transition: color var(--dur-fast) var(--ease-soft);
}
.footer-admin__link:hover { color: var(--brand-coral-600); }

/* ------------------------------------------------------------------
   Bottom CTA bar (mobile only)
   ------------------------------------------------------------------ */
.bottom-cta {
  position: fixed;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 40;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  padding: 6px 6px 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.bottom-cta__label {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--fg1);
}
.bottom-cta__label span {
  display: block;
  font-size: 12px;
  color: var(--fg3);
  font-weight: var(--fw-regular);
  margin-top: 1px;
}
.bottom-cta .btn { padding: 12px 18px; font-size: 14px; }
@media (min-width: 1024px) {
  .bottom-cta { display: none; }
}
body { padding-bottom: 0; }

/* ------------------------------------------------------------------
   Reveal on scroll (subtle)
   ------------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms var(--ease-soft), transform 600ms var(--ease-soft);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
