/* ==========================================================
   Hotel partners (assets/js/hotels.js): region tabs and
   hotel cards. The glow takes the open region's colour.
   ========================================================== */
@property --hc { syntax: '<color>'; inherits: true; initial-value: #3ddc97; }

.hotels { --hc: #3ddc97; position: relative; overflow: clip; isolation: isolate; padding: 84px max(20px, 5vw) 90px; background: #080b18; color: #fff; transition: --hc 1s ease; }
.ht-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(45% 40% at 85% 8%, color-mix(in srgb, var(--hc) 24%, transparent), transparent 70%), radial-gradient(40% 45% at 5% 70%, #3d5afe1f, transparent 70%); }
.ht-glow:after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#ffffff14 1px, transparent 1.4px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 55%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 55%); }

.ht-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px clamp(30px, 6vw, 110px); align-items: end; }
.ht-head h2 { font-size: clamp(46px, 5.6vw, 88px); font-weight: 600; }
.ht-head h2 em { font-family: inherit; font-weight: 400; background: linear-gradient(90deg, #ffd23f, var(--hc)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.ht-side > p { max-width: 470px; margin: 0 0 18px; color: #b4bccd; line-height: 1.75; }
.ht-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ht-points li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 11px; border: 1px solid #ffffff1c; background: #ffffff0a; font: 600 13px Outfit, sans-serif; color: #e6e9f0; }
.ht-points .ic { font-size: 16px; color: var(--hc); transition: color 1s; }
.ht-view-all { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; padding: 10px 11px 10px 18px; border: 1px solid #fff; border-radius: 13px; background: #fff; color: var(--ink); font: 800 14px Outfit, sans-serif; text-decoration: none; box-shadow: 0 14px 34px #0004; transition: transform .3s, box-shadow .3s; }
.ht-view-all span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; transition: transform .3s, background .3s; }
.ht-view-all:hover { transform: translateY(-3px); box-shadow: 0 18px 42px #0006; }
.ht-view-all:hover span { transform: translateX(4px); }

/* ---------- Region tabs ---------- */
.ht-tabs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 44px; padding: 6px; border-radius: 20px; border: 1px solid #ffffff17; background: #0e1326; }
.ht-pill { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 15px; background: linear-gradient(135deg, color-mix(in srgb, var(--hc) 30%, #141a33), #141a33); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--hc) 70%, transparent); transition: transform .6s var(--ease-cine), width .6s var(--ease-cine); }
.ht-tab { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 14px 16px; border: 0; border-radius: 15px; background: none; color: #c9cfdb; text-align: left; cursor: pointer; transition: color .3s; }
.ht-tab b { font: 700 18px Outfit, sans-serif; }
.ht-tab small { grid-column: 1; overflow: hidden; font-size: 11.5px; color: #7f879b; white-space: nowrap; text-overflow: ellipsis; }
.ht-tab em { grid-row: 1 / 3; grid-column: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #ffffff10; font: 700 13px Outfit, sans-serif; font-style: normal; transition: background .4s, color .4s; }
.ht-tab:hover { color: #fff; }
.ht-tab[aria-selected="true"] { color: #fff; }
.ht-tab[aria-selected="true"] small { color: #c9cfdb; }
.ht-tab[aria-selected="true"] em { background: var(--c1); color: var(--ink); }
.ht-tab:focus-visible { outline: 2px solid var(--c1); outline-offset: -2px; }
.ht-intro { display: flex; align-items: baseline; gap: 12px; margin: 22px 2px 22px; color: #a9b1c3; font-size: 14.5px; line-height: 1.6; }
.ht-intro b { flex: none; padding: 4px 10px; border-radius: 8px; background: color-mix(in srgb, var(--hc) 18%, transparent); color: var(--hc); font: 700 11px "Plus Jakarta Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; transition: color 1s, background 1s; }

/* ---------- Cards ---------- */
.ht-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ht-card { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #121833, #0c1124); box-shadow: 0 0 0 1px #ffffff12; transition: transform .55s var(--ease-out), box-shadow .55s, opacity .25s, filter .25s; }
.ht-card:after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c1) 15%, transparent), transparent 70%); opacity: 0; transition: opacity .4s; }
.ht-card:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -42px var(--c1), 0 0 0 1px color-mix(in srgb, var(--c1) 55%, transparent); }
.ht-card:hover:after { opacity: 1; }
.ht-grid:not(.live) .ht-card { opacity: 0; }
.ht-grid.live .ht-card { animation: htIn .9s var(--ease-out) backwards; animation-delay: calc(var(--i) * 80ms); }
.ht-grid.live .ht-card img { animation: htImg 1.5s var(--ease-out) backwards; animation-delay: calc(var(--i) * 80ms); }
@keyframes htIn { from { opacity: 0; transform: translateY(46px) scale(.97); clip-path: inset(14% 0 0 0 round 22px); filter: blur(8px); } to { clip-path: inset(0 0 0 0 round 22px); } }
@keyframes htImg { from { transform: scale(1.3); } }
.ht-grid.leaving .ht-card { opacity: 0; transform: translateY(16px) scale(.98); filter: blur(4px); }

.ht-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.ht-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.2s var(--ease-out), filter .6s; }
.ht-card:hover .ht-photo img { transform: scale(1.1); filter: saturate(1.15); }
.ht-photo:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #121833 0%, transparent 46%), linear-gradient(200deg, color-mix(in srgb, var(--c1) 26%, transparent), transparent 40%); pointer-events: none; }
.ht-tag { position: absolute; z-index: 1; left: 14px; top: 14px; padding: 7px 10px; border-radius: 8px; background: #0a0f1db8; color: #fff; font: 700 10px "Plus Jakarta Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 3px 0 0 var(--c1); }
.ht-num { position: absolute; z-index: 1; right: 16px; bottom: 6px; font: 800 64px/1 Outfit, sans-serif; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px #ffffff66; }

.ht-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 4px 18px 18px; }
.ht-place { display: flex; align-items: center; gap: 7px; margin: 0; font: 700 11px "Plus Jakarta Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--c1); }
.ht-place .ic { font-size: 14px; }
.ht-body h3 { font-size: clamp(21px, 1.7vw, 25px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
/* Route from the pickup point: a dashed road with a dot driving along it */
.ht-route { display: grid; grid-template-columns: auto minmax(30px, 1fr) auto; align-items: center; gap: 10px; margin: 2px 0; padding: 10px 12px; border-radius: 12px; background: #ffffff08; border: 1px solid #ffffff12; font-size: 13px; color: #c9cfdb; }
.ht-route span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.ht-route span .ic { font-size: 15px; color: var(--c1); }
.ht-route i { position: relative; height: 2px; background: repeating-linear-gradient(90deg, #ffffff40 0 5px, transparent 5px 9px); }
.ht-route i:after { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 10px var(--c1); animation: htDot 2.6s ease-in-out infinite alternate; }
@keyframes htDot { to { left: calc(100% - 8px); } }
.ht-route b { font: 700 13px Outfit, sans-serif; color: #fff; }
.ht-cars { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ht-cars li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 9px; border: 1px solid #ffffff14; background: #ffffff0a; font: 600 12px Outfit, sans-serif; color: #dfe3ec; }
.ht-cars .ic { font-size: 14px; color: var(--c2); }
.ht-choice { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 11px; border: 1px solid #ffffff14; border-radius: 11px; background: #ffffff08; color: #e8ebf2; font: 700 13px Outfit, sans-serif; }
.ht-choice > .ic { flex: none; font-size: 18px; color: var(--c1); }
.ht-choice span { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.ht-choice small { color: #8f98ad; font-size: 10.5px; font-weight: 500; }
.ht-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px dashed #ffffff24; }
.ht-from { margin: 0; }
.ht-from small { display: block; font-size: 11.5px; color: #8f98ad; }
.ht-from b { font: 800 24px/1.1 Outfit, sans-serif; letter-spacing: -.02em; }
.ht-btns { display: flex; gap: 8px; }
.ht-group { height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid #ffffff2e; background: none; color: #fff; font: 700 13px Outfit, sans-serif; cursor: pointer; transition: border-color .3s, background .3s; }
.ht-group:hover { border-color: var(--c1); background: #ffffff0d; }
.ht-card .car-book:hover { background: var(--c1); }

.ht-note { margin: 28px 2px 0; color: #8f98ad; font-size: 14px; }
.ht-note a { margin-left: 6px; color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--hc); text-underline-offset: 5px; }
.ht-note a:hover { color: var(--hc); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ht-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ht-head { grid-template-columns: 1fr; }
  .ht-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ht-pill { display: none; }
  .ht-tab[aria-selected="true"] { background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 30%, #141a33), #141a33); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c1) 70%, transparent); }
}
@media (max-width: 640px) {
  .hotels { padding: 64px 16px 72px; }
  .ht-grid { grid-template-columns: 1fr; }
  .ht-intro { flex-direction: column; gap: 8px; }
  .ht-tab { padding: 12px; }
  .ht-tab b { font-size: 16px; }
  .ht-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ht-grid:not(.live) .ht-card { opacity: 1; }
  .ht-grid.live .ht-card, .ht-grid.live .ht-card img, .ht-route i:after { animation: none; }
  .ht-pill { transition: none; }
}

/* ---------- Hotel booking request ---------- */
.hb-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 18px; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.hb-modal.open { visibility: visible; opacity: 1; }
.hb-backdrop { position: absolute; inset: 0; background: #030611d9; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hb-dialog { --accent: #3ddc97; position: relative; display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); align-items: stretch; width: min(1120px, 100%); height: min(720px, calc(100vh - 36px)); height: min(720px, calc(100svh - 36px)); color: #fff; }
.hb-modal { overflow: hidden; }
.hb-form { overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c9cfdb transparent; }
.hb-form.is-done > :not(.hb-done) { display: none; }
.hb-done { display: flex; min-height: 100%; flex-direction: column; align-items: center; justify-content: center; padding: 20px 10px; text-align: center; }
.hb-done > i { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; background: #1fa57a; color: #fff; font: 800 32px Outfit,sans-serif; font-style: normal; box-shadow: 0 0 0 12px #1fa57a22; animation: pop .6s cubic-bezier(.5,1.6,.4,1); }
.hb-done h3 { margin: 0 0 12px; font-size: 30px; color: var(--ink); }
.hb-done h3 em { font-weight: 400; color: #1fa57a; }
.hb-ref { margin: 0 0 12px; font-size: 14px; color: #6b7286; }
.hb-ref b { padding: 4px 10px; border-radius: 8px; background: #0c12220d; font: 800 15px Outfit,sans-serif; letter-spacing: .06em; color: var(--ink); }
.hb-done-text { max-width: 460px; margin: 0 auto; font-size: 15px; line-height: 1.6; color: #454d60; }
.hb-done-actions { display: flex; gap: 12px; width: 100%; max-width: 460px; margin-top: 26px; }
.hb-done-actions > * { flex: 1; margin: 0; }
.hb-again { border: 1.5px solid #dde1ea; border-radius: 14px; background: #fff; color: var(--ink); font: 700 14px Outfit,sans-serif; cursor: pointer; }
.hb-again:hover { border-color: #3ddc97; }
.hb-close { position: absolute; z-index: 4; top: -12px; right: -12px; width: 42px; height: 42px; border: 3px solid #fff; border-radius: 50%; background: #3e4453; color: #fff; font-size: 25px; cursor: pointer; box-shadow: 0 8px 22px #0005; }
.hb-head { position: relative; display: flex; overflow: hidden; flex-direction: column; justify-content: flex-end; padding: 42px 30px; border-radius: 26px 0 0 26px; background: linear-gradient(0deg,#070b15f2 8%,#070b1560), url("https://res.cloudinary.com/uv0nfruu/image/upload/f_auto,q_auto,c_fill,g_auto,ar_4:5,w_900/v2/demo/car-rental-demo/assets-demo/h-w-udaipur") center/cover; clip-path: inset(100% 0 0 0 round 26px 0 0 26px); transition: clip-path .45s var(--ease-cine); }
.hb-modal.open .hb-head { clip-path: inset(0 0 0 0 round 26px 0 0 26px); transition: clip-path 1s var(--ease-cine) .05s; }
.hb-head:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#070b15f5 4%,#070b1580 58%,#070b1540), linear-gradient(140deg,#3ddc9766,transparent 48%); pointer-events: none; }
.hb-head > * { position: relative; z-index: 1; }
.hb-head > p, .hb-form legend, .hb-ride > p { margin: 0 0 7px; color: #08634f; font: 800 10px "Plus Jakarta Sans",sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.hb-head > p { margin-bottom: 12px; color: #ffd23f; }
.hb-head h2 { margin: 0 0 18px; font-size: clamp(34px, 4vw, 54px); line-height: .98; }
.hb-head h2 em { font-family: inherit; font-weight: 400; color: #3ddc97; }
.hb-head > span { color: #aeb6c8; font-size: 14px; line-height: 1.7; }
.hb-form { min-height: 0; height: 100%; overflow-y: auto; padding: 22px 28px 18px; border-radius: 0 26px 26px 0; background: #fff; color: var(--ink); box-shadow: 0 50px 110px -40px #000; transform: translateX(60px); opacity: 0; transition: transform .4s var(--ease-cine),opacity .25s; }
.hb-modal.open .hb-form { transform: none; opacity: 1; transition: transform .9s var(--ease-cine) .18s,opacity .4s .18s; }
.hb-mobile-title { display: none; }
.hb-mobile-title p { margin: 0 0 5px; color: #08634f; font: 800 10px "Plus Jakarta Sans",sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.hb-mobile-title h3 { margin: 0 44px 18px 0; font: 700 25px/1.1 Outfit,sans-serif; }
.hb-mobile-title em { font-family: inherit; font-weight: 400; color: #08634f; }
.hb-form fieldset { margin: 0 0 13px; padding: 0; border: 0; }
.hb-options { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; }
.hb-options.hb-for { grid-template-columns: repeat(3,1fr); }
.hb-options input { position: absolute; opacity: 0; pointer-events: none; }
.hb-options span { display: flex; min-height: 42px; flex-direction: column; justify-content: center; padding: 7px 11px; border: 1.5px solid #dde1ea; border-radius: 13px; background: #fff; color: var(--ink); font: 700 13px Outfit,sans-serif; cursor: pointer; transition: border-color .3s,background .3s,transform .3s; }
.hb-options small { margin-top: 2px; color: #7a8296; font-size: 10.5px; font-weight: 500; }
.hb-options input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; transform: translateY(-2px); box-shadow: inset 3px 0 #3ddc97; }
.hb-fields { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px 12px; margin-bottom: 12px; }
.hb-fields .hb-wide { grid-column: 1/-1; }
.hb-form label > span:not(.hb-options span) { display: block; margin-bottom: 4px; color: #6b7286; font: 600 10.5px "Plus Jakarta Sans",sans-serif; }
.hb-form input, .hb-form select, .hb-form textarea { width: 100%; border: 1.5px solid #dde1ea; border-radius: 12px; outline: none; background: #fff; color: var(--ink); font: 600 13px Outfit,sans-serif; }
.hb-form input, .hb-form select { height: 40px; padding: 0 12px; }
.hb-form textarea { min-height: 46px; padding: 9px 12px; resize: vertical; }
.hb-form input:focus, .hb-form select:focus, .hb-form textarea:focus { border-color: #3ddc97; }
.hb-ride { margin: 0 0 12px; padding: 11px 13px; border: 1px solid #3ddc9750; border-radius: 14px; background: #eafbf4; }
.hb-ride .hb-fields { margin: 0; }
.hb-agent { margin: 0 0 12px; }
.hb-note { display: block; margin-bottom: 9px; }
.hb-login-note { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; color: #08634f; font-size: 11.5px; }
.hb-login-note .ic { flex: none; font-size: 18px; }
.hb-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 48px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font: 800 14px Outfit,sans-serif; cursor: pointer; box-shadow: inset 4px 0 #3ddc97; transition: transform .3s,background .3s; }
.hb-submit i { font-style: normal; transition: transform .3s; }
.hb-submit:hover { transform: translateY(-2px); background: #151d30; }
.hb-submit:hover i { transform: translateX(4px); }
.hb-submit:focus-visible { outline: 3px solid #0b7057; outline-offset: 3px; }
.hb-status { min-height: 20px; margin: 12px 0 0; color: #3ddc97; font-size: 12.5px; line-height: 1.5; }
.hb-status:empty { display: none; }
@media (max-width: 900px) { .hb-dialog { grid-template-columns: 1fr; width: min(640px,100%); min-height: 0; }
  .hb-done-actions { flex-direction: column-reverse; } .hb-again { min-height: 48px; } .hb-head { display: none; } .hb-form { min-height: 0; border-radius: 26px; } .hb-mobile-title { display: block; } .hb-close { top: 10px; right: 10px; border-width: 0; } }
@media (max-width: 760px) { .hb-modal { place-items: end center; padding: 0; overflow: hidden; } .hb-dialog { display: block; width: 100%; height: auto; max-height: 94svh; } .hb-form { max-height: 94svh; overflow-y: auto; padding: 28px 18px 18px; border-radius: 26px 26px 0 0; transform: translateY(104%); opacity: 1; } .hb-modal.open .hb-form { transform: none; } .hb-options.hb-for { grid-template-columns: 1fr; } }

/* ---------- Region tabs stick under the header while scrolling the hotels (like the fleet tabs) ---------- */
.ht-tabs { position: sticky; top: 76px; z-index: 6; background: #0e1326d9; backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 20px 50px -30px #000; }
/* Smaller screens: one sideways-scrolling row, so the stuck bar stays slim */
@media (max-width: 900px) {
  .ht-tabs, .hotels-page .ht-tabs { top: 70px; display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .ht-tabs::-webkit-scrollbar { display: none; }
  .ht-tab { flex: 0 0 auto; grid-template-columns: auto auto; scroll-snap-align: start; }
  .ht-tab small { display: none; }
  .ht-tab em { grid-row: auto; width: 28px; height: 28px; border-radius: 9px; }
}
