/* =====================================================================
   UnBox Care — style.css
   Editorial, warm, dignified. No framework. Custom system.
   ===================================================================== */

/* ---------- Design tokens — matched to parent brand UnBox (SoC Education LLP) ---------- */
:root {
    /* Palette — navy + amber + neutral gray, mirrors parent brand */
    --cream:        #F2F2F2;         /* was warm cream — now UnBox neutral surface */
    --cream-2:      #F6F6F6;         /* subtle secondary surface */
    --stone:        #EDEDED;
    --stone-2:      #E2E2E2;
    --text:         #000000;         /* UnBox pure-black body text */
    --text-soft:    #3A3A3A;
    --text-mute:    #727272;
    /* Primary brand: navy (was terracotta) */
    --terracotta:   #000B78;         /* → navy */
    --terracotta-d: #000850;         /* → navy-dark */
    --terracotta-l: #DDE0F5;         /* → very-light navy tint */
    /* Secondary accent: amber gold (was sage green) */
    --sage:         #E8860A;         /* → amber */
    --sage-d:       #B8690A;         /* → amber-dark */
    --sage-l:       #FDECD1;         /* → amber-light */
    --ink:          #000B78;         /* dark sections use navy, not warm ink */
    --line:         #E2E2E2;

    /* Type — matches UnBox */
    --f-serif:      'Raleway', Georgia, serif;         /* italic emphasis uses Raleway italic */
    --f-body:       'Space Grotesk', system-ui, sans-serif;
    --f-hindi:      'Noto Sans Devanagari', 'Space Grotesk', sans-serif;

    /* Rhythm — tightened to match UnBox editorial density (was 96/128 → now 72/88) */
    --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
    --sp-5: 24px; --sp-6: 32px; --sp-7: 40px; --sp-8: 56px;
    --sp-9: 72px; --sp-10: 88px;

    /* Layout */
    --container:    1120px;
    --container-w:  1280px;
    --radius:       12px;
    --radius-lg:    20px;
    --radius-sm:    6px;
    --shadow-sm:    0 1px 2px rgba(42, 38, 34, 0.04), 0 2px 8px rgba(42, 38, 34, 0.05);
    --shadow-md:    0 4px 12px rgba(42, 38, 34, 0.06), 0 16px 32px rgba(42, 38, 34, 0.08);
    --shadow-lg:    0 12px 24px rgba(42, 38, 34, 0.08), 0 32px 64px rgba(42, 38, 34, 0.10);

    /* Motion */
    --ease:         cubic-bezier(.22, 1, .36, 1);
    --dur:          0.4s;
    --dur-fast:     0.22s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    /* Responsive root — 18px on desktop, gently smaller on phones */
    font-size: clamp(17px, 0.9vw + 14px, 19px);
}
body {
    font-family: var(--f-body);
    font-size: 1rem;                /* now driven by html clamp */
    line-height: 1.72;
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    position: relative;
}
/* Very subtle noise overlay — tuned for the new neutral gray palette */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.25;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.35  0 0 0 0 0.35  0 0 0 0 0.38  0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    mix-blend-mode: multiply;
}
/* Hindi rendering: use Mukta as primary when Devanagari script is present */
:lang(hi), body { font-family: var(--f-hindi); }
img, picture, svg { max-width: 100%; display: block; }
a { color: var(--terracotta); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--terracotta-d); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* Focus states — visible + not ugly */
:focus-visible {
    outline: 2px solid var(--terracotta);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Skip link (accessibility) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    padding: 10px 18px;
    background: var(--ink);
    color: var(--cream);
    z-index: 999;
    font-family: var(--f-body);
    font-size: 0.9rem;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Reduced motion — respect user preference (critical for neurodiverse audience) */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    /* Headings now use Space Grotesk (matches UnBox) — bumped weight since
       Space Grotesk at 400 reads much lighter than variable Fraunces did. */
    font-family: var(--f-body);
    font-weight: 700;
    /* line-height MUST be generous — Devanagari matras (ई, ो, ौ, ि, etc.)
       extend well above the shirorekha and get clipped at tight leading. */
    line-height: 1.35;
    color: var(--text);
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); letter-spacing: -0.018em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.012em; }
h3 { font-size: clamp(1.35rem, 2.1vw, 1.7rem); }
h4 { font-family: var(--f-body); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; font-size: 0.82rem; color: var(--terracotta); }
p  { color: var(--text-soft); font-size: 1.02rem; }
p + p { margin-top: 0.9em; }
em { font-style: italic; font-family: var(--f-serif); font-weight: 500; color: var(--terracotta-d); }

.lead {
    font-family: var(--f-hindi);
    font-size: clamp(1.15rem, 1.4vw, 1.3rem);
    line-height: 1.72;
    color: var(--text-soft);
    max-width: 62ch;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-body);
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--terracotta);
    margin-bottom: 16px;
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--terracotta);
}

/* ---------- Layout primitives ---------- */
.container      { max-width: var(--container);   margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }

.section { padding: var(--sp-9) 0; }
.section-tight { padding: var(--sp-8) 0; }
.section-cream { background: var(--cream); }
.section-cream-2 { background: var(--cream-2); }
.section-stone { background: var(--stone); }
.section-white { background: #FFFFFF; }
.section-ink { background: var(--ink); color: #FFFFFF; }
.section-ink h1, .section-ink h2, .section-ink h3, .section-ink h4 { color: #FFFFFF; }
.section-ink p { color: rgba(255, 255, 255, 0.78); }
.section-ink .eyebrow { color: var(--sage); }              /* amber — strong contrast on navy */
.section-ink .eyebrow::before { background: var(--sage); }
.section-ink em { color: var(--sage); }                    /* amber italic emphasis on dark */

.section-header      { max-width: 720px; margin-bottom: var(--sp-7); }
.section-header--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header h2   { margin-bottom: 18px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    font-family: var(--f-body);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: all var(--dur) var(--ease);
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
}
.btn-primary {
    background: var(--terracotta);
    color: #fff;
    box-shadow: 0 6px 20px rgba(193, 112, 79, 0.24);
}
.btn-primary:hover {
    background: var(--terracotta-d);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(193, 112, 79, 0.32);
}
.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--ink);
}
.btn-outline:hover {
    background: var(--ink);
    color: var(--cream);
}
.btn-ghost {
    background: transparent;
    color: var(--terracotta);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
}
.btn-ghost:hover {
    background: var(--terracotta-l);
    color: var(--terracotta-d);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 247, 242, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.scrolled {
    border-bottom-color: var(--line);
    background: rgba(250, 247, 242, 0.96);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 24px;
    max-width: var(--container-w);
    margin: 0 auto;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
    flex-shrink: 0;
}
.brand-mark { color: var(--terracotta); display: flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
    font-family: var(--f-serif);
    font-weight: 500;
    font-size: 1.4rem;
    letter-spacing: -0.005em;
    color: var(--ink);
}
.brand-name em {
    font-style: italic;
    font-weight: 400;
    color: var(--terracotta);
}
.brand-tagline {
    font-family: var(--f-hindi);
    font-size: 0.72rem;
    color: var(--text-mute);
    letter-spacing: 0.02em;
    font-weight: 400;
}

.site-nav { display: flex; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
    padding: 8px 14px;
    font-family: var(--f-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav-link:hover { color: var(--terracotta); background: var(--stone); }
.nav-link.active { color: var(--terracotta); font-weight: 600; }

.btn-nav-cta { padding: 10px 20px; font-size: 0.85rem; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translate(0, 7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translate(0, -7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    padding: var(--sp-8) 0 var(--sp-8);
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
/* Soft cream blob top-right — subtle depth */
.hero::before {
    content: '';
    position: absolute;
    top: -140px;
    right: -180px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--terracotta-l) 0%, transparent 65%);
    opacity: 0.35;
    pointer-events: none;
}
/* Sage curve bottom-left */
.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--sage-l) 0%, transparent 60%);
    opacity: 0.55;
    pointer-events: none;
}
.hero > .container-wide { position: relative; z-index: 1; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
    align-items: center;
}
.hero-content { max-width: 560px; }
.hero-content h1 {
    font-family: var(--f-hindi);
    font-weight: 600;
    font-size: clamp(2.4rem, 5.4vw, 3.8rem);
    /* Devanagari matras above the baseline (ई, ो, ौ) get clipped at tight
       leading — 1.35 gives them safe headroom. */
    line-height: 1.35;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    padding-top: 4px;
}
.hero-content h1 em {
    font-family: var(--f-serif);   /* Raleway italic */
    font-style: italic;
    font-weight: 500;
    color: var(--sage);            /* amber accent from parent brand */
}
.hero-content .lead {
    font-size: clamp(1.15rem, 1.3vw, 1.28rem);
    line-height: 1.75;
    margin-bottom: 34px;
    color: var(--text-soft);
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
}
.hero-cta-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.hero-cta-scribble {
    color: var(--sage-d);
    transform: rotate(-8deg);
    margin-left: -6px;
    margin-top: 34px;
    opacity: 0.85;
}
.hero-cta-label {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--sage-d);
    margin-left: -18px;
    margin-top: 42px;
    transform: rotate(-4deg);
    white-space: nowrap;
}
.hero-note {
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.7);
    border-left: 3px solid var(--sage);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.92rem;
    color: var(--text-soft);
    line-height: 1.7;
}
.hero-note strong { color: var(--ink); font-weight: 600; }

/* Hero image collage — 2×2 uniform grid, each cell landscape 3:2 to MATCH
   the source photos' native aspect ratio. This means object-fit: cover
   crops less than 1% at the edges — every child, parent, and activity in
   every source image is preserved. No tall cells forcing landscape into
   portrait crops. */
.hero-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 620px;
    margin-left: auto;
    position: relative;
}
.hero-collage-item {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    position: relative;
    background: var(--stone);
    aspect-ratio: 3 / 2;   /* matches source photo aspect — near-zero crop */
}
.hero-collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s var(--ease);
}
.hero-collage-item:hover img { transform: scale(1.03); }
/* hero-2 is 5:4 (slightly less wide than 3:2). Nudge its crop to keep the
   activity (paper + figures) in frame — the mother is on the left. */
.hero-collage-item:nth-child(2) img { object-position: center 55%; }

/* Magazine-style caption under the collage */
.hero-collage-wrap { position: relative; }
.hero-caption {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 22px;
    padding-right: 8px;
    max-width: 520px;
    margin-left: auto;
    font-family: var(--f-hindi);
    font-size: 0.9rem;
    color: var(--text-mute);
    line-height: 1.6;
}
.hero-caption em {
    font-family: var(--f-serif);
    font-style: italic;
    color: var(--text-soft);
    font-weight: 400;
}
.hero-caption-num {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--terracotta);
    flex-shrink: 0;
    letter-spacing: -0.02em;
}

/* Editorial "since" badge — small design-geek moment */
.hero-badge {
    position: absolute;
    left: -14px;
    bottom: 22px;
    background: var(--ink);
    color: var(--cream);
    padding: 10px 16px;
    border-radius: 999px;
    font-family: var(--f-body);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    z-index: 3;
    box-shadow: var(--shadow-md);
}

/* ---------- ABOUT — editorial product-first layout ---------- */
.about-section {
    background:
        radial-gradient(circle at 85% 10%, var(--sage-l) 0%, transparent 45%),
        radial-gradient(circle at 10% 90%, var(--terracotta-l) 0%, transparent 40%),
        var(--cream);
    position: relative;
    overflow: hidden;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 72px;
    align-items: center;
}
/* ── Left: box product frame ───────────────────────────────── */
.about-visual { position: relative; }
.about-box-frame {
    position: relative;
    background: #fff;
    padding: 26px 26px 22px;
    border-radius: var(--radius-lg);
    box-shadow:
        0 1px 2px rgba(42, 38, 34, 0.04),
        0 30px 60px -20px rgba(42, 38, 34, 0.18);
    transform: rotate(-1.5deg);
    transition: transform 0.6s var(--ease);
}
.about-box-frame:hover { transform: rotate(0deg) translateY(-4px); }
.about-box-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-sm);
    display: block;
}
.about-box-badge {
    position: absolute;
    top: -14px;
    left: 20px;
    background: var(--ink);
    color: var(--cream);
    padding: 8px 14px;
    border-radius: 999px;
    font-family: var(--f-body);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}
.about-box-caption {
    display: block;
    margin-top: 14px;
    font-family: var(--f-hindi);
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.6;
    padding: 0 4px;
}
.about-box-caption em {
    font-family: var(--f-serif);
    font-style: italic;
    color: var(--terracotta-d);
    margin-right: 4px;
}
.about-visual-tag {
    display: block;
    margin-top: 22px;
    text-align: right;
    font-family: var(--f-body);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-mute);
    font-weight: 600;
    padding-right: 8px;
}
.about-visual-tag::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--text-mute);
    vertical-align: middle;
    margin-right: 10px;
    opacity: 0.6;
}
/* Sage accent bubble behind the box — subtle depth */
.about-visual::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -8%;
    width: 55%;
    height: 55%;
    background: var(--sage-l);
    border-radius: 50%;
    opacity: 0.6;
    z-index: -1;
    filter: blur(2px);
}
.about-visual::after {
    content: '';
    position: absolute;
    bottom: -8%;
    left: -6%;
    width: 40%;
    height: 40%;
    background: var(--terracotta-l);
    border-radius: 50%;
    opacity: 0.5;
    z-index: -1;
    filter: blur(3px);
}
/* ── Right: editorial content column ──────────────────────── */
.about-content { position: relative; padding-top: 20px; }
.about-num {
    position: absolute;
    top: -20px;
    left: -8px;
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 7rem;
    line-height: 0.85;
    color: var(--terracotta-l);
    opacity: 0.7;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.about-content .eyebrow,
.about-content h2,
.about-content p,
.about-content .about-fit { position: relative; z-index: 1; }
.about-content h2 { margin-bottom: 22px; }
.about-content p.lead { max-width: 42ch; margin-bottom: 18px; }
.about-content p { font-family: var(--f-hindi); color: var(--text-soft); font-size: 1.02rem; line-height: 1.75; max-width: 44ch; }
.about-fit {
    margin-top: 32px;
    padding: 22px 26px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius);
    border-left: 3px solid var(--terracotta);
}
.about-fit h4 { margin-bottom: 10px; }
.about-fit p {
    font-size: 0.96rem;
    color: var(--text-soft);
    line-height: 1.7;
    max-width: none;
    margin: 0;
}
.about-fit strong { color: var(--ink); font-weight: 600; }

/* ---------- Reassurance strip ---------- */
.reassure {
    padding: var(--sp-7) 0;
    background: var(--stone);
    text-align: center;
}
.reassure-inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}
.reassure p {
    font-family: var(--f-hindi);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}
.reassure p strong { color: var(--terracotta-d); font-weight: 600; }

/* ---------- Pillars grid (4 core pillars) ---------- */
.pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.pillar {
    padding: 34px 26px 30px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    text-align: left;
    position: relative;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
    counter-increment: pillar-num;
}
.pillar::before {
    content: counter(pillar-num, decimal-leading-zero);
    position: absolute;
    top: 22px;
    right: 24px;
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 2.1rem;
    color: var(--terracotta-l);
    line-height: 1;
    transition: color var(--dur) var(--ease);
}
.pillar:hover::before { color: var(--terracotta); }
.pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--terracotta-l);
}
.pillars { counter-reset: pillar-num; }
.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--terracotta-l);
    color: var(--terracotta-d);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.pillar h3 {
    font-family: var(--f-hindi);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.4;
}
.pillar p {
    font-family: var(--f-hindi);
    font-size: 0.92rem;
    color: var(--text-soft);
    line-height: 1.7;
}

/* ---------- How-it-works — 5 steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    counter-reset: step;
    position: relative;
    margin-top: 24px;
}
/* Dotted connecting line between steps */
.steps::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 8%;
    right: 8%;
    height: 2px;
    background-image: linear-gradient(to right, var(--terracotta-l) 50%, transparent 50%);
    background-size: 14px 2px;
    background-repeat: repeat-x;
    z-index: 0;
    opacity: 0.7;
}
.step {
    text-align: center;
    padding: 0 12px;
    position: relative;
    z-index: 1;
}
.step-num {
    counter-increment: step;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff 0%, var(--cream) 100%);
    border: 1.5px solid var(--terracotta-l);
    color: var(--terracotta-d);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 2.4rem;
    font-weight: 400;
    box-shadow:
        0 1px 2px rgba(42, 38, 34, 0.04),
        0 16px 32px -8px rgba(193, 112, 79, 0.18);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    position: relative;
}
.step:hover .step-num {
    transform: translateY(-4px);
    box-shadow:
        0 1px 2px rgba(42, 38, 34, 0.04),
        0 24px 44px -8px rgba(193, 112, 79, 0.28);
}
.step-num::before {
    content: counter(step);
    display: block;
    /* Nudge italic numeral to visually centre */
    transform: translateX(-2px) translateY(-2px);
}
/* Small dot marker below each number as a rhythm accent */
.step-num::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--terracotta);
    box-shadow: 0 0 0 4px var(--cream-2);
}
.section-cream-2 .step-num::after { box-shadow: 0 0 0 4px var(--cream-2); }
.step p {
    font-family: var(--f-hindi);
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
    padding-top: 12px;
    max-width: 22ch;
    margin: 0 auto;
}

/* ---------- Care Boxes ---------- */
.boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.box-card {
    padding: 36px 30px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: all var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
}
.box-card::before {
    content: 'प्रस्तावित';
    position: absolute;
    top: 20px; right: 24px;
    font-size: 0.7rem;
    font-family: var(--f-hindi);
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--sage-d);
    background: var(--sage-l);
    padding: 4px 10px;
    border-radius: 999px;
}
.box-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--sage);
}
.box-icon {
    flex-shrink: 0;
    width: 54px; height: 54px;
    border-radius: 14px;
    background: var(--sage-l);
    color: var(--sage-d);
    display: flex;
    align-items: center;
    justify-content: center;
}
.box-body { flex: 1; }
.box-body h3 {
    font-family: var(--f-hindi);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
    padding-right: 90px; /* prevent overlap with "प्रस्तावित" tag */
}
.box-body p {
    font-family: var(--f-hindi);
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.7;
}

/* ---------- Endorsements (homepage strip + full page) ---------- */
.endorse-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.endorse-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--line);
    transition: all var(--dur) var(--ease);
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
}
.endorse-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--terracotta-l);
}
.endorse-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    object-fit: cover;
    background: var(--stone);
}
.endorse-quote {
    font-family: var(--f-hindi);
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text);
    position: relative;
    padding-top: 24px;
}
.endorse-quote::before {
    content: '"';
    position: absolute;
    top: -12px;
    left: -6px;
    font-family: var(--f-serif);
    font-size: 3rem;
    line-height: 1;
    color: var(--terracotta-l);
    font-style: italic;
}
.endorse-meta {
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.endorse-parent {
    font-family: var(--f-hindi);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
}
.endorse-child {
    font-family: var(--f-hindi);
    font-size: 0.85rem;
    color: var(--text-mute);
}
.endorse-audio {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--cream);
    border-radius: 999px;
    border: 1px solid var(--line);
    font-family: var(--f-body);
    font-size: 0.82rem;
    color: var(--terracotta-d);
    cursor: pointer;
    transition: all var(--dur-fast) var(--ease);
    align-self: flex-start;
    font-weight: 500;
}
.endorse-audio:hover { background: var(--terracotta-l); border-color: var(--terracotta); }
.endorse-audio audio { display: none; }
.endorse-audio.playing { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }
.endorse-audio-icon { width: 16px; height: 16px; }

/* ---------- Chief Advisor card (used in section + page) ---------- */
.advisor-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.advisor-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    background: var(--stone);
    border: 4px solid var(--cream);
    box-shadow: 0 8px 24px rgba(42, 38, 34, 0.10);
}
.advisor-body h3 {
    font-size: 1.6rem;
    margin-bottom: 4px;
}
.advisor-role {
    font-family: var(--f-body);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: var(--terracotta);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 18px;
}
.advisor-body p {
    font-family: var(--f-hindi);
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-soft);
}

/* ---------- FAQ ---------- */
.faq {
    max-width: 780px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 4px 0;
    text-align: left;
    font-family: var(--f-hindi);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.5;
}
.faq-toggle {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--terracotta-d);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dur) var(--ease);
    font-size: 1.5rem;
    line-height: 1;
}
.faq-item.open .faq-toggle {
    background: var(--terracotta);
    color: #fff;
    transform: rotate(45deg);
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur) var(--ease);
}
.faq-item.open .faq-a { max-height: 800px; }
.faq-a-inner {
    padding-top: 14px;
    font-family: var(--f-hindi);
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-soft);
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-family: var(--f-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--cream);
    font-family: var(--f-hindi);
    font-size: 0.98rem;
    color: var(--text);
    transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    background: #fff;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.contact-alt {
    background: var(--stone);
    padding: 40px;
    border-radius: var(--radius-lg);
}
.contact-alt h3 { margin-bottom: 14px; }
.contact-alt p {
    font-family: var(--f-hindi);
    font-size: 0.98rem;
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 24px;
}
.contact-alt-links { display: flex; flex-direction: column; gap: 12px; }
.contact-alt-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #fff;
    border-radius: var(--radius);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--dur-fast) var(--ease);
    border: 1px solid transparent;
}
.contact-alt-link:hover { border-color: var(--terracotta); color: var(--terracotta); }
.contact-alt-link svg { color: var(--terracotta); }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: var(--cream);
    padding: var(--sp-9) 0 var(--sp-5);
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding: 0 24px;
    max-width: var(--container-w);
    margin: 0 auto;
}
.footer-mark {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--terracotta-l);
}
.footer-brand-name {
    font-family: var(--f-serif);
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--cream);
}
.footer-brand-name em { color: var(--terracotta-l); font-style: italic; font-weight: 400; }
.footer-tagline {
    font-family: var(--f-hindi);
    color: rgba(250, 247, 242, 0.7);
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.footer-parent {
    font-size: 0.85rem;
    color: rgba(250, 247, 242, 0.5);
    line-height: 1.6;
}
.footer-parent a { color: var(--terracotta-l); }
.footer-parent a:hover { color: var(--cream); }
.footer-heading {
    color: var(--terracotta-l);
    font-family: var(--f-body);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    color: rgba(250, 247, 242, 0.75);
    font-family: var(--f-hindi);
    font-size: 0.92rem;
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease);
}
.footer-links a:hover { color: var(--terracotta-l); }
.footer-bottom {
    margin-top: var(--sp-8);
    padding-top: var(--sp-5);
    border-top: 1px solid rgba(250, 247, 242, 0.10);
}
.footer-bottom-inner { padding: 0 24px; }
.disclaimer {
    font-family: var(--f-hindi);
    font-size: 0.85rem;
    color: rgba(250, 247, 242, 0.55);
    line-height: 1.7;
    max-width: 900px;
    margin-bottom: 12px;
}
.disclaimer strong { color: var(--terracotta-l); font-weight: 600; }
.footer-copy {
    font-size: 0.82rem;
    color: rgba(250, 247, 242, 0.4);
}
.footer-version { opacity: 0.5; }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.wa-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* ---------- Reveal on scroll (subtle) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Big editorial pull-quote break ---------- */
.pullquote {
    background: var(--ink);
    color: var(--cream);
    padding: 80px 0 84px;
    position: relative;
    overflow: hidden;
}
/* Giant Devanagari watermark word — decorative background */
.pullquote::before {
    content: 'धीरे';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--f-hindi);
    font-size: clamp(12rem, 22vw, 22rem);
    font-weight: 800;
    color: rgba(250, 247, 242, 0.04);
    line-height: 0.85;
    letter-spacing: -0.04em;
    pointer-events: none;
    user-select: none;
}
.pullquote-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.pullquote-mark {
    color: var(--terracotta);
    margin: 0 auto 28px;
    opacity: 0.9;
}
.pullquote-text {
    font-family: var(--f-hindi);
    font-size: clamp(1.7rem, 3.6vw, 2.75rem);
    line-height: 1.42;
    font-weight: 400;
    color: var(--cream);
    margin: 0 auto 32px;
    max-width: 22ch;
    letter-spacing: -0.008em;
}
.pullquote-text em {
    font-family: var(--f-serif);
    font-style: italic;
    color: var(--terracotta-l);
    font-weight: 400;
}
.pullquote-attr {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--f-body);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(250, 247, 242, 0.6);
}
.pullquote-attr-line {
    width: 40px;
    height: 1px;
    background: rgba(250, 247, 242, 0.4);
    display: inline-block;
}

/* ---------- Contact page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 44px;
    align-items: start;
}
.contact-form-wrap {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.contact-form .form-row { margin-bottom: 18px; display: flex; flex-direction: column; }
.contact-form .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}
.contact-form label {
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text);
    letter-spacing: 0.01em;
    margin-bottom: 6px;
}
.contact-form .req { color: var(--terracotta); }
.contact-form input,
.contact-form select,
.contact-form textarea {
    font-family: var(--f-hindi);
    font-size: 1rem;
    padding: 12px 14px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--text);
    transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
    width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(193, 112, 79, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-note {
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--text-mute);
    line-height: 1.6;
}

.contact-side {
    display: grid;
    gap: 14px;
    align-content: start;
    /* Stick to viewport so it never leaves a giant empty strip when
       the form is taller than the aside. */
    position: sticky;
    top: 100px;
    align-self: start;
}
.contact-card {
    background: #fff;
    padding: 22px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    position: relative;
}
.contact-card h4 {
    font-family: var(--f-serif);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--ink);
    letter-spacing: -0.005em;
}
.contact-card p { font-family: var(--f-hindi); font-size: 0.96rem; color: var(--text-soft); line-height: 1.65; margin-bottom: 12px; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--stone);
    color: var(--terracotta-d);
    border-radius: 50%;
    margin-bottom: 12px;
}
.contact-card-highlight {
    background: linear-gradient(135deg, #F5FBF7 0%, #E9F3EC 100%);
    border-color: var(--sage-l);
}
.contact-card-highlight .contact-card-icon {
    background: #fff;
    color: #25D366;
}
.contact-card-note {
    background: var(--cream-2);
    border-color: var(--cream-2);
    border-left: 3px solid var(--sage);
    padding-left: 22px;
}
.contact-card-note p { font-size: 0.9rem; line-height: 1.7; margin: 0; }
.contact-card-note strong { color: var(--ink); }

/* Editorial quote card in aside */
.contact-quote {
    background: var(--ink);
    color: var(--cream);
    padding: 28px 26px 26px;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}
.contact-quote-mark {
    position: absolute;
    top: -18px;
    left: 16px;
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 6rem;
    color: var(--terracotta);
    opacity: 0.85;
    line-height: 1;
}
.contact-quote p {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--cream);
    margin: 12px 0 14px;
    position: relative;
    z-index: 1;
}
.contact-quote p em {
    font-style: italic;
    color: var(--terracotta-l);
    font-weight: 500;
}
.contact-quote-attr {
    font-family: var(--f-body);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(250, 247, 242, 0.55);
    font-weight: 500;
}

.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-family: var(--f-hindi);
    font-size: 0.95rem;
    line-height: 1.7;
}
.alert-ok  { background: var(--sage-l); color: #2E4A38; border-left: 3px solid var(--sage-d); }
.alert-err { background: #FCEBE4; color: #7A3620; border-left: 3px solid var(--terracotta-d); }

/* ---------- Advisor detail grid ---------- */
.advisor-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: center;
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
}
.advisor-photo {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--stone);
}
.advisor-body h3 { font-family: var(--f-serif); font-size: 1.6rem; margin-bottom: 6px; color: var(--ink); }
.advisor-role {
    font-family: var(--f-body);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    color: var(--terracotta-d);
    font-weight: 600;
    margin-bottom: 14px;
}
.advisor-body p { font-family: var(--f-hindi); color: var(--text-soft); line-height: 1.75; }

@media (max-width: 860px) {
    .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .contact-form-wrap { padding: 28px 22px; }
    .contact-form .form-row-2 { grid-template-columns: 1fr; gap: 0; }
    .advisor-card { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
    .advisor-photo { max-width: 240px; }
    .advisor-detail-grid { grid-template-columns: 1fr !important; }
}
