:root {
  --bg: #fbf7ee;
  --paper: #fffaf0;
  --ink: #163036;
  --muted: #647071;
  --teal: #075d68;
  --teal-2: #0c7c86;
  --gold: #c59a44;
  --gold-2: #e2c178;
  --line: rgba(7, 93, 104, 0.14);
  --shadow: 0 24px 70px rgba(22, 48, 54, 0.14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 8%, rgba(226, 193, 120, 0.30), transparent 32%),
    radial-gradient(circle at 90% 0%, rgba(12, 124, 134, 0.12), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, var(--bg) 42%, #f5efe3 100%);
  color: var(--ink);
  line-height: 1.6;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: #063f47; }
img { max-width: 100%; display: block; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 16px; top: 16px; width: auto; height: auto; z-index: 99; background: white; padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 240, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }
.brand-logo { width: 48px; height: 48px; border-radius: 16px; object-fit: cover; box-shadow: 0 10px 25px rgba(7,93,104,.12); }
.brand span { display: grid; line-height: 1.1; }
.brand small { font-size: 12px; color: var(--gold); letter-spacing: .15em; text-transform: uppercase; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { font-weight: 650; color: #284448; font-size: 15px; }
.nav-links .button { color: white; }
.mobile-menu-button { display: none; border: 1px solid var(--line); background: white; border-radius: 14px; padding: 10px 12px; color: var(--teal); }
.selector-label { display: inline-flex; align-items: center; gap: 8px; color: #284448; font-size: 13px; font-weight: 750; }
.selector-label select {
  appearance: none;
  border: 1px solid rgba(7,93,104,.18);
  border-radius: 999px;
  background-color: rgba(255,250,240,.86);
  color: var(--teal);
  font: inherit;
  font-weight: 800;
  padding: 9px 30px 9px 12px;
  background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 18px; background: linear-gradient(135deg, var(--teal), #063f47); color: #fff; font-weight: 750; box-shadow: 0 16px 32px rgba(7, 93, 104, 0.20); border: 0; }
.button.secondary { background: #fff; color: var(--teal); border: 1px solid rgba(7,93,104,.16); box-shadow: none; }
.button.gold { background: linear-gradient(135deg, #b9872f, #e4bf69); color: #351e00; }

.hero { padding: 82px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.eyebrow { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: 13px; margin-bottom: 14px; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.04em; }
h1 { font-size: clamp(42px, 7vw, 76px); max-width: 820px; }
h2 { font-size: clamp(32px, 4.5vw, 50px); margin-bottom: 16px; }
h3 { font-size: 23px; margin-bottom: 10px; }
p { margin: 0 0 16px; color: #3e5357; }
.lede { font-size: 20px; color: #43575a; max-width: 700px; margin: 24px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; max-width: 720px; }
.trust-pill { padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.62); color: #42595c; font-weight: 650; }
.hero-card { background: rgba(255,250,240,.88); border: 1px solid rgba(197,154,68,.25); border-radius: 36px; box-shadow: var(--shadow); padding: 32px; position: relative; overflow: hidden; }
.hero-card:before { content: ""; position: absolute; inset: -50% -20% auto auto; width: 240px; height: 240px; background: radial-gradient(circle, rgba(226,193,120,.55), transparent 68%); }
.hero-logo { width: min(420px, 100%); margin: 0 auto; border-radius: 34px; }
.hero-card p { text-align: center; margin-top: 20px; font-weight: 650; }

.section { padding: 72px 0; }
.section.alt { background: rgba(255,255,255,.36); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 30px; }
.section-head p { max-width: 640px; font-size: 18px; }
.grid { display: grid; gap: 20px; }
.grid.cards { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: rgba(255,250,240,.82); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 12px 34px rgba(22,48,54,.06); }
.card.highlight { border-color: rgba(197,154,68,.38); background: linear-gradient(180deg, rgba(255,250,240,.96), rgba(255,244,218,.82)); }
.card .icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: rgba(197,154,68,.15); color: var(--teal); font-size: 26px; margin-bottom: 18px; }
.card ul { padding-left: 18px; margin: 12px 0 0; color: #3e5357; }
.card li { margin: 7px 0; }

.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.service-item { padding: 18px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.56); }
.service-item strong { display:block; color: var(--ink); margin-bottom: 4px; }

.product { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; align-items: center; }
.product-art { border-radius: 32px; padding: 22px; background: linear-gradient(135deg, #1b3b40, #0b6872); color: white; min-height: 360px; display: grid; align-content: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.product-art:before { content:"ॐ"; position: absolute; right: -24px; top: -64px; color: rgba(255,255,255,.08); font-size: 240px; font-family: Georgia, serif; }
.phone-card { background: rgba(255,250,240,.94); color: var(--ink); border-radius: 28px; padding: 26px; border: 1px solid rgba(255,255,255,.7); }
.phone-card h3 { color: var(--teal); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.chip { padding: 9px 12px; border-radius: 999px; background: rgba(197,154,68,.12); border: 1px solid rgba(197,154,68,.26); color: #6b4d15; font-weight: 700; font-size: 14px; }

.timeline { display: grid; gap: 14px; counter-reset: step; }
.step { display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: start; }
.step:before { counter-increment: step; content: counter(step); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 850; }
.step strong { display:block; margin-bottom: 4px; }

.cta { padding: 56px 0 82px; }
.cta-box { border-radius: 36px; background: linear-gradient(135deg, #064c55, #0a7280); color: white; padding: clamp(28px, 6vw, 58px); display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: center; box-shadow: var(--shadow); }
.cta-box p { color: rgba(255,255,255,.82); font-size: 18px; }
.cta-actions { display: flex; justify-content: end; gap: 12px; flex-wrap: wrap; }
.cta .button.secondary { color: white; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.24); }

.footer { background: #123137; color: white; padding: 48px 0; }
.footer p, .footer a { color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, .6fr); gap: 28px; }
.footer h4 { margin: 0 0 12px; color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand { display:flex; gap: 12px; align-items:center; margin-bottom: 14px; }
.footer-logo { width: 48px; height: 48px; border-radius: 16px; object-fit: cover; background: #fff; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }

.page-hero { padding: 58px 0 34px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); }
.legal-layout { display: grid; grid-template-columns: 270px 1fr; gap: 34px; align-items: start; }
.legal-nav { position: sticky; top: 100px; background: rgba(255,250,240,.88); border: 1px solid var(--line); border-radius: 22px; padding: 18px; }
.legal-nav a { display: block; padding: 8px 0; font-weight: 650; color: #42595c; }
.legal-card { background: rgba(255,250,240,.9); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 5vw, 48px); box-shadow: 0 14px 40px rgba(22,48,54,.07); }
.legal-card h2 { font-size: 30px; margin-top: 34px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { margin-top: 22px; font-size: 21px; }
.legal-card ul { color: #3e5357; }
.notice { padding: 16px 18px; border-radius: 18px; background: rgba(197,154,68,.12); border: 1px solid rgba(197,154,68,.25); margin: 18px 0; }

.contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kv { display: grid; gap: 10px; }
.kv div { padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.55); }
.kv strong { display:block; color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid, .product, .cta-box, .footer-grid, .legal-layout, .contact-panel { grid-template-columns: 1fr; }
  .grid.cards { grid-template-columns: 1fr; }
  .grid.two, .service-list { grid-template-columns: 1fr; }
  .section-head { display:block; }
  .trust-row { grid-template-columns: 1fr; }
  .cta-actions { justify-content: start; }
  .legal-nav { position: static; }
  .nav-links { display: none; position: absolute; top: 78px; left: 20px; right: 20px; background: rgba(255,250,240,.98); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 18px; flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .mobile-menu-button { display: inline-flex; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 26px, 1120px); }
  .nav { height: 70px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 10px; }
  .hero { padding-top: 48px; }
  .hero-actions { display:grid; }
  .section { padding: 52px 0; }
  .legal-card { padding: 22px; }
}

/* Svadharma product page */
.product-hero {
  position: relative;
  padding: 86px 0 72px;
  overflow: hidden;
  color: #fff7df;
  min-height: 760px;
  background:
    linear-gradient(90deg, rgba(18, 9, 2, .96) 0%, rgba(18, 9, 2, .74) 37%, rgba(18, 9, 2, .20) 66%, rgba(18, 9, 2, .04) 100%),
    url('../assets/svadharma-rama-sita.webp') 62% top / cover no-repeat;
}
.product-hero:after {
  content:"";
  position:absolute;
  inset:auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(251,247,238,.92));
  pointer-events:none;
}
.product-hero .container { position: relative; z-index: 1; }
.product-hero-grid { display:grid; grid-template-columns: .95fr 1.05fr; gap: 30px; align-items: end; min-height: 620px; }
.product-hero h1 { color:#fff7df; text-shadow: 0 8px 38px rgba(0,0,0,.46); max-width: 620px; }
.product-hero .lede { color: rgba(255,247,223,.88); max-width: 660px; }
.product-hero .eyebrow { color: #ffd986; }
.hero-proof { display:flex; flex-wrap:wrap; gap:10px; margin: 26px 0 0; }
.hero-proof span { border:1px solid rgba(255,217,134,.35); background: rgba(255,250,240,.10); backdrop-filter: blur(8px); color:#fff4d4; border-radius:999px; padding:10px 13px; font-weight:800; font-size:14px; }
.product-device-card {
  width: min(430px, 58%);
  margin-left: auto;
  margin-right: clamp(8px, 1.6vw, 28px);
  margin-bottom: clamp(20px, 4vw, 72px);
  border:1px solid rgba(255,217,134,.38);
  border-radius: 34px;
  padding: 12px;
  background: rgba(255,250,240,.14);
  box-shadow: 0 35px 90px rgba(0,0,0,.38);
  transform: rotate(.4deg);
}
.product-device-card img { border-radius: 26px; width:100%; height: auto; max-height: 300px; object-fit: contain; display:block; }
.product-disclaimer { margin-top: 18px; padding: 14px 16px; border-radius: 18px; color:#fff0c7; background: rgba(0,0,0,.30); border:1px solid rgba(255,217,134,.20); max-width: 820px; }
.product-disclaimer strong { color:#ffe4a0; }

.feature-matrix { display:grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.feature-tile { background: rgba(255,250,240,.88); border: 1px solid rgba(197,154,68,.22); border-radius: 24px; padding: 20px; min-height: 190px; box-shadow: 0 18px 46px rgba(22,48,54,.07); }
.feature-tile .icon { width:44px; height:44px; border-radius: 15px; display:grid; place-items:center; background: linear-gradient(135deg, rgba(197,154,68,.18), rgba(226,193,120,.25)); color:#8a5c0c; font-size:24px; margin-bottom: 14px; }
.feature-tile h3 { font-size:20px; }
.feature-tile p { font-size:15px; margin-bottom:0; }

.visual-strip { display:grid; grid-template-columns: 1.15fr .85fr; gap:20px; align-items:stretch; }
.visual-large, .visual-stack img, .gallery-card img { border-radius: 28px; box-shadow: 0 22px 60px rgba(22,48,54,.16); border:1px solid rgba(197,154,68,.20); }
.visual-large { height: 100%; object-fit: cover; min-height: 480px; }
.visual-stack { display:grid; grid-template-rows: 1fr 1fr; gap:20px; }
.visual-stack img { width:100%; height:100%; min-height: 230px; object-fit: cover; }
.gallery-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-card { position:relative; overflow:hidden; border-radius:28px; background:#1b1209; min-height:260px; }
.gallery-card img { width:100%; height:100%; min-height:260px; object-fit: cover; filter: saturate(1.02); }
.gallery-card span { position:absolute; left:16px; right:16px; bottom:16px; padding:10px 12px; border-radius:999px; color:#fff2c8; background:rgba(0,0,0,.44); backdrop-filter: blur(8px); font-weight:800; border:1px solid rgba(255,217,134,.25); text-align:center; }

.workflow { display:grid; grid-template-columns: repeat(5,1fr); gap:14px; }
.workflow-step { padding:22px; border-radius:24px; background:rgba(255,250,240,.88); border:1px solid var(--line); position:relative; }
.workflow-step:before { content: attr(data-step); display:grid; place-items:center; width:38px; height:38px; border-radius:50%; color:#351e00; background:linear-gradient(135deg,#e8c56f,#b88631); font-weight:900; margin-bottom:14px; }
.workflow-step p { margin-bottom:0; font-size:15px; }

.table-wrap { overflow-x:auto; border-radius: 24px; border: 1px solid var(--line); background: rgba(255,250,240,.9); box-shadow: 0 18px 48px rgba(22,48,54,.06); }
.comparison-table { width:100%; border-collapse: collapse; min-width: 920px; }
.comparison-table th, .comparison-table td { padding: 16px; text-align:left; border-bottom: 1px solid rgba(7,93,104,.10); vertical-align: top; }
.comparison-table th { background: rgba(7,93,104,.08); color: var(--ink); font-size:14px; letter-spacing:.04em; text-transform: uppercase; }
.comparison-table tr:last-child td { border-bottom:0; }
.comparison-table td:first-child { font-weight: 850; color: var(--ink); width: 190px; }
.badge { display:inline-flex; align-items:center; border-radius:999px; padding:6px 10px; font-size:12px; font-weight:850; background: rgba(197,154,68,.14); color:#70490b; border:1px solid rgba(197,154,68,.25); white-space:nowrap; }
.badge.teal { background: rgba(7,93,104,.11); color: var(--teal); border-color: rgba(7,93,104,.20); }
.badge.soft { background: rgba(100,112,113,.10); color:#566367; border-color: rgba(100,112,113,.16); }
.source-list { font-size: 14px; color: #4f6366; margin-top: 16px; }
.source-list a { font-weight: 700; }

.pricing-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:20px; align-items:stretch; }
.price-card { padding:26px; border-radius: 28px; background:rgba(255,250,240,.9); border:1px solid var(--line); box-shadow:0 16px 42px rgba(22,48,54,.07); position:relative; overflow:hidden; }
.price-card.popular { border-color: rgba(197,154,68,.58); box-shadow: var(--shadow); transform: translateY(-6px); }
.price-card.popular:before { content: attr(data-popular-label); position:absolute; top:18px; right:-40px; transform:rotate(35deg); background:linear-gradient(135deg,#c59a44,#e2c178); color:#351e00; font-weight:900; padding:8px 48px; font-size:12px; }
.region-selector { margin-top: 12px; }
.price { font-size: 42px; letter-spacing:-.06em; font-weight:900; color: var(--teal); margin: 14px 0 4px; }
.price small { font-size: 15px; color: var(--muted); letter-spacing:0; font-weight:700; }
.price-card ul { padding-left:18px; color:#3e5357; }

.product-note-box { border-radius: 30px; padding: clamp(24px,4vw,42px); background: linear-gradient(135deg, #1b1209, #4f2d0b 45%, #0e3d43); color:#fff6db; box-shadow: var(--shadow); position:relative; overflow:hidden; }
.product-note-box:before { content:"ॐ"; position:absolute; right:24px; bottom:-70px; font-size:260px; color:rgba(255,255,255,.06); font-family:Georgia,serif; }
.product-note-box p { color: rgba(255,246,219,.82); }
.product-note-box h2 { color:#fff6db; }

@media (max-width: 1000px) {
  .product-hero { min-height: auto; background-position: center top; }
  .product-hero-grid, .visual-strip { grid-template-columns:1fr; min-height: auto; }
  .feature-matrix { grid-template-columns: repeat(2,1fr); }
  .workflow { grid-template-columns: repeat(2,1fr); }
  .pricing-grid, .gallery-grid { grid-template-columns: 1fr; }
  .product-device-card { width: min(420px, 92%); margin: 34px auto 0; }
  .product-device-card img { height: auto; max-height: 560px; }
}
@media (max-width: 620px) {
  .product-hero { padding: 56px 0 46px; }
  .feature-matrix { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: 1fr; }
  .visual-large { min-height: 320px; }
  .price-card.popular { transform:none; }
}
