/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F6F8;
  --card-bg: #FFFFFF;
  --surface: #EFF1F5;
  --border: #E3E6EA;
  --text: #14161A;
  --text-dim: #6B7280;
  --accent: #D6284A;
  --accent-dark: #B81F3C;
  --accent-2: #C9481F;
  --accent-mental: #5A66C9;
  --accent-emocional: #C94570;
  --accent-espiritu: #C9973E;
  --accent-success: #C6FF3D;
  --font-heading: 'Archivo', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --radius: 14px;
  --container-w: 1120px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { color: var(--text-dim); margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--text); margin: 0 0 0.5em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 700; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; padding: 10px 16px; background: var(--accent);
  color: #ffffff; z-index: 9999; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; font-size: 0.8rem; margin-bottom: 10px; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-block; font-family: var(--font-heading); font-weight: 800; font-size: 0.95rem;
  padding: 14px 26px; border-radius: 8px; transition: transform .15s var(--ease-out), background .15s ease;
}
.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-block { width: 100%; text-align: center; }
.btn-sm { padding: 10px 16px; font-size: 0.85rem; }
.btn-outline { border: 2px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); }
.btn-ghost-dark { color: var(--text-dim); font-weight: 700; text-decoration: underline; }

/* =============================================================
   5. Header / nav
   ============================================================= */
.sticky-stack { position: sticky; top: 0; z-index: 100; }

.topbar { background: linear-gradient(120deg, var(--accent-mental), var(--accent), var(--accent-emocional)); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 24px; flex-wrap: wrap; }
.topbar-countdown { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar-countdown-label { font-size: 0.78rem; font-weight: 700; color: #ffffff; opacity: 0.9; }
.countdown-compact { display: flex; gap: 6px; font-family: var(--font-heading); font-weight: 800; font-size: 0.85rem; color: #ffffff; }
.countdown-compact .cd-sep { opacity: 0.7; font-weight: 400; margin-right: 4px; }
.topbar-actions { display: flex; gap: 10px; }
.btn-topbar {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem; padding: 7px 14px; border-radius: 6px;
  white-space: nowrap;
}
.btn-topbar-ghost { color: #ffffff; border: 1px solid rgba(255,255,255,0.6); }
.btn-topbar-ghost:hover { background: rgba(255,255,255,0.15); }
.btn-topbar-solid { background: #ffffff; color: var(--accent); font-weight: 800; }
.btn-topbar-solid:hover { background: var(--bg-alt); }

.site-header { background: rgba(255,255,255,0.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 116px; }
.brand { display: flex; align-items: center; font-family: var(--font-heading); font-weight: 900; font-size: 1.3rem; letter-spacing: 0.02em; color: var(--text); }
.brand-logo { height: 108px; width: auto; display: block; }
.main-nav ul { list-style: none; display: flex; gap: 26px; padding: 0; margin: 0; }
.main-nav a { font-weight: 600; font-size: 0.92rem; color: var(--text-dim); }
.main-nav a:hover, .main-nav a.is-active { color: var(--accent); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 38px; height: 38px; justify-content: center; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; }
.lang-switch { display: flex; align-items: center; gap: 8px; margin-left: 18px; padding-left: 18px; border-left: 1px solid var(--border); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; }
.lang-switch a, .lang-switch span { color: var(--text-dim); }
.lang-switch a:hover { color: var(--accent); }
.lang-switch .lang-current { color: var(--accent); }
@media (max-width: 640px) { .lang-switch { margin-left: 10px; padding-left: 10px; gap: 6px; } }

/* =============================================================
   5b. Brand hero — mente · cuerpo · emociones
   ============================================================= */
.brand-hero { padding: 56px 0 16px; overflow: clip; }
.brand-hero-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center; }
.brand-hero-copy h1 { font-size: clamp(2rem, 3.6vw, 2.6rem); }

.brand-hero-visual { position: relative; aspect-ratio: 5/5.6; max-width: 420px; margin: 0 auto; }
.aura { position: absolute; border-radius: 50%; filter: blur(50px); opacity: 0.55; }
.aura-mental { width: 220px; height: 220px; top: -10px; left: 20px; background: var(--accent-mental); }
.aura-fisico { width: 240px; height: 240px; bottom: -10px; right: 10px; background: var(--accent); }
.aura-emocional { width: 200px; height: 200px; top: 40%; left: 50%; transform: translate(-50%, -50%); background: var(--accent-emocional); }

.brand-hero-visual-photo { aspect-ratio: 2/3; max-width: 400px; }
.hero-photo {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-mask-image: radial-gradient(ellipse 72% 82% at center, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 82% at center, #000 55%, transparent 100%);
}

.brand-hero-visual-video { aspect-ratio: 9/16; max-width: 340px; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px rgba(20,22,26,0.18); border: 1px solid var(--border); }
.hero-video { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }

.pillar-icon { flex-shrink: 0; display: flex; }
.pillar-mental .pillar-icon { color: var(--accent-mental); }
.pillar-fisico .pillar-icon { color: var(--accent); }
.pillar-emocional .pillar-icon { color: var(--accent-emocional); }
.pillar-espiritu .pillar-icon { color: var(--accent-espiritu); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

/* =============================================================
   5c. Enfoque holístico — mente · cuerpo · emociones · espíritu
   ============================================================= */
.holistic-section .tool-subtitle { max-width: 680px; }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.pillar-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; }
.pillar-card .pillar-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; background: var(--surface); margin-bottom: 14px;
}
.pillar-card h3 { margin-bottom: 0.4em; }
.pillar-card p { font-size: 0.9rem; margin: 0; }
.holistic-section .honest-limits { margin-top: 28px; }

/* =============================================================
   5d. Home — quiénes somos / interconexión / empoderamiento
   ============================================================= */
.home-hero .brand-hero-inner { grid-template-columns: 1fr 1.1fr; }
.home-hero-visual { position: relative; aspect-ratio: 1/1; max-width: 460px; margin: 0 auto; }
.home-hero-visual svg { width: 100%; height: 100%; }

.about-section { text-align: center; }
.about-section .container { max-width: 720px; }
.about-section h2 { margin-bottom: 0.6em; }

.photo-hero { position: relative; height: 600px; overflow: hidden; }
.photo-hero-media { position: absolute; inset: 0; z-index: 0; }
.photo-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; display: block; }
.photo-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,8,6,0.72) 0%, rgba(10,8,6,0.48) 32%, rgba(10,8,6,0.12) 55%, rgba(10,8,6,0) 70%);
}
.photo-hero .container { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; }
.photo-hero-copy { max-width: 480px; }
.photo-hero-copy .eyebrow { color: var(--accent-2); }
.photo-hero-copy h1 { color: #ffffff; font-size: clamp(2rem, 4vw, 2.8rem); }
.photo-hero-copy .tool-subtitle { color: rgba(255,255,255,0.88); }
.photo-hero-copy .hero-actions { margin-top: 24px; }
.photo-hero-copy .btn-outline { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); color: #ffffff; }
.photo-hero-copy .btn-outline:hover { background: rgba(255,255,255,0.18); }

.interconnect-inner, .empower-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.empower-inner { grid-template-columns: 1fr 1fr; }
.empower-inner > div:first-child { order: 1; }
.empower-visual { order: 2; }
.interconnect-visual, .empower-visual { position: relative; max-width: 380px; margin: 0 auto; }
.interconnect-visual svg, .empower-visual svg { width: 100%; height: auto; display: block; }

.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.explore-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 20px; color: var(--text); transition: border-color .15s ease, transform .15s ease;
}
.explore-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.explore-card .pillar-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--accent);
}
.explore-card strong { font-family: var(--font-heading); font-size: 0.98rem; }
.explore-card span { font-size: 0.82rem; color: var(--text-dim); }

/* =============================================================
   5c. Banner de suscripción + cronómetro
   ============================================================= */
.subscribe-banner {
  background: linear-gradient(120deg, var(--accent-mental), var(--accent), var(--accent-emocional));
  margin: 32px 0; padding: 48px 0;
}
.subscribe-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.subscribe-copy h2 { color: #ffffff; }
.subscribe-copy p { color: rgba(255,255,255,0.9); max-width: 480px; }
.eyebrow-light { color: #ffffff; opacity: 0.85; }

.countdown { display: flex; gap: 12px; margin-top: 20px; }
.countdown-unit {
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); border-radius: 10px;
  padding: 10px 14px; text-align: center; min-width: 62px;
}
.countdown-unit span { display: block; font-family: var(--font-heading); font-weight: 900; font-size: 1.5rem; color: #ffffff; line-height: 1; }
.countdown-unit small { display: block; font-size: 0.68rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }

.subscribe-form {
  background: #ffffff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.btn-light { background: #ffffff; color: var(--accent); border: 2px solid var(--accent); }
.btn-light:hover { background: var(--accent); color: #ffffff; }
.subscribe-alt { text-align: center; font-size: 0.85rem; color: var(--text-dim); margin: 0; }
.subscribe-alt a { color: var(--accent); font-weight: 700; }

/* =============================================================
   5d. Asistente AÜMIA
   ============================================================= */
.advisor-form { display: flex; gap: 12px; flex-wrap: wrap; }
.advisor-form textarea {
  flex: 1 1 260px; font-family: var(--font-body); font-size: 0.98rem; padding: 12px 14px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); resize: vertical;
}
.advisor-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.advisor-form .btn { flex-shrink: 0; }
.advisor-response { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.advisor-response p { color: var(--text); font-size: 1rem; margin: 0; }
.advisor-pillar-badge {
  display: inline-block; margin-bottom: 10px; font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #ffffff;
}
.advisor-pillar-badge.pillar-badge-mental { background: var(--accent-mental); color: #ffffff; }
.advisor-pillar-badge.pillar-badge-emocional { background: var(--accent-emocional); color: #ffffff; }
.advisor-pillar-badge.pillar-badge-fisico { background: var(--accent); color: #ffffff; }
.advisor-card .honest-limits { margin-top: 18px; }

/* =============================================================
   6. Tool card (calculator)
   ============================================================= */
.tool-section { padding: 56px 0 40px; }
.tool-subtitle { max-width: 560px; color: var(--text-dim); font-size: 1.05rem; }
.tool-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; margin-top: 28px;
}
.calc-form { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row-full { grid-column: 1 / -1; }
.form-row label { font-size: 0.85rem; font-weight: 700; color: var(--text-dim); }
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--font-body); font-size: 0.98rem; padding: 12px 14px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  width: 100%; min-width: 0;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.calc-result { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--border); text-align: center; }
.result-kcal-num { font-family: var(--font-heading); font-weight: 900; font-size: clamp(2.6rem, 8vw, 3.6rem); color: var(--accent); display: block; }
.result-kcal-label { color: var(--text-dim); font-weight: 600; }
.result-detail { margin: 10px auto 20px; max-width: 480px; font-size: 0.88rem; }

.macro-bar { display: flex; width: 100%; height: 14px; border-radius: 999px; overflow: hidden; background: var(--surface); margin-bottom: 16px; }
.macro-seg { display: block; height: 100%; }
.macro-protein { background: var(--accent); }
.macro-carbs { background: var(--accent-2); }
.macro-fat { background: #4FA8FF; }
.macro-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.macro-list li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-dim); }
.macro-list strong { color: var(--text); }
.macro-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.macro-dot.macro-protein { background: var(--accent); }
.macro-dot.macro-carbs { background: var(--accent-2); }
.macro-dot.macro-fat { background: #4FA8FF; }

.privacy-badge { margin-top: 18px; font-size: 0.88rem; color: var(--text-dim); }
.honest-limits { font-size: 0.8rem; color: var(--text-dim); opacity: 0.8; }

.prog-verdict { font-family: var(--font-heading); font-weight: 900; font-size: 1.6rem; color: var(--accent); margin-bottom: 8px; }

/* =============================================================
   6b. Racha semanal
   ============================================================= */
.streak-section { padding: 24px 0 0; }
.streak-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.streak-header { display: flex; align-items: center; gap: 12px; }
.streak-flame { font-size: 1.6rem; }
.streak-header strong { color: var(--text); }
.streak-badge {
  display: inline-block; margin-left: 8px; background: var(--accent-success); color: #0a0c0f; font-size: 0.72rem;
  font-weight: 800; padding: 3px 8px; border-radius: 999px; text-transform: uppercase;
}
.streak-days { display: flex; gap: 6px; }
.streak-day {
  width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; background: var(--surface); border: 1px solid var(--border); color: var(--text-dim);
}
.streak-day.is-done { background: var(--accent-success); border-color: var(--accent-success); color: #0a0c0f; }
.streak-day.is-today { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* =============================================================
   7. Steps / tips / faq
   ============================================================= */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.step { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  background: var(--accent); color: #ffffff; font-family: var(--font-heading); font-weight: 900;
  border-radius: 50%; margin-bottom: 12px;
}

.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.tip-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.tip-card h3 { color: var(--accent); }
.tip-card p { font-size: 0.92rem; margin: 0; }

.faq-list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; }
.faq-item summary { cursor: pointer; font-weight: 700; }
.faq-item p { margin: 12px 0 0; font-size: 0.92rem; }

.store-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.routine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.routine-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.routine-dias { font-size: 0.85rem; color: var(--accent-2); font-weight: 600; }
.routine-list { list-style: none; padding: 0; margin: 14px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.routine-list li { font-size: 0.88rem; color: var(--text-dim); padding-left: 16px; position: relative; }
.routine-list li::before { content: "•"; color: var(--accent); position: absolute; left: 0; }
.card-link { color: var(--accent); font-weight: 700; font-size: 0.9rem; }

/* =============================================================
   8b. Program banner + category gallery (rutinas.html)
   ============================================================= */
.program-banner { position: relative; padding: 64px 0 40px; overflow: clip; background: var(--bg-alt); }
.program-banner-visual { position: relative; height: 140px; display: flex; align-items: center; justify-content: center; gap: 36px; margin-bottom: 8px; }
.banner-aura { filter: blur(60px); opacity: 0.45; }
.program-banner-visual .aura-mental { width: 180px; height: 180px; position: absolute; left: 10%; top: -20px; }
.program-banner-visual .aura-fisico { width: 200px; height: 200px; position: absolute; right: 12%; top: -10px; }
.program-banner-visual .aura-emocional { width: 160px; height: 160px; position: absolute; left: 45%; top: 10px; }
.banner-icons { position: relative; display: flex; gap: 36px; align-items: center; }
.banner-icons svg { opacity: 0.9; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.category-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 4px;
}
.category-card.is-clickable { cursor: pointer; transition: transform .15s ease, border-color .15s ease; }
.category-card.is-clickable:hover, .category-card.is-clickable:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.category-card.is-soon { opacity: 0.6; }
.category-icon { color: var(--accent); margin-bottom: 6px; }
.category-card p { font-size: 0.88rem; margin: 4px 0 12px; }
.category-status { font-size: 0.8rem; font-weight: 700; margin-top: auto; }
.category-status.is-disponible { color: var(--accent); }
.category-status.is-soon { color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.72rem; }

/* =============================================================
   8. Store / products
   ============================================================= */
.store-hero { padding: 48px 0 24px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.product-card img { border-radius: 10px; margin-bottom: 14px; width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.product-card p { font-size: 0.88rem; }
.product-price { font-family: var(--font-heading); font-weight: 800; color: var(--accent); font-size: 1.1rem; }
.product-actions { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.product-pay { display: flex; flex-direction: column; gap: 6px; border-top: 1px dashed var(--border); padding-top: 12px; }
.pay-btn {
  display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; font-weight: 600;
  color: var(--text-dim); border: 1px dashed var(--border); border-radius: 8px; padding: 8px 12px; cursor: not-allowed;
}
.pay-btn span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.7; }

.order-form { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-top: 20px; }
.form-status { grid-column: 1 / -1; margin: 0; font-size: 0.88rem; min-height: 1.2em; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--accent-2); }

/* =============================================================
   9. Footer
   ============================================================= */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.brand-footer { height: 56px; opacity: 0.9; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-nav a { color: var(--text-dim); font-size: 0.88rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { font-size: 0.8rem; color: var(--text-dim); opacity: 0.7; margin: 0; }

/* =============================================================
   10. Responsive (mobile-first overrides for small screens)
   ============================================================= */
@media (max-width: 780px) {
  .main-nav {
    position: absolute; top: 116px; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--border); max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .main-nav.is-open { max-height: 320px; }
  .main-nav ul { flex-direction: column; padding: 12px 20px 20px; gap: 4px; }
  .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .steps-grid, .tips-grid, .product-grid, .routine-grid, .category-grid, .pillars-grid, .explore-grid { grid-template-columns: 1fr 1fr; }
  .brand-hero-inner { grid-template-columns: 1fr; }
  .brand-hero-visual { max-width: 300px; }
  .home-hero-visual { max-width: 320px; }
  .subscribe-inner { grid-template-columns: 1fr; }
  .interconnect-inner, .empower-inner { grid-template-columns: 1fr; }
  .empower-inner > div:first-child { order: 2; }
  .empower-visual { order: 1; }
  .photo-hero { height: 520px; }
  .photo-hero-media img { object-position: 78% center; }
  .photo-hero-media::after { background: rgba(10,8,6,0.55); }
  .photo-hero-copy { max-width: 100%; }
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .calc-form { grid-template-columns: minmax(0,1fr); }
  .order-form { grid-template-columns: minmax(0,1fr); padding: 20px; }
  .steps-grid, .tips-grid, .product-grid, .routine-grid, .category-grid, .pillars-grid, .explore-grid { grid-template-columns: 1fr; }
  .store-cta { text-align: center; justify-content: center; }
  .subscribe-copy { text-align: center; }
  .subscribe-copy p { margin-left: auto; margin-right: auto; }
  .countdown { justify-content: center; }
  .advisor-form { flex-direction: column; }
  .advisor-form .btn { width: 100%; }
  .program-banner-visual { height: 100px; }
  .banner-icons { gap: 18px; }
  .banner-icons svg { width: 36px; height: 36px; }
  .topbar-inner { justify-content: center; text-align: center; padding: 8px 16px; }
  .topbar-countdown { justify-content: center; width: 100%; }
  .topbar-actions { width: 100%; justify-content: center; }
  .header-inner { height: 84px; }
  .brand-logo { height: 76px; }
  .main-nav { top: 84px; }
  .photo-hero { height: 560px; }
  .photo-hero-copy h1 { font-size: 1.7rem; }
  .photo-hero-copy .hero-actions { flex-direction: column; align-items: stretch; }
}
