:root {
  --navy: #1c2540;
  --navy-2: #26324f;
  --sun: #e8961e;
  --sun-dark: #c97a0c;
  --lotus: #d9487a;
  --leaf: #3f7d4a;
  --cream: #fbf7f0;
  --sand: #f3ebdc;
  --ink: #2a2a2e;
  --muted: #6b6760;
  --line: #e6dccb;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 37, 64, .10);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --deva: "Tiro Devanagari Hindi", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--sun-dark); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.small { font-size: .875rem; color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 700; color: var(--lotus); margin-bottom: .6em; }
.eyebrow-light { color: #ffc56b; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font: 700 .95rem var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sun { background: var(--sun); color: #fff; box-shadow: 0 6px 18px rgba(232, 150, 30, .35); }
.btn-sun:hover { background: var(--sun-dark); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-block { width: 100%; }

/* Mewari vine border: echoes the hand-painted borders in the rooms */
.vine {
  height: 22px;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='22' viewBox='0 0 80 22'%3E%3Cpath d='M0 11 Q20 1 40 11 T80 11' fill='none' stroke='%233f7d4a' stroke-width='1.6'/%3E%3Cpath d='M18 6 q4 -5 8 0 q-4 3 -8 0z M58 16 q4 5 8 0 q-4 -3 -8 0z' fill='%235c9e5f'/%3E%3Ccircle cx='10' cy='8' r='3.2' fill='%23d9487a'/%3E%3Ccircle cx='10' cy='8' r='1.2' fill='%23ffd166'/%3E%3Ccircle cx='50' cy='14' r='3.2' fill='%23d9487a'/%3E%3Ccircle cx='50' cy='14' r='1.2' fill='%23ffd166'/%3E%3C/svg%3E") repeat-x center;
  border-block: 1px solid #e9cf7a;
}

/* HEADER */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 240, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 48px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 700 1.4rem var(--serif); color: var(--navy); letter-spacing: .02em; }
.brand-sub { font: .82rem var(--deva); color: var(--lotus); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--sun-dark); }
.nav-cta { padding: .6em 1.2em; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* HERO */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,37,64,.25) 0%, rgba(28,37,64,.55) 45%, rgba(28,37,64,.92) 100%); }
.hero-content { position: relative; padding-block: 120px 48px; }
.hero .eyebrow { color: #ffc56b; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 14ch; font-weight: 600; }
.hero h1 em { color: #ffc56b; font-style: italic; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 52ch; opacity: .95; }

.quick-book { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 10px; background: #fff; padding: 12px; border-radius: 18px; box-shadow: var(--shadow); max-width: 860px; }
.quick-book label { display: flex; flex-direction: column; padding: 4px 10px; border-right: 1px solid var(--line); }
.quick-book label:nth-of-type(3) { border-right: 0; }
.quick-book label span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.quick-book input, .quick-book select { border: 0; font: 600 1rem var(--sans); color: var(--navy); padding: 4px 0; background: transparent; outline: none; width: 100%; }

/* SECTIONS */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p:last-child { color: var(--muted); }

.about { padding-bottom: 8px; }
.about p:last-child { color: var(--muted); font-size: 1.05rem; }
.why { padding-block: 48px; background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why-icon { font-size: 1.8rem; }
.why-item h3 { font-size: 1.35rem; margin: .3em 0 .25em; }
.why-item p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ROOMS */
.room-list { display: grid; gap: 36px; }
.room { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.room:nth-child(even) .room-media { order: 2; }
.room-media { background: var(--sand); display: flex; flex-direction: column; }
.room-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; flex: 1; }
.room-thumbs { display: flex; gap: 8px; padding: 10px; }
.room-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; width: 72px; height: 54px; background: none; opacity: .7; }
.room-thumbs button.active, .room-thumbs button:hover { border-color: var(--sun); opacity: 1; }
.room-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.room-body { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; }
.room-meta { color: var(--lotus); font-weight: 700; font-size: .9rem; }
.tags { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--sand); color: var(--navy-2); padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.room-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px dashed var(--line); }
.price { margin: 0; font-weight: 700; color: var(--navy); }
.price strong { font: 700 1.8rem var(--serif); }
.price small { color: var(--muted); font-weight: 500; }

/* AMENITIES */
.amenities { background: var(--navy); color: #e8ebf3; }
.amenities h2 { color: #fff; }
.amenities .eyebrow { color: #ffc56b; }
.amenity-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.amenity-grid li { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; font-weight: 600; }
.amenity-grid svg { width: 30px; height: 30px; flex: none; fill: none; stroke: #ffc56b; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* GALLERY */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; }
.gallery-grid a { border-radius: 10px; overflow: hidden; display: block; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-grid a:hover img { transform: scale(1.05); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* GUIDE */
.guide { background: var(--sand); }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.darshan { counter-reset: d; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.darshan li { counter-increment: d; background: #fff; border-radius: 10px; padding: 12px; text-align: center; font-weight: 700; color: var(--navy); font-size: .92rem; }
.darshan li::before { content: counter(d); display: block; font: 700 1.4rem var(--serif); color: var(--sun); }
.nearby { padding-left: 1.1em; }
.nearby li { margin-bottom: .7em; }

/* TAXI */
.taxi { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #3b2a1a 100%); color: #e8ebf3; padding-block: 56px; }
.taxi h2 { color: #fff; margin-bottom: .25em; }
.taxi-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.taxi-inner p { margin: 0; max-width: 60ch; }

/* BOOKING */
.book-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: 16px; margin: 24px 0; justify-content: start; }
.facts div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.facts dd { margin: 0; font-weight: 700; color: var(--navy); }
.facts a { color: var(--navy); text-decoration: none; }
.book-form, .book-done { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 36px); border-top: 4px solid var(--sun); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field span { font-size: .85rem; font-weight: 700; color: var(--navy); }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field input, .field select, .field textarea { font: 500 1rem var(--sans); padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sun); background: #fff; }
.field .invalid, .field input.invalid { border-color: #c0392b; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row.three { grid-template-columns: repeat(3, 1fr); }
.summary { background: var(--sand); border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; font-size: .95rem; }
.summary:empty { display: none; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; }
.summary .total { font-weight: 800; color: var(--navy); border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 8px; }
.form-error { color: #c0392b; font-weight: 600; min-height: 1em; margin-bottom: 10px; }
.form-error:empty { display: none; }
.book-done { text-align: center; grid-column: 2; }
.book-done img { margin: 0 auto 12px; }

/* LOCATION */
.loc-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
address { font-style: normal; font-size: 1.1rem; margin-bottom: 18px; }
.getting { padding-left: 1.1em; color: var(--muted); }
.loc-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* FAQ */
.faq { background: #fff; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--sun); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "2"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* FOOTER */
.site-footer { background: var(--navy); color: #c9cfdd; }
.site-footer .vine { background-color: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding-block: 48px 24px; }
.footer-brand img { background: #fff; border-radius: 12px; padding: 10px; width: 200px; }
.site-footer .footer-title { font: 700 1.3rem var(--serif); color: #fff; margin: 0 0 10px; }
.site-footer a { color: #ffc56b; text-decoration: none; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px 90px; font-size: .85rem; margin: 0 auto; }

/* MOBILE BAR */
.mobile-bar { display: none; }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 14, 26, .94); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: min(1200px, 100%); border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; transform: translateY(-120%); transition: transform .25s; box-shadow: var(--shadow); }
  .nav.open { transform: none; }
  .nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 12px; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .why-grid, .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .room, .guide-grid, .book-grid, .loc-grid { grid-template-columns: 1fr; }
  .room:nth-child(even) .room-media { order: 0; }
  .book-done { grid-column: auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .taxi-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .quick-book { grid-template-columns: 1fr 1fr; }
  .quick-book label { border-right: 0; border-bottom: 1px solid var(--line); padding: 6px 4px; }
  .quick-book label:nth-of-type(3) { grid-column: 1 / -1; }
  .quick-book .btn { grid-column: 1 / -1; }
  .hero-content { padding-top: 96px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .amenity-grid { grid-template-columns: 1fr; }
  .darshan { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row.three { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .room-thumbs button { width: 60px; height: 46px; }

  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
  .mobile-bar a { text-align: center; padding: 14px 6px; font-weight: 700; color: var(--navy); text-decoration: none; font-size: .95rem; }
  .mobile-bar a + a { border-left: 1px solid var(--line); }
  .mobile-bar .mb-book { background: var(--sun); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
