/* ============ Tokens ============ */
:root {
  --bg: #05070c;
  --text: #f4f6fb;
  --text-2: rgba(244, 246, 251, .82);
  --muted: rgba(244, 246, 251, .64);
  --line: rgba(255, 255, 255, .1);
  --accent: #ffb020;
  --accent-2: #ffd97a;
  --accent-ink: #1e1400;
  --ok: #34d399;
  --closed: #fb923c;
  --radius: 22px;
  --radius-lg: 30px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", "Noto Sans Tamil", "Nirmala UI", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
  --blur: 22px;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
/* body stays transparent so the fixed aurora (z-index:-1) shows through above the <html> background */
body {
  margin: 0; font-family: var(--font); background: transparent; color: var(--text); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; -webkit-tap-highlight-color: transparent;
}
img, svg, iframe { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 4.8vw + 1rem, 4.2rem); line-height: 1.03; letter-spacing: -.045em; }
h2 { font-size: clamp(1.75rem, 3.2vw + .9rem, 3rem); letter-spacing: -.04em; }
h3 { font-size: 1.1rem; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.container { width: min(1180px, 100% - var(--gutter) * 2); margin-inline: auto; }
.muted { color: var(--muted); }
a[data-link^="tel"] { white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.skip-link:focus { top: 12px; }
.progress { position: fixed; top: 0; left: 0; z-index: 90; width: 100%; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: 0 50%; transform: scaleX(0); }

/* ============ Aurora background (what the glass refracts) ============ */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.aurora span { position: absolute; border-radius: 50%; will-change: transform; animation: drift 26s ease-in-out infinite alternate; }
.aurora .o1 { width: 720px; height: 720px; left: -220px; top: -160px; background: radial-gradient(closest-side, rgba(255, 176, 32, .34), transparent); }
.aurora .o2 { width: 820px; height: 820px; right: -300px; top: 18vh; background: radial-gradient(closest-side, rgba(59, 108, 255, .42), transparent); animation-delay: -9s; }
.aurora .o3 { width: 700px; height: 700px; left: 24vw; bottom: -300px; background: radial-gradient(closest-side, rgba(139, 92, 246, .34), transparent); animation-delay: -17s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(60px, 40px, 0) scale(1.12); } }

/* ============ Liquid glass ============ */
.glass {
  position: relative; isolation: isolate; border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04) 55%, rgba(255, 255, 255, .08));
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.7); backdrop-filter: blur(var(--blur)) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -1px 0 rgba(255, 255, 255, .05), 0 24px 60px -26px rgba(0, 0, 0, .75);
}
/* bright specular edge that fades around the border */
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: 2; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .05) 32%, rgba(255, 255, 255, .02) 62%, rgba(255, 255, 255, .32));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* soft light that follows the pointer */
.glass::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .13), transparent 60%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(24, 29, 41, .94); }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 46px; padding: .7em 1.4em;
  border: 1px solid transparent; border-radius: 999px; font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), background .3s, box-shadow .3s, border-color .3s;
}
.btn-lg { min-height: 54px; padding: .8em 1.7em; font-size: 1rem; }
.btn-accent { background: linear-gradient(180deg, #ffc247, var(--accent)); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 30px -10px rgba(255, 176, 32, .7); }
.btn-glass { color: var(--text); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn:active { transform: scale(.97); }
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); }

.pill { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-bottom: 22px; padding: 8px 16px; border-radius: 999px; font-size: .8rem; font-weight: 500; line-height: 1.35; color: var(--text-2); }
.pill .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2.2s infinite; }

/* Logo on a white plate: the Haier wordmark is dark blue, so it needs a light background on the dark theme */
.logo-plate { display: inline-grid; place-items: center; flex: none; height: 30px; padding: 0 11px; border-radius: 10px; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .1); }
.logo-plate img { display: block; height: 16px; width: auto; }
.logo-plate.md { height: 46px; padding: 0 18px; border-radius: 14px; }
.logo-plate.md img { height: 26px; }
.logo-plate.lg { height: 56px; padding: 0 20px; border-radius: 16px; }
.logo-plate.lg img { height: 28px; }
.pill .logo-plate { height: 28px; padding: 0 10px; }
.pill .logo-plate:first-child { margin-left: -8px; }
.pill .logo-plate img { height: 16px; }
.why-big.why-logo { display: flex; flex-wrap: wrap; gap: 8px; background: none; }
.f-auth { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0 8px; color: var(--text-2); font-size: .85rem; font-weight: 500; }
.f-auth .plates { display: inline-flex; gap: 8px; }
.f-auth[hidden] { display: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 176, 32, .6); } 70% { box-shadow: 0 0 0 10px rgba(255, 176, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0); } }

.status { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 500; color: var(--text-2); }
.status .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.status.open .dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); }
.status.closed .dot { background: var(--closed); box-shadow: 0 0 0 4px rgba(251, 146, 60, .18); }

/* ============ Header ============ */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 70; padding-top: calc(12px + env(safe-area-inset-top)); pointer-events: none; }
.header-bar { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; padding: 0 10px 0 12px; border-radius: 999px; transition: background .4s, box-shadow .4s; }
.site-header.scrolled .header-bar { background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; font-weight: 600; letter-spacing: -.02em; font-size: 1.02rem; }
.brand-mark { display: grid; flex: none; transition: transform .5s var(--ease); }
.brand-logo, .f-logo, .nf-logo { filter: brightness(1.35) saturate(1.12) drop-shadow(0 0 10px rgba(110, 140, 255, .35)) drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.brand-logo { display: block; width: auto; height: 42px; }
.brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) { position: relative; padding: 8px 14px; border-radius: 999px; color: var(--text-2); font-size: .92rem; font-weight: 500; text-decoration: none; transition: color .3s, background .3s; }
.nav a:not(.btn).active { color: var(--text); background: rgba(255, 255, 255, .1); }
.nav .btn { min-height: 42px; margin-left: 8px; padding: .55em 1.2em; font-size: .9rem; }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; background: none; border: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--text); }
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ============ Language switch (EN | தமிழ்) ============ */
.lang-switch { display: inline-flex; flex: none; gap: 2px; margin-left: 14px; padding: 3px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .06); }
.lang-switch button {
  min-width: 44px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2);
  font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; transition: background .3s, color .3s;
}
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

/* ============ Tamil typography ============
   Tamil letters are wider and carry marks above and below, so: no tight tracking, more line height, no capitals. */
html.lang-ta:not(.ready) body { visibility: hidden; }
html[lang="ta"] body { line-height: 1.75; }
html[lang="ta"] h1, html[lang="ta"] h2, html[lang="ta"] h3, html[lang="ta"] h4 { letter-spacing: 0; line-height: 1.32; }
html[lang="ta"] h1 { font-size: clamp(1.6rem, 2.6vw + .9rem, 2.55rem); line-height: 1.3; }
html[lang="ta"] h2 { font-size: clamp(1.45rem, 2.4vw + .8rem, 2.35rem); }
html[lang="ta"] .kicker, html[lang="ta"] .tile-label, html[lang="ta"] .visit-info h3, html[lang="ta"] .footer-grid h4 { letter-spacing: .02em; text-transform: none; }
html[lang="ta"] .tile-label { font-size: .74rem; }
html[lang="ta"] .lead { line-height: 1.8; }
html[lang="ta"] .why-big { line-height: 1.25; }
html[lang="ta"] .tab { font-size: .9rem; }
html[lang="ta"] .btn { line-height: 1.4; }
html[lang="ta"] .nav a:not(.btn) { padding-inline: 11px; font-size: .9rem; }

/* ============ Entrance animations ============ */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(34px) scale(.95); } to { opacity: 1; transform: none; } }
.rise { animation: rise .9s var(--ease) backwards; animation-delay: var(--d, 0ms); }
.js .reveal { opacity: 0; }
.js .reveal.in { opacity: 1; animation: rise .85s var(--ease) backwards; animation-delay: var(--d, 0ms); }

/* ============ Hero ============ */
.hero { position: relative; padding: 150px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hl { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; white-space: nowrap; }
.lead { max-width: 54ch; font-size: clamp(1.02rem, .5vw + .95rem, 1.16rem); color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.loc { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; color: var(--text-2); text-decoration: none; }

.bento-wrap { position: relative; }
.bento { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.5fr 1fr 1fr 1fr; gap: 14px; height: 760px; }
.tile { border-radius: var(--radius-lg); overflow: hidden; animation: pop 1s var(--ease) backwards; animation-delay: var(--d, 0ms); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.tile-tv { grid-column: 1 / -1; }
.tile-fridge { grid-row: 2 / span 2; }
.tile-label {
  position: absolute; left: 18px; top: 18px; z-index: 3; padding: 5px 11px; border-radius: 999px; background: rgba(8, 11, 18, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .18);
  font-size: .64rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .9);
}
.tile-art { position: absolute; inset: 8px; z-index: 0; overflow: hidden; border-radius: calc(var(--radius-lg) - 8px); background: #0d1220; }
.tile-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ph { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(255, 255, 255, .5); }
.ph svg { width: 34%; height: 34%; }

/* ============ Sections ============ */
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 5vw, 52px); }
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--accent); }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { display: flex; flex-direction: column; gap: 8px; min-height: 250px; padding: 26px 24px 28px; transition: transform .6s var(--ease); }
.why-big { display: block; margin-bottom: auto; padding-bottom: 32px; font-size: clamp(2.4rem, 3vw + 1rem, 3.4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .4)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.why-card h3 { margin: 0; }
.why-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Service tabs */
.tabs { position: relative; display: flex; gap: 2px; width: max-content; max-width: 100%; padding: 6px; overflow-x: auto; border-radius: 999px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab-indicator { position: absolute; z-index: 0; top: 0; left: 0; width: 0; height: 0; border-radius: 999px; background: linear-gradient(180deg, #ffc247, var(--accent)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 8px 24px -8px rgba(255, 176, 32, .7); }
.tab-indicator.ready { transition: transform .55s var(--ease), width .55s var(--ease), height .55s var(--ease); }
.tab { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; transition: color .35s; }
.tab svg { width: 18px; height: 18px; }
.tab[aria-selected="true"] { color: var(--accent-ink); }

.tab-panels { display: grid; margin-top: 26px; }
.tab-panel { grid-area: 1 / 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(22px, 4vw, 60px); align-items: center; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.99); transition: opacity .5s var(--ease), transform .7s var(--ease), visibility .5s; }
.tab-panel.active { opacity: 1; visibility: visible; transform: none; }
.panel-media { padding: 10px; border-radius: var(--radius-lg); }
.frame-img { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: calc(var(--radius-lg) - 10px); background: #0d1220; }
.frame-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel-copy h3 { margin-bottom: .4em; font-size: clamp(1.7rem, 2.4vw + 1rem, 2.6rem); font-weight: 600; letter-spacing: -.04em; }
.panel-desc { color: var(--text-2); font-size: 1.02rem; }
.faults { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.faults li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--text-2); font-size: .85rem; font-weight: 500; }
.modes { margin-bottom: 24px; color: var(--muted); font-size: .88rem; }

.featured-list { display: grid; gap: 12px; margin-top: 36px; }
.feature-banner { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; padding: 12px 12px 12px 14px; border-radius: 999px; }
.feature-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.feature-text { flex: 1 1 220px; min-width: 0; }
.feature-text h3 { margin: 0; font-size: 1rem; color: var(--accent-2); }
.feature-text p { margin: 0; color: var(--text-2); font-size: .9rem; line-height: 1.4; }

.more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; margin-top: 40px; }
.more-item { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.more-item .icon { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); color: var(--text); transition: background .3s, color .3s, transform .4s var(--ease); }
.more-item h3 { margin: 0; font-size: 1rem; }
.more-item p { grid-column: 2; margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }

/* Brands marquee */
.marquee { overflow: hidden; padding: 12px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: scroll 48s linear infinite; }
.marquee ul { display: flex; flex: none; list-style: none; }
.marquee li { display: flex; align-items: center; padding-right: 48px; white-space: nowrap; font-size: clamp(1.4rem, 2.6vw + .6rem, 2.3rem); font-weight: 600; letter-spacing: -.035em; color: rgba(255, 255, 255, .32); transition: color .3s; }
.marquee li::after { content: ""; width: 7px; height: 7px; margin-left: 48px; border-radius: 50%; background: var(--accent); opacity: .8; }
@keyframes scroll { to { transform: translateX(-50%); } }
.brands-all { margin: 22px 0 0; font-weight: 500; color: var(--text-2); }
.brands-all:empty { display: none; }
.brands-all::before { content: "→ "; color: var(--accent); }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { padding: 26px 24px 28px; }
.steps .num { display: block; margin-bottom: 26px; font-size: 3.4rem; font-weight: 600; line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .4); }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Booking */
.book-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); padding: clamp(24px, 5vw, 64px); border-radius: 36px; }
.book-card > * { position: relative; z-index: 3; }
.book-card h2 { font-size: clamp(1.7rem, 2.6vw + .9rem, 2.6rem); }
.book-card a { color: var(--accent); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; color-scheme: dark; }
.field { display: grid; gap: 7px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 500; color: var(--text-2); }
.opt { font-weight: 400; opacity: .6; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 13px 15px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px;
  background: rgba(5, 7, 12, .35); color: var(--text); font: inherit; font-size: 1rem; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .34); }
.field select option { color: #0e1220; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(5, 7, 12, .5); box-shadow: 0 0 0 4px rgba(255, 176, 32, .2); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #ff7a59; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.form-note { margin: 0; min-height: 1.4em; font-size: .9rem; color: var(--accent-2); }

/* Reviews */
.review-track { display: flex; gap: 16px; margin: 0 -2px; padding: 4px 2px 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.review-track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(390px, 86%); display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 28px; scroll-snap-align: start; }
.review > * { position: relative; z-index: 3; }
.review .stars { color: var(--accent); letter-spacing: 3px; font-size: 1.05rem; }
.review blockquote { flex: 1; margin: 0; color: var(--text); font-size: 1.1rem; line-height: 1.55; letter-spacing: -.01em; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review .avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(180deg, #ffc247, var(--accent)); color: var(--accent-ink); font-weight: 700; }
.review figcaption strong { display: block; font-weight: 600; line-height: 1.25; }
.review figcaption small { color: var(--muted); font-size: .8rem; }
.review-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.review-count { color: var(--muted); font-size: .9rem; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.review-count #review-now { color: var(--text); }
.review-arrows { display: flex; gap: 10px; }
.arrow-btn { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; color: var(--text); font: inherit; font-size: 1.1rem; cursor: pointer; }
.arrow-btn > * { position: relative; z-index: 3; }
.arrow-btn:disabled { opacity: .35; cursor: default; }
.review-controls .listing-btns { margin-left: auto; }
.reviews-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 28px; padding: clamp(22px, 4vw, 40px); }
.reviews-cta > * { position: relative; z-index: 3; }
.reviews-cta p { flex: 1 1 260px; max-width: 36ch; margin: 0; font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; }
.listing-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Visit */
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; align-items: stretch; }
.visit-info { padding: clamp(24px, 4vw, 44px); }
.visit-info > * { position: relative; z-index: 3; }
.visit-info h3 { margin: 30px 0 10px; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.visit-info h3:first-child { margin-top: 0; }
.visit-info a:not(.btn) { text-underline-offset: 3px; }
address { margin-bottom: 16px; font-style: normal; font-size: 1.05rem; color: var(--text-2); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hours { width: 100%; max-width: 400px; border-collapse: collapse; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; color: var(--text-2); }
.hours td { text-align: right; }
.hours th::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: transparent; }
.hours tr.today th, .hours tr.today td { font-weight: 600; color: var(--text); }
.hours tr.today th::before { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.map-wrap { position: relative; min-height: 440px; padding: 8px; border-radius: var(--radius-lg); }
.map-wrap iframe { position: absolute; inset: 8px; z-index: 0; width: calc(100% - 16px); height: calc(100% - 16px); border: 0; border-radius: calc(var(--radius-lg) - 8px); filter: invert(.92) hue-rotate(180deg) saturate(.7) brightness(.95) contrast(.95); }

/* Footer */
.site-footer { padding: 24px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer-panel { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); }
.footer-panel > * { position: relative; z-index: 3; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.f-lockup { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; margin: 0 0 14px; }
.f-logo { display: block; width: auto; height: 64px; }
.f-word { padding-left: .44em; font-size: .74rem; font-weight: 600; letter-spacing: .44em; text-transform: uppercase; color: var(--text-2); }
.footer-grid h4 { margin-bottom: 12px; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.f-links { list-style: none; display: grid; gap: 4px; }
.f-links a { display: inline-block; padding: 6px 0; color: var(--text-2); text-decoration: none; transition: color .25s; }
.footer-bottom { display: grid; gap: 4px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.footer-bottom p { margin: 0; }
.credits a { text-underline-offset: 3px; }

.wa-float {
  position: fixed; z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(37, 211, 102, .45); transition: transform .3s var(--ease);
}
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.8s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ============ Mouse-only hover effects (so touch screens never get "stuck" hovers) ============ */
@media (hover: hover) and (pointer: fine) {
  .glass:hover::after { opacity: 1; }
  .btn:hover { transform: translateY(-2px); }
  .btn-accent:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 16px 36px -10px rgba(255, 176, 32, .85); }
  .btn-glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
  .btn:hover .arrow { transform: translateX(5px); }
  .brand:hover .brand-mark { transform: scale(1.05); }
  .nav a:not(.btn):hover { color: var(--text); background: rgba(255, 255, 255, .07); }
  .tab:not([aria-selected="true"]):hover { color: var(--text); }
  .tile:hover { transform: translateY(-6px); }
  .tile:hover .tile-art img { transform: scale(1.06); }
  .why-card:hover { transform: translateY(-6px); }
  .more-item:hover .icon { background: var(--accent); color: var(--accent-ink); transform: rotate(-8deg); }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  .marquee li:hover { color: #fff; }
  .f-links a:hover { color: var(--accent); }
  .wa-float:hover { transform: scale(1.08); }
}

/* ============ Narrow desktop: keep the header on one line ============ */
@media (min-width: 901px) and (max-width: 1130px) {
  .nav { gap: 0; }
  .nav a:not(.btn) { padding-inline: 8px; font-size: .86rem; }
  .nav .btn { margin-left: 6px; padding: .5em 1em; white-space: nowrap; }
  .lang-switch { margin-left: 8px; }
}
/* Tamil words are longer, so in Tamil the phone-style menu is used up to 1130px wide */
@media (min-width: 901px) and (max-width: 1130px) {
  html[lang="ta"] .nav-toggle { display: flex; }
  html[lang="ta"] .lang-switch { margin-left: auto; margin-right: 4px; }
  html[lang="ta"] .nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; margin-left: 0; padding: 12px; border-radius: 26px;
    background: linear-gradient(145deg, rgba(40, 46, 62, .96), rgba(18, 22, 32, .97)); border: 1px solid rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top center; transition: opacity .3s, transform .4s var(--ease), visibility .3s;
  }
  html[lang="ta"] .nav.open { opacity: 1; visibility: visible; transform: none; }
  html[lang="ta"] .nav a:not(.btn) { display: flex; align-items: center; min-height: 50px; padding: 0 16px; font-size: 1.05rem; border-radius: 16px; }
  html[lang="ta"] .nav .nav-cta { margin: 8px 0 0; min-height: 52px; font-size: 1rem; }
}

/* ============ Tablet ============ */
@media (max-width: 1000px) {
  .why-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .more { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --gutter: 18px; --blur: 18px; }
  /* smaller, softer glow on small screens so text keeps its contrast */
  .aurora span { opacity: .8; }
  .aurora .o1 { width: 480px; height: 480px; left: -180px; top: -120px; }
  .aurora .o2 { width: 540px; height: 540px; right: -240px; top: 34vh; }
  .aurora .o3 { width: 480px; height: 480px; left: 5vw; bottom: -220px; }
  .hero { padding: 116px 0 56px; }
  .hero-grid, .book-card, .visit-grid, .tab-panel { grid-template-columns: 1fr; }
  .bento { height: clamp(560px, 150vw, 740px); gap: 12px; }
  .tab-panel { gap: 20px; }
  .tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 100%; overflow: visible; border-radius: 28px; }
  .tab { justify-content: center; padding: 0 12px; }
  .map-wrap { min-height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }

  /* Mobile menu */
  .nav-toggle { display: flex; }
  .nav { margin-left: 0; }
  .lang-switch { margin-left: auto; margin-right: 4px; }
  .nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; border-radius: 26px;
    background: linear-gradient(145deg, rgba(40, 46, 62, .96), rgba(18, 22, 32, .97)); border: 1px solid rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top center; transition: opacity .3s, transform .4s var(--ease), visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { display: flex; align-items: center; min-height: 50px; padding: 0 16px; font-size: 1.05rem; border-radius: 16px; }
  .nav .nav-cta { margin: 8px 0 0; min-height: 52px; font-size: 1rem; }
}

/* ============ Phones ============ */
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .site-header { padding-top: calc(8px + env(safe-area-inset-top)); }
  .lang-switch { margin-right: 0; padding: 2px; }
  .lang-switch button { min-width: 38px; min-height: 34px; padding: 0 9px; font-size: .78rem; }
  .header-bar { height: 58px; padding-left: 10px; }
  .brand-logo { height: 38px; }
  .hero { padding: 98px 0 44px; }
  .pill { margin-bottom: 18px; font-size: .76rem; }
  .hero-actions { margin: 24px 0 22px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .bento { gap: 10px; }
  .tile { border-radius: 24px; }
  .tile-art { border-radius: 17px; }
  .tile-label { left: 14px; top: 14px; font-size: .58rem; }

  .why-grid, .steps, .more { grid-template-columns: 1fr; }
  .why-card { min-height: 0; }
  .why-big { padding-bottom: 18px; }
  .steps .num { font-size: 2.6rem; margin-bottom: 14px; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 100%; overflow: visible; border-radius: 28px; }
  .tab { justify-content: center; padding: 0 12px; font-size: .9rem; }
  .panel-copy .btn { width: 100%; }
  .feature-banner { flex-direction: column; align-items: stretch; border-radius: 28px; padding: 14px; }
  .feature-banner .logo-plate, .feature-banner .feature-icon { align-self: flex-start; }
  .feature-text { flex: 0 0 auto; }
  .feature-banner .btn { width: 100%; }
  .marquee li { padding-right: 32px; }
  .marquee li::after { margin-left: 32px; }

  .book-card { border-radius: 28px; }
  .form { grid-template-columns: 1fr; gap: 14px; }
  .form-actions .btn { flex: 1 1 100%; }
  .reviews-cta .listing-btns, .reviews-cta .btn { width: 100%; }
  .review { padding: 24px; }
  .review-controls .listing-btns, .review-controls .btn { width: 100%; margin-left: 0; }
  .map-wrap { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float { width: 54px; height: 54px; }
}

@media (max-width: 360px) {
  .brand-name { font-size: .95rem; }
  .tab svg { display: none; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; width: auto; }
  .marquee ul[aria-hidden="true"] { display: none; }
  .marquee ul { flex-wrap: wrap; padding: 0 var(--gutter); }
}
