/* ══════════════════════════════════════════════════════════════════════
   DammruVani — website styles
   Visual language: "Indigo night, warm lamp"
   deep indigo #0a088e field · coral #ff8456 signal · glowing warm damru · cream text
   Rules: no em dashes in copy · Devanagari never in a Latin-only face
   ══════════════════════════════════════════════════════════════════════ */

:root {
  /* palette */
  --deep:        #050430;   /* deepest indigo-navy background */
  --navy:        #0a0840;   /* deep indigo */
  --indigo:      #0a088e;   /* BRAND indigo */
  --indigo-2:    #1512a8;   /* lighter indigo for gradients / cards */
  --coral:       #ff8456;   /* BRAND signal / accent */
  --coral-soft:  #ffb08a;   /* light coral for highlights */
  --glow:        #fff3d6;   /* warm white light (the damru) */
  --cream:       #fbf3e1;   /* brand cream text */

  --ink:         var(--cream);
  --ink-dim:     rgba(251,243,225,.72);
  --ink-faint:   rgba(251,243,225,.46);
  --hair:        rgba(251,243,225,.14);
  --hair-strong: rgba(255,132,86,.38);

  /* type */
  --sans: 'Poppins', system-ui, -apple-system, sans-serif;
  --dev:  'Tiro Devanagari Hindi', serif;
  --hand: 'Kalam', 'Tiro Devanagari Hindi', cursive;

  --maxw: 1180px;
  --pad:  clamp(1.25rem, 5vw, 4rem);
  --radius: 22px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--deep);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── field: fixed background gradients + grain ─────────────────────────── */
.field {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 82% 8%,  rgba(255,132,86,.22) 0%, rgba(255,132,86,0) 46%),
    radial-gradient(105% 85% at 12% 96%, rgba(37,32,180,.45) 0%, rgba(37,32,180,0) 52%),
    radial-gradient(150% 130% at 50% -12%, #14119c 0%, #0a0840 44%, #050430 82%);
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .5; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
/* drifting embers */
.embers { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }

/* ── layout ────────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
section { position: relative; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--coral);
}
.eyebrow .dev { letter-spacing: normal; text-transform: none; font-family: var(--dev); color: var(--coral-soft); }

.dev  { font-family: var(--dev); }
.hand { font-family: var(--hand); }

h2 {
  font-family: var(--dev); font-weight: 400; line-height: 1.18;
  font-size: clamp(1.9rem, 4.4vw, 3rem); letter-spacing: -.01em;
}
h2 .en { display: block; font-family: var(--sans); font-weight: 700; font-size: .52em;
  letter-spacing: .01em; color: var(--ink-dim); margin-top: .5rem; }

.lede { color: var(--ink-dim); font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 44ch; }

/* ── buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: .95em 1.6em; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn-wa {
  color: #3a1400;
  background: linear-gradient(180deg, var(--coral-soft), var(--coral));
  box-shadow: 0 10px 34px -10px rgba(255,132,86,.7), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 16px 46px -10px rgba(255,132,86,.9), inset 0 1px 0 rgba(255,255,255,.55); }
.btn-ghost {
  color: var(--ink); background: transparent;
  border: 1px solid var(--hair-strong);
}
.btn-ghost:hover { border-color: var(--coral); color: var(--coral-soft); transform: translateY(-2px); }
.btn svg { width: 1.15em; height: 1.15em; }

/* ── nav ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(5,4,48,.74), rgba(5,4,48,0));
  transition: background .3s;
}
.nav.scrolled { background: rgba(6,5,42,.88); border-bottom: 1px solid var(--hair); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand img { width: 42px; height: auto; filter: drop-shadow(0 0 12px rgba(255,220,140,.55)); }
.brand .bwrap { display: flex; flex-direction: column; line-height: 1; }
.brand .logo { width: 40px; height: auto; }
.brand .ben-1 { font-family: var(--sans); font-weight: 800; font-size: 1rem; letter-spacing: .005em; color: var(--cream); }
.brand .ben-2 { font-family: var(--dev); font-size: .8rem; color: var(--coral); margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--ink-dim); text-decoration: none; font-size: .92rem; font-weight: 400; transition: color .2s; }
.nav-links a:hover { color: var(--coral-soft); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav .btn { padding: .6em 1.15em; font-size: .9rem; }

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero { padding: clamp(2.5rem, 7vh, 6rem) 0 clamp(3rem, 9vh, 7rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero-copy { max-width: 34rem; }
.hero-eye { display: inline-flex; gap: .55em; align-items: baseline; margin-bottom: 1.3rem;
  font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }
.hero-eye .hand { text-transform: none; letter-spacing: normal; font-size: 1.5rem; color: var(--coral-soft); }
.hero-eye .sep { color: var(--coral); }

.wordmark { margin: .2rem 0 1.1rem; }
.wordmark .w1 { font-family: var(--sans); font-weight: 800; letter-spacing: .01em;
  font-size: clamp(2.1rem, 5.6vw, 3.7rem); line-height: .98; color: var(--cream); }
.wordmark .w2 { font-family: var(--sans); font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  font-size: clamp(.82rem, 1.5vw, 1rem); color: var(--coral); margin-top: .55rem; }

.tagline { margin: 1.4rem 0 1rem; }
.tagline .thi { font-family: var(--hand); font-weight: 700; color: var(--coral-soft);
  font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.1;
  text-shadow: 0 0 32px rgba(255,132,86,.4); }
.tagline .ten { font-family: var(--hand); font-weight: 400; color: var(--ink-dim);
  font-size: clamp(1rem, 2.4vw, 1.5rem); letter-spacing: .02em; }

.hero-sub { color: var(--ink-dim); font-size: clamp(1rem, 1.6vw, 1.2rem); margin: 1.2rem 0 2rem; max-width: 40ch; }
.hero-sub .dev, .hero-sub strong { color: var(--cream); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-note { margin-top: 1.4rem; font-size: .82rem; color: var(--ink-faint); }

/* damru stage */
.stage { position: relative; display: grid; place-items: center; min-height: 320px; overflow-x: clip; }
.stage .halo {
  position: absolute; width: 118%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,224,150,.4) 0%, rgba(255,132,86,.2) 34%, rgba(255,132,86,0) 66%);
  filter: blur(6px); animation: breathe 6s var(--ease) infinite;
}
.stage img { position: relative; width: min(100%, 560px); height: auto;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.55)); animation: float 7s var(--ease) infinite; }

@keyframes float   { 0%,100% { transform: translateY(-8px); } 50% { transform: translateY(10px); } }
@keyframes breathe { 0%,100% { opacity: .8; transform: scale(.97); } 50% { opacity: 1; transform: scale(1.05); } }

/* ── generic section head ──────────────────────────────────────────────── */
.sec { padding: clamp(3.5rem, 9vh, 7rem) 0; }
.sec-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .eyebrow { display: block; margin-bottom: 1rem; }

/* ── idea band ─────────────────────────────────────────────────────────── */
.idea { text-align: center; padding: clamp(3rem, 8vh, 6rem) 0; }
.idea .big { font-family: var(--dev); font-weight: 400; line-height: 1.25;
  font-size: clamp(1.6rem, 4vw, 2.9rem); max-width: 20ch; margin: 0 auto; }
.idea .big em { font-style: normal; color: var(--coral-soft); }
.idea .en { display: block; margin-top: 1.2rem; font-family: var(--sans); font-weight: 400;
  color: var(--ink-dim); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 46ch; margin-inline: auto; }

/* ── offerings ─────────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.4rem; }
.card {
  position: relative; border-radius: var(--radius); padding: 2rem 1.9rem;
  background: linear-gradient(165deg, rgba(21,18,168,.5), rgba(6,5,44,.42));
  border: 1px solid var(--hair); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.card::before {
  content:""; position:absolute; inset:0; border-radius: inherit; padding:1px;
  background: linear-gradient(160deg, rgba(255,132,86,.55), rgba(255,132,86,0) 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity:.55; transition:opacity .35s;
}
.card:hover { transform: translateY(-6px); border-color: var(--hair-strong);
  box-shadow: 0 26px 60px -26px rgba(0,0,0,.7); }
.card:hover::before { opacity: 1; }
.card .tag { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--coral); }
.card h3 { font-family: var(--dev); font-weight: 400; font-size: 1.9rem; margin: .5rem 0 .1rem; color: var(--cream); }
.card h3 .en { font-family: var(--sans); font-weight: 600; font-size: .5em; letter-spacing: .04em;
  color: var(--ink-faint); text-transform: uppercase; margin-left: .5em; }
.card .desc { color: var(--ink-dim); font-size: .98rem; margin: .8rem 0 1.3rem; }
.card ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1.6rem; }
.card li { display: flex; gap: .6rem; font-size: .92rem; color: var(--ink-dim); }
.card li::before { content:""; flex: 0 0 auto; width: 7px; height: 7px; margin-top: .5em;
  border-radius: 50%; background: var(--coral); box-shadow: 0 0 10px var(--coral); }
.card .price { font-family: var(--sans); font-weight: 700; color: var(--coral-soft); font-size: 1.05rem; margin-bottom: 1.2rem; }
.card .price small { font-weight: 400; color: var(--ink-faint); font-size: .8rem; }
.card .btn { width: 100%; justify-content: center; }
.card.consult { background: linear-gradient(165deg, rgba(255,132,86,.16), rgba(6,5,44,.4)); text-align: center; }
.card.consult .btn { width: auto; }

/* ── steps ─────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1.4rem; counter-reset: s; }
.step { position: relative; padding: 1.8rem 1.6rem; border-radius: var(--radius);
  background: rgba(251,243,225,.03); border: 1px solid var(--hair); }
.step .num { counter-increment: s; font-family: var(--sans); font-weight: 800;
  font-size: 2.4rem; color: transparent; -webkit-text-stroke: 1.5px var(--hair-strong); line-height: 1; }
.step .num::before { content: "0" counter(s); }
.step h4 { font-family: var(--dev); font-weight: 400; font-size: 1.35rem; margin: .8rem 0 .4rem; color: var(--cream); }
.step p { color: var(--ink-dim); font-size: .94rem; }

/* ── why / values ──────────────────────────────────────────────────────── */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1.2rem 2rem; }
.value { padding-top: 1.4rem; border-top: 1px solid var(--hair); }
.value .ic { font-size: 1.4rem; margin-bottom: .7rem; }
.value h4 { font-family: var(--dev); font-weight: 400; font-size: 1.3rem; color: var(--cream); margin-bottom: .4rem; }
.value p { color: var(--ink-dim); font-size: .92rem; }

/* ── closing cta ───────────────────────────────────────────────────────── */
.closing { text-align: center; padding: clamp(4rem, 11vh, 8rem) 0; position: relative; }
.closing .cdamru { width: min(240px, 60%); height: auto; margin: 0 auto 1.8rem;
  filter: drop-shadow(0 0 44px rgba(255,220,140,.5)); animation: float 7s var(--ease) infinite; }
.closing h2 { margin-bottom: .5rem; }
.closing .hand { display: block; color: var(--coral-soft); font-size: clamp(1.4rem, 3.5vw, 2.2rem); margin-bottom: 2rem;
  text-shadow: 0 0 28px rgba(255,132,86,.35); }
.closing .hero-actions { justify-content: center; }

/* ── footer ────────────────────────────────────────────────────────────── */
.footer { background: rgba(4,3,34,.6); border-top: 1px solid var(--hair); padding: clamp(3rem,6vh,4.5rem) 0 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.4fr; gap: 2.2rem 2.5rem; margin-bottom: 3rem; }
.foot-brand .brand { margin-bottom: 1rem; }
.foot-brand p { color: var(--ink-faint); font-size: .9rem; max-width: 30ch; }
.foot-brand .hand { color: var(--coral-soft); font-size: 1.35rem; margin-bottom: .8rem; }
.foot-col h5 { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--coral); margin-bottom: 1.1rem; }
.foot-col a, .foot-col span { display: block; color: var(--ink-dim); text-decoration: none; font-size: .92rem; margin-bottom: .7rem; transition: color .2s; }
.foot-col a:hover { color: var(--coral-soft); }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.6rem; border-top: 1px solid var(--hair); color: var(--ink-faint); font-size: .82rem; }

/* ── method box (divider callout) ──────────────────────────────────────── */
.idea-box { max-width: 720px; margin: 0 auto; text-align: center;
  padding: clamp(2rem,5vw,3.2rem) clamp(1.4rem,4vw,3rem);
  border: 1px solid var(--hair-strong); border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255,132,86,.1), rgba(6,5,44,.35)); }
.idea-box .big { font-family: var(--dev); font-weight: 400; line-height: 1.3; max-width: none;
  font-size: clamp(1.5rem,3.6vw,2.5rem); color: var(--cream); }
.idea-box .big em { font-style: normal; color: var(--coral-soft); }
.idea-box .en { display: block; margin-top: .9rem; font-family: var(--sans); font-weight: 400;
  color: var(--ink-dim); font-size: clamp(.95rem,1.5vw,1.1rem); max-width: 54ch; margin-inline: auto; }

/* ── card Hindi tagline ────────────────────────────────────────────────── */
.card .tagline-hi { font-family: var(--dev); color: var(--coral-soft); font-size: 1.12rem; margin: .1rem 0 .3rem; }

/* ── socials ───────────────────────────────────────────────────────────── */
.socials { display: flex; gap: .65rem; margin-top: 1.2rem; }
.social { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--hair); color: var(--ink-dim); text-decoration: none;
  transition: color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.social:hover { color: var(--coral-soft); border-color: var(--coral); transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; }

/* ── footer WhatsApp highlight + contact ───────────────────────────────── */
.foot-wa { display: flex; align-items: center; gap: .85rem; padding: .9rem 1.05rem; border-radius: 16px;
  background: linear-gradient(165deg, rgba(255,132,86,.2), rgba(255,132,86,.06));
  border: 1px solid var(--hair-strong); text-decoration: none; color: var(--cream);
  transition: transform .25s var(--ease), border-color .25s var(--ease); margin-bottom: 1rem; }
.foot-wa:hover { transform: translateY(-2px); border-color: var(--coral); }
.foot-wa .ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--coral-soft), var(--coral)); color: #3a1400;
  box-shadow: 0 8px 24px -8px rgba(255,132,86,.6); }
.foot-wa .ic svg { width: 22px; height: 22px; }
.foot-wa .tt { display: flex; flex-direction: column; line-height: 1.25; }
.foot-wa .t1 { font-weight: 600; font-size: .95rem; }
.foot-wa .t2 { font-size: .82rem; color: var(--ink-dim); }
.foot-contact .foot-note { display: block; color: var(--ink-faint); font-size: .82rem; }

/* ── scroll reveal ─────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── legal pages ───────────────────────────────────────────────────────── */
.legal { padding: clamp(2.5rem, 6vh, 5rem) 0 4rem; max-width: 760px; }
.legal h1 { font-family: var(--dev); font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .4rem; color: var(--cream); }
.legal .updated { color: var(--ink-faint); font-size: .85rem; margin-bottom: 2.5rem; }
.legal h2 { font-family: var(--sans); font-weight: 700; font-size: 1.25rem; color: var(--coral-soft);
  margin: 2.2rem 0 .7rem; letter-spacing: 0; }
.legal h2 .en { display: none; }
.legal p, .legal li { color: var(--ink-dim); font-size: .98rem; margin-bottom: .8rem; }
.legal ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.legal li { margin-bottom: .5rem; }
.legal a { color: var(--coral); }
.legal .backhome { display: inline-flex; gap: .4rem; align-items: center; color: var(--ink-dim);
  text-decoration: none; font-size: .9rem; margin-bottom: 2rem; }
.legal .backhome:hover { color: var(--coral-soft); }

/* ── responsive ────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; order: 2; }
  .stage { order: 1; min-height: 240px; margin-bottom: .5rem; }
  .stage img { width: min(76%, 380px); }
  .nav-links { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
/* keep the longer "Begin On WhatsApp" nav CTA from overflowing on phones:
   collapse the nav brand to just the damru mark (hero carries the wordmark) */
@media (max-width: 620px) {
  .nav .brand .bwrap { display: none; }
  .nav-in { gap: .5rem; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}
@media (max-width: 400px) {
  .nav .btn { padding: .5em .85em; font-size: .8rem; }
  .nav .btn svg { width: 1em; height: 1em; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { transition: none; }
}
