/* ============================================================================
   gm360.css — shared brand system for the GM360 / GAP360 site
   Vedic Gun Milan · 360° Gap Analysis
   Warm-paper editorial system, aligned to GAP360 Report.html.
   One source of truth: every page inherits these tokens + components.
   ============================================================================ */

:root {
  /* — accents — */
  --gold: #BD4F2C;          /* primary accent — terracotta (was gold) */
  --gold-bright: #D9744D;   /* lighter terracotta, for dark backgrounds */
  --gold-soft: #F0DDD3;     /* terracotta wash */
  --teal: #3E7D52;          /* positive / strong green (bars, checks) */
  --green: #2C6E7F;         /* secondary accent — deep teal (italic em) */
  --purple: #2C6E7F;        /* legacy alias → teal */
  --amber: #C29433;         /* mid / caution */
  --red: #A23545;           /* low / dosha flag */

  /* — surfaces — */
  --dark: #20202A;          /* editorial ink (toolbar / dark sections) */
  --dark-2: #2A2A35;
  --dark-3: #34343F;
  --paper: #F6F3EC;         /* page paper */
  --card: #FCFBF7;          /* raised card */
  --cream: #F1ECE0;         /* warm off-white (text on dark) */
  --cream-2: #FCFBF7;

  /* — ink / lines — */
  --ink: #20202A;
  --ink-soft: #4A4954;
  --muted: #807E89;
  --line: #E5E1D6;
  --line-strong: #D6D1C4;
  --line-dark: rgba(255,255,255,0.13);

  --maxw: 1180px;
  --r: 14px;
  --serif: 'Spectral', Georgia, serif;
  --display: 'Spectral', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --deva: 'Noto Serif Devanagari', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: #ECE7DC;
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.devnagari, .deva { font-family: var(--deva); font-weight: 500; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap-tight { max-width: 880px; margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 28px; height: 1px; background: var(--gold); display: inline-block; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.005em;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 10px 26px -12px rgba(189,79,44,0.8); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(189,79,44,0.9); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(255,255,255,0.28); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-ghost.on-light { color: var(--ink); border-color: var(--line-strong); }
.btn-ghost.on-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-ink { background: var(--dark); color: var(--cream); }
.btn-ink:hover { transform: translateY(-2px); background: #2c2c38; }
.btn-wa { background: #1faa53; color: #fff; box-shadow: 0 10px 28px -12px rgba(31,170,83,0.7); }
.btn-wa:hover { transform: translateY(-2px); background: #1c9c4c; }
.icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ============ NAV ============ */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(32,32,42,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand .mark { font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--gold-bright); letter-spacing: 0.01em; }
.brand .mark b { color: #fff; font-weight: 600; }
.brand .tag { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 700; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: rgba(255,255,255,0.78); font-size: 14.5px; font-weight: 600; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.lang { color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 600; letter-spacing: 0.05em; white-space: nowrap; }
.lang b { color: var(--gold-bright); }
.nav-toggle { display: none; }
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta .lang { display: none; }
}

/* ============ PAGE HEADER (sub-pages) ============ */
.page-hero {
  position: relative;
  background:
    radial-gradient(circle at 80% 12%, rgba(189,79,44,0.16), transparent 44%),
    radial-gradient(circle at 8% 92%, rgba(44,110,127,0.14), transparent 46%),
    var(--dark);
  color: var(--cream);
  overflow: hidden;
  padding: 84px 0 90px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(217,116,77,0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 72% 26%, #000 0%, transparent 70%);
          mask-image: radial-gradient(circle at 72% 26%, #000 0%, transparent 70%);
  opacity: .6; pointer-events: none;
}
.page-hero .inner { position: relative; max-width: 760px; }
.page-hero h1 { font-size: clamp(38px, 5.2vw, 62px); color: #fff; margin: 22px 0 0; }
.page-hero h1 .accent { color: var(--gold-bright); font-style: italic; font-family: var(--display); font-weight: 400; }
.page-hero p { font-size: clamp(16px, 1.9vw, 19px); color: rgba(241,236,224,0.78); max-width: 600px; margin: 22px 0 0; font-weight: 400; }

/* ============ SECTION SHELL ============ */
section { padding: 100px 0; }
.sec-head { max-width: 720px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 48px); margin: 18px 0 0; color: var(--ink); }
.sec-head h2 .em { font-family: var(--display); font-style: italic; font-weight: 500; color: var(--green); }
.sec-head p { font-size: 17.5px; color: var(--ink-soft); margin-top: 16px; font-weight: 400; text-wrap: pretty; }

.on-dark { background: var(--dark); color: var(--cream); }
.on-dark .sec-head h2 { color: #fff; }
.on-dark .sec-head h2 .em { color: var(--gold-bright); }
.on-dark .sec-head p { color: rgba(241,236,224,0.7); }
.on-cream { background: linear-gradient(180deg, #F1ECDF, var(--paper)); }

/* ============ PILLARS (kootas + gaps) ============ */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 58px; }
.pillar { border-radius: 18px; padding: 38px 34px; }
.pillar.trad { background: var(--dark-2); border: 1px solid var(--line-dark); color: var(--cream); }
.pillar.gap { background: linear-gradient(165deg, #295f6d, #20505d); border: 1px solid rgba(255,255,255,0.14); color: var(--cream); }
.pillar .p-tag { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--gold-bright); }
.pillar.gap .p-tag { color: #aee0e6; }
.pillar h3 { font-size: 28px; margin: 12px 0 6px; color: #fff; }
.pillar .p-hi { font-family: var(--display); font-style: italic; font-weight: 500; }
.pillar > p { color: rgba(241,236,224,0.72); font-size: 15px; margin-bottom: 24px; font-weight: 400; }
.koota-list { display: grid; gap: 13px; }
.kl-row { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 14px; }
.kl-row .k-name { font-size: 14px; font-weight: 600; }
.kl-row .k-name span { display: block; font-size: 11px; color: rgba(241,236,224,0.55); font-weight: 400; }
.kl-row .k-pts { font-size: 13px; font-weight: 700; color: var(--gold-bright); }
.pillar.gap .kl-row .k-pts { color: #aee0e6; }
.bar { height: 7px; background: rgba(255,255,255,0.12); border-radius: 100px; overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, #4f9b66, var(--teal)); }
.bar.amber > span { background: linear-gradient(90deg, #b88528, var(--amber)); }
.gap-list { display: grid; gap: 16px; }
.gap-item .gi-top { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 7px; }
.gap-item .gi-top b { font-weight: 700; }
.gap-item .gi-top span { color: rgba(241,236,224,0.6); font-size: 13px; }
.total-chip { margin-top: 26px; display: inline-flex; align-items: baseline; gap: 8px; background: rgba(255,255,255,0.1); border: 1px solid var(--line-dark); border-radius: 100px; padding: 9px 20px; }
.total-chip b { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--gold-bright); }
.total-chip span { font-size: 13px; color: rgba(241,236,224,0.65); letter-spacing: 0.04em; }
@media (max-width: 920px) { .pillars { grid-template-columns: 1fr; } }

/* ============ DOSHAS ============ */
.dosha-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.dosha {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 12px;
  padding: 26px 24px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.dosha:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(32,32,42,0.22); }
.dosha h4 { font-size: 21px; color: var(--ink); display: flex; align-items: baseline; gap: 10px; }
.dosha h4 .hi { font-family: var(--deva); font-size: 14px; color: var(--red); font-weight: 500; }
.dosha p { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
.dosha .src { margin-top: 14px; font-size: 11px; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
@media (max-width: 880px) { .dosha-grid { grid-template-columns: 1fr; } }

/* ============ STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px 28px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(32,32,42,0.24); }
.step .num { font-family: var(--serif); font-weight: 600; font-size: 18px; color: #fff; background: var(--gold); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.step h3 { font-size: 23px; margin: 20px 0 10px; color: var(--ink); }
.step p { color: var(--ink-soft); font-size: 15px; }
.step .ex { margin-top: 14px; font-size: 13px; color: var(--green); background: rgba(44,110,127,0.08); border-radius: 8px; padding: 9px 12px; font-weight: 600; }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr; } }

/* ============ PRICING ============ */
.toggle { display: inline-flex; background: rgba(255,255,255,0.1); border: 1px solid var(--line-dark); border-radius: 100px; padding: 5px; margin-top: 30px; }
.toggle button { font-family: var(--sans); border: none; background: transparent; color: rgba(241,236,224,0.7); font-weight: 700; font-size: 14px; padding: 9px 22px; border-radius: 100px; cursor: pointer; transition: all .25s; }
.toggle button.active { background: var(--gold); color: #fff; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.plan {
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease;
}
.plan:hover { transform: translateY(-4px); }
.plan.featured { background: linear-gradient(165deg, #322a25, #25201c); border-color: var(--gold); box-shadow: 0 36px 70px -34px rgba(189,79,44,0.5); position: relative; }
.plan.featured .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; }
.plan .pl-name { font-family: var(--serif); font-weight: 600; font-size: 24px; color: #fff; }
.plan .pl-desc { font-size: 13.5px; color: rgba(241,236,224,0.6); margin-top: 4px; min-height: 38px; }
.plan .pl-price { font-family: var(--serif); font-weight: 600; font-size: 46px; color: var(--gold-bright); margin: 18px 0 2px; }
.plan .pl-price .cur { font-size: 26px; vertical-align: top; }
.plan .pl-note { font-size: 12px; color: rgba(241,236,224,0.5); letter-spacing: 0.05em; }
.plan ul { list-style: none; margin: 24px 0 28px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 11px; font-size: 14px; color: rgba(241,236,224,0.85); }
.plan li .ck { color: #6fc28c; flex-shrink: 0; margin-top: 3px; }
.plan li.off { color: rgba(241,236,224,0.35); }
.plan li.off .ck { color: rgba(241,236,224,0.28); }
@media (max-width: 920px) { .price-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; } }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 52px auto 0; }
.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  cursor: pointer; list-style: none; padding: 24px 4px;
  font-family: var(--serif); font-weight: 500; font-size: 21px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 26px; height: 26px; flex-shrink: 0; border: 1px solid var(--gold); border-radius: 50%; position: relative; transition: transform .3s; }
.faq summary .pm::before, .faq summary .pm::after { content:""; position:absolute; background: var(--gold); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq summary .pm::before { width: 11px; height: 1.5px; }
.faq summary .pm::after { width: 1.5px; height: 11px; transition: transform .3s; }
.faq[open] summary .pm::after { transform: translate(-50%,-50%) scaleY(0); }
.faq p { padding: 0 4px 26px; color: var(--ink-soft); font-size: 15.5px; max-width: 720px; }

/* ============ FINAL CTA ============ */
.final {
  background: radial-gradient(circle at 50% 0%, rgba(189,79,44,0.2), transparent 55%), var(--dark);
  color: var(--cream);
  text-align: center;
  padding: 110px 0;
}
.final h2 { font-size: clamp(36px, 5.5vw, 62px); color: #fff; }
.final h2 .em { font-family: var(--display); font-style: italic; font-weight: 500; color: var(--gold-bright); }
.final p { color: rgba(241,236,224,0.72); font-size: 19px; margin: 20px auto 0; max-width: 560px; font-weight: 400; }
.final .hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

/* ============ FOOTER ============ */
footer.site { background: #191920; color: rgba(241,236,224,0.62); padding: 60px 0 36px; border-top: 1px solid var(--line-dark); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
footer.site .f-brand .mark { font-family: var(--serif); font-weight: 600; font-size: 23px; color: var(--gold-bright); }
footer.site .f-brand .mark b { color: #fff; font-weight: 600; }
footer.site .f-brand p { font-size: 13.5px; margin-top: 12px; max-width: 280px; font-weight: 400; }
footer.site h5 { font-family: var(--sans); font-weight: 700; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 16px; }
footer.site ul { list-style: none; display: grid; gap: 10px; }
footer.site ul a { font-size: 14px; color: rgba(241,236,224,0.62); transition: color .2s; }
footer.site ul a:hover { color: var(--gold-bright); }
.foot-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: rgba(241,236,224,0.42); }
.disclaimer { font-size: 12px; color: rgba(241,236,224,0.42); margin-top: 14px; max-width: 760px; line-height: 1.7; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
