/* K.T. Palace — site styles. Phone first; wider screens add columns. */
:root {
  --indigo: #1E2A5E;
  --indigo-deep: #121A3D;
  --marigold: #E0A526;      /* fills only — too light for text on ivory */
  --marigold-light: #F2C45A;/* text on indigo */
  --teal: #2F6B6E;
  --teal-ink: #224F51;
  --teal-wash: #EEF4F4;
  --ivory: #FBF7F0;
  --ink: #1B1F3B;
  --ink-2: #3D4157;
  --muted: #5B5F73;
  --line: #E7DFD2;
  --field: #D9D0C1;
  --white: #FFFFFF;
  --on-indigo: #D6D9E8;
  --on-indigo-2: #C3C8DD;
  --serif: 'Tiro Devanagari Hindi', Georgia, serif;
  --sans: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 20px;
  --shadow: 0 10px 40px rgba(27, 31, 59, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  padding-bottom: 88px; /* room for the phone action bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; display: block; }
a { color: var(--indigo); }
a:hover { color: var(--indigo-deep); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 80px 0; } }
.muted { color: var(--muted); }
.lead { color: var(--ink-2); }
.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: 0 24px; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 0;
}
.btn svg { flex: none; }
.btn-primary { background: var(--indigo); color: var(--white); }
.btn-primary:hover { background: var(--indigo-deep); color: var(--white); }
.btn-outline { border: 1.5px solid var(--indigo); color: var(--indigo); background: transparent; }
.btn-outline:hover { background: var(--white); }
.btn-gold { background: var(--marigold); color: var(--ink); }
.btn-gold:hover { background: #CF961C; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top strip + header */
.strip { background: var(--indigo); color: var(--white); font-size: 14px; text-align: center; padding: 8px 16px; }
.strip strong { color: var(--marigold-light); }
.site-header { background: var(--ivory); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 22px; line-height: 1.1; display: block; }
.brand-sub { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; display: block; }
.nav { display: none; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink); }
.nav a:hover { color: var(--teal); }
.header-actions { display: none; align-items: center; gap: 14px; }
.header-actions .tel { text-decoration: none; font-weight: 600; }
.menu-btn { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--ivory); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 16px; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
@media (min-width: 980px) {
  .nav, .header-actions { display: flex; }
  .menu-btn, .mobile-menu, .mobile-menu.open { display: none; }
}

/* Hero */
.hero { padding: 24px 0 0; }
.hero-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .hero { padding-top: 48px; } .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; } }
.hero-copy { display: flex; flex-direction: column; gap: 18px; }
.rating-pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; }
.hero h1 { font-size: clamp(44px, 9vw, 80px); line-height: 1.02; }
.hero .hindi { font-family: var(--serif); font-size: clamp(20px, 3.5vw, 24px); color: var(--teal); }
.hero-media { position: relative; order: -1; }
@media (min-width: 900px) { .hero-media { order: 0; } }
.hero-media > img { width: 100%; height: clamp(260px, 60vw, 540px); object-fit: cover; border-radius: 24px; }
.hero-badge { position: absolute; left: 14px; bottom: 14px; background: var(--white); border-radius: 16px; padding: 10px 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 8px 30px rgba(27,31,59,.18); line-height: 1.3; }
.hero-badge img { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; }

/* Booking box */
.booking { margin-top: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); display: grid; gap: 12px; }
@media (min-width: 760px) { .booking { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .booking { grid-template-columns: 1fr 1fr 1fr 1fr auto; align-items: end; padding: 18px; gap: 14px; } }
.booking label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.booking input, .booking select {
  font: inherit; font-size: 17px; font-weight: 500; color: var(--ink);
  padding: 10px 14px; min-height: 48px; border: 1px solid var(--field); border-radius: 12px; background: var(--ivory); width: 100%;
}
.booking .btn { width: 100%; }
@media (min-width: 1100px) { .booking .btn { width: auto; } }
.booking-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.booking-error { grid-column: 1 / -1; font-size: 14px; color: #A3261B; font-weight: 600; }
.booking-error:empty { display: none; }

/* Amenities */
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .amenities { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .amenities { grid-template-columns: repeat(6, 1fr); gap: 16px; } }
.amenity { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.amenity span { font-size: 14px; color: var(--muted); }

/* Rooms */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photo-grid img { width: 100%; height: 96px; object-fit: cover; border-radius: 12px; }
.photo-grid img:first-child { grid-column: span 3; height: clamp(220px, 50vw, 300px); border-radius: 20px; }
@media (min-width: 900px) { .photo-grid img { height: 150px; } }
.stack { display: flex; flex-direction: column; gap: 18px; }
.section h2 { font-size: clamp(32px, 5vw, 46px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; }
.chips span { background: var(--teal-wash); color: var(--teal-ink); border-radius: 999px; padding: 6px 14px; }
.rate-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Group band */
.band { background: var(--indigo); color: #F4EEE2; }
.band h2 { color: var(--white); }
.band .eyebrow { color: var(--marigold-light); }
.band p { color: var(--on-indigo); }
.band img.feature { width: 100%; height: clamp(260px, 60vw, 520px); object-fit: cover; border-radius: 24px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stats div { border: 1px solid #3A4680; border-radius: 14px; padding: 12px; }
.stats b { display: block; font-size: 24px; color: var(--white); }
.stats span { font-size: 14px; color: var(--on-indigo-2); }
.band .link-light { color: var(--white); font-weight: 600; padding: 12px 4px; display: inline-flex; align-items: center; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery img { width: 100%; height: 160px; object-fit: cover; border-radius: 14px; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; }
  .gallery img { height: 100%; }
  .gallery img:first-child { grid-row: span 2; }
  .gallery img:last-child { grid-column: span 2; }
}

/* Reviews */
.reviews { display: grid; gap: 14px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.review blockquote { margin: 0; font-size: 18px; }
.review figcaption { font-size: 14px; color: var(--muted); }
.stars { color: #C98A0B; letter-spacing: 2px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }

/* Location */
.map { width: 100%; min-height: 320px; height: 100%; border: 0; border-radius: 24px; background: #E9E3D6; }
.places { display: flex; flex-direction: column; }
.places .group { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px 0 4px; }
.places .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.places .row strong { white-space: nowrap; }
.places small { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { max-width: 900px; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.faq summary { font-weight: 600; cursor: pointer; min-height: 28px; }
.faq details p { margin-top: 10px; color: var(--ink-2); }

/* Footer */
.site-footer { background: var(--indigo-deep); color: var(--on-indigo); padding: 56px 0 32px; }
.site-footer a { color: var(--on-indigo); }
.site-footer h2 { color: var(--white); font-size: clamp(30px, 5vw, 44px); max-width: 640px; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-cols { display: grid; gap: 28px; border-top: 1px solid #2A3463; margin-top: 40px; padding-top: 32px; font-size: 15px; }
@media (min-width: 760px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-cols div { display: flex; flex-direction: column; gap: 6px; }
.footer-cols strong { color: var(--white); }
.footer-legal { margin-top: 32px; font-size: 13px; color: #8F96B8; }

/* Phone action bar */
.action-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 10px 30px rgba(27,31,59,.2);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px;
  padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
}
.action-bar a { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; font-size: 14px; font-weight: 700; border-radius: 12px; color: var(--indigo); }
.action-bar a.primary { background: var(--indigo); color: var(--white); }
@media (min-width: 900px) { .action-bar { display: none; } }

/* Rooms page */
.page-head { padding: 40px 0 24px; }
.page-head h1 { font-size: clamp(38px, 6vw, 56px); }
.room-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 16px; display: grid; gap: 24px; }
@media (min-width: 900px) { .room-card { grid-template-columns: 1fr 1fr; padding: 20px; gap: 28px; } }
.price-table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.price-table > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; }
.price-table > div + div { border-top: 1px solid var(--line); background: #FFF8E8; }
.price-table .right { text-align: right; }
.why { background: var(--indigo); color: #F4EEE2; border-radius: 24px; padding: 28px; display: grid; gap: 24px; }
@media (min-width: 900px) { .why { grid-template-columns: repeat(4, 1fr); padding: 40px; } }
.why h2 { color: var(--white); font-size: 32px; }
.why strong { color: var(--marigold-light); }
.why p { color: var(--on-indigo); font-size: 16px; margin-top: 6px; }
.rules { margin-top: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: grid; gap: 20px; font-size: 16px; }
@media (min-width: 760px) { .rules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .rules { grid-template-columns: repeat(5, 1fr); padding: 28px 32px; } }
.rules p { color: var(--ink-2); margin-top: 6px; }

[id] { scroll-margin-top: 84px; }
