:root {
  --maroon: #9f1239;
  --maroon-dark: #881337;
  --deep: #3f1218;
  --saffron: #9f1239;
  --gold: #e7c27a;
  --cream: #faf5f3;
  --white: #ffffff;
  --ink: #2a1216;
  --muted: #6d5c60;
  --line: #eadfdc;
  --header-h: 76px;
  --shadow: 0 18px 50px rgba(63, 18, 24, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.55;
}
body.lang-hi,
body.lang-hi h1,
body.lang-hi h2,
body.lang-hi h3,
body.lang-hi button,
body.lang-hi input,
body.lang-hi select,
body.lang-hi textarea {
  font-family: "Noto Sans Devanagari", Inter, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
}
p { margin: 0; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--white);
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.wrap { width: min(1400px, calc(100% - 32px)); margin: 0 auto; }
.kicker {
  margin: 0 0 8px;
  color: var(--saffron);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}
.lead { color: var(--muted); max-width: 42rem; }
.section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); color: var(--maroon); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 650;
  cursor: pointer;
  background: transparent;
}
.btn-gold { background: var(--gold); color: #3f1218; }
.btn-gold:hover { background: #f0d59a; }
.btn-maroon { background: var(--maroon); color: white; }
.btn-maroon:hover { background: var(--maroon-dark); }
.btn-line { border-color: rgba(255,255,255,.75); color: white; }
.btn-line:hover { background: white; color: var(--deep); }
.btn-ghost { border-color: var(--maroon); color: var(--maroon); background: white; }
.btn svg { width: 18px; height: 18px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  color: var(--ink);
  background: rgba(250, 245, 243, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(210, 180, 176, 0.85);
}
.page-home .site-header {
  background: linear-gradient(to bottom, rgba(63, 18, 24, 0.62), rgba(63, 18, 24, 0));
  border-bottom-color: transparent;
  color: white;
}
.page-home .site-header.scrolled,
.page-home .site-header.menu-open {
  background: rgba(250, 245, 243, 0.96);
  color: var(--ink);
  border-bottom-color: rgba(210, 180, 176, 0.85);
}
.page-home .site-header.scrolled .mark,
.page-home .site-header.menu-open .mark,
.page-inner .site-header .mark {
  color: var(--maroon);
  border-color: var(--maroon);
}
.page-home .site-header.scrolled .brand small,
.page-home .site-header.menu-open .brand small,
.page-inner .site-header .brand small {
  color: var(--maroon);
}
.demo-strip, .wa-strip {
  padding: 8px 16px;
  text-align: center;
  font-size: 0.84rem;
}
.demo-strip { background: #141210; color: #f6ecdf; }
.wa-strip { background: #fff4d6; color: #5a3d10; }
.header-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  width: min(1400px, calc(100% - 32px));
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.3rem;
}
.brand strong { display: block; font-size: 1rem; }
.brand small { display: block; color: var(--gold); font-size: 0.78rem; }
.desktop-nav { display: flex; gap: 16px; }
.desktop-nav a { text-decoration: none; font-size: 0.92rem; }
.desktop-nav a.is-active { color: var(--saffron); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; border: 1px solid currentColor; border-radius: 999px; overflow: hidden; }
.lang button { background: transparent; border: 0; color: inherit; padding: 6px 9px; cursor: pointer; }
.lang button.is-on { background: var(--maroon); color: white; }
.icon-link { position: relative; text-decoration: none; min-width: 42px; min-height: 42px; display: grid; place-items: center; }
.count {
  position: absolute;
  top: 2px;
  right: 0;
  background: var(--saffron);
  color: #3f1218;
  border-radius: 99px;
  font-size: 0.68rem;
  min-width: 16px;
  text-align: center;
}
.menu-btn { display: none; background: transparent; border: 1px solid currentColor; color: inherit; border-radius: 999px; min-height: 40px; padding: 0 12px; }
.mobile-nav {
  display: none;
  background: var(--deep);
  color: white;
  padding: 12px 18px 24px;
}
.mobile-nav.is-open { display: grid; }
.mobile-nav a { color: white; text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 1.15rem; }

main { padding-top: var(--header-h); min-height: 70vh; }
.page-home main { padding-top: 0; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: white; background: var(--deep); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(63,18,24,.88), rgba(63,18,24,.42) 58%, rgba(63,18,24,.12)); }
.hero-copy { position: relative; z-index: 1; width: min(1400px, calc(100% - 32px)); margin: 0 auto 128px; padding-top: calc(var(--header-h) + 24px); }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); max-width: 11ch; }
.hero .lead { color: #f6ebe8; margin: 16px 0 22px; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.wrap .search-card { width: 100%; margin-left: 0; margin-right: 0; }
.search-card {
  width: min(1400px, calc(100% - 32px));
  margin: -78px auto 10px;
  position: relative;
  z-index: 3;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 14px;
  border-top: 4px solid var(--gold);
}
.tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.tabs button { border: 0; background: transparent; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.tabs button.is-on { background: var(--deep); color: white; }
.search-grid, .form-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.search-grid label, .form-grid label, .stack label { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; font-weight: 650; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 11px 12px;
  min-height: 46px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--maroon); border-color: var(--maroon); }
.span-2 { grid-column: span 2; }
.search-grid .btn, .form-grid .btn { align-self: end; }

.bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.service {
  background: white;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  min-height: 160px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
}
.service:first-child {
  background:
    linear-gradient(to top, rgba(63,18,24,.86), rgba(63,18,24,.12)),
    url("../images/ujjain-mahakal.jpg") center/cover;
  color: white;
  grid-row: span 2;
  min-height: 340px;
}
.service h3 { font-size: 1.8rem; margin-bottom: 6px; }
.service p { color: var(--muted); }
.service:first-child p { color: #f6ebe8; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cards.hotels { grid-template-columns: 1fr 1fr; }
.cards.is-list { grid-template-columns: 1fr; }
.hotel-card, .tour-card, .place-card, .panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hotel-card { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.cards.is-list .hotel-card { grid-template-columns: 280px 1fr; }
.media { position: relative; min-height: 210px; background: linear-gradient(160deg, #3f1218, #9f1239); }
.media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.media img.img-failed { display: none; }
.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(255,255,255,.92);
  color: var(--maroon);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  z-index: 1;
}
.card-body, .panel { padding: 18px; }
.card-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.card-body h3 { font-size: 1.7rem; }
.card-body h3 a { text-decoration: none; }
.loc, .meta, .fine { color: var(--muted); font-size: 0.92rem; }
.price { margin: 8px 0; font-weight: 700; }
.price b { color: var(--maroon); font-size: 1.2rem; }
.heart {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
}
.heart.is-on { background: var(--maroon); color: white; border-color: var(--maroon); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 10px 0; list-style: none; }
.chips li, .chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.78rem;
  background: #fdf8f6;
}
.places-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.place-card { scroll-snap-align: start; text-decoration: none; display: block; }
.place-card .media { height: 280px; }
.place-card h3 { padding: 14px 14px 4px; font-size: 1.5rem; }
.place-card p { padding: 0 14px 16px; color: var(--muted); }

.why { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.why article, .steps article { background: white; border-radius: 18px; padding: 18px; border: 1px solid var(--line); }
.why span, .steps b {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--deep);
  color: var(--gold);
  margin-bottom: 8px;
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.slider { background: var(--deep); color: white; border-radius: 28px; padding: 28px; }
.slider blockquote { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.3rem); margin: 0 0 12px; }
.slider-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.demo-pill { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.faq { display: grid; gap: 8px; }
.faq button {
  width: 100%;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 650;
}
.faq .answer { padding: 0 16px 14px; color: var(--muted); }

.page-hero { padding: 28px 0 10px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); color: var(--maroon); max-width: 14ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 0.88rem; margin-bottom: 10px; }
.crumbs a { color: var(--maroon); }

.layout { display: grid; grid-template-columns: 280px 1fr; gap: 18px; align-items: start; }
.filters { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.filters summary { cursor: pointer; font-weight: 700; }
.check { display: flex; flex-direction: row; align-items: center; gap: 8px; font-weight: 500; margin: 6px 0; }
.check input { width: auto; min-height: 0; }
.toolbar { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin: 8px 0 14px; }
.view-toggle { display: flex; gap: 6px; }

.gallery { display: grid; grid-template-columns: 1.6fr 0.8fr; gap: 8px; }
.gallery .main { min-height: 380px; border-radius: 20px; }
.thumbs { display: grid; gap: 8px; }
.thumbs button { padding: 0; border: 0; border-radius: 14px; overflow: hidden; min-height: 90px; position: relative; background: #ddd; cursor: pointer; }
.detail { display: grid; grid-template-columns: 1.4fr 0.7fr; gap: 18px; align-items: start; margin-top: 18px; }
.sticky {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  background: white;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.room { display: grid; grid-template-columns: 140px 1fr auto; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.room img { width: 140px; height: 96px; object-fit: cover; border-radius: 12px; background: #eee; }
.map {
  margin-top: 14px;
  min-height: 160px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(63,18,24,.08), rgba(63,18,24,.08)),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(159,18,57,.1) 19px),
    repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(159,18,57,.1) 19px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
}
.day { border-top: 1px solid var(--line); padding: 12px 0; }
.banner { position: relative; min-height: 320px; border-radius: 24px; overflow: hidden; color: white; display: flex; align-items: flex-end; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(42, 10, 16, 0.94) 0%, rgba(42, 10, 16, 0.72) 50%, rgba(42, 10, 16, 0.45) 100%);
}
.banner div { position: relative; z-index: 2; padding: 28px; width: 100%; }
.banner h1,
.banner .kicker { color: #fff; }

.stepper { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.stepper span { padding: 6px 10px; border-radius: 999px; background: white; border: 1px solid var(--line); font-size: 0.85rem; }
.stepper span.is-on { background: var(--maroon); color: white; border-color: var(--maroon); }
.success { background: white; border-radius: 24px; padding: 28px; border: 1px solid var(--line); max-width: 680px; }
.ref { font-family: "Playfair Display", Georgia, serif; font-size: 2rem; color: var(--maroon); margin: 8px 0 14px; }
.alert { background: #fff4f2; color: #7a2418; border-radius: 12px; padding: 10px 12px; margin: 8px 0; }
.ok { background: #eef8ef; color: #145226; border-radius: 12px; padding: 10px 12px; margin: 8px 0; }

.site-footer { background: #3f1218; color: #f6ebe8; padding: 48px 0 22px; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr; gap: 28px; }
.footer-brand .mark { margin-bottom: 12px; color: var(--gold); border-color: var(--gold); }
.site-footer h3 {
  margin: 0 0 12px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e7c27a;
}
.site-footer a { color: #f6ebe8; text-decoration: none; display: block; padding: 5px 0; }
.site-footer a:hover { color: white; }
.site-footer p { color: #e8d5d2; margin-top: 8px; }
.footer-bottom {
  width: min(1400px, calc(100% - 32px));
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #c9aaa6;
  font-size: 0.86rem;
}
.wa-float {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 50%;
  background: #1ebe5d;
  color: white;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(16, 90, 40, 0.32);
  animation: wa-float-in 0.6s ease both, wa-pulse 2.4s ease-in-out 0.6s infinite;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: #17a850; transform: translateY(-50%) scale(1.06); }
@keyframes wa-float-in {
  from { opacity: 0; transform: translateY(-50%) translateX(16px); }
  to { opacity: 1; transform: translateY(-50%); }
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 14px 32px rgba(16, 90, 40, 0.32); }
  50% { box-shadow: 0 0 0 12px rgba(30, 190, 93, 0.16), 0 14px 32px rgba(16, 90, 40, 0.32); }
}
.rise-in { animation: rise 0.55s ease; }
.hero-copy > * { animation: rise 0.8s ease both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.service, .tour-card, .place-card, .why article, .steps article {
  animation: rise 0.7s ease both;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.service:hover, .tour-card:hover, .place-card:hover, .why article:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(63, 18, 24, 0.14);
}
.btn { transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease; }
.btn:hover { transform: translateY(-2px); }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.mobile-book {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  background: white;
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
body.has-mobile-book { padding-bottom: 76px; }
body.has-mobile-book .wa-float { bottom: 84px; }

@media (max-width: 980px) {
  .desktop-nav, .header-tools .hide-sm { display: none; }
  .menu-btn { display: inline-flex; }
  .bento, .why, .steps, .layout, .detail, .gallery, .footer-grid, .hotel-card, .cards, .cards.hotels, .cards.is-list .hotel-card { grid-template-columns: 1fr; }
  .service:first-child { grid-row: auto; min-height: 220px; }
  .search-grid, .form-grid { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: span 2; }
  .room { grid-template-columns: 1fr; }
  .mobile-book { display: flex; }
}
@media (max-width: 640px) {
  .search-grid, .form-grid, .span-2 { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-copy { margin-bottom: 110px; }
}
@media (max-width: 640px) {
  .wa-float { right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise-in, .hero-copy > *, .service, .tour-card, .place-card, .why article, .steps article, .wa-float { animation: none; }
}
