/* Copyright (c) 2026 Shambhavi Astro. All rights reserved. Proprietary - see the LICENSE file. */
/* ==========================================================================
   Shambhavi Jhotish Kendra — site stylesheet
   One file styles every page. Colours/fonts live in the :root tokens below.
   ========================================================================== */

:root {
  --indigo-950: #0d0b22;
  --indigo-900: #151231;
  --indigo-800: #1f1b46;
  --indigo-700: #2c2760;
  --indigo-500: #5a52b5;

  --gold-300: #f6d58f;
  --gold-400: #efbf5c;
  --gold-500: #e3a537;
  --gold-600: #b9801a;
  --gold-700: #8a5d0c;

  --maroon: #8c1d3a;
  --cream: #fdf9f1;
  --paper: #ffffff;
  --sand: #f6eddc;
  --line: #eadfc9;

  --text: #2b2842;
  --muted: #615e78;
  --on-dark: #ece9fb;
  --on-dark-muted: #b7b3d6;

  --green: #0f7d42;
  --danger: #b3261e;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(21, 18, 49, .45);
  --shadow-sm: 0 2px 10px rgba(21, 18, 49, .08);

  --font-head: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-deva: 'Noto Serif Devanagari', 'Nirmala UI', 'Mangal', serif;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--indigo-700); text-underline-offset: 3px; }
a:hover { color: var(--maroon); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--indigo-900); font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
:focus-visible { outline: 3px solid var(--indigo-500); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold-400); color: var(--indigo-950); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: linear-gradient(180deg, var(--gold-300), var(--gold-500)); color: var(--indigo-950); box-shadow: 0 8px 22px -8px rgba(227, 165, 55, .8); }
.btn-gold:hover { color: var(--indigo-950); box-shadow: 0 12px 26px -8px rgba(227, 165, 55, .95); }
.btn-dark { background: var(--indigo-800); color: #fff; }
.btn-dark:hover { background: var(--indigo-700); color: #fff; }
.btn-outline { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn-outline-dark { border-color: var(--indigo-800); color: var(--indigo-800); background: transparent; }
.btn-outline-dark:hover { background: var(--indigo-800); color: #fff; }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: #0b6535; color: #fff; }
.btn-lg { min-height: 56px; padding: 14px 32px; font-size: 1.08rem; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Top strip + header ---------- */
.topbar { background: var(--indigo-950); color: var(--on-dark-muted); font-size: .88rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.topbar .deva { font-family: var(--font-deva); color: var(--gold-300); font-size: 1rem; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: var(--gold-300); }
.topbar-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar-links i { color: var(--gold-400); margin-right: 6px; }
.topbar-social { display: flex; gap: 4px; padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .18); }
.topbar-social a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.topbar-social a:hover { background: rgba(255, 255, 255, .12); }
.topbar-social i { margin: 0; font-size: 1rem; color: var(--on-dark); }
.topbar-social a:hover i { color: var(--gold-300); }
.nav-social { display: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(21, 18, 49, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(239, 191, 92, .2); transition: box-shadow .2s ease; }
.site-header.is-stuck { box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .6); }
.nav-wrap { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; line-height: 1; display: block; }
.brand-sub { display: block; margin-top: 4px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { color: var(--on-dark); padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: .98rem; text-decoration: none; }
.nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .09); }
.nav a[aria-current="page"]:not(.btn) { color: var(--gold-300); }
.nav .btn { margin-left: 10px; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font-size: 1.3rem; cursor: pointer; }
@media (max-width: 920px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 22px; background: var(--indigo-900); border-bottom: 1px solid rgba(239, 191, 92, .2); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 16px; border-radius: 12px; }
  .nav .btn { margin: 10px 0 0; }
  .nav-social { display: flex; gap: 10px; justify-content: center; padding-top: 18px; margin-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); }
  .nav-social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.25rem; text-decoration: none; }
  .nav-social a:hover { background: var(--gold-500); color: var(--indigo-950); }
}
@media (max-width: 760px) { .topbar-right { display: none; } .topbar .container { justify-content: center; } }
@media (max-width: 480px) {
  .nav-wrap { min-height: 64px; gap: 10px; }
  .brand { gap: 10px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.2rem; }
  .brand-sub { font-size: .6rem; letter-spacing: .1em; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(900px 520px at 85% 0%, rgba(90, 82, 181, .55), transparent 60%),
    radial-gradient(700px 480px at 0% 100%, rgba(140, 29, 58, .35), transparent 60%),
    linear-gradient(180deg, var(--indigo-900), var(--indigo-950));
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .7; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 90px 120px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 170px 60px, var(--gold-300), transparent),
    radial-gradient(1px 1px at 230px 190px, #fff, transparent),
    radial-gradient(1px 1px at 60px 210px, var(--gold-300), transparent),
    radial-gradient(1.5px 1.5px at 280px 100px, #fff, transparent);
  background-size: 320px 260px;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--gold-300); }
.hero .lead { font-size: 1.2rem; color: var(--on-dark); max-width: 36em; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 12px; }
.hero .eyebrow { color: var(--gold-300); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 30px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; color: var(--on-dark-muted); font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust i { color: var(--gold-400); }
.mandala { width: min(440px, 100%); margin-inline: auto; filter: drop-shadow(0 0 40px rgba(239, 191, 92, .25)); }
.mandala .spin-a { transform-origin: 200px 200px; animation: spin 140s linear infinite; }
.mandala .spin-b { transform-origin: 200px 200px; animation: spin 90s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .mandala { width: min(280px, 70%); order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .mandala .spin-a, .mandala .spin-b { animation: none; }
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- At-a-glance stats ---------- */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 26px; padding-bottom: 26px; text-align: center; }
.stat strong { display: block; font: 700 2.8rem/1 var(--font-head); color: var(--maroon); }
.stat span { color: var(--muted); font-size: .98rem; }
@media (max-width: 560px) { .stats .container { gap: 6px; } .stat strong { font-size: 2rem; } .stat span { font-size: .8rem; } }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-sand { background: var(--sand); }
.section-dark { background: linear-gradient(180deg, var(--indigo-900), var(--indigo-950)); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 46rem; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: var(--on-dark-muted); }
.divider { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--gold-600); margin: 10px 0 0; }
.divider::before, .divider::after { content: ""; height: 1px; width: 60px; background: linear-gradient(90deg, transparent, var(--gold-500)); }
.divider::after { transform: scaleX(-1); }
@media (max-width: 760px) { .section { padding: 56px 0; } }

.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.55rem; margin-bottom: .3em; }
.card p { color: var(--muted); }
.card .card-actions { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.icon-badge { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; color: var(--indigo-950); background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); margin-bottom: 18px; box-shadow: 0 10px 20px -10px rgba(227, 165, 55, .9); }
.text-link { font-weight: 700; text-decoration: none; color: var(--indigo-700); }
.text-link:hover { color: var(--maroon); text-decoration: underline; }
.text-link i { transition: transform .15s ease; }
.text-link:hover i { transform: translateX(3px); }

.feature { display: flex; gap: 16px; align-items: flex-start; padding: 6px 0; }
.feature .icon-badge { width: 48px; height: 48px; font-size: 1.25rem; margin: 0; border-radius: 14px; flex: none; }
.feature h3 { font-size: 1.3rem; margin-bottom: .15em; }
.feature p { margin: 0; color: var(--muted); font-size: 1rem; }
.section-dark .feature p { color: var(--on-dark-muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.steps li { position: relative; padding: 30px 26px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(239, 191, 92, .25); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 14px; font: 700 1.4rem var(--font-head); color: var(--indigo-950); background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); }
.steps h3 { font-size: 1.4rem; margin-bottom: .2em; }
.steps p { margin: 0; color: var(--on-dark-muted); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.portrait { position: relative; width: 100%; max-width: 380px; margin-inline: auto; }
.portrait-frame { aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; border: 3px solid var(--gold-400); background: linear-gradient(160deg, var(--indigo-700), var(--indigo-950)); display: grid; place-items: center; box-shadow: var(--shadow); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-monogram { font-family: var(--font-head); font-weight: 700; font-size: 6rem; color: var(--gold-300); letter-spacing: .04em; }
.portrait-badge { position: absolute; right: -10px; bottom: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 18px; box-shadow: var(--shadow); text-align: center; line-height: 1.1; }
.portrait-badge strong { display: block; font: 700 2.2rem var(--font-head); color: var(--maroon); }
.portrait-badge span { font-size: .8rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }
.quote { border-left: 4px solid var(--gold-500); background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 22px; margin: 0 0 20px; box-shadow: var(--shadow-sm); }
.quote strong { display: block; font: 700 1.3rem var(--font-head); color: var(--indigo-900); margin-bottom: 4px; }
.quote p { margin: 0; color: var(--muted); }

/* ---------- FAQ / accordions ---------- */
.faq { max-width: 52rem; margin: 0 auto; display: grid; gap: 12px; }
details.acc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
details.acc > summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--indigo-900); position: relative; }
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; line-height: 1; color: var(--gold-600); transition: transform .2s ease; }
details.acc[open] > summary::after { content: "\2212"; }
details.acc > .acc-body { padding: 0 22px 20px; color: var(--muted); }
details.acc > .acc-body > :last-child { margin-bottom: 0; }

/* ---------- YouTube band ---------- */
.yt-band { display: flex; align-items: center; gap: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; box-shadow: var(--shadow-sm); }
.yt-band h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .15em; }
.yt-band p { margin: 0; color: var(--muted); }
.yt-band > div { flex: 1; }
.yt-actions { flex: none; display: flex; flex-wrap: wrap; gap: 12px; }
.icon-badge.yt { flex: none; margin: 0; width: 68px; height: 68px; font-size: 2rem; background: #c4302b; color: #fff; box-shadow: 0 10px 20px -10px rgba(196, 48, 43, .8); }
@media (max-width: 760px) { .yt-band { flex-direction: column; align-items: flex-start; padding: 24px 20px; gap: 16px; } .yt-actions { width: 100%; } .yt-actions .btn { flex: 1 1 140px; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--indigo-800), var(--indigo-950)); color: var(--on-dark); border-radius: 28px; padding: 56px 40px; text-align: center; position: relative; overflow: hidden; border: 1px solid rgba(239, 191, 92, .3); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark); max-width: 36em; margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; margin-bottom: 0; }

/* ---------- Inner page header ---------- */
.page-hero { color: var(--on-dark); padding: 54px 0 46px; background: radial-gradient(700px 300px at 90% 0%, rgba(90, 82, 181, .5), transparent 60%), linear-gradient(180deg, var(--indigo-900), var(--indigo-950)); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: .2em; }
.page-hero p { color: var(--on-dark-muted); max-width: 40em; margin: 0; font-size: 1.1rem; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; font-size: .9rem; color: var(--on-dark-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--gold-600); }
.breadcrumb a { color: var(--gold-300); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }

/* ---------- Prose (long-form text pages) ---------- */
.prose { max-width: 50rem; }
.prose h2 { font-size: 2rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.5rem; margin-top: 1.4em; }
.prose li { margin-bottom: .45em; }
.prose-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 40px; box-shadow: var(--shadow-sm); }
@media (max-width: 640px) { .prose-box { padding: 24px 20px; } }
.callout { background: #fff8e8; border: 1px solid var(--gold-400); border-left-width: 5px; border-radius: var(--radius-sm); padding: 16px 20px; margin: 1.4em 0; }
.callout p:last-child { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; color: var(--indigo-950); background: var(--gold-400); }
.split > *, .contact-grid > *, .about-grid > *, .grid > * { min-width: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); } }
.side-card { position: sticky; top: 100px; background: var(--indigo-900); color: var(--on-dark); border-radius: var(--radius); padding: 28px 26px; border: 1px solid rgba(239, 191, 92, .3); box-shadow: var(--shadow); }
.side-card h3 { color: #fff; font-size: 1.5rem; }
.side-card p { color: var(--on-dark-muted); }
.side-card .btn + .btn { margin-top: 10px; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--line); background: #fff; color: var(--indigo-800); }
.subnav a[aria-current="page"] { background: var(--indigo-800); border-color: var(--indigo-800); color: #fff; }
.subnav a:not([aria-current]):hover { border-color: var(--gold-500); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
table.data { width: 100%; border-collapse: collapse; min-width: 480px; }
table.data th, table.data td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
table.data th { background: var(--sand); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo-800); }
table.data tr:last-child td { border-bottom: 0; }

table.data.compact { min-width: 0; }
table.data.compact th, table.data.compact td { padding: 10px 10px; }
@media (max-width: 520px) { table.data.compact th { font-size: .72rem; letter-spacing: .04em; } table.data.compact td { font-size: .95rem; } }

/* ---------- Gem gallery ---------- */
.gem-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.gem { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.gem:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gem img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; padding: 8px; }
.gem span { display: block; padding: 10px 12px 14px; text-align: center; font-weight: 700; font-size: .95rem; color: var(--indigo-900); border-top: 1px solid var(--line); background: var(--cream); }

/* ---------- Pricing ---------- */
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; text-align: center; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--gold-500); box-shadow: var(--shadow); transform: translateY(-8px); }
.plan .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gold-500); color: var(--indigo-950); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 16px; border-radius: 999px; }
.plan h3 { font-size: 1.7rem; }
.plan .price { font: 700 3.4rem/1 var(--font-head); color: var(--indigo-900); margin: 8px 0 2px; }
.plan .price sup { font-size: 1.4rem; top: -1.1em; margin-right: 2px; }
.plan .period { color: var(--muted); font-style: italic; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; text-align: left; flex: 1; }
.plan li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--text); }
.plan form { margin: 0; }
.plan input[type="image"] { max-width: 100%; height: auto; display: inline-block; }
@media (max-width: 1020px) { .plan.featured { transform: none; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .field .label { font-weight: 700; font-size: .95rem; color: var(--indigo-900); }
.field .opt-tag { font-weight: 400; color: var(--muted); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1rem/1.4 var(--font-body); color: var(--text);
  background: #fff; border: 1.5px solid #cfc4ad; border-radius: var(--radius-sm); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gold-600); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo-500); box-shadow: 0 0 0 4px rgba(90, 82, 181, .2); }
.field .hint { font-size: .88rem; color: var(--muted); margin: 0; }
.field .err { color: var(--danger); font-size: .9rem; font-weight: 600; margin: 0; display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field.has-error .err { display: block; }
p.err:empty { display: none !important; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--indigo-700); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid; margin: 0 0 18px; }
.alert-ok { background: #e9f7ee; border-color: #8fd0a6; color: #12522c; }
.alert-err { background: #fdecea; border-color: #f0a8a2; color: #7f1d17; }
.alert-info { background: #eef0fb; border-color: #b9bfec; color: #25285c; }
.alert p:last-child { margin-bottom: 0; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.info-list .icon-badge { width: 46px; height: 46px; font-size: 1.15rem; margin: 0; border-radius: 12px; flex: none; }
.info-list strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--indigo-900); }
.info-list a { word-break: break-word; }
.map-embed { width: 100%; height: 280px; border: 0; border-radius: var(--radius-sm); margin-top: 20px; background: var(--sand); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo-800); color: #fff; font-size: 1.2rem; text-decoration: none; }
.social a:hover { background: var(--gold-500); color: var(--indigo-950); }

/* ---------- Booking ---------- */
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
@media (max-width: 980px) { .book-grid { grid-template-columns: minmax(0, 1fr); } .summary { position: static; } }
.book-grid > div, .book-card { min-width: 0; }
.book-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 34px 30px; }
@media (max-width: 640px) { .book-card { padding: 22px 16px; border-radius: 14px; } }
.stepper { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0 0 30px; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; color: var(--muted); padding-bottom: 12px; border-bottom: 3px solid var(--line); }
.stepper li span { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); background: #fff; font-size: .9rem; }
.stepper li.is-active { color: var(--indigo-900); border-bottom-color: var(--gold-500); }
.stepper li.is-active span { background: var(--indigo-800); border-color: var(--indigo-800); color: #fff; }
.stepper li.is-done { color: var(--indigo-800); border-bottom-color: var(--gold-400); }
.stepper li.is-done span { background: var(--gold-400); border-color: var(--gold-400); color: var(--indigo-950); }
@media (max-width: 560px) { .stepper li b { display: none; } .stepper li.is-active b { display: inline; } }

fieldset.step { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.step > legend { font: 700 1.9rem/1.15 var(--font-head); color: var(--indigo-900); padding: 0; margin-bottom: 6px; }
.step-sub { color: var(--muted); margin: 0 0 20px; }
.group-title { font-weight: 700; margin: 26px 0 12px; color: var(--indigo-900); }
.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.opt-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .opt-grid, .opt-grid.three { grid-template-columns: 1fr; } }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.opt-body { height: 100%; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.opt:hover .opt-body { border-color: var(--gold-500); }
.opt input:checked + .opt-body { border-color: var(--gold-500); background: #fff8e8; box-shadow: 0 0 0 3px rgba(227, 165, 55, .28); }
.opt input:focus-visible + .opt-body { outline: 3px solid var(--indigo-500); outline-offset: 2px; }
.opt-body .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--indigo-800); color: var(--gold-300); font-size: 1.1rem; }
.opt-body strong { display: block; color: var(--indigo-900); line-height: 1.3; }
.opt-body small { display: block; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.opt.compact .opt-body { align-items: center; padding: 14px; }

.strip-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 10px; }
.strip-head .group-title { margin: 0; }
.strip-nav { display: flex; gap: 8px; }
.strip-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--indigo-800); }
.strip-nav button:hover { border-color: var(--gold-500); }
.date-strip { display: flex; gap: 10px; overflow-x: auto; padding: 6px 4px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.chip { position: relative; flex: none; scroll-snap-align: start; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.chip input:disabled { cursor: not-allowed; }
.chip > span { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .15s ease, background .15s ease; text-align: center; line-height: 1.2; }
.chip:hover input:not(:disabled) + span { border-color: var(--gold-500); }
.chip input:checked + span { background: var(--indigo-800); border-color: var(--indigo-800); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--indigo-500); outline-offset: 2px; }
.chip input:disabled + span { background: #f3efe6; color: #9a95a8; border-style: dashed; }
.date-chip > span { width: 76px; padding: 10px 6px; }
.date-chip .dow { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.date-chip .dom { font: 700 1.7rem/1.1 var(--font-head); }
.date-chip .mon { font-size: .78rem; opacity: .8; }
.date-chip .note { font-size: .68rem; margin-top: 2px; font-weight: 700; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.slot-grid .chip > span { padding: 12px 8px; font-weight: 700; font-size: .98rem; }
.slot-grid .chip input:disabled + span { text-decoration: line-through; }
.slot-status { min-height: 1.6em; color: var(--muted); }
.tz-note { font-size: .9rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; }
.tz-note i { color: var(--gold-600); margin-top: 4px; }
.skeleton { height: 48px; border-radius: var(--radius-sm); background: linear-gradient(90deg, #f1e9d7 25%, #f9f4e7 37%, #f1e9d7 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.step-actions .btn:only-child { margin-left: auto; }
.partner-box { border: 1.5px dashed var(--gold-500); border-radius: var(--radius-sm); padding: 18px 18px 2px; margin-bottom: 18px; background: #fffaf0; }
.partner-box h4 { font-family: var(--font-body); font-size: 1rem; margin-bottom: 14px; }

.summary { position: sticky; top: 100px; background: var(--indigo-900); color: var(--on-dark); border-radius: var(--radius); padding: 28px 26px; border: 1px solid rgba(239, 191, 92, .3); box-shadow: var(--shadow); }
.summary h2 { font-size: 1.6rem; color: #fff; }
.summary dl { margin: 0 0 18px; display: grid; gap: 12px; }
.summary dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300); }
.summary dd { margin: 2px 0 0; font-weight: 600; color: #fff; }
.summary dd.empty { color: var(--on-dark-muted); font-weight: 400; font-style: italic; }
.summary dd small { display: block; font-weight: 400; color: var(--on-dark-muted); }
.summary .help { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; font-size: .95rem; color: var(--on-dark-muted); }
.summary .help a { color: var(--gold-300); }
.summary .btn + .btn { margin-top: 10px; }

.book-card.success { text-align: center; padding: 40px 34px 38px; }
@media (max-width: 640px) { .book-card.success { padding: 28px 16px 26px; } }
.success .tick { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-size: 2.2rem; color: #fff; background: var(--green); box-shadow: 0 0 0 10px rgba(15, 125, 66, .14); }
.success h2 { margin-bottom: .2em; }
.ref { display: inline-block; margin: 8px 0 20px; padding: 8px 20px; border-radius: 999px; background: var(--sand); border: 1px dashed var(--gold-600); font: 700 1.1rem/1 var(--font-body); letter-spacing: .08em; color: var(--indigo-900); }
.success dl { text-align: left; max-width: 28rem; margin: 0 auto 24px; display: grid; gap: 10px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.success dl div { display: flex; justify-content: space-between; gap: 16px; }
.success dt { color: var(--muted); }
.success dd { margin: 0; font-weight: 700; text-align: right; }
.success .btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Payment step ---------- */
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.feebox { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; margin: 18px 0 14px; display: grid; gap: 8px; }
.feebox div { display: flex; justify-content: space-between; gap: 12px; }
.feebox strong { color: var(--indigo-900); font-size: 1.1rem; }
.feebox .feetotal { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 700; }
.feebox .feetotal strong { font-size: 1.4rem; }
.feebox .code { letter-spacing: .06em; color: var(--green); }
.feebox s { color: var(--muted); font-weight: 400; }
.feebox .save { display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 999px; background: #e1f4e8; color: #12522c; font-size: .75rem; letter-spacing: .03em; }
.badge-save { display: inline-block; margin-left: 8px; padding: 3px 12px; border-radius: 999px; background: #e1f4e8; color: #12522c; font-size: .85rem; font-weight: 700; vertical-align: middle; }
.promo-row { display: flex; gap: 10px; }
.promo-row input { flex: 1; text-transform: uppercase; }
.promo-row .btn { min-height: 50px; }
.field .hint.ok { color: var(--green); font-weight: 700; }
.tick.wait { background: var(--gold-500); box-shadow: 0 0 0 10px rgba(227, 165, 55, .2); color: var(--indigo-950); }
.tick.bad { background: var(--danger); box-shadow: 0 0 0 10px rgba(179, 38, 30, .14); }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo-950); color: var(--on-dark-muted); padding: 64px 0 0; font-size: .98rem; }
.site-footer h3 { font: 700 1.3rem var(--font-head); color: #fff; margin-bottom: 14px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr; gap: 40px; padding-bottom: 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 26em; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact i { color: var(--gold-400); width: 18px; text-align: center; margin-top: 5px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .88rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-bottom .disclaimer { flex-basis: 100%; opacity: .8; }

/* ---------- Floating contact buttons ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; grid-template-columns: 1fr 1fr 1.35fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(21, 18, 49, .98); border-top: 1px solid rgba(239, 191, 92, .3); }
.mbar .btn { min-height: 46px; padding: 8px 10px; font-size: .95rem; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 2rem; text-decoration: none; box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .45); transition: transform .15s ease; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
@media (max-width: 760px) {
  .mbar { display: grid; }
  .wa-float { display: none; }
  body.has-mbar { padding-bottom: 74px; }
}

/* ---------- Scroll reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 90px 0 100px; }
.notfound .big { font: 700 clamp(6rem, 18vw, 11rem)/1 var(--font-head); background: linear-gradient(180deg, var(--gold-400), var(--gold-700)); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media print {
  .topbar, .site-header, .mbar, .wa-float, .site-footer, .cta-band { display: none !important; }
  body { background: #fff; }
}

/* ---------- AI-enabled booking showcase (top strip link, pill, footer link) ---------- */
.ai-ico { width: 20px; height: 20px; flex: none; }
.topbar a.topbar-ai { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-300); font-weight: 500; }
.topbar a.topbar-ai b { font-weight: 700; }
.topbar a.topbar-ai .ai-ico { width: 18px; height: 18px; }
.topbar a.topbar-ai:hover, .topbar a.topbar-ai[aria-current="page"] { color: #fff; }
.ai-pill { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 0 0 24px; padding: 8px 14px 8px 12px; border: 1px solid rgba(239, 191, 92, .55); border-radius: 999px; background: rgba(239, 191, 92, .1); color: var(--on-dark); font-size: .93rem; line-height: 1.35; text-decoration: none; }
.ai-pill:hover { background: rgba(239, 191, 92, .2); color: #fff; }
.ai-pill b { color: var(--gold-300); }
.ai-pill .ai-pill-sub { color: var(--on-dark-muted); }
.ai-pill .fa { flex: none; color: var(--gold-400); font-size: 1.2rem; }
.page-hero .ai-pill { margin: 16px 0 0; }
@media (max-width: 480px) { .ai-pill .ai-pill-sub { display: block; } }
