:root {
  --saffron: #e8751a;
  --saffron-2: #f28a1e;
  --marigold: #f6a609;
  --gold: #c9962b;
  --gold-soft: #f3d79a;
  --kumkum: #a5281a;
  --maroon: #6e1a10;
  --maroon-deep: #3d0f09;
  --ink: #2b1610;
  --ink-soft: #6b4a3c;
  --cream: #fff8ee;
  --sandal: #fbecd6;
  --line: #efd9b8;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(110, 26, 16, .35);
  --font-head: "Marcellus", Georgia, serif;
  --font-body: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; margin: 0; color: var(--maroon-deep); }
p { margin: 0; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- Toran (marigold garland) ---------- */
.toran {
  position: relative;
  height: 16px;
  background:
    radial-gradient(circle at 8px 5px, var(--marigold) 4.5px, transparent 5px) 0 0 / 16px 10px repeat-x,
    radial-gradient(circle at 8px 5px, var(--saffron) 4.5px, transparent 5px) 8px 3px / 16px 10px repeat-x,
    linear-gradient(var(--maroon), var(--maroon)) 0 0 / 100% 3px no-repeat;
  z-index: 60;
}
.toran::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 11px; height: 12px;
  background:
    radial-gradient(ellipse 3.5px 6px at 50% 50%, #3f8f3a 90%, transparent 100%) 0 0 / 44px 12px repeat-x;
  opacity: .85;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 238, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 56px; }
/* Full-width header: logo at the far left, buttons at the far right */
.site-header .header-inner { width: calc(100% - 56px); max-width: none; }
@media (max-width: 520px) { .site-header .header-inner { width: calc(100% - 32px); } }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 38px; width: auto; display: block; }
.site-header .btn-sm { padding: 7px 14px; font-size: 14px; }
.nav { font-size: 15px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 500; color: var(--ink-soft); }
.nav a { position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px;
  background: var(--saffron); transition: width .25s, left .25s;
}
.nav a:hover { color: var(--maroon); }
.nav a:hover::after { width: 100%; left: 0; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--maroon); margin: 5px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; border: 0; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--saffron-2), var(--kumkum));
  box-shadow: 0 10px 24px -10px rgba(165, 40, 26, .7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(165, 40, 26, .8); }
.btn-ghost { color: var(--maroon); background: transparent; border: 1.5px solid var(--gold); }
.btn-ghost:hover { background: var(--sandal); }
.btn-gold { color: var(--maroon-deep); background: linear-gradient(135deg, #ffd77a, var(--marigold)); }
.btn-gold:hover { transform: translateY(-2px); }

/* ---------- Mandala decorations ---------- */
.mandala { position: absolute; pointer-events: none; background: url("assets/mandala.svg") center / contain no-repeat; }
.mandala-hero { width: 760px; height: 760px; right: -160px; top: -120px; opacity: .22; animation: spin 140s linear infinite; }
.mandala-side { width: 520px; height: 520px; left: -220px; top: 40px; opacity: .14; animation: spin 180s linear infinite reverse; }
.mandala-dark { width: 620px; height: 620px; right: -200px; top: -160px; opacity: .14; filter: brightness(1.6); animation: spin 200s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 70px 0 110px;
  background:
    radial-gradient(1000px 520px at 85% 30%, rgba(246, 166, 9, .22), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(232, 117, 26, .12), transparent 60%),
    var(--cream);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--kumkum);
}
.eyebrow.light { color: var(--gold-soft); }
.diya-dot {
  width: 10px; height: 14px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 50% 70%, #fff2b8, var(--marigold) 60%, var(--saffron));
  box-shadow: 0 0 12px 3px rgba(246, 166, 9, .6);
  animation: flicker 2.4s ease-in-out infinite;
}
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.12, .94) rotate(3deg); } }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); margin: 18px 0 20px; }
.accent {
  background: linear-gradient(90deg, var(--saffron), var(--kumkum));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 19px; color: var(--ink-soft); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 36px; }

.trust-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.trust-row li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
}
.trust-row .ic {
  width: 38px; height: 38px; display: grid; place-items: center; flex: none;
  border-radius: 50%; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, var(--marigold), var(--saffron));
}
.trust-row strong { display: block; font-size: 15px; line-height: 1.2; color: var(--maroon-deep); }
.trust-row small { color: var(--ink-soft); font-size: 13px; }

/* ---------- Phone mockup ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0 40px; }
.halo {
  position: absolute; width: 440px; height: 440px; top: 50%; left: 50%;
  transform: translate(-50%, -54%); border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 214, 120, .65) 0%, rgba(246, 166, 9, .25) 40%, transparent 70%);
  animation: glow 5s ease-in-out infinite;
}
.halo::before {
  content: ""; position: absolute; inset: 20px; border-radius: 50%;
  border: 1.5px dashed rgba(201, 150, 43, .55);
  animation: spin 60s linear infinite;
}
@keyframes glow { 50% { transform: translate(-50%, -54%) scale(1.06); opacity: .85; } }

.phone {
  position: relative; z-index: 2;
  width: 300px; height: 620px; border-radius: 46px; padding: 12px;
  background: linear-gradient(145deg, #3a1a12, #140806);
  box-shadow:
    0 0 0 2px #5b2a1c inset,
    0 40px 80px -30px rgba(61, 15, 9, .7),
    0 0 0 8px rgba(201, 150, 43, .18);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-12px); } }
.phone-notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 24px; background: #0b0403; border-radius: 20px; z-index: 5;
}
.phone-screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: linear-gradient(180deg, #fff6e8 0%, #fffdf8 40%);
  font-size: 12px; line-height: 1.35;
}
.status-bar {
  display: flex; justify-content: space-between; padding: 12px 24px 0;
  font-size: 11px; font-weight: 700; color: var(--ink);
}
.sb-icons { letter-spacing: 1px; font-size: 9px; }

.app-screen {
  position: absolute; inset: 40px 0 62px; padding: 8px 16px;
  opacity: 0; transform: translateX(24px); transition: opacity .5s, transform .5s;
  pointer-events: none;
}
.app-screen.is-active { opacity: 1; transform: none; }

.app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.app-hello { color: var(--ink-soft); font-size: 11px; }
.app-title { font-family: var(--font-head); font-size: 19px; color: var(--maroon-deep); }
.app-logo { width: 34px; height: 34px; object-fit: contain; }
.app-search {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 6px 14px -10px rgba(110, 26, 16, .4); font-weight: 600;
}
.app-search svg { width: 15px; height: 15px; fill: var(--saffron); }
.app-dates {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 8px;
}
.app-dates div { background: var(--sandal); border-radius: 10px; padding: 6px 8px; }
.app-dates small { display: block; font-size: 9px; color: var(--ink-soft); }
.app-dates strong { font-size: 10.5px; color: var(--maroon-deep); }
.app-section { margin: 12px 0 6px; font-weight: 700; font-size: 12px; color: var(--maroon-deep); }
.app-chips { display: flex; gap: 6px; overflow: hidden; }
.chip { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 10.5px; white-space: nowrap; }
.chip.on { background: var(--saffron); color: #fff; border-color: var(--saffron); }
.mini-card {
  display: flex; gap: 10px; padding: 8px; margin-bottom: 8px;
  background: #fff; border-radius: 14px; border: 1px solid var(--line);
}
.mini-img { width: 68px; height: 64px; border-radius: 10px; flex: none; object-fit: cover; }
.mini-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini-body strong { font-size: 12.5px; color: var(--maroon-deep); }
.mini-body small { color: var(--ink-soft); font-size: 10.5px; }
.mini-price { font-weight: 700; color: var(--kumkum); font-size: 13px; margin-top: auto; }
.mini-price small { font-weight: 400; font-size: 10px; }

.hotel-hero { position: relative; height: 150px; margin: -8px -16px 0; overflow: hidden; }
.hotel-hero img { width: 100%; height: 100%; object-fit: cover; }
.hotel-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15), transparent 40%, rgba(61, 15, 9, .35));
}
.badge-verified { z-index: 1; }
.badge-verified {
  position: absolute; top: 10px; left: 12px;
  background: rgba(255, 255, 255, .92); color: #2f7a35; font-weight: 700; font-size: 10px;
  padding: 4px 8px; border-radius: 999px;
}
.hotel-body { padding-top: 12px; }
.hotel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.hotel-name { font-family: var(--font-head); font-size: 17px; color: var(--maroon-deep); font-weight: 400; display: block; }
.hotel-head small { color: var(--ink-soft); font-size: 10.5px; }
.rating { background: #2f7a35; color: #fff; font-weight: 700; font-size: 10.5px; padding: 3px 7px; border-radius: 8px; white-space: nowrap; }
.amenities { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0; }
.amenities span { background: var(--sandal); border-radius: 8px; padding: 4px 7px; font-size: 10px; }
.room-row {
  display: flex; justify-content: space-between; align-items: center;
  border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; background: #fff;
}
.room-row strong { display: block; font-size: 12px; color: var(--maroon-deep); }
.room-row small { color: var(--ink-soft); font-size: 10px; }
.room-price { text-align: right; }
.room-price s { color: #a88; font-size: 10px; }
.room-price strong { color: var(--kumkum); font-size: 15px; }
.darshan-note {
  display: flex; gap: 8px; align-items: flex-start; margin-top: 8px;
  background: linear-gradient(135deg, #fff1d3, #ffe3b0); border-radius: 12px; padding: 8px 10px;
  font-size: 10.5px; color: var(--maroon);
}
.app-btn {
  width: 100%; margin-top: 10px; padding: 11px; border: 0; border-radius: 12px;
  color: #fff; font: 700 13px var(--font-body);
  background: linear-gradient(135deg, var(--saffron-2), var(--kumkum));
  box-shadow: 0 8px 18px -10px rgba(165, 40, 26, .9);
}

.confirm { text-align: center; padding-top: 14px; }
.confirm-ring {
  width: 74px; height: 74px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle, #fff5d6 0 55%, transparent 56%), conic-gradient(var(--marigold), var(--saffron), var(--kumkum), var(--marigold));
  box-shadow: 0 0 0 6px rgba(246, 166, 9, .15);
}
.confirm-ring span { font-size: 30px; color: #2f7a35; font-weight: 700; }
.app-screen.is-active .confirm-ring { animation: pop .6s ease-out; }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.confirm-title { font-family: var(--font-head); font-size: 20px; color: var(--maroon-deep); }
.confirm-sub { color: var(--ink-soft); margin-bottom: 14px; }
.ticket { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; text-align: left; position: relative; }
.ticket-row { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; }
.ticket-row small { color: var(--ink-soft); }
.ticket-row strong { font-size: 11.5px; color: var(--maroon-deep); text-align: right; }
.ticket-row.total strong { color: var(--kumkum); font-size: 14px; }
.ticket-cut { border-top: 1.5px dashed var(--line); margin: 6px -12px; position: relative; }
.ticket-cut::before, .ticket-cut::after {
  content: ""; position: absolute; top: -8px; width: 14px; height: 14px; border-radius: 50%; background: #fffdf8; border: 1px solid var(--line);
}
.ticket-cut::before { left: -8px; } .ticket-cut::after { right: -8px; }
.confirm .darshan-note { text-align: left; }

.app-tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 62px;
  display: flex; justify-content: space-around; align-items: center;
  background: #fff; border-top: 1px solid var(--line); padding-bottom: 8px;
  color: #b49a8c; font-size: 16px;
}
.app-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.app-tabbar small { font-size: 9px; }
.app-tabbar .on { color: var(--saffron); }

.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .95); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 14px; color: var(--maroon-deep); line-height: 1.2; }
.float-card small { font-size: 12px; color: var(--ink-soft); }
.fc-ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--sandal); font-size: 18px; }
.fc-ic.ok { background: #e3f3e2; color: #2f7a35; font-weight: 700; }
.fc-1 { left: -6px; top: 90px; animation-delay: -2s; }
.fc-2 { right: -24px; bottom: 120px; animation-delay: -4s; }

.screen-dots { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 4; }
.dot { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: var(--gold-soft); cursor: pointer; transition: width .3s, background .3s; }
.dot.is-active { width: 26px; background: var(--saffron); }

/* Temple bells */
.bells { position: absolute; top: 0; left: 4%; display: flex; gap: 26px; pointer-events: none; }
.bells span {
  position: relative; width: 2px; height: 70px; background: var(--gold);
  transform-origin: top center; animation: swing 4s ease-in-out infinite;
}
.bells span:nth-child(2) { height: 46px; animation-delay: -1.3s; }
.bells span::after {
  content: ""; position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 24px; border-radius: 13px 13px 4px 4px;
  background: linear-gradient(135deg, #f3cc6a, #b07a1c);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .15);
}
@keyframes swing { 0%, 100% { transform: rotate(5deg); } 50% { transform: rotate(-5deg); } }

/* ---------- Divider ---------- */
.divider { display: flex; align-items: center; gap: 18px; width: min(560px, 80%); margin: -30px auto 0; position: relative; z-index: 2; }
.divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.divider img { width: 72px; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 96px 0; overflow: hidden; scroll-margin-top: 40px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2, .partners-inner h2, .download h2 { font-size: clamp(32px, 4vw, 46px); margin-top: 12px; }
.section-lead { margin-top: 14px; color: var(--ink-soft); font-size: 18px; }
.section-lead.light { color: #f1dcc6; }
.section-warm { background: linear-gradient(180deg, var(--sandal), #fff3e0); }
.section-dark {
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(232, 117, 26, .35), transparent 70%),
    linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: #fff;
}
.section-dark h2 { color: #fff7e6; }

/* Destinations */
.region { margin-top: 56px; }
.region:first-of-type { margin-top: 0; }
.region-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.region-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, var(--saffron-2), var(--kumkum));
  padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}
.region-title { font-size: 32px; white-space: nowrap; }
.region-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.scroll-hint { font-size: 14px; color: var(--ink-soft); white-space: nowrap; }

.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dest-card {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.dest-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sandal); }
.dest-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dest-card:hover .dest-photo img { transform: scale(1.06); }
.dest-photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(transparent, rgba(61, 15, 9, .28));
}
.dest-flag {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  font-size: 11px; font-weight: 700; letter-spacing: .6px;
  color: var(--maroon-deep); background: rgba(255, 247, 230, .94);
  padding: 3px 9px; border-radius: 999px;
}
.dest-body { padding: 14px 18px 18px; }
.dest-body h4 { font-family: var(--font-head); font-weight: 400; font-size: 22px; margin: 0; color: var(--maroon-deep); line-height: 1.2; }
.dest-body p { color: var(--ink-soft); font-size: 14px; margin-top: 3px; }

.dest-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4.3);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 18px; margin: 0 -2px;
  scrollbar-width: thin; scrollbar-color: var(--gold-soft) transparent;
}
.dest-strip .dest-card { scroll-snap-align: start; }
.dest-strip .dest-card:hover { transform: none; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.pillar {
  background: #fff; border-radius: 22px; padding: 34px 30px;
  border: 1px solid var(--line); position: relative;
}
.pillar::before {
  content: ""; position: absolute; inset: 8px; border-radius: 16px;
  border: 1px solid rgba(201, 150, 43, .25); pointer-events: none;
}
.pillar-feature {
  background: linear-gradient(160deg, var(--saffron-2), var(--kumkum));
  color: #fff; transform: translateY(-14px); box-shadow: var(--shadow); border: 0;
}
.pillar-feature::before { border-color: rgba(255, 255, 255, .3); }
.pillar-feature h3 { color: #fff; }
.pillar.pillar-feature p, .pillar.pillar-feature li { color: #fff1e0; }
.pillar-ic {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--marigold), var(--saffron));
  box-shadow: 0 0 0 6px rgba(246, 166, 9, .15);
}
.pillar-feature .pillar-ic { background: #fff; color: var(--kumkum); box-shadow: 0 0 0 6px rgba(255, 255, 255, .18); }
.pillar h3 { font-size: 26px; margin-bottom: 10px; }
.pillar p { color: var(--ink-soft); }
.pillar ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.pillar li { position: relative; padding-left: 26px; font-weight: 500; font-size: 15.5px; }
.pillar li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px;
  background: url("assets/lotus.svg") center / contain no-repeat;
}
.pillar-feature li::before { filter: brightness(0) invert(1); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 32px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
}
.steps li { text-align: center; position: relative; }
.step-n {
  width: 64px; height: 64px; margin: 0 auto 20px; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 26px; color: #fff; border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron-2), var(--kumkum));
  box-shadow: 0 0 0 8px var(--cream), 0 0 0 9px var(--gold-soft);
  position: relative;
}
.steps h3 { font-size: 23px; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); max-width: 320px; margin: 0 auto; }

/* Partners */
.partners-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; position: relative; }
.partners-inner .btn { margin-top: 28px; }
.partner-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.partner-list li {
  padding: 18px 22px; border-radius: 16px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(243, 215, 154, .25);
}
.partner-list strong { display: block; color: var(--gold-soft); font-size: 18px; font-family: var(--font-head); font-weight: 400; }
.partner-list span { color: #ecd6c0; font-size: 15px; }

/* Download */
.download { text-align: center; background: radial-gradient(600px 300px at 50% 100%, rgba(246, 166, 9, .2), transparent 70%), var(--cream); }
.download-lotus { width: 100px; margin: 0 auto 8px; }
.store-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 18px; border-radius: 14px;
  background: var(--maroon-deep); color: #fff; transition: transform .2s, background .2s;
}
.store-btn:hover { transform: translateY(-2px); background: var(--maroon); }
.store-btn svg { width: 26px; height: 26px; fill: #fff; }
.store-btn span { display: flex; flex-direction: column; text-align: left; font-weight: 600; font-size: 18px; line-height: 1.15; }
.store-btn small { font-weight: 400; font-size: 11px; opacity: .8; }

/* Footer */
.site-footer { background: var(--maroon-deep); color: #e8cdb5; padding: 40px 0; border-top: 4px solid var(--marigold); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: center; }
.footer-brand .brand { display: inline-flex; }
.footer-brand .brand-logo { height: 52px; }
.footer-brand p { margin-top: 6px; font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a:hover { color: #fff; }
.footer-copy { grid-column: 1 / -1; font-size: 14px; opacity: .7; border-top: 1px solid rgba(243, 215, 154, .15); padding-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .dest-grid { grid-template-columns: repeat(3, 1fr); }
  .fc-2 { right: 0; }
}
@media (max-width: 880px) {
  .nav { display: none; }
  .lang-toggle { margin-left: auto; }
  .dest-strip { grid-auto-columns: 42%; }
  .region-title { font-size: 28px; }
  .menu-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 56px; left: 0; right: 0; padding: 12px 20px 18px;
    background: var(--cream); border-bottom: 1px solid var(--line);
  }
  .nav.open a { padding: 10px 0; }
  .hero { padding: 40px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-cta, .trust-row { justify-content: center; }
  .trust-row li { text-align: left; }
  .pillars, .steps, .partners-inner { grid-template-columns: 1fr; }
  .pillar-feature { transform: none; }
  .steps::before { display: none; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .bells { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .header-inner { gap: 12px; }
  .brand-logo { height: 42px; }
  .header-inner > .btn { display: none; }
  .header-inner { gap: 8px; }
  .lang-toggle { padding: 7px 12px; font-size: 14px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .trust-row li { width: 100%; }
  .phone { width: 272px; height: 570px; }
  .halo { width: 340px; height: 340px; }
  .fc-1 { left: -4px; top: 40px; }
  .fc-2 { right: -4px; bottom: 90px; }
  .float-card { padding: 8px 10px; }
  .float-card small { display: none; }
  .dest-grid { gap: 12px; }
  .dest-strip { grid-auto-columns: 62%; gap: 12px; }
  .dest-body { padding: 10px 12px 12px; }
  .dest-body h4 { font-size: 18px; }
  .dest-body p { font-size: 12.5px; }
  .region { margin-top: 44px; }
  .region-head { flex-wrap: wrap; gap: 8px 12px; }
  .region-title { font-size: 25px; }
  .region-line { display: none; }
  .scroll-hint { margin-left: auto; }
  .section { padding: 72px 0; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Language switch ---------- */
.lang-toggle {
  display: inline-flex; align-items: center;
  padding: 5px 13px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--gold); background: #fff8ec; color: var(--maroon);
  font: 600 14px "Noto Sans Telugu", var(--font-body);
  transition: background .2s, transform .2s;
}
.lang-toggle:hover { background: var(--sandal); transform: translateY(-1px); }

/* "Become a Dellgo partner" in the header: opens the partner application */
.header-partner {
  display: inline-flex; flex-direction: column; align-items: flex-start; flex: none;
  padding: 3px 12px; border-radius: 10px; cursor: pointer; text-align: left;
  border: 1.5px solid var(--saffron); background: #fff; color: var(--maroon);
  font-family: var(--font-body); line-height: 1.15;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.header-partner:hover { background: #fff3e2; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(232, 117, 26, .18); }
.header-partner .hp-title { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.header-partner small { font-size: 10.5px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
@media (max-width: 1180px) { .nav { gap: 16px; font-size: 15px; } }
@media (max-width: 1080px) { .header-inner > .header-cta { display: none; } }
.brand { flex: none; }
@media (max-width: 520px) {
  .brand-logo { height: 32px; }
  .lang-toggle { padding: 5px 9px; font-size: 13px; }
  .header-partner { padding: 4px 8px; border-radius: 10px; max-width: 116px; }
  .header-partner .hp-title { font-size: 11.5px; white-space: normal; line-height: 1.2; }
  .header-partner small { display: none; }
}
@media (max-width: 360px) { .brand-logo { height: 28px; } .header-inner { gap: 6px !important; } }

/* ---------- Hero scene: Tirumala hills with moving mist ---------- */
.hero-scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-photo {
  position: absolute; inset: -3%;
  background: url("assets/hero/tirupati.webp") 40% 55% / cover no-repeat;
  animation: heroPan 45s ease-in-out infinite alternate; will-change: transform;
}
@keyframes heroPan { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.1) translateX(-2.5%); } }
.hero-clouds {
  position: absolute; left: 0; width: calc(100% + 2400px);
  background-repeat: repeat-x; background-size: 2400px 100%;
  animation: drift linear infinite; will-change: transform;
}
.hc-sky  { top: -6%; height: 300px; background-image: url("assets/hero/clouds-far.png"); opacity: .55; animation-duration: 180s; }
.hc-far  { top: 30%; height: 420px; background-image: url("assets/hero/clouds-far.png"); opacity: .85; animation-duration: 120s; animation-direction: reverse; }
.hc-near { top: 56%; height: 320px; background-image: url("assets/hero/clouds-near.png"); opacity: .9; animation-duration: 75s; }
@keyframes drift { to { transform: translateX(-2400px); } }
/* Full-screen, full-colour landing photo (like a resort site): no cream wash,
   just a soft dark shade on the text side so the words stay readable. */
.hero {
  min-height: max(640px, calc(100vh - 72px)); min-height: max(640px, calc(100svh - 72px));
  display: flex; align-items: center; background: #2a1a10;
}
.hero > .container { width: min(1180px, 100% - 40px); }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(25, 12, 6, .62) 0%, rgba(25, 12, 6, .48) 34%, rgba(25, 12, 6, .14) 58%, rgba(25, 12, 6, 0) 74%),
    linear-gradient(180deg, rgba(25, 12, 6, .18) 0%, rgba(25, 12, 6, 0) 22%, rgba(25, 12, 6, 0) 80%, rgba(25, 12, 6, .3) 100%);
}
.hero .eyebrow { color: var(--gold-soft); text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.hero h1 { color: #fff8ec; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero h1 .accent { background: linear-gradient(90deg, #ffc35c, #ff9a3c); -webkit-background-clip: text; background-clip: text; text-shadow: none; }
.hero .lead { color: #fbeedd; text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
.hero .btn-ghost { color: #fff8ec; border-color: rgba(255, 236, 200, .85); background: rgba(255, 255, 255, .08); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .2); }
@media (max-width: 880px) {
  .hero-photo { background-position: 62% 40%; }
  .hero-veil {
    background: linear-gradient(180deg, rgba(25, 12, 6, .6) 0%, rgba(25, 12, 6, .5) 38%, rgba(25, 12, 6, .18) 60%, rgba(25, 12, 6, .05) 85%, rgba(25, 12, 6, .25) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo { transform: none; }
}
html[lang="te"] .lang-te, html:not([lang="te"]) .lang-en { display: none; }

/* ---------- Telugu typography ---------- */
html[lang="te"] {
  --font-head: "Tiro Telugu", "Marcellus", Georgia, serif;
  --font-body: "Noto Sans Telugu", "Mukta", system-ui, sans-serif;
}
html[lang="te"] body { line-height: 1.75; }
html[lang="te"] h1, html[lang="te"] h2, html[lang="te"] h3, html[lang="te"] h4 { line-height: 1.4; }
html[lang="te"] .hero h1 { font-size: clamp(34px, 4.3vw, 54px); }
html[lang="te"] .section-head h2, html[lang="te"] .partners-inner h2, html[lang="te"] .download h2 { font-size: clamp(28px, 3.4vw, 40px); }
html[lang="te"] .eyebrow, html[lang="te"] .region-tag { letter-spacing: 0; text-transform: none; font-size: 15px; }
html[lang="te"] .nav { gap: 20px; }
html[lang="te"] .phone-screen { line-height: 1.45; }
html[lang="te"] .app-title { font-size: 17px; }
html[lang="te"] .app-dates strong { font-size: 10px; }
html[lang="te"] .amenities span { font-size: 9.5px; }

/* ---------- Intro splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, #b8401a 0%, #7a1f12 45%, #3d0f09 100%);
  color: #fff6e3; cursor: pointer;
  /* Pure-CSS fade so the page never stays hidden, even without JavaScript */
  animation: splashOut .9s ease 3.6s forwards;
}
.splash.is-done { animation: splashOut .6s ease forwards; }
@keyframes splashOut { to { opacity: 0; visibility: hidden; } }
html.splash-on body { overflow: hidden; }

.splash-mandala {
  position: absolute; width: min(150vmin, 1100px); aspect-ratio: 1;
  background: url("assets/mandala.svg") center / contain no-repeat;
  filter: brightness(1.9) saturate(.8); opacity: 0;
  animation: splashMandala 4.5s ease-out forwards;
}
@keyframes splashMandala {
  0% { opacity: 0; transform: rotate(-40deg) scale(.7); }
  30% { opacity: .28; }
  100% { opacity: .2; transform: rotate(20deg) scale(1); }
}
.splash-inner { position: relative; text-align: center; padding: 0 24px; }
.splash-logo { display: inline-block; opacity: 0; animation: splashLogo 1s ease .3s forwards; }
.splash-logo img { display: block; width: min(480px, 80vw); height: auto; filter: drop-shadow(0 6px 22px rgba(0, 0, 0, .35)); }
@keyframes splashLogo { 0% { opacity: 0; transform: translateY(14px) scale(.96); } 100% { opacity: 1; transform: none; } }
.splash-tag-te { opacity: 0; animation: splashText .9s ease forwards; }
.splash-tag-te {
  margin-top: 18px; font-family: "Tiro Telugu", serif; font-size: clamp(20px, 3.6vw, 28px);
  color: #ffe2a8; animation-delay: 1.3s;
}
@keyframes splashText { 0% { opacity: 0; transform: translateY(12px); letter-spacing: 10px; } 100% { opacity: 1; transform: none; } }
.splash-tag-te { letter-spacing: 0; }


@media (prefers-reduced-motion: reduce) {
  .splash { animation: splashOut .4s ease 1.4s forwards !important; }
  .splash-logo, .splash-tag-te { opacity: 1 !important; }
}

/* ---------- Phone: shared app bar ---------- */
.app-screen { overflow: hidden; }
.app-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.app-bar strong { font-family: var(--font-head); font-weight: 400; font-size: 16px; color: var(--maroon-deep); }
.app-back { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--sandal); font-size: 18px; color: var(--maroon); line-height: 1; }
.app-reset { min-width: 26px; text-align: right; font-size: 11px; font-weight: 700; color: var(--saffron); }

/* Filters */
.steppers { display: grid; gap: 4px; }
.stepper-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  font-size: 11.5px; font-weight: 600; color: var(--maroon-deep);
}
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper i {
  width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%;
  font-style: normal; font-weight: 700; font-size: 13px; line-height: 1;
  border: 1px solid var(--line); color: var(--ink-soft); background: #fff;
}
.stepper i.plus { background: var(--saffron); border-color: var(--saffron); color: #fff; }
.stepper b { min-width: 10px; text-align: center; font-size: 12.5px; color: var(--maroon-deep); }
.stepper b.bump { animation: bump .45s ease; color: var(--kumkum); }
@keyframes bump { 40% { transform: scale(1.6); } }
.filter-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.fchip {
  padding: 4px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600;
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft); transition: background .3s, color .3s, border-color .3s;
}
.fchip.on { background: #fff1dc; border-color: var(--saffron); color: var(--kumkum); }
.app-screen[data-screen="1"] .app-btn { margin-top: 10px; }

/* Hotel 360 pill */
.pill-360 {
  position: absolute; right: 10px; bottom: 10px; z-index: 1;
  background: rgba(43, 22, 16, .78); color: #fff; font-size: 10px; font-weight: 700;
  padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35);
}

/* 360 view */
.pano {
  position: relative; height: 196px; margin: 6px -16px 0; overflow: hidden;
  background: url("assets/room-360.svg") 0 0 / auto 100% repeat-x;
  animation: panoPan 16s linear infinite;
}
@keyframes panoPan { to { background-position-x: -855px; } } /* one tile = 960 × 196/220 */
.pano::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 55%, rgba(43, 22, 16, .28)); pointer-events: none; }
.pano-badge {
  position: absolute; top: 8px; left: 10px; z-index: 1;
  font-weight: 700; font-size: 11px; color: #fff; background: var(--saffron); padding: 3px 8px; border-radius: 999px;
}
.pano-hint {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 1; white-space: nowrap;
  font-size: 10px; color: #fff; background: rgba(43, 22, 16, .6); padding: 3px 9px; border-radius: 999px;
}
.pano-tabs { display: flex; gap: 4px; margin: 10px 0 8px; }
.pano-tabs span { flex: 1; text-align: center; padding: 5px 0; border-radius: 8px; font-size: 10.5px; font-weight: 600; background: var(--sandal); color: var(--ink-soft); }
.pano-tabs span.on { background: var(--maroon); color: #fff; }
.room-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.room-facts span { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 5px 7px; font-size: 10.5px; }
.room-caption { margin-top: 8px; text-align: center; font-size: 10.5px; color: var(--ink-soft); }

/* Near the temple */
.mini-map { position: relative; margin-top: 6px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.mini-map svg { width: 100%; height: auto; }
.mini-map .route { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.pin {
  position: absolute; transform: translate(-50%, -50%);
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  font-size: 15px; background: #fff; box-shadow: 0 4px 10px -4px rgba(61, 15, 9, .5);
}
.pin-temple { width: 32px; height: 32px; background: #fff1d6; box-shadow: 0 0 0 4px rgba(246, 166, 9, .3), 0 4px 10px -4px rgba(61, 15, 9, .5); }
.pin-park { background: #2f6fb5; color: #fff; font-weight: 800; font-size: 14px; }
.pin-prasad { background: var(--saffron); }
.pin-prasad svg { width: 18px; height: 18px; }
.pin-hotel { background: var(--maroon); }
.pin-park, .pin-prasad { animation: pinPulse 2s ease-in-out infinite; }
@keyframes pinPulse { 50% { transform: translate(-50%, -50%) scale(1.12); } }
.you-here { position: absolute; left: 24%; top: 92%; transform: translate(-50%, -50%); font-size: 9px; font-weight: 700; color: var(--maroon); background: rgba(255, 255, 255, .9); padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
.near-list { display: grid; gap: 5px; margin-top: 8px; }
.near-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.near-item > div { flex: 1; min-width: 0; }
.near-item strong { display: block; font-size: 11.5px; color: var(--maroon-deep); line-height: 1.25; }
.near-item small { font-size: 9.5px; color: var(--ink-soft); }
.near-ic { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; font-size: 14px; }
.near-ic.park { background: #2f6fb5; color: #fff; font-weight: 800; }
.near-ic.prasad { background: #fff1dc; color: var(--saffron); }
.near-ic.prasad svg { width: 18px; height: 18px; }
.near-ic.temple { background: #fff1d6; }
.go { font-size: 10px; font-weight: 700; color: #fff; background: var(--saffron); padding: 3px 9px; border-radius: 999px; }

html[lang="te"] .stepper-row, html[lang="te"] .near-item strong { font-size: 11px; }
html[lang="te"] .fchip, html[lang="te"] .room-facts span, html[lang="te"] .pano-tabs span { font-size: 9.5px; }
html[lang="te"] .near-item small { font-size: 9px; }

/* ---------- App features grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  position: relative; padding: 26px 22px 24px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-hl { background: linear-gradient(160deg, #fff4e2, #ffe6c2); border-color: var(--gold-soft); }
.feature-hl::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 10px; height: 14px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 50% 70%, #fff2b8, var(--marigold) 60%, var(--saffron));
  box-shadow: 0 0 10px 3px rgba(246, 166, 9, .5); animation: flicker 2.4s ease-in-out infinite;
}
.feature-ic {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--saffron-2), var(--kumkum)); color: #fff;
  box-shadow: 0 10px 20px -12px rgba(165, 40, 26, .8);
}
.feature-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-ic-text { font-weight: 700; font-size: 16px; letter-spacing: .5px; }
.feature h3 { font-size: 21px; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 15.5px; }
html[lang="te"] .feature h3 { font-size: 19px; }
html[lang="te"] .feature p { font-size: 14.5px; }
@media (max-width: 1020px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .feature-grid { gap: 12px; }
  .feature { padding: 18px 16px; }
  .feature-ic { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 12px; }
  .feature h3 { font-size: 18px; }
  .feature p { font-size: 14px; }
}
@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; align-items: start; }
  .feature-ic { grid-row: span 2; margin-bottom: 0; }
  .feature h3 { margin-bottom: 2px; }
}

/* Floating cards sit just outside the phone so they never hide screen content */
.fc-1 { left: auto; right: calc(50% + 122px); top: 70px; }
.fc-2 { right: auto; left: calc(50% + 122px); bottom: 90px; }
@media (max-width: 520px) { .float-card { display: none; } }
.float-card strong, .float-card small { white-space: nowrap; }
@media (max-width: 1140px) { .float-card { display: none; } }
@media (max-width: 520px) {
  .hotel-hero { height: 112px; }
  .hotel-body { padding-top: 8px; }
  .amenities { margin: 7px 0; }
  .app-section { margin: 9px 0 5px; }
  .darshan-note { padding: 6px 9px; }
}

/* ---------- Partner application form ---------- */
html.dialog-open { overflow: hidden; }
.partner-dialog {
  border: 0; padding: 0; background: transparent;
  width: min(720px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  margin: auto; overflow: visible;
}
.partner-dialog::backdrop { background: rgba(43, 13, 8, .62); backdrop-filter: blur(3px); }
.partner-dialog[open] .pf-card { animation: pfIn .28s ease-out; }
@keyframes pfIn { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.pf-card {
  position: relative; background: var(--cream); border-radius: 24px;
  border-top: 6px solid var(--marigold);
  box-shadow: 0 30px 80px -20px rgba(43, 13, 8, .7);
  max-height: calc(100dvh - 24px); overflow-y: auto; padding: 34px 36px 30px;
  color: var(--ink);
}
.pf-close {
  position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--sandal); color: var(--maroon); font-size: 26px; line-height: 1; cursor: pointer;
}
.pf-close:hover { background: var(--line); }
.pf h2, .pf-done h2 { font-family: var(--font-head); font-weight: 400; color: var(--maroon-deep); font-size: 30px; margin: 6px 0 8px; line-height: 1.2; }
.pf-lead { color: var(--ink-soft); margin: 0 0 18px; }
.pf fieldset {
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  padding: 16px 18px 18px; margin: 0 0 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px;
}
.pf legend { padding: 0 8px; font-family: var(--font-head); color: var(--kumkum); font-size: 17px; }
.pf-field { display: grid; gap: 6px; font-size: 15px; font-weight: 600; color: var(--maroon); min-width: 0; }
.pf-wide { grid-column: 1 / -1; }
.pf input:not([type="checkbox"]), .pf select, .pf textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream);
  padding: 11px 13px; min-height: 46px;
}
.pf textarea { resize: vertical; min-height: 80px; }
.pf input:focus, .pf select:focus, .pf textarea:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(232, 117, 26, .18); }
.pf .is-invalid { border-color: var(--kumkum) !important; background: #fff4f1 !important; }
.pf-phone { display: flex; align-items: stretch; }
.pf-phone b {
  display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--line); border-right: 0;
  border-radius: 12px 0 0 12px; background: var(--sandal); color: var(--maroon); font-weight: 600;
}
.pf-phone input { border-radius: 0 12px 12px 0 !important; }
.pf-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pf-checks label, .pf-consent {
  display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer;
}
.pf-checks input, .pf-consent input { width: 20px; height: 20px; accent-color: var(--saffron); flex: none; }
.pf-checks label:has(input:checked) { border-color: var(--saffron); background: #fff1df; }
.pf-consent { background: transparent; border: 0; padding: 4px 0; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.pf-consent input { margin-top: 2px; }
.pf-consent.is-invalid { color: var(--kumkum); }
.pf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pf-error { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: #fff0ec; color: var(--kumkum); font-weight: 600; }
.pf-submit { width: 100%; justify-content: center; margin-top: 16px; font-size: 17px; }
.pf-submit[disabled] { opacity: .65; cursor: progress; transform: none; }
.pf-done { text-align: center; padding: 20px 6px 6px; }
.pf-done p { color: var(--ink-soft); max-width: 460px; margin: 0 auto 12px; }
.pf-done .confirm-ring { animation: pop .6s ease-out; }
.pf-ref strong { font-family: ui-monospace, Menlo, monospace; color: var(--maroon); letter-spacing: .06em; }
.pf-done .btn { margin-top: 10px; }
@media (max-width: 600px) {
  .pf-card { padding: 28px 18px 22px; border-radius: 20px; }
  .pf h2, .pf-done h2 { font-size: 25px; }
  .pf fieldset { grid-template-columns: 1fr; padding: 14px 14px 16px; }
  .pf-checks { grid-template-columns: 1fr; }
}

/* ---------- Temple cards: clickable, with a hint ---------- */
.dest-card[data-temple] { cursor: pointer; }
.dest-card[data-temple]:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }
.dest-more {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: #fff; background: rgba(43, 13, 8, .55); backdrop-filter: blur(4px);
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.dest-card:hover .dest-more, .dest-card:focus-visible .dest-more { opacity: 1; transform: none; }
@media (hover: none) { .dest-more { opacity: 1; transform: none; font-size: 11.5px; padding: 4px 9px; } }

/* Tilt on hover (set by script.js) */
.dest-grid .dest-card { transform-style: preserve-3d; will-change: transform; }
.dest-grid .dest-card.tilting { transition: transform .08s linear, box-shadow .3s, border-color .3s; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Temple pop-up ---------- */
.temple-dialog {
  border: 0; padding: 0; background: transparent;
  width: min(980px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  margin: auto; overflow: visible; color: var(--ink);
}
.temple-dialog::backdrop { background: rgba(43, 13, 8, .66); backdrop-filter: blur(4px); }
.temple-dialog[open] .td-card { animation: tdIn .38s cubic-bezier(.2, .8, .2, 1); }
.temple-dialog.closing .td-card { animation: tdOut .22s ease-in forwards; }
@keyframes tdIn { from { transform: translateY(24px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tdOut { to { transform: translateY(16px) scale(.97); opacity: 0; } }
.td-card {
  position: relative; display: grid; grid-template-columns: 1.08fr 1fr;
  background: var(--cream); border-radius: 26px; overflow: hidden;
  border-top: 6px solid var(--marigold);
  box-shadow: 0 30px 90px -20px rgba(43, 13, 8, .75);
  max-height: calc(100dvh - 32px);
}
.td-close {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--maroon); background: rgba(255, 248, 238, .92);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18); transition: transform .2s;
}
.td-close:hover { transform: rotate(90deg); }
.td-gallery { position: relative; min-height: 420px; background: #2a1a10; overflow: hidden; touch-action: pan-y; }
.td-slides { position: absolute; inset: 0; }
.td-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.td-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.td-slide.on { opacity: 1; }
.td-slide.on img { animation: tdZoom 9s ease-out forwards; }
@keyframes tdZoom { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
.td-gallery::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(transparent, rgba(20, 8, 4, .6)); pointer-events: none;
}
.td-nav {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  font-size: 28px; line-height: 1; color: #fff; background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(3px); transition: background .2s, transform .2s;
}
.td-nav:hover { background: rgba(232, 117, 26, .85); }
.td-prev { left: 12px; } .td-next { right: 12px; }
.td-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 38px; display: flex; justify-content: center; gap: 8px; }
.td-dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .55); transition: width .3s, background .3s;
}
.td-dots button[aria-selected="true"] { width: 26px; background: var(--marigold); }
.td-credit { position: absolute; z-index: 3; left: 14px; right: 14px; bottom: 10px; margin: 0; font-size: 11.5px; color: rgba(255, 240, 220, .85); text-align: center; }
.td-credit a { color: inherit; }
.td-body { padding: 30px 32px 28px; overflow-y: auto; max-height: calc(100dvh - 38px); }
.td-eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--kumkum); }
html[lang="te"] .td-eyebrow { letter-spacing: 0; text-transform: none; font-size: 14px; }
.td-body h3 { font-family: var(--font-head); font-weight: 400; font-size: clamp(28px, 3.2vw, 38px); color: var(--maroon-deep); margin: 4px 0 2px; line-height: 1.15; padding-right: 36px; }
.td-sub { margin: 0 0 6px; color: var(--ink-soft); font-size: 15px; }
.td-section { margin-top: 16px; }
.td-section h4 { margin: 0 0 6px; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--saffron); }
html[lang="te"] .td-section h4 { letter-spacing: 0; text-transform: none; font-size: 15px; }
.td-history { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.td-special { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.td-special li {
  display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45;
  padding: 9px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  opacity: 0; transform: translateX(12px);
}
.temple-dialog[open] .td-special li { animation: tdItem .45s ease forwards; }
.temple-dialog[open] .td-special li:nth-child(2) { animation-delay: .08s; }
.temple-dialog[open] .td-special li:nth-child(3) { animation-delay: .16s; }
.temple-dialog[open] .td-special li:nth-child(4) { animation-delay: .24s; }
@keyframes tdItem { to { opacity: 1; transform: none; } }
.td-special li::before {
  content: "✦"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; color: #fff; background: linear-gradient(135deg, var(--marigold), var(--saffron));
}
.td-tip { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: #fff3dc; border: 1px dashed var(--gold); font-size: 14.5px; line-height: 1.5; }
.td-tip strong { display: block; color: var(--maroon); font-size: 13px; margin-bottom: 2px; }
.td-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.td-actions .btn { padding: 11px 18px; font-size: 15px; }

@media (max-width: 760px) {
  .temple-dialog { width: 100%; max-width: 100%; max-height: 100dvh; margin: auto 0 0; }
  .temple-dialog[open] .td-card { animation: tdSheet .38s cubic-bezier(.2, .8, .2, 1); }
  @keyframes tdSheet { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }
  .td-card { grid-template-columns: 1fr; border-radius: 22px 22px 0 0; max-height: 92dvh; overflow-y: auto; }
  .td-gallery { min-height: 0; aspect-ratio: 4 / 3; }
  .td-body { max-height: none; overflow: visible; padding: 20px 18px 26px; }
  .td-nav { width: 36px; height: 36px; font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .td-special li { opacity: 1; transform: none; }
}
