/* Ayodhya Kashi Prayagraj landing: resort-template layout, CareMyTrip look: Poppins, cream header, green headings, orange pill buttons (taken from caremytrip.com). */
:root {
  --bg: #ffffff;
  --tint: #fff8ef;
  --ink: #17313a;
  --muted: #56636c;
  --line: #f0e4d4;
  --brand: #1f4a35;
  --brand-dark: #14342f;
  --accent: #e06000;
  --accent-dark: #c25400;
  --accent-soft: #fff4e9;
  --wa: #1f8f4e;
  --star: #fcc95d;
  --r: 24px;
  --wrap: 1200px;
  --shadow: 0 1px 2px rgba(17, 31, 53, .05), 0 8px 24px rgba(17, 31, 53, .07);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }
body { font: 400 16px/1.7 "Poppins", system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji"; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--brand-dark); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 700; margin-bottom: .8rem; }
h3 { font-size: 1.15rem; font-weight: 700; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .82rem; color: var(--muted); font-weight: 400; }
.label { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--accent); margin-bottom: .5rem; }
.label::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 8px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .label::after { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--accent); vertical-align: middle; margin-left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .85rem 1.5rem; border-radius: 6px; border: 2px solid var(--accent); background: var(--accent); color: #fff; font: 600 .9rem/1.2 "Poppins", sans-serif; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-sm { padding: .65rem 1.2rem; font-size: .85rem; }
.btn-wa { background: var(--wa); border-color: var(--wa); }
.btn-wa:hover { background: #17733e; border-color: #17733e; }
.btn-outline { background: #fff; color: var(--accent); }
.btn-outline:hover { background: var(--accent-soft); color: var(--accent-dark); }
.btn-light { background: #fff; border-color: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.btn-line-light { background: transparent; border-color: rgba(255, 255, 255, .6); }
.btn-line-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* Top bar + nav */
.topbar { background: var(--brand-dark); color: rgba(255, 255, 255, .85); font-size: .8rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar-links { display: flex; gap: 24px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }
.nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 2rem; height: 80px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 56px; height: 56px; object-fit: contain; }
.brand b { display: block; font-size: 1.05rem; color: var(--brand); line-height: 1.2; }
.brand small { display: block; font-size: .75rem; line-height: 1.3; color: var(--muted); }
.brand, .brand span { min-width: 0; }
.nav nav { display: flex; gap: 1.8rem; }
.nav nav a { font-size: .9rem; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav nav a:hover { color: var(--accent); border-color: var(--accent); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 11px 10px; }
.burger span { display: block; height: 2px; background: var(--brand-dark); margin: 4px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; color: #fff; padding: 80px 0 140px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(9, 24, 23, .45), rgba(9, 24, 23, .7)); }
.hero-in { position: relative; z-index: 2; text-align: center; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.hero-loc { font-size: .9rem; font-weight: 500; opacity: .9; margin-bottom: .6rem; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 700; letter-spacing: -.01em; }
.hero-text { max-width: 620px; margin: 1rem auto 1.8rem; font-size: 1.08rem; color: rgba(255, 255, 255, .92); }
.hero-cta { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; }
.rating { display: inline-flex; align-items: center; gap: .5rem; font-size: .88rem; text-decoration: none; }
.rating b { font-size: 1.2rem; }
.stars { color: var(--star); letter-spacing: 1px; }

/* Booking bar */
.booking { position: relative; z-index: 5; margin-top: -72px; background: #fff; border-radius: var(--r); box-shadow: 0 16px 40px rgba(17, 31, 53, .14); padding: 22px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: start; }
.booking .btn { margin-top: calc(.78rem * 1.7 + .35rem); }
.booking > *, .row2 > * { min-width: 0; }
.booking .btn { height: 48px; padding: 0 1.6rem; }

/* Forms */
form label { display: block; font-size: .78rem; font-weight: 600; color: var(--brand-dark); }
input, select, textarea { display: block; width: 100%; height: 48px; margin-top: .35rem; padding: 0 .9rem; font: 400 .95rem "Poppins", sans-serif; color: var(--ink); background: #fff; border: 1px solid #d5d8e2; border-radius: 6px; }
textarea { height: auto; padding: .75rem .9rem; }
input[type="date"] { padding: 0 .6rem; min-width: 0; }
/* iOS Safari: date fields otherwise render centred and collapse when empty */
@supports (-webkit-touch-callout: none) {
  input[type="date"] { -webkit-appearance: none; appearance: none; min-height: 48px; line-height: 48px; }
  input[type="date"]::-webkit-date-and-time-value { text-align: left; }
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224, 96, 0, .15); }
.card { background: #fff; border-radius: var(--r); padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.card h3 { font-size: 1.35rem; }
.card .small { margin-bottom: 1.3rem; }
.card label { margin-bottom: .95rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card .btn { width: 100%; padding: 1rem; }
.err { display: block; color: #c0352b; font-size: .75rem; font-weight: 500; margin-top: .3rem; }
.err:empty { display: none; }
[aria-invalid] { border-color: #e0574d; background: #fff8f7; }
[aria-invalid]:focus { border-color: #e0574d; box-shadow: 0 0 0 3px rgba(224, 87, 77, .15); }

/* Facts */
.facts { padding: 56px 0 8px; }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facts-in div { padding: 20px 22px; border-radius: var(--r); background: var(--tint); border-left: 3px solid var(--accent); }
.facts-in b { display: block; color: var(--brand-dark); font-weight: 700; }
.facts-in span { font-size: .85rem; color: var(--muted); }

/* Sections */
.section { padding: clamp(60px, 8vw, 96px) 0; }
.section.tint { background: var(--tint); }
.head { margin-bottom: 44px; max-width: 680px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-img { position: relative; }
.about-img img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--r); }
.about-img::after { content: ""; position: absolute; z-index: -1; inset: 24px -18px -18px 24px; border: 2px solid var(--accent); border-radius: var(--r); opacity: .35; }
.split p + p { margin-top: 1rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 1.8rem 0; }
.stats div { padding: 16px; border: 1px solid var(--line); border-radius: var(--r); text-align: center; }
.stats b { display: block; font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.stats span { font-size: .8rem; color: var(--muted); }

/* Rooms */
.rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.room { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.room:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(17, 31, 53, .05), 0 16px 36px rgba(17, 31, 53, .12); }
.room-img { position: relative; }
.room-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.room-tag { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--brand-dark); font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.room-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.room-meta { font-size: .85rem; color: var(--muted); margin: .2rem 0 1rem; }
.ticks { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1rem; font-size: .88rem; margin-bottom: 1.4rem; }
.ticks li, .amenities li { position: relative; padding-left: 1.5rem; }
.ticks li::before, .amenities li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23e06000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat; }
.room-foot { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.price { font-size: 1.6rem; font-weight: 700; color: var(--brand); margin-bottom: 1rem; }
.price small { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); }
.price span { font-size: .85rem; font-weight: 500; color: var(--muted); }
.room-cta { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }

/* Facilities */
.amenities { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.amenities li { padding: 16px 16px 16px 46px; border: 1px solid var(--line); border-radius: var(--r); font-weight: 500; font-size: .9rem; }
.amenities li::before { left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; background-size: 13px; }

/* Direct booking band */
.direct { background: var(--accent); color: #fff; padding: 44px 0; }
.direct-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.direct h2 { color: #fff; margin-bottom: .3rem; }
.direct p { color: rgba(255, 255, 255, .88); }
.direct-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.g-item { padding: 0; border: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--line); }
.g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.g-item:nth-child(2) { grid-row: span 2; }
.g-item:nth-child(9), .g-item:nth-child(14) { grid-column: span 2; }
.gallery { grid-auto-flow: dense; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.05); }
#lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 90vh; margin: auto; }
#lightbox::backdrop { background: rgba(9, 24, 23, .9); }
#lightbox img { max-height: 88vh; border-radius: var(--r); }
#lightbox button { position: fixed; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; }

/* Nearby */
.nearby { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.place { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.place img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.place-dist, .place h3, .place .muted { padding: 0 20px; }
.place-dist { display: inline-block; margin: 16px 20px 6px; padding: 3px 10px; font-size: .75rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 20px; }
.place h3 { margin-bottom: .3rem; }
.place .muted { font-size: .9rem; padding-bottom: 20px; }

/* Reviews */
.review-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.g-score { display: grid; grid-template-columns: auto auto; align-items: center; gap: 2px 12px; padding: 14px 20px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.g-score > b { font-size: 2.2rem; color: var(--brand-dark); grid-row: span 2; line-height: 1; }
.g-score small { display: block; font-size: .78rem; color: var(--muted); }
.g-score em { grid-column: 2; font-style: normal; font-size: .8rem; font-weight: 600; color: var(--accent); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { padding: 26px; border: 1px solid var(--line); border-radius: var(--r); }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: .8rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; }
.review figcaption b { display: block; font-size: .92rem; color: var(--brand-dark); }
.review figcaption span { font-size: .78rem; color: var(--muted); }
.review blockquote { margin-top: .5rem; font-size: .95rem; color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 820px; }
details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; }
summary { list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.4rem; font-weight: 600; color: var(--brand-dark); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.1rem; }
details[open] summary::after { content: "–"; }
details p { padding: 0 1.4rem 1.2rem; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.6rem 0 2rem; }
.contact-list li { display: grid; grid-template-columns: 100px 1fr; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.contact-list span { font-size: .82rem; font-weight: 600; color: var(--muted); }
.contact > *, .contact-list li > * { min-width: 0; }
.contact-list a, .contact-list p, .foot a { overflow-wrap: anywhere; }
.contact-list a { font-weight: 600; color: var(--accent); text-decoration: none; }
.dist-title { font-size: 1rem; margin-bottom: .5rem; }
.dist { width: 100%; border-collapse: collapse; font-size: .9rem; }
.dist td { padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.dist td:last-child { text-align: right; font-weight: 600; color: var(--brand); }
.map { width: 100%; height: 380px; border: 0; border-radius: var(--r); margin-top: 56px; }

/* Footer */
.foot { background: var(--brand-dark); color: rgba(255, 255, 255, .75); padding: 56px 0 0; font-size: .9rem; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand img { width: 64px; height: 64px; background: #fff; border-radius: 50%; padding: 4px; margin-bottom: 1rem; }
.foot h4 { color: #fff; font-size: .95rem; margin-bottom: .8rem; }
.foot-in a { display: block; text-decoration: none; padding: 3px 0; }
.foot-in a:hover { color: #fff; }
.foot-bottom { margin-top: 40px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; }

/* Floating WhatsApp + mobile bar */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.mbar { display: none; }

/* Compact booking bar in the header */
.navbook { max-height: 0; overflow: hidden; border-top: 1px solid transparent; transition: max-height .3s ease, border-color .3s; }
.nav.stuck .navbook { max-height: 80px; border-top-color: var(--line); }
.navbook-in { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.navbook-title { font-weight: 700; color: var(--brand-dark); font-size: .9rem; margin-right: auto; }
.navbook label { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--muted); }
.navbook input, .navbook select { height: 40px; margin: 0; width: auto; font-size: .85rem; }
.navbook .btn { height: 40px; }

/* Enquiry popup */
#enquiry { width: min(940px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(9, 24, 23, .35); overflow: auto; }
#enquiry::backdrop { background: rgba(9, 24, 23, .6); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
#enquiry[open] { animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.enq-close { position: absolute; top: 12px; right: 14px; z-index: 5; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(9, 24, 23, .2); color: var(--brand-dark); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.enq-close:hover { background: var(--line); }
.enq-intro { display: grid; grid-template-columns: 42% 1fr; border-bottom: 1px solid var(--line); }
.enq-photo { position: relative; min-height: 220px; overflow: hidden; }
.enq-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.enq-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(9, 24, 23, .45)); }
.enq-rate { position: absolute; left: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: rgba(9, 24, 23, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: .78rem; }
.enq-rate .stars { color: var(--star); letter-spacing: 1px; }
.enq-info { min-width: 0; padding: 26px 60px 22px 26px; align-self: center; }
.enq-name { color: var(--brand); font-size: 1.5rem; line-height: 1.2; }
.enq-addr { margin-top: .25rem; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.enq-note { margin-top: .5rem; font-size: .82rem; font-weight: 500; color: var(--ink); line-height: 1.5; }
.enq-badges { list-style: none; padding: 0; margin-top: .85rem; display: flex; flex-wrap: wrap; gap: 6px; }
.enq-badges li { padding: 5px 11px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-dark); font-size: .74rem; font-weight: 600; white-space: nowrap; }
.enq-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: .9rem; }
.enq-contact a { display: flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 8px; text-decoration: none; min-width: 0; }
.enq-contact svg { flex: none; }
.enq-contact span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.enq-contact small { font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; opacity: .8; }
.enq-contact b { font-size: .82rem; white-space: nowrap; }
.enq-call { border: 1px solid var(--line); color: var(--brand-dark); background: #fff; }
.enq-wa { background: var(--wa); color: #fff; }
.enq-points { list-style: none; margin: 0; padding: 14px 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; background: var(--accent-soft); border-bottom: 1px solid var(--line); }
.enq-points li { position: relative; padding-left: 24px; font-size: .8rem; line-height: 1.45; color: var(--ink); }
.enq-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .65rem; font-weight: 700; display: grid; place-items: center; }
.enq-form { display: grid; grid-template-columns: 1.15fr 1fr; }
.enq-form[hidden] { display: none; }
.enq-fields { padding: 30px; }
.enq-fields h3 { font-size: 1.4rem; }
.enq-fields .small { margin: .2rem 0 1.3rem; }
.enq-fields label { margin-bottom: .9rem; }
.enq-preview { display: flex; flex-direction: column; gap: 14px; padding: 30px; background: var(--tint); border-left: 1px solid var(--line); }
.enq-preview-title { font-size: .8rem; font-weight: 600; color: var(--muted); }
.chat { flex: 1; padding: 16px; border-radius: var(--r); background: #efe7dd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='4' cy='4' r='1.2' fill='%23d9cfc2'/%3E%3C/svg%3E"); }
.bubble { position: relative; margin-left: auto; max-width: 100%; padding: 10px 12px 18px; border-radius: 10px 0 10px 10px; background: #d9fdd3; font-size: .84rem; line-height: 1.55; color: #111b21; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); word-wrap: break-word; }
.bubble::before { content: ""; position: absolute; top: 0; right: -8px; border: 8px solid transparent; border-top-color: #d9fdd3; border-left-color: #d9fdd3; }
.bubble .time { position: absolute; right: 10px; bottom: 4px; font-size: .66rem; color: #667781; }
.enq-preview .btn { width: 100%; padding: 1rem; font-size: .95rem; }
.enq-hint { font-size: .75rem; color: var(--muted); text-align: center; }
.enq-done { padding: 56px 32px; text-align: center; }
.done-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e3f5ea; color: var(--wa); font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; }
.enq-done p { max-width: 420px; margin: .6rem auto 1.6rem; }
.done-cta { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.mbar button { border: 0; font: inherit; cursor: pointer; }

/* Responsive */
@media (max-width: 1080px) {
  .booking { grid-template-columns: repeat(2, 1fr); }
  .booking .btn { grid-column: span 2; margin-top: 0; }
  .navbook-title { display: none; }
  .navbook-in { justify-content: center; }
  .amenities { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .topbar > .wrap > span:first-child { display: none; }
  .topbar-in { justify-content: center; }
  .nav nav, .nav-book { display: none; }
  .burger { display: block; }
  .nav nav.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 80px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 20px 16px; }
  .nav nav.open a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .split, .contact { grid-template-columns: 1fr; }
  .about-img::after { display: none; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .nearby, .reviews { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .g-item:nth-child(2) { grid-row: span 1; }
  .g-item:nth-child(9) { grid-column: span 1; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; padding-bottom: 54px; }
  .topbar { display: none; }
  .nav-in { height: 68px; }
  .nav nav.open { top: 68px; }
  .brand img { width: 46px; height: 46px; }
  .brand b { font-size: .95rem; white-space: nowrap; }
  .brand small { font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-in { gap: 1rem; }
  input[type="date"] { font-size: .88rem; }
  .hero { min-height: 0; padding: 64px 0 110px; }
  .booking { grid-template-columns: 1fr 1fr; padding: 18px; margin-top: -64px; }
  .booking .btn { grid-column: span 2; }
  .facts { padding-top: 36px; }
  .facts-in { gap: 12px; }
  .facts-in div { padding: 14px 16px; }
  .nearby, .reviews, .amenities, .rooms { grid-template-columns: 1fr; }
  .amenities { grid-template-columns: 1fr 1fr; gap: 10px; }
  .amenities li { padding: 12px 10px 12px 38px; font-size: .84rem; }
  .amenities li::before { left: 10px; }
  .ticks { grid-template-columns: 1fr; }
  .room-cta { grid-template-columns: 1fr; }
  .stats { gap: 8px; }
  .stats div { padding: 12px 6px; }
  .stats b { font-size: 1.2rem; }
  .card { padding: 22px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .navbook { display: none; }
  .booking .btn { margin-top: 0; }
  #enquiry { inset: 0; margin: 0; width: 100%; max-width: 100%; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
  .enq-intro { grid-template-columns: 1fr; }
  .enq-photo { min-height: 0; height: 190px; }
  .enq-info { padding: 16px 18px 14px; }
  .enq-name { font-size: 1.25rem; }
  .enq-badges { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -18px; padding-right: 18px; }
  .enq-badges::-webkit-scrollbar { display: none; }
  .enq-fields > .label, .enq-fields > .small { display: none; }
  .enq-fields h3 { font-size: 1.15rem; margin-bottom: .9rem; }
  .enq-fields label { margin-bottom: .75rem; font-size: .74rem; }
  .enq-points { grid-template-columns: 1fr; padding: 12px 18px; gap: 6px; }
  .enq-points li { font-size: .78rem; }
  .enq-close { top: calc(10px + env(safe-area-inset-top)); right: calc(12px + env(safe-area-inset-right)); }
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom)); }
  .enq-form { grid-template-columns: 1fr; }
  .enq-fields, .enq-preview { padding: 22px 18px; }
  .enq-fields .row2 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .enq-preview { border-left: 0; border-top: 0; padding-top: 0; padding-bottom: 28px; background: #fff; }
  .enq-preview-title, .enq-preview .chat { display: none; }
  .wa-float { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 16px rgba(17, 31, 53, .1); }
  .mbar a { padding: 15px 6px; text-align: center; font-weight: 600; font-size: .88rem; text-decoration: none; background: #fff; color: var(--brand-dark); }
  .mbar .mbar-book { background: var(--accent); color: #fff; }
  .mbar .mbar-wa { background: var(--wa); color: #fff; }
  .mbar { padding-bottom: env(safe-area-inset-bottom); background: #fff; }
  .mbar button { -webkit-appearance: none; appearance: none; border-radius: 0; font-size: .88rem; font-weight: 600; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .booking { grid-template-columns: 1fr; }
  #enquiry input[type="date"] { padding: 0 .45rem; }
  .booking label, .booking .btn { grid-column: auto !important; }
}
/* iPhone zooms the page when a focused field's text is under 16px */
@media (pointer: coarse) { input, select, textarea, input[type="date"] { font-size: 16px; } }

/* Keep phone numbers on one line */
.foot a span, .topbar-links span { white-space: nowrap; }
@media (max-width: 360px) { .enq-contact b { font-size: .74rem; } .enq-contact a { padding: 8px 9px; gap: 7px; } }

/* ---------- Additions for the yatra landing ---------- */
/* CareMyTrip logo is a wide wordmark: show it as is in the header, on a white chip in the dark footer */
.brand .brand-logo { width: auto; height: 46px; }
@media (max-width: 640px) { .brand .brand-logo { height: 38px; } }
.foot-brand .brand-logo { height: auto; width: 200px; background: #fff; border-radius: 8px; padding: 8px 12px; margin-bottom: 1rem; }
.btn:not(.btn-light):not(.btn-outline):not(.btn-line-light):not(.btn-wa) { background-image: linear-gradient(135deg, #eb7704, #e06000); }
.btn:not(.btn-light):not(.btn-outline):not(.btn-line-light):not(.btn-wa):hover { background-image: none; }

/* Hero: three cities fade into each other, slow zoom */
.hero { overflow: hidden; min-height: 640px; background: var(--brand-dark); }
/* negative delay: the first photo is already showing on load */
.hero-bg { opacity: 0; animation: heroFade 18s -1.1s infinite; }
.hero-bg:nth-of-type(2) { animation-delay: 4.9s; }
.hero-bg:nth-of-type(3) { animation-delay: 10.9s; }
@keyframes heroFade { 0% { opacity: 0; transform: scale(1.08); } 6%, 33% { opacity: 1; } 40%, 100% { opacity: 0; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } .hero-bg:first-of-type { opacity: 1; } }
.hero-cities { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 1rem; }
.hero-cities span { padding: 5px 14px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 99px; font-size: .8rem; font-weight: 600; background: rgba(0, 0, 0, .18); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hero h1 em { font-style: normal; color: #fcc95d; }
.hero-text b { color: #fff; }

/* Route graphic */
.route { position: relative; background: var(--tint); border-radius: var(--r); padding: 18px; border: 1px solid var(--line); }
.route svg { display: block; width: 100%; height: auto; }
.route .trail { stroke-dasharray: 8 8; animation: march 1.2s linear infinite; }
@keyframes march { to { stroke-dashoffset: -16; } }
@media (prefers-reduced-motion: reduce) { .route .trail { animation: none; } }
.route-note { display: block; margin-top: 6px; font-size: .75rem; color: var(--muted); }

/* Packages */
.room.best { outline: 2px solid var(--accent); }
.room-badge { position: absolute; top: 14px; right: 14px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.route-line { font-size: .8rem; font-weight: 600; color: var(--accent-dark); margin: -.6rem 0 1rem; }

/* Itinerary timeline */
.days { list-style: none; padding: 0; max-width: 880px; margin: 0 auto; position: relative; }
.days::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: repeating-linear-gradient(var(--accent) 0 6px, transparent 6px 12px); opacity: .5; }
.day { position: relative; display: grid; grid-template-columns: 56px 1fr 180px; gap: 20px; align-items: center; padding: 14px 0; }
.day-no { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; line-height: 1; text-align: center; font-size: 1.15rem; box-shadow: 0 0 0 6px #fff; }
.day-no small { display: block; font-size: .55rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.day-city { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--accent-dark); background: var(--accent-soft); padding: 2px 10px; border-radius: 99px; margin-bottom: .35rem; }
.day h3 { margin-bottom: .25rem; }
.day p { font-size: .92rem; color: var(--muted); }
.day img { width: 180px; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); }

/* Places: city tag over the photo */
.place { position: relative; }
.place-city { position: absolute; top: 12px; left: 12px; background: rgba(17, 31, 53, .75); color: #fff; font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* Book-direct band with a soft temple pattern */
.direct { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M32 6 40 22H24zM20 24h24v6H20zM16 32h32v26H16z' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.5'/%3E%3C/svg%3E"); }
.direct .btn-light { color: var(--brand-dark); }

/* Photo credits (Wikimedia Commons licences ask for attribution) */
.credits { margin-top: 10px; font-size: .72rem; opacity: .7; }
.credits summary { all: unset; cursor: pointer; text-decoration: underline; }
.credits summary::after { content: none; }
.credits[open] { background: transparent; border: 0; }
.credits ul { list-style: none; padding: 8px 0 0; columns: 2; }
.credits a { color: inherit; }
details.credits { background: none; border: 0; margin: 0; }

@media (max-width: 980px) { .day { grid-template-columns: 56px 1fr; } .day img { display: none; } }
@media (max-width: 640px) { .hero { min-height: 0; } .credits ul { columns: 1; } }

/* ---------- CareMyTrip theme (matches caremytrip.com) ---------- */
body { color: #17313a; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.01em; }
.label { color: #bf8a47; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.label::before, .center .label::after { background: #bf8a47; }
.topbar { background: linear-gradient(rgba(255, 248, 239, .92), rgba(255, 244, 233, .96)); color: #7a4a1f; border-bottom: 1px solid var(--line); }
.topbar a:hover { color: var(--accent); }
.nav { background: rgba(255, 251, 247, .96); border-bottom: 0; box-shadow: 0 10px 30px rgba(17, 31, 53, .09); }
.nav nav a { font-weight: 500; }
.btn { border-radius: 50px; font-weight: 700; }
.btn:not(.btn-light):not(.btn-outline):not(.btn-line-light):not(.btn-wa) { border-color: transparent; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 16px 30px -14px rgba(15, 61, 58, .45); }
.btn-outline { border-color: var(--accent); }
input, select, textarea { border-radius: 12px; border-color: #eadccb; }
.booking, .card { border-radius: 24px; }
.booking { box-shadow: 0 24px 60px rgba(15, 61, 58, .14); }
.room, .place, .review, .route, .facts-in div, .stats div, .amenities li, details, .g-item, .about-img img { border-radius: 24px; }
.facts-in div { background: #fff8ef; border-left: 0; border: 1px solid var(--line); }
.room-img img, .place img { border-radius: 0; }
.day img { border-radius: 18px; }
.section.tint { background: #fff8ef radial-gradient(44% 34% at 94% 4%, rgba(252, 201, 93, .22), transparent 60%); }
.direct { background: linear-gradient(135deg, #f6b65a, #e57a1f); }
.direct .btn-light { color: #1f4a35; }
.foot { background: radial-gradient(circle at 15% 0, rgba(255, 151, 36, .2), transparent 28%), linear-gradient(#14342f, #102724 46%, #091817); color: rgba(249, 239, 226, .8); }
.foot h4, .foot-in a:hover { color: #f9efe2; }
.hero::before { background: linear-gradient(180deg, rgba(9, 24, 23, .35), rgba(9, 24, 23, .7)); }
.avatar { background: var(--accent); }
#enquiry { border-radius: 24px; }
.mbar a { color: #1f4a35; }

/* Phone popup: the form comes first. Header shrinks to one title line + rating,
   trust points sit right under the title, Call/WhatsApp move below the submit button, optional fields are hidden. */
.enq-mrate { display: none; }
@media (max-width: 640px) {
  #enquiry { border-radius: 0; }
  #enquiry[open] { display: flex; flex-direction: column; }
  .enq-intro, .enq-info { display: contents; }
  .enq-photo, .enq-addr, .enq-note, .enq-badges, .enq-fields > .label, .enq-fields > .small { display: none; }
  .enq-name { order: 1; padding: 16px 60px 0 18px; font-size: 1.05rem; line-height: 1.3; }
  .enq-mrate { order: 2; display: block; padding: 2px 18px 10px; font-size: .78rem; color: var(--muted); border-bottom: 1px solid var(--line); }
  .enq-mrate .stars { font-size: .72rem; }
  .enq-form, .enq-done { order: 3; }
  .enq-contact { order: 4; margin: 0 18px 14px; }
  .enq-points { order: 2; border-bottom: 1px solid var(--line); }
  .enq-fields { padding: 16px 18px 4px; }
  .enq-fields h3 { font-size: 1.2rem; margin-bottom: .8rem; }
  .enq-optional { display: none !important; }
  .enq-preview { padding: 6px 18px 16px; }
  .enq-close { top: calc(8px + env(safe-area-inset-top)); width: 34px; height: 34px; }
}

/* Packages: no prices, the whole card opens the enquiry popup */
.room { cursor: pointer; }
.room-btn { width: 100%; }
.room-hint { margin-top: .5rem; text-align: center; font-size: .78rem; color: var(--muted); }
.room-price { margin-bottom: .8rem; font-size: .85rem; color: var(--muted); }
.room-price b { font-size: 1.5rem; color: var(--accent); margin-right: 2px; }
.room-price small { display: block; font-size: .75rem; }

.enq-form, .enq-form > * { min-width: 0; }

/* Package picker in the popup: tappable cards in the same look as the package cards */
.pkgs { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.pkgs legend { font-size: .78rem; font-weight: 600; color: var(--brand-dark); margin-bottom: .4rem; padding: 0; }
#enq-pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pkg { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px; margin: 0 !important; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; min-width: 0; transition: border-color .15s, background .15s; }
.pkg input { position: absolute; opacity: 0; pointer-events: none; }
.pkg img, .pkg i { width: 44px; height: 44px; flex: none; border-radius: 11px; object-fit: cover; }
.pkg i { display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--accent); background: var(--accent-soft); }
.pkg span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.pkg b { font-size: .8rem; color: var(--brand); }
.pkg small { font-size: .7rem; color: var(--muted); font-weight: 500; }
.pkg:hover { border-color: #f0c9a3; }
.pkg:has(input:checked) { border-color: var(--accent); background: #fff8ef; box-shadow: 0 6px 18px rgba(224, 96, 0, .14); }
.pkg:has(input:checked)::after { content: "✓"; position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; }
.pkg:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) { .pkg img, .pkg i { width: 38px; height: 38px; } .pkg b { font-size: .76rem; } }

/* Three package cards side by side: photo on top, name below */
.pkg { flex-direction: column; align-items: stretch; gap: 6px; text-align: center; padding: 6px 6px 8px; }
.pkg img { width: 100%; height: 58px; }
.pkg span { align-items: center; }
@media (max-width: 640px) { .pkg img { width: 100%; height: 48px; } }

input[type="date"] { cursor: pointer; }

/* Package cards: compact, 3 in a row, features as pills */
.rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.room-img img { aspect-ratio: 16/9; }
.room-body { padding: 18px 20px 20px; }
.room-body h3 { font-size: 1.15rem; line-height: 1.25; }
.room-meta { margin: .15rem 0 .7rem; font-size: .8rem; }
.route-line { margin: -.3rem 0 .8rem; font-size: .76rem; }
.room .ticks { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1rem; font-size: .74rem; }
.room .ticks li { padding: 4px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; line-height: 1.3; }
.room .ticks li::before { display: none; }
.room-foot { padding-top: .9rem; }
.room-price { margin-bottom: .6rem; }
.room-price b { font-size: 1.35rem; }
.room-btn { padding: .75rem 1rem; }
@media (max-width: 1000px) { .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rooms { grid-template-columns: 1fr; } }

.credits-link { display: inline-block; margin-left: 10px; font-size: .75rem; opacity: .7; }

/* Popup call & WhatsApp as big buttons */
.enq-contact { gap: 10px; }
.enq-contact a { justify-content: center; min-height: 54px; padding: 10px 16px; border-radius: 99px; text-align: left; transition: transform .15s, box-shadow .15s; }
.enq-contact a:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(9, 24, 23, .15); }
.enq-contact b { font-size: .98rem; font-weight: 700; }
.enq-contact small { text-transform: none; letter-spacing: 0; font-size: .72rem; font-weight: 500; }
.enq-call { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 640px) {
  .enq-contact { grid-template-columns: 1fr; margin: 4px 18px 16px; }
  .enq-contact a { min-height: 58px; }
  .enq-contact b { font-size: 1.05rem; }
}

.enq-points li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .enq-contact .enq-wa { display: none; } }
.enq-contact b span { display: inline; }
.wa-lines { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.2; text-align: left; }
.wa-lines small { font-size: .75rem; font-weight: 500; opacity: .9; }
.enq-contact small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enq-contact { grid-template-columns: 1fr; max-width: 380px; }
