/* Shreevarsh brand tokens, taken from shreevarsh.com (coral/orange on ivory, warm ink). */
:root {
  --coral: #e95d20;
  --coral-btn: #d4481a;      /* white text on this passes WCAG AA */
  --coral-deep: #c84219;
  --amber: #f49b2f;
  --gold: #ffcc66;
  --ivory: #faf6ef;
  --ink: #1a1514;
  --ink-soft: #5b504c;
  --line: #eaded2;
  --ok: #17803d;
  --err: #c0262d;
  --bg: var(--ivory);
  --card: #fff;
  --font-d: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-b: 'Instrument Sans', system-ui, sans-serif;
}
.theme-white { --bg: #fff; --line: #f0e4da; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--font-b); color: var(--ink); background: var(--bg); }
:lang(ta) body, html[lang='ta'] body { font-family: 'Noto Sans Tamil', var(--font-b); line-height: 1.7; }
h1, h2, h3 { font-family: var(--font-d); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
html[lang='ta'] h1, html[lang='ta'] h2, html[lang='ta'] h3 { font-family: 'Noto Sans Tamil', var(--font-d); line-height: 1.3; }
h1 { font-size: clamp(1.9rem, 6.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4.4vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--coral-deep); }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
section.blk { padding: 56px 0; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.1rem var(--font-d); line-height: 1.1; }
.brand img { width: 40px; height: 40px; }
.brand small { display: block; font: 500 .68rem var(--font-b); color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; }
.top nav { display: flex; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 .9rem var(--font-b); text-decoration: none; cursor: pointer; }
.pill.hot { background: var(--coral-btn); border-color: var(--coral-btn); color: #fff; }
@media (max-width: 560px) { .pill.hide-s { display: none; } .brand small { display: none; } }

/* hero */
.hero { padding: 36px 0 48px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(244,155,47,.22), transparent 60%),
  radial-gradient(700px 380px at -10% 10%, rgba(233,93,32,.12), transparent 60%); }
.hero .wrap { display: grid; gap: 28px; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; align-items: start; gap: 56px; } .hero { padding: 56px 0 72px; } }
.eyebrow { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #fff0ce; color: #8a4b00; font: 700 .78rem var(--font-b); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--coral); }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 36em; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; font-weight: 500; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--coral); color: #fff; font-size: .75rem; display: grid; place-items: center; font-weight: 800; }

/* form card */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 18px 50px -20px rgba(120,50,10,.28); }
.card > h2 { font-size: 1.35rem; margin-bottom: 14px; }
@media (min-width: 960px) { .card { position: sticky; top: 84px; padding: 28px; } }
.steps { display: flex; align-items: center; gap: 12px; font: 600 .8rem var(--font-b); color: var(--ink-soft); margin-bottom: 14px; }
.steps i { flex: 1; height: 5px; background: var(--line); border-radius: 9px; overflow: hidden; }
.steps b { display: block; height: 100%; width: 50%; background: linear-gradient(90deg, var(--coral), var(--amber)); transition: width .3s; }
.fld { display: block; margin-bottom: 14px; }
.fld > span { display: block; font: 600 .88rem var(--font-b); margin-bottom: 6px; }
input:not([type=checkbox]):not([type=radio]), select { width: 100%; font: 500 1rem var(--font-b); color: var(--ink); padding: 12px 14px; min-height: 48px; border: 1.5px solid #ddd0c4; border-radius: 12px; background: #fff; appearance: none; }
select { background-image: linear-gradient(45deg, transparent 50%, #777 50%), linear-gradient(135deg, #777 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input:focus, select:focus { outline: 3px solid rgba(233,93,32,.25); border-color: var(--coral); }
.row2 { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px; }
.phone { display: flex; gap: 8px; align-items: stretch; }
.phone b { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid #ddd0c4; border-radius: 12px; background: #f6efe7; font-weight: 700; }
.otp { letter-spacing: .4em; font-weight: 700; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn, .btn-sm { border: 0; cursor: pointer; font: 700 1rem var(--font-b); color: #fff; background: var(--coral-btn); border-radius: 12px; text-decoration: none; text-align: center; transition: transform .1s, background .15s; }
.btn { display: block; width: 100%; padding: 15px 18px; font-size: 1.05rem; margin-top: 6px; box-shadow: 0 8px 20px -8px rgba(212,72,26,.6); }
.btn-sm { padding: 0 16px; white-space: nowrap; min-height: 48px; }
.btn:hover:not(:disabled), .btn-sm:hover:not(:disabled) { background: var(--coral-deep); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled, .btn-sm:disabled { background: #d9c9bd; box-shadow: none; cursor: not-allowed; }
.link { background: none; border: 0; color: var(--coral-deep); font: 600 .9rem var(--font-b); cursor: pointer; padding: 8px 0; }
.link:disabled { color: #9a8f88; cursor: default; }
.ok { color: var(--ok); font-weight: 700; margin: 4px 0 12px; }
.err { display: block; font-style: normal; color: var(--err); font-size: .82rem; margin-top: 4px; min-height: 0; }
.err:empty { display: none; }
.form-err { font-weight: 600; margin-top: 10px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--ink-soft); margin: 4px 0 6px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--coral); flex: none; }
.secure { font-size: .8rem; color: var(--ink-soft); text-align: center; margin: 12px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; padding: 9px 14px; border: 1.5px solid #ddd0c4; border-radius: 999px; background: #fff; font: 600 .88rem var(--font-b); color: var(--ink); }
.chip input { display: none; }
.chip:has(input:checked), .chip.on { background: var(--coral-btn); border-color: var(--coral-btn); color: #fff; }
.chip:disabled { opacity: .35; cursor: not-allowed; }
#done { text-align: center; padding: 8px 0; }
#done h3 { font-size: 1.4rem; color: var(--ok); }

/* trust strip */
.stats { background: var(--ink); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 26px 0; text-align: center; }
@media (min-width: 720px) { .stats .wrap { grid-template-columns: repeat(4, 1fr); } }
.stats b { display: block; font: 800 2rem var(--font-d); color: var(--gold); }
.stats span { font-size: .85rem; opacity: .85; }

/* grids */
.grid3 { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid3 { grid-template-columns: repeat(3, 1fr); } .grid4 { grid-template-columns: repeat(4, 1fr) !important; } }
.grid4 { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.tile .n { width: 38px; height: 38px; border-radius: 50%; background: var(--coral); color: #fff; font: 800 1.05rem var(--font-d); display: grid; place-items: center; margin-bottom: 12px; }
.tile p { color: var(--ink-soft); margin: 0; }
.alt { background: #fff7ec; }
.theme-white .alt { background: #fff7f0; }
.center { text-align: center; }

/* reviews */
#rev-badge { font-size: 1.1rem; margin-bottom: 18px; }
#rev-badge b { font: 800 2rem var(--font-d); }
.stars { color: #f5a623; letter-spacing: 2px; }
#rev-list { display: grid; gap: 16px; }
@media (min-width: 760px) { #rev-list { grid-template-columns: repeat(3, 1fr); } }
.rev { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.rev .who { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.rev .who img, .rev .who i { width: 40px; height: 40px; border-radius: 50%; background: var(--line); }
.rev small { display: block; color: var(--ink-soft); }
.rev p { margin: 8px 0 0; }

/* faq */
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font: 700 1.02rem var(--font-b); }
details p { margin: 10px 0 0; color: var(--ink-soft); }

/* footer + sticky */
.cta-band { background: linear-gradient(120deg, var(--coral), var(--amber)); color: #fff; text-align: center; padding: 48px 0; }
.cta-band .btn { display: inline-block; width: auto; background: #fff; color: var(--coral-deep); padding: 15px 32px; }
footer { background: var(--ink); color: #cfc4bd; padding: 36px 0 90px; font-size: .85rem; }
footer a { color: #fff; }
footer .addr { margin-bottom: 14px; }
.sticky { position: fixed; inset: auto 0 0 0; z-index: 30; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); display: flex; gap: 10px; }
.sticky .btn { margin: 0; padding: 13px; }
.sticky .pill { flex: none; }
@media (min-width: 960px) { .sticky { display: none; } footer { padding-bottom: 36px; } }

/* keep focused fields clear of the fixed bottom bar on mobile */
@media (max-width: 959px) { .card input, .card select, .card button, .card .consent { scroll-margin-block: 90px; } }

/* long Tamil words must never widen the page */
.grid3, .grid4, #rev-list, .hero .wrap { min-width: 0; }
.tile, .rev, .card, .hero .wrap > div { min-width: 0; overflow-wrap: break-word; }
.grid4 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 520px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) { .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
h1, h2, h3 { overflow-wrap: break-word; }

/* seats + countdown (real data only) */
.seats { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 18px; max-width: 460px; }
.seat-row { font: 700 1.05rem var(--font-b); }
.seat-bar { height: 8px; border-radius: 9px; background: var(--line); margin: 8px 0 0; overflow: hidden; }
.seat-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--coral), var(--amber)); transition: width .6s; }
.seats.low { border-color: var(--coral); }
.seats.low .seat-row { color: var(--coral-deep); }
.seats.out { border-color: var(--err); }
#countdown { margin-top: 12px; }
.cd-label { display: block; font: 600 .8rem var(--font-b); color: var(--ink-soft); margin-bottom: 6px; }
.cd-units { display: flex; gap: 8px; }
.cd-units span { min-width: 58px; text-align: center; background: var(--ink); color: #fff; border-radius: 10px; padding: 6px 4px; }
.cd-units b { display: block; font: 800 1.3rem var(--font-d); color: var(--gold); font-variant-numeric: tabular-nums; }
.cd-units small { font-size: .65rem; opacity: .8; text-transform: uppercase; letter-spacing: .05em; }
.hold { background: #fff0ce; color: #7a4300; border-radius: 10px; padding: 9px 12px; font: 600 .88rem var(--font-b); margin: 0 0 14px; }
.hold.gone { background: #fde8e8; color: var(--err); }
