/* Vasundhara Villas: sand, olive, earth and old gold. DM Serif Display for headings, DM Sans for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #F8F3EA;
  --surface: #FFFDF8;
  --soft: #F0E7D6;
  --ink: #2E2A22;
  --muted: #6A6152;
  --line: #E3D8C3;
  --line-strong: #CBBB9C;
  --brand: #5C6B3C;
  --brand-hover: #4A5730;
  --brand-ink: #FFFFFF;
  --brand-text: #4A5730;
  --gold: #B8893B;
  --eyebrow: #8E6522;
  --head: "DM Serif Display", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  --radius: 8px;
  --radius-lg: 14px;
  --btn-radius: 8px;
  --wrap: 1200px;
  --gap: 24px;
}
h1, h2, h3 { font-weight: 400; letter-spacing: -.005em; }
h1 em, h2 em { color: var(--brand); }
.btn { font-weight: 700; }

/* header: sits over the hero scene */
.header { background: rgba(248,243,234,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo b { font: 400 1.6rem/1 var(--head); color: var(--ink); }
.logo small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--eyebrow); }
.nav a { font-weight: 500; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 8px; text-decoration-thickness: 2px; }

/* hero: full-width scene with a card */
.hero { position: relative; display: grid; min-height: min(84vh, 720px); align-items: end; overflow: hidden; }
.hero-scene { position: absolute; inset: 0; margin: 0; }
.hero-scene svg { width: 100%; height: 100%; }
.hero-in { position: relative; padding-block: clamp(120px, 20vw, 220px) clamp(28px, 5vw, 56px); }
.hero-card { max-width: 620px; padding: clamp(22px, 4vw, 40px); border-radius: 18px; background: rgba(255,253,248,.94); box-shadow: 0 30px 60px -30px rgba(46,42,34,.45); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.04; margin: 12px 0 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.villas { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--gap); }
.villas a { display: grid; gap: 10px; height: 100%; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
.villas a:hover { border-color: var(--brand); transform: translateY(-3px); }
.villas h3 { font-size: 1.8rem; }
.villas h3 small { display: block; font: 500 .9rem var(--body); color: var(--muted); margin-top: 4px; }
.villas p { color: var(--muted); }
.villas .villa-from { color: var(--ink); margin-top: auto; }
.villa-plan { padding: 12px; border-radius: 10px; background: var(--soft); }
.villa-plan svg, .plan svg { width: 100%; height: auto; }
.vr { fill: #FFFDF8; stroke: var(--ink); stroke-width: 2; }
.vr.open { fill: #DDE3CC; stroke-dasharray: 5 4; }
.vo { fill: none; stroke: var(--ink); stroke-width: 5; }
.vt { font: 600 10px var(--body); fill: var(--ink); text-anchor: middle; }
.pkg-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .pkg-band { grid-template-columns: minmax(0, 1fr); } }
.pkgs { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .pkgs { grid-template-columns: 1fr; } }
.pkgs li { display: grid; gap: 6px; padding: 22px 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.pkgs li.is-pop { background: var(--brand); color: #fff; border-color: var(--brand); }
.pkgs b { font: 400 1.5rem var(--head); }
.pkgs span { font-weight: 700; font-size: 1.3rem; }
.pkgs small { font-weight: 400; font-size: .85rem; opacity: .8; }
.pkgs em { font-style: normal; font-size: .9rem; opacity: .85; }
.svc-ico { background: #E6EAD8; color: var(--brand); border-radius: 50%; }
.step-n { color: var(--gold); font-size: 2rem; }

/* picker */
.picker { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: start; }
@media (max-width: 920px) { .picker { grid-template-columns: minmax(0, 1fr); } }
.picker-in { display: grid; gap: 22px; }
.picker-in legend { font: 400 1.5rem var(--head); margin-bottom: 10px; }
.plan-box { padding: 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.plan { margin: 0; }
.plan[hidden] { display: none; }
.plan figcaption { margin-top: 8px; font-size: .85rem; color: var(--muted); text-align: center; }
.tool-out { position: sticky; top: 96px; display: grid; gap: 12px; padding: clamp(22px, 3vw, 30px); border-radius: 18px; background: var(--ink); color: #F3EBDD; }
@media (max-width: 920px) { .tool-out { position: static; } }
.tool-out .eyebrow { color: #E2C07F; }
.tool-total { color: #F3EBDD; }
.tool-range, .tool-note, .tool-lines dt { color: #C9BEA9; }
.tool-lines div { border-color: rgba(243,235,221,.14); }
.sched-t { font: 400 1.3rem var(--head); margin-top: 6px; }
.sched { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.sched td { padding: 7px 0; border-bottom: 1px solid rgba(243,235,221,.12); }
.sched td:last-child { text-align: right; font-weight: 700; }
.sched small { color: #C9BEA9; }
.tool-out .btn-primary { background: var(--gold); color: var(--ink); }
.spec-wrap { margin-top: clamp(40px, 6vw, 72px); }
.spec-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.spec { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
.spec th, .spec td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec thead th { font: 400 1.25rem var(--head); }
.spec tbody th { font-weight: 700; color: var(--muted); }
.spec .is-on { background: #E6EAD8; }
.spec thead .is-on { background: var(--brand); color: #fff; }

/* inner pages */
.page-head { background: var(--soft); margin-bottom: clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
.cta-band { background: var(--brand); color: #fff; }
.cta-band .btn-primary { background: var(--gold); color: var(--ink); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.footer { background: var(--ink); color: #C9BEA9; --footer-line: rgba(243,235,221,.12); }
.footer .logo b { color: #F3EBDD; }
.footer h2 { color: #E2C07F; opacity: 1; }
.footer .credit a { color: #F3EBDD; }
@media (max-width: 700px) {
  .hero { display: block; min-height: 0; }
  .hero-scene { position: relative; height: 230px; }
  .hero-in { padding-block: 0 28px; margin-top: -36px; }
}
