/* ==========================================================================
   Jainsite Bhavan — premium layer: motion, sliders, refined cards, accounts, payments
   ========================================================================== */
:root { --glow: 0 30px 60px -28px color-mix(in srgb, var(--brand) 55%, transparent); }

/* ---------- reveal variants (data-reveal="left|right|zoom|up") ---------- */
[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); will-change: opacity, transform; }
[data-reveal="left"] { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="zoom"] { transform: scale(.92); filter: blur(4px); }
[data-reveal="up"] { transform: translateY(34px); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
.amen li[data-reveal]:nth-child(2n) { transition-delay: 80ms !important; }
.amen li[data-reveal]:nth-child(3n) { transition-delay: 160ms !important; }

/* ---------- scroll progress ---------- */
.progress { position: fixed; z-index: 120; left: 0; top: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--gold), var(--brand)); pointer-events: none; }

/* ---------- headings ---------- */
.orn { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--gold); font-size: 14px; margin-bottom: 10px; }
.orn i { width: 46px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--gold)); }
.orn i:last-child { transform: scaleX(-1); }
.sechead h2 { background: linear-gradient(120deg, var(--ink) 30%, var(--brand) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sechead--light h2 { background: none; color: #fff; }
.sechead h2::after { display: none; }

/* ---------- buttons ---------- */
.btn { transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.btn:hover { transform: translateY(-2px); }
.btn--shine { position: relative; overflow: hidden; isolation: isolate; }
.btn--shine::after { content: ''; position: absolute; inset: -40% auto -40% -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: shine 3.6s ease-in-out infinite; z-index: -1; }
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }

/* ---------- hero: Ken Burns + floating ---------- */
.hero__slide.on .hero__frame img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(2%, 1%, 0); } to { transform: scale(1) translate3d(0, 0, 0); } }
.hero__frame { overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55), 0 0 0 8px rgba(255, 255, 255, .08); }
.hero__glow--1 { animation: float 9s ease-in-out infinite; }
.hero__glow--2 { animation: float 12s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate3d(-30px, 24px, 0) scale(1.08); } }

/* ---------- 3D tilt + glare ---------- */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .35s var(--ease), box-shadow .35s var(--ease); transform-style: preserve-3d; position: relative; }
.tilt:hover { box-shadow: var(--glow); }
.tilt::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .22), transparent 45%); opacity: 0; transition: opacity .3s; }
.tilt:hover::before { opacity: 1; }

/* ---------- room photo slider ---------- */
.cslide { position: relative; }
.cslide__track { position: absolute; inset: 0; }
.cslide__it { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.cslide__it.on { opacity: 1; z-index: 1; }
.cslide__it img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s ease-out; }
.cslide__it.on img { transform: scale(1); }
.cslide__nav { position: absolute; z-index: 4; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--brand); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transition: opacity .25s, transform .25s; }
.cslide__prev { left: 12px; } .cslide__prev .ic { transform: rotate(180deg); }
.cslide__next { right: 12px; }
.cslide:hover .cslide__nav { opacity: 1; }
@media (hover: none) { .cslide__nav { opacity: .85; width: 34px; height: 34px; } }
.cslide__dots { position: absolute; z-index: 4; right: 14px; bottom: 16px; display: flex; gap: 5px; }
.cslide__dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .6); transition: width .35s var(--ease), background .35s; }
.cslide__dots i.on { width: 22px; background: #fff; }
.rcard .price-tag { z-index: 4; }
.rcard__img::after { content: ''; position: absolute; inset: auto 0 0; height: 45%; z-index: 2; background: linear-gradient(transparent, rgba(30, 8, 8, .45)); pointer-events: none; }
.rcard { border-radius: 24px; }

/* ---------- Bhojanshala (centered premium cards) ---------- */
#bhojanshala { position: relative; overflow: hidden; }
#bhojanshala::before { content: ''; position: absolute; width: 640px; height: 640px; right: -220px; top: -200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 22%, transparent), transparent 65%); pointer-events: none; }
.mcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 320px)); justify-content: center; gap: 26px; }
.mcard { display: flex; flex-direction: column; align-items: stretch; padding: 0; gap: 0; background: #fff; border-radius: 26px; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); text-align: center; position: relative; }
.mcard::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(140deg, var(--gold), transparent 40%, transparent 60%, var(--accent)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; pointer-events: none; }
.mcard:hover::after { opacity: 1; }
.mcard__top { position: relative; height: 150px; background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--accent) 35%, #fff), transparent 70%), linear-gradient(160deg, #fff7ea, #fbe5c4); display: grid; place-items: center; overflow: hidden; }
.mcard__top::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--gold) 60%, transparent); animation: spin2 40s linear infinite; }
@keyframes spin2 { to { transform: rotate(360deg); } }
.mcard__img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.mcard__art { position: relative; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--accent) 70%, transparent); font-size: 44px; animation: bob 4s ease-in-out infinite; }
.mcard:nth-child(2) .mcard__art { animation-delay: -1.3s; }
.mcard:nth-child(3) .mcard__art { animation-delay: -2.6s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.mcard__ribbon { position: absolute; top: 14px; left: 50%; translate: -50% 0; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; padding: 5px 14px; border-radius: 999px; box-shadow: 0 8px 18px -8px var(--brand); white-space: nowrap; }
.mcard__body { padding: 20px 22px 26px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mcard h3 { font-size: 24px; margin: 0; }
.mcard__price { display: flex; align-items: baseline; gap: 6px; }
.mcard__price b { font-family: var(--f-latin); font-size: 34px; line-height: 1; color: var(--brand); }
.mcard__price span { color: var(--ink-3); font-weight: 600; font-size: 14px; }
.mcard__time { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 0; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 70%, #000); font-weight: 600; font-size: 13.5px; }
.mcard__time .ic { width: 15px; height: 15px; }
.mcard__txt { color: var(--ink-2); font-size: 15px; margin: 4px 0 0; line-height: 1.55; }
.mcard__jain { margin: 0 auto 18px; font-size: 11px; letter-spacing: .3em; color: var(--gold); font-weight: 700; text-transform: uppercase; }

/* ---------- amenities marquee ---------- */
.marquee { overflow: hidden; margin: -6px 0 26px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__in { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 70%, var(--accent))); color: #fff; font-weight: 600; white-space: nowrap; font-size: 14.5px; }
.marquee .ic { color: #ffd59e; }
.marquee:hover .marquee__in { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.amen li { transition: transform .3s var(--ease), box-shadow .3s; }
.amen li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.amen li:hover .amen__ic { background: var(--brand); color: #fff; transform: rotate(-8deg); }
.amen__ic { transition: background .3s, color .3s, transform .3s; }

/* ---------- gallery filmstrip ---------- */
.film { overflow: hidden; margin-bottom: 20px; border-radius: 18px; }
.film__in { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.film img { height: 130px; width: auto; border-radius: 14px; object-fit: cover; filter: saturate(1.05); }
.film:hover .film__in { animation-play-state: paused; }

/* ---------- horizontal carousel (places) ---------- */
.hslider { position: relative; }
.hslider__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 82%); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 18px; scrollbar-width: none; }
.hslider__track::-webkit-scrollbar { display: none; }
.hslider__track > * { scroll-snap-align: start; }
.hslider__ctrl { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.hslider__ctrl button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--brand); display: grid; place-items: center; transition: background .25s, color .25s, transform .25s; }
.hslider__ctrl button:hover { background: var(--brand); color: #fff; transform: scale(1.06); }
.hslider__ctrl button:first-child .ic { transform: rotate(180deg); }
.pcard__img img { transition: transform .8s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.07); }

/* ---------- yatra: animated route ---------- */
.ycard__media { overflow: hidden; }
.ycard__media img { transform: scale(1.12); transition: transform .2s linear; }
.route--inline li { animation: pop .6s var(--ease) both; }
.ycard.in .route--inline li:nth-child(1) { animation-delay: .1s; } .ycard.in .route--inline li:nth-child(2) { animation-delay: .25s; }
.ycard.in .route--inline li:nth-child(3) { animation-delay: .4s; } .ycard.in .route--inline li:nth-child(4) { animation-delay: .55s; }
.ycard.in .route--inline li:nth-child(5) { animation-delay: .7s; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.9); } }
.route li .route__dot { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 40%, transparent); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px transparent; } }
.yprices div { transition: border-color .25s, transform .25s, box-shadow .25s; }
.yprices div:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- taxis ---------- */
.tcard__img img { transition: transform .8s var(--ease); }
.tcard:hover .tcard__img img { transform: scale(1.06) translateX(-8px); }

/* ---------- header account ---------- */
.hdr__acc { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--brand); padding: 7px 12px 7px 8px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; margin-right: 6px; }
.hdr__acc:hover { border-color: var(--brand); }
.hdr__acc img { border-radius: 50%; width: 28px; height: 28px; }
.hdr__acc .ic { width: 20px; height: 20px; }
@media (max-width: 560px) { .hdr__acc { padding: 7px; margin-right: 2px; } }

/* ---------- login ---------- */
.auth { display: grid; grid-template-columns: 1.1fr 1fr; min-height: calc(100vh - 160px); }
.auth__art { position: relative; overflow: hidden; background: var(--brand); }
.auth__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-out both alternate infinite; }
.auth__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 13, 13, .1), rgba(58, 13, 13, .85)); }
.auth__quote { position: absolute; z-index: 2; left: clamp(24px, 5vw, 60px); right: 24px; bottom: clamp(24px, 6vw, 64px); color: #fff; }
.auth__quote p { font-family: var(--f-head); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.25; margin: 10px 0 0; max-width: 520px; }
.auth__panel { display: grid; place-items: center; padding: clamp(28px, 6vw, 70px) 20px; background: radial-gradient(600px 300px at 80% 0%, var(--accent-soft), transparent 70%); }
.auth__card { width: min(100%, 420px); }
.auth__logo { border-radius: 16px; margin-bottom: 18px; }
.auth__card h1 { font-size: clamp(26px, 3vw, 34px); }
.auth__form { display: grid; gap: 16px; margin-top: 8px; }
.auth__form label span { display: block; font-weight: 600; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.auth__form input { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; font: inherit; font-size: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.auth__form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.otp { text-align: center; font-size: 28px !important; letter-spacing: .5em; font-family: ui-monospace, Menlo, monospace !important; }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; color: var(--ink); transition: box-shadow .25s, transform .25s; }
.gbtn:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.auth__or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 13px; margin: 20px 0 4px; }
.auth__or::before, .auth__or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth__art { min-height: 220px; } }

/* ---------- account dashboard ---------- */
.acc-hero { position: relative; color: #fff; overflow: hidden; background: linear-gradient(135deg, var(--brand), #3a0d0d); }
.acc-hero__bg { position: absolute; inset: 0; background: url('/img/hotel/building-front.jpg') center / cover; opacity: .16; animation: kenburns 20s ease-out both; }
.acc-hero__in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: clamp(36px, 5vw, 60px); padding-bottom: clamp(36px, 5vw, 60px); }
.acc-hero__me { display: flex; align-items: center; gap: 18px; }
.acc-hero__me img, .acc-hero__av { width: 72px; height: 72px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .7); object-fit: cover; }
.acc-hero__av { display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--gold)); font-size: 30px; font-weight: 800; }
.acc-hero h1 { color: #fff; margin: 4px 0 2px; font-size: clamp(26px, 3.4vw, 38px); }
.acc-hero p { margin: 0; color: rgba(255, 255, 255, .78); }
.acc-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.acc-stats div { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); border-radius: 18px; padding: 14px 20px; min-width: 120px; }
.acc-stats b { display: block; font-size: 26px; font-family: var(--f-latin); }
.acc-stats span { font-size: 13px; color: rgba(255, 255, 255, .78); }
.acc { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
.acc__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.acc__head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 28px; }
.acc__head h2 .ic { color: var(--accent); }
.acc__sub { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 26px 0 12px; font-family: var(--f-body); }
.trips { display: grid; gap: 16px; }
.trip { display: grid; grid-template-columns: 92px 1fr; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.trip:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.trip.is-off { opacity: .6; }
.trip__date { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: linear-gradient(160deg, var(--brand), color-mix(in srgb, var(--brand) 60%, var(--accent))); padding: 14px 6px; text-align: center; }
.trip--taxi .trip__date { background: linear-gradient(160deg, #a25800, var(--accent)); }
.trip--yatra .trip__date { background: linear-gradient(160deg, #5a2a86, #a0407a); }
.trip__date span { text-transform: uppercase; font-size: 13px; letter-spacing: .1em; opacity: .85; }
.trip__date b { font-size: 34px; line-height: 1.05; font-family: var(--f-latin); }
.trip__date small { opacity: .75; }
.trip__body { padding: 16px 20px; display: grid; gap: 6px; }
.trip__top { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.trip__kind { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: 13px; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.trip h4 { margin: 0; font-size: 20px; font-family: var(--f-head); }
.trip .st { font-size: 12.5px; padding: 5px 12px; }
.trip__foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); padding-top: 8px; border-top: 1px dashed var(--line); }
.trip__foot .ok { color: var(--ok); font-weight: 700; }
.trip__acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.mono { font-family: ui-monospace, Menlo, monospace; }
.acc-empty { text-align: center; background: #fff; border: 1.5px dashed var(--line); border-radius: 22px; padding: 40px 20px; }
.acc-empty .ic { width: 54px; height: 54px; color: var(--gold); }
.acc-profile { display: grid; gap: 14px; position: sticky; top: calc(var(--hdr-h) + 16px); }
.acc-profile h2 { display: flex; gap: 8px; align-items: center; font-size: 22px; margin: 0; }
.acc-profile label span { display: block; font-weight: 600; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.acc-profile input { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; font: inherit; font-size: 15px; background: var(--bg); }
.acc-profile input:disabled { color: var(--ink-3); }
@media (max-width: 960px) { .acc { grid-template-columns: 1fr; } .acc-profile { position: static; } }
@media (max-width: 480px) { .trip { grid-template-columns: 70px 1fr; } .trip__date b { font-size: 26px; } }

/* ---------- Razorpay block ---------- */
.rzp { display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 22px; background: linear-gradient(135deg, #fff, #fff7ea); border: 1.5px solid color-mix(in srgb, var(--accent) 35%, var(--line)); }
.rzp h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 24px; }
.rzp h2 .ic { color: var(--accent); }
.rzp__btns { display: flex; flex-direction: column; gap: 10px; min-width: min(100%, 300px); }
.rzp__lock { display: inline-flex; gap: 6px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--ink-3); }
.rzp__lock .ic { width: 14px; height: 14px; }
.rzp__test { display: inline-block; background: #fff4e0; color: #9a5b00; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 8px; margin: 6px 0 0; }
.loginhint a { display: inline-flex; gap: 8px; align-items: center; color: var(--brand); font-weight: 700; font-size: 14.5px; background: var(--brand-soft); padding: 8px 14px; border-radius: 12px; }

/* ---------- invoice page ---------- */
.inv-sheet { filter: drop-shadow(0 30px 50px rgba(60, 20, 10, .15)); }
@media print {
  .noprint, .progress { display: none !important; }
  .inv-page { padding: 0 !important; }
  .inv-sheet { filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__in, .film__in, .mcard__art, .mcard__top::before, .btn--shine::after, .hero__glow--1, .hero__glow--2 { animation: none !important; }
  .tilt { transform: none !important; }
}
.hdr__acc { white-space: nowrap; }
@media (max-width: 1320px) { .hdr__acc span { display: none; } .hdr__acc { padding: 7px; } }
.alert--info { background: #fff6e6; color: #7a4a00; border: 1px solid #f2d39b; }
