:root {
  --maroon: #6b1020;
  --maroon-2: #8e1a2c;
  --saffron: #e8892b;
  --gold: #c9a227;
  --gold-soft: #f6e7b8;
  --ink: #2a1a14;
  --muted: #6e5a4e;
  --bg: #fffaf2;
  --card: #ffffff;
  --line: #ecdcc4;
  --night: #1a0b2e;
  --ok: #1f7a3f;
  --err: #b3261e;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(107, 16, 32, .08);
  --odia: "Noto Sans Oriya", "Nirmala UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Poppins", system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--maroon-2); }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; line-height: 1.15; margin: 0 0 .5em; color: var(--maroon); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.45rem; }
.odia { font-family: var(--odia); }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.section { padding: 72px 0; }
.section.alt { background: #fff3e0; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--saffron); margin-bottom: .4rem; display: block; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 680px; }
.center .lead { margin-inline: auto; }

/* ---------- header ---------- */
.topbar { background: var(--night); color: #f3e6ff; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; flex-wrap: wrap; }
.topbar a { color: var(--gold-soft); text-decoration: none; }
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 242, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.site .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--maroon); font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 1.6rem; }
.logo-mark { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--saffron), var(--maroon)); display: grid; place-items: center; color: #fff; font-size: 1.2rem; }
nav.main { display: flex; align-items: center; gap: 6px; }
nav.main a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; }
nav.main a:hover, nav.main a.active { color: var(--maroon); background: #fdebd3; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 1.3rem; cursor: pointer; color: var(--maroon); }
@media (max-width: 880px) {
  .menu-btn { display: block; }
  nav.main { position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); display: none; }
  nav.main.open { display: flex; }
}

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 0; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--saffron), #d4651a); color: #fff; box-shadow: 0 6px 18px rgba(232, 137, 43, .35); }
.btn-dark { background: var(--maroon); color: #fff; }
.btn-ghost { background: transparent; color: var(--maroon); border: 1.5px solid var(--maroon); }
.btn-light { background: #fff; color: var(--maroon); }
.btn-sm { padding: 7px 14px; font-size: .88rem; }
.btn:disabled { opacity: .6; cursor: wait; }
nav.main .btn { color: #fff; }
nav.main .btn:hover { background: var(--maroon-2); color: #fff; }
label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 4px; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(232, 137, 43, .15); }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.msg { padding: 10px 14px; border-radius: 10px; margin: 10px 0; font-size: .92rem; display: none; }
.msg.show { display: block; }
.msg.err { background: #fdecea; color: var(--err); }
.msg.ok { background: #e7f5ec; color: var(--ok); }
.check { display: flex; gap: 8px; align-items: center; font-weight: 500; color: var(--ink); }
.check input { width: auto; }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 20% 0%, #4a1640 0%, var(--night) 55%, #0c0518 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 20% 30%, #fff8, transparent), radial-gradient(1px 1px at 70% 20%, #fff9, transparent), radial-gradient(1.5px 1.5px at 85% 60%, #fff7, transparent), radial-gradient(1px 1px at 40% 80%, #fff8, transparent), radial-gradient(1px 1px at 10% 70%, #fff6, transparent), radial-gradient(1.5px 1.5px at 55% 45%, #fff5, transparent); background-size: 300px 300px; opacity: .8; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 72px 0 80px; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--gold); }
.hero p { color: #e8dcf5; font-size: 1.1rem; }
.hero .odia-line { font-family: var(--odia); color: var(--gold-soft); font-size: 1.15rem; margin-bottom: .6rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 12px; }
.stats b { display: block; font-size: 1.6rem; color: var(--gold); font-family: "Cormorant Garamond", serif; }
.stats span { font-size: .85rem; color: #cbb8e0; }
.hero-card { background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 18px; padding: 26px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.hero-card h3 { margin-bottom: .2rem; }
.hero-card p { color: var(--muted); font-size: .85rem; }
.zodiac-wheel { position: absolute; right: -180px; top: -120px; width: 620px; opacity: .08; pointer-events: none; }
@media (max-width: 880px) { .hero .container { grid-template-columns: 1fr; padding: 48px 0; } }

/* ---------- services ---------- */
.svc { text-align: left; display: flex; flex-direction: column; position: relative; }
.svc .icon { width: 52px; height: 52px; border-radius: 14px; background: #fdebd3; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 12px; }
.svc .odia { color: var(--saffron); font-size: .95rem; }
.svc ul { padding-left: 18px; margin: 10px 0 16px; color: var(--muted); font-size: .93rem; }
.svc .price { font-size: 1.5rem; font-weight: 700; color: var(--maroon); margin-top: auto; }
.svc .price small { font-size: .85rem; color: var(--muted); font-weight: 500; }
.svc.featured { border: 2px solid var(--saffron); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--saffron); color: #fff; }
.svc .badge { position: absolute; top: 16px; right: 16px; }

.topics { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.topic { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 10px; text-align: center; font-weight: 500; }
.topic div { font-size: 1.8rem; }
@media (max-width: 880px) { .topics { grid-template-columns: repeat(3, 1fr); } }

.rashi-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.rashi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 8px; text-align: center; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.rashi:hover { border-color: var(--saffron); }
.rashi .sym { font-size: 1.9rem; color: var(--maroon); }
.rashi .od { font-family: var(--odia); color: var(--saffron); font-size: .95rem; }
@media (max-width: 880px) { .rashi-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 500px) { .rashi-grid { grid-template-columns: repeat(3, 1fr); } }

.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.video .thumb { aspect-ratio: 16/9; background: #222 center/cover; position: relative; }
.video .thumb::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2.2rem; text-shadow: 0 2px 10px #000a; }
.video p { margin: 0; padding: 10px 12px; font-size: .9rem; font-family: var(--odia), "Poppins", sans-serif; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 880px) { .videos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .videos { grid-template-columns: 1fr; } }

.social-band { background: linear-gradient(135deg, var(--maroon), #3d0a2a); color: #fff; border-radius: 20px; padding: 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.social-band h2 { color: #fff; margin: 0 0 .3em; }
.social-band p { margin: 0; color: #f2dde3; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--maroon); }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* ---------- footer ---------- */
footer.site { background: var(--night); color: #cbb8e0; padding: 48px 0 24px; margin-top: 0; }
footer.site h4 { color: var(--gold); margin: 0 0 10px; font-size: 1rem; }
footer.site a { color: #f0e4ff; text-decoration: none; display: block; padding: 3px 0; font-size: .92rem; }
footer.site .fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
footer.site .copy { border-top: 1px solid #ffffff1a; margin-top: 28px; padding-top: 16px; font-size: .82rem; text-align: center; }
@media (max-width: 760px) { footer.site .fgrid { grid-template-columns: 1fr 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); z-index: 60; text-decoration: none; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- page banner ---------- */
.page-head { background: radial-gradient(ellipse at 30% 0%, #4a1640, var(--night)); color: #fff; padding: 44px 0; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0; }
.page-head p { color: #e0d0f0; margin: 6px 0 0; }

/* ---------- kundli ---------- */
.k-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.k-summary .item { background: #fff8ec; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.k-summary .item span { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.k-summary .item b { font-size: 1.05rem; color: var(--maroon); }
.k-summary .item .odia { font-size: .9rem; color: var(--saffron); font-weight: 500; }
@media (max-width: 760px) { .k-summary { grid-template-columns: repeat(2, 1fr); } }
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .charts { grid-template-columns: 1fr; } }
.chart-box { text-align: center; }
.chart-box svg { width: 100%; max-width: 420px; height: auto; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 2px solid var(--line); margin-bottom: 20px; }
.tabs button { background: none; border: 0; font: inherit; padding: 10px 16px; cursor: pointer; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs button.active { color: var(--maroon); border-color: var(--saffron); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { background: #fdebd3; color: var(--maroon); font-weight: 600; }
tr.now td { background: #fff3d6; font-weight: 600; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.pill.yes { background: #fdecea; color: var(--err); }
.pill.no { background: #e7f5ec; color: var(--ok); }
.pill.info { background: #fdebd3; color: var(--maroon); }
.pred h3 { font-size: 1.25rem; margin: 18px 0 6px; }
.pred p { margin: 0 0 6px; }
.cta-box { background: linear-gradient(135deg, #fff3e0, #fde3c3); border: 1px solid #f3c98f; border-radius: 16px; padding: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.cta-box p { margin: 0; }

/* ---------- booking ---------- */
.pkg-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.pkg-pick label { margin: 0; cursor: pointer; border: 2px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; color: var(--ink); }
.pkg-pick input { display: none; }
.pkg-pick label:has(input:checked) { border-color: var(--saffron); background: #fff5e8; }
.pkg-pick b { display: block; color: var(--maroon); }
.dur-pick { display: flex; gap: 10px; flex-wrap: wrap; }
.dur-pick label { margin: 0; cursor: pointer; border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px; background: #fff; color: var(--ink); font-weight: 600; }
.dur-pick input { display: none; }
.dur-pick label:has(input:checked) { border-color: var(--saffron); background: #fff5e8; color: var(--maroon); }
.summary { position: sticky; top: 90px; }
.summary .total { font-size: 2rem; color: var(--maroon); font-weight: 700; }
.book-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 880px) { .book-layout { grid-template-columns: 1fr; } .summary { position: static; } }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; position: relative; }
.steps div::before { counter-increment: s; content: counter(s); position: absolute; top: -12px; left: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--saffron); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }

/* ---------- dashboard ---------- */
.dash { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: start; }
@media (max-width: 880px) { .dash { grid-template-columns: 1fr; } }
.dash > *, .book-layout > *, .grid > *, .charts > * { min-width: 0; }
.profile-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.profile-row:last-child { border: 0; }
.profile-row .meta { font-size: .85rem; color: var(--muted); }
.status { text-transform: capitalize; }
.auth-wrap { max-width: 440px; margin: 0 auto; }
.empty { color: var(--muted); font-style: italic; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 10px; z-index: 100; opacity: 0; transition: opacity .25s; pointer-events: none; }
.toast.show { opacity: 1; }
@media print {
  header.site, .topbar, footer.site, .wa-float, .no-print, .tabs { display: none !important; }
  .tab-panel { display: block !important; page-break-inside: avoid; }
  body { background: #fff; }
}
