/* ==========================================================
   Delivery Star — public website
   Palette pulled from the logo: star red + charcoal,
   warmed up with cream and a turmeric accent.
   ========================================================== */
:root {
    --red: #e0262d;
    --red-dark: #b81a20;
    --red-soft: #fde8e7;
    --ink: #1f1b18;
    --ink-2: #4a4440;
    --muted: #7b736d;
    --cream: #fff8f0;
    --cream-2: #fbeee0;
    --turmeric: #ffb320;
    --leaf: #1f9d55;
    --card: #ffffff;
    --line: #efe3d6;
    --radius: 20px;
    --shadow: 0 10px 30px rgba(60, 30, 10, .08);
    --shadow-lg: 0 24px 60px rgba(60, 30, 10, .16);
    --display: 'Bricolage Grotesque', system-ui, sans-serif;
    --body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
    margin: 0;
    font-family: var(--body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 26px; border-radius: 999px; border: 0;
    font: 700 15px/1 var(--body); cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(224, 38, 45, .3); }
.btn-primary:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.link-muted { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.link-muted:hover { color: var(--red); }
.link-arrow { font-weight: 700; color: var(--red); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 248, 240, .85);
    backdrop-filter: saturate(1.4) blur(12px);
    transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(60, 30, 10, .08); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand img { height: 46px; width: auto; }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { font-weight: 600; font-size: 15px; color: var(--ink-2); position: relative; }
.main-nav a::after {
    content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
    background: var(--red); transition: width .25s;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.main-nav .nav-mobile-only { display: none; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 90px; overflow: hidden; }
.hero-glow {
    position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
    background: radial-gradient(circle, rgba(255, 179, 32, .35), transparent 60%),
                radial-gradient(circle at 70% 60%, rgba(224, 38, 45, .22), transparent 55%);
    filter: blur(20px); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.pill {
    display: inline-flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--ink-2);
    box-shadow: var(--shadow);
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(31, 157, 85, .6); animation: ping 1.8s infinite; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(31, 157, 85, 0); } }
.hero h1 { font-size: clamp(34px, 5.6vw, 72px); font-weight: 800; margin: 22px 0 12px; text-wrap: balance; }
.hero h1 em {
    font-style: normal; color: var(--red); position: relative; white-space: nowrap;
    background: linear-gradient(transparent 70%, rgba(255, 179, 32, .45) 70%);
}
.tamil { font-family: 'Noto Sans Tamil', var(--body); font-weight: 600; font-size: 20px; color: var(--ink-2); margin-bottom: 14px; }
.lead { font-size: 18px; color: var(--muted); max-width: 520px; }

.pin-check {
    margin-top: 30px; display: flex; align-items: center; gap: 10px;
    background: #fff; border-radius: 999px; padding: 8px 8px 8px 20px;
    max-width: 480px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.pin-check svg { width: 22px; height: 22px; color: var(--red); flex: none; }
/* Store badges sit in the hero, just above the pin-code box */
.hero-stores { margin-top: 26px; }
.hero-stores + .pin-check { margin-top: 18px; }
.pin-check input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: none;
    font: 600 16px var(--body); color: var(--ink); letter-spacing: .04em;
}
.pin-check input::placeholder { color: #b3aaa3; letter-spacing: 0; font-weight: 500; }
.pin-result { min-height: 24px; margin: 12px 0 0 20px; font-size: 14px; font-weight: 600; }
.pin-result.ok { color: var(--leaf); }
.pin-result.no { color: var(--red-dark); }

.hero-trust { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 22px; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--display); font-size: 22px; }
.hero-trust span { font-size: 13px; color: var(--muted); }

/* Phone mockup */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone {
    width: 290px; height: 590px; background: var(--ink); border-radius: 46px; padding: 12px;
    box-shadow: var(--shadow-lg), inset 0 0 0 2px #3a3431;
    transform: rotate(-4deg); position: relative;
    animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: rotate(-4deg) translateY(-12px); } }
.phone-notch { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 90px; height: 24px; background: var(--ink); border-radius: 20px; z-index: 2; }
.screen { background: var(--cream); height: 100%; border-radius: 36px; padding: 50px 16px 16px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; position: relative; }
.app-top { display: flex; justify-content: space-between; align-items: center; }
.app-top small { display: block; font-size: 10px; color: var(--muted); }
.app-top b { font-size: 13px; }
.app-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.app-search { background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 12px; color: var(--muted); border: 1px solid var(--line); }
.app-chips { display: flex; gap: 6px; }
.app-chips span { font-size: 10px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); white-space: nowrap; }
.app-chips .on { background: var(--ink); color: #fff; border-color: var(--ink); }
.app-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.app-card-img { height: 118px; background: var(--cream-2) center/cover; }
.app-card-img--fallback { display: grid; place-items: center; font-size: 48px; background: linear-gradient(135deg, #ffd89b, #ff9f68); }
.app-card-body { padding: 10px 12px 12px; }
.app-card-body b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-card-body small { display: block; font-size: 10px; color: var(--muted); }
.app-meta { display: flex; gap: 10px; font-size: 10px; margin-top: 6px; color: var(--ink-2); font-weight: 600; }
.app-meta .rate { background: var(--leaf); color: #fff; padding: 1px 6px; border-radius: 6px; }
.app-card--ghost { display: flex; }
.app-card--ghost .app-card-img { width: 70px; height: 64px; font-size: 28px; flex: none; }
.app-card--ghost .app-card-body { flex: 1; }
.skel { height: 10px; background: var(--cream-2); border-radius: 6px; margin: 6px 0; }
.skel.short { width: 60%; }
.app-cart { margin-top: auto; background: var(--red); color: #fff; border-radius: 14px; padding: 12px 14px; font-size: 12px; font-weight: 700; display: flex; justify-content: space-between; }

.float-card {
    position: absolute; background: #fff; border-radius: 16px; padding: 12px 16px;
    box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: 13px;
    animation: floaty2 5s ease-in-out infinite;
}
@keyframes floaty2 { 50% { transform: translateY(-8px); } }
.float-card b { display: block; font-size: 14px; }
.float-card small { color: var(--muted); font-size: 12px; }
.fc-icon { font-size: 26px; }
.fc-track { left: -10px; bottom: 110px; animation-delay: -1s; }
.track-bar { margin-top: 6px; width: 140px; height: 5px; border-radius: 5px; background: var(--cream-2); overflow: hidden; }
.track-bar i { display: block; height: 100%; width: 65%; background: var(--leaf); border-radius: 5px; animation: track 3s ease-in-out infinite alternate; }
@keyframes track { from { width: 30%; } to { width: 85%; } }
.fc-offer {
    right: 0; top: 70px; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--turmeric); animation-delay: -2.5s;
}
.fc-offer b { font-family: var(--display); font-size: 24px; }
.fc-offer small { color: var(--ink); }
.fc-paid { right: 10px; bottom: 40px; font-weight: 700; animation-delay: -3.5s; }
.tick { width: 22px; height: 22px; border-radius: 50%; background: var(--leaf); color: #fff; display: grid; place-items: center; font-size: 12px; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: #fff; padding: 18px 0; overflow: hidden; transform: rotate(-1.2deg); margin: 0 -20px; }
.marquee-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 24s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--display); font-weight: 600; font-size: 22px; white-space: nowrap; }
.marquee-track span em { font-style: normal; margin-right: 4px; }
.marquee-track .tamil-tick { font-family: 'Noto Sans Tamil', var(--body); font-size: 19px; color: var(--turmeric); }
.marquee-track i { color: var(--turmeric); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 44px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2, .why h2, .download h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--red); margin-bottom: 10px; }
.eyebrow.light { color: var(--turmeric); }

/* Offers */
.offers { padding-bottom: 20px; }
.offer-row { display: flex; gap: 18px; overflow-x: auto; padding: 6px 0 24px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.offer-row::-webkit-scrollbar { display: none; }
.offer-ticket {
    flex: 0 0 min(300px, 82%); scroll-snap-align: start; display: flex; background: #fff;
    border-radius: 18px; box-shadow: 0 6px 16px rgba(60, 30, 10, .07); overflow: hidden; position: relative;
}
.ot-left {
    background: var(--red); color: #fff; padding: 18px 20px; display: flex; flex-direction: column;
    justify-content: center; align-items: center; position: relative;
    border-right: 2px dashed rgba(255,255,255,.6);
}
.ot-left b { font-family: var(--display); font-size: 30px; line-height: 1; }
.ot-left small { font-weight: 700; letter-spacing: .15em; font-size: 11px; }
.ot-right { padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.ot-right strong { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ot-right span { font-size: 13px; color: var(--muted); }
.offer-ticket:nth-child(3n+2) .ot-left { background: var(--ink); }
.offer-ticket:nth-child(3n+3) .ot-left { background: #f08a00; }

/* ---------- How it works: scroll-driven phone walkthrough ---------- */
.walk { padding: 100px 0 20px; }
.walk-sub { color: var(--muted); margin-top: 10px; }
.walk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.walk-steps { padding: 6vh 0 22vh; }
.walk-step {
    min-height: 68vh; display: flex; flex-direction: column; justify-content: center;
    opacity: .28; transition: opacity .4s;
}
.walk-step.active { opacity: 1; }
.walk-lap {
    width: fit-content; font-family: var(--display); font-weight: 800; font-size: 15px;
    font-variant-numeric: tabular-nums; color: var(--red); background: var(--red-soft);
    padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.walk-step h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin-bottom: 12px; }
.walk-step p { font-size: 18px; color: var(--muted); max-width: 440px; }

.walk-stage { position: relative; }
.walk-sticky {
    position: sticky; top: calc(50vh - 300px); height: 600px;
    display: flex; align-items: center; justify-content: center;
}
.walk-phone { animation: none; transform: none; }

.stopwatch {
    position: absolute; left: 0; top: 60px; width: 140px; height: 140px; z-index: 2;
    background: #fff; border-radius: 50%; box-shadow: var(--shadow-lg);
}
.stopwatch svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.stopwatch circle { fill: none; stroke-width: 8; }
.sw-track { stroke: var(--cream-2); }
.sw-ring { stroke: var(--red); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke .3s; }
.sw-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sw-face b { font-family: var(--display); font-size: 32px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.sw-face small { font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.sw-crown { position: absolute; top: -10px; left: 50%; translate: -50% 0; width: 22px; height: 12px; border-radius: 4px 4px 0 0; background: var(--ink); }
.walk.done .sw-ring { stroke: var(--leaf); }
.walk.done .stopwatch { animation: swPop .5s ease; }
@keyframes swPop { 50% { transform: scale(1.08); } }

/* Walkthrough app screens */
.ws {
    position: absolute; inset: 50px 16px 16px; display: flex; flex-direction: column; gap: 10px;
    opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .45s, transform .45s; pointer-events: none;
}
.ws.active { opacity: 1; transform: none; }
.ws-row { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 3px 10px rgba(0,0,0,.05); }
.ws-row b { display: block; font-size: 12px; }
.ws-row small { font-size: 10px; color: var(--muted); }
.ws-thumb { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; flex: none; }
.ws-thumb.t0 { background: linear-gradient(135deg, #ffd89b, #ff9f68); }
.ws-thumb.t1 { background: linear-gradient(135deg, #ffc3a0, #ff6b6b); }
.ws-thumb.t2 { background: linear-gradient(135deg, #d4fc79, #96e6a1); }
.ws-head { padding: 2px 2px 4px; }
.ws-head b { display: block; font-size: 15px; }
.ws-head small { font-size: 11px; color: var(--muted); }
.ws-item { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 12px; padding: 10px 12px; }
.ws-item b { display: block; font-size: 12px; }
.ws-item small { font-size: 11px; color: var(--ink-2); font-weight: 600; }
.ws-item em { display: inline-block; font-style: normal; font-size: 9px; font-weight: 800; background: var(--turmeric); padding: 1px 6px; border-radius: 6px; margin-left: 6px; }
.ws-item i { display: inline-block; width: 10px; height: 10px; border: 1.5px solid; border-radius: 2px; margin-bottom: 3px; position: relative; }
.ws-item i::after { content: ''; position: absolute; inset: 1.5px; border-radius: 50%; background: currentColor; }
.ws-item i.v { color: var(--leaf); }
.ws-item i.nv { color: #b3261e; }
.ws-qty, .ws-add { font-size: 11px; font-weight: 800; color: var(--red); border: 1.5px solid var(--red); border-radius: 8px; padding: 4px 8px; white-space: nowrap; }
.ws-qty { background: var(--red-soft); }
.ws-opt { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; font-size: 12px; font-weight: 600; }
.ws-opt i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #cfc4b9; }
.ws-opt.on { border-color: var(--red); }
.ws-opt.on i { border: 4px solid var(--red); }
.ws .app-cart { margin-top: auto; }
.ws-done { align-items: center; justify-content: center; text-align: center; gap: 6px; }
.ws-done > b { font-family: var(--display); font-size: 22px; margin-top: 12px; }
.ws-done > small { font-size: 12px; color: var(--muted); }
.ws-check { width: 88px; height: 88px; border-radius: 50%; background: var(--leaf); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(31,157,85,.35); transform: scale(.6); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.ws-check svg { width: 52px; height: 52px; }
.ws-check path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .5s .25s; }
.ws-done.active .ws-check { transform: none; }
.ws-done.active .ws-check path { stroke-dashoffset: 0; }
.ws-eta { margin-top: 18px; background: #fff; border-radius: 12px; padding: 10px 16px; font-size: 12px; }

/* ---------- Delivery journey: pinned road that draws on scroll ---------- */
.journey { position: relative; height: 240vh; background: var(--cream-2); }
.journey-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.journey-sticky .wrap { width: min(1200px, 100% - 32px); }
.journey-map { position: relative; aspect-ratio: 1200 / 320; margin-top: 40px; }
.journey-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.road-base, .road-line { fill: none; stroke-linecap: round; }
.road-base { stroke: #fff; stroke-width: 22; }
.road-line { stroke: var(--red); stroke-width: 6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.rider {
    position: absolute; left: 3.3%; top: 72%; z-index: 3; width: 56px; height: 56px; margin: -28px 0 0 -28px;
    display: grid; place-items: center; font-size: 30px; background: #fff; border-radius: 50%;
    box-shadow: 0 10px 24px rgba(60,30,10,.2);
    transition: opacity .3s, transform .3s;
}
.rider.arrived { opacity: 0; transform: scale(.5); }
/* Before JS maps the stops onto the road they fall back to a simple row */
.journey-stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.journey-map.mapped .journey-stops { display: block; }
.journey-map.mapped .stop { position: absolute; width: 0; height: 0; }
.stop-dot {
    display: grid; place-items: center; width: 48px; height: 48px; font-size: 22px;
    background: #fff; border: 3px solid var(--line); border-radius: 50%;
    transition: border-color .3s, transform .3s, background .3s;
}
.journey-map.mapped .stop-dot { position: absolute; left: -24px; top: -24px; }
.stop-text { display: block; width: 170px; text-align: center; opacity: .45; transition: opacity .3s; }
.journey-map.mapped .stop-text { position: absolute; left: -85px; top: 36px; }
.journey-map.mapped .stop.above .stop-text { top: auto; bottom: 36px; }
.stop-text b { display: block; font-size: 15px; }
.stop-text small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.stop.on .stop-dot { border-color: var(--leaf); transform: scale(1.12); }
.stop.on .stop-text { opacity: 1; }

/* Restaurants */
.restaurants { background: #fff; border-radius: 40px 40px 0 0; }
.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.res-card { border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.res-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.res-img { position: relative; aspect-ratio: 16/10; background: var(--cream-2); overflow: hidden; }
.res-img img { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
/* Shown when a restaurant has no image or it fails to load */
.res-img::before {
    content: attr(data-initial); position: absolute; inset: 0; display: grid; place-items: center;
    font-family: var(--display); font-size: 64px; font-weight: 800; color: rgba(255,255,255,.9);
    background: linear-gradient(135deg, #ff9f68, var(--red));
}
.res-card:nth-child(3n+2) .res-img::before { background: linear-gradient(135deg, #ffd166, #f08a00); }
.res-card:nth-child(3n+3) .res-img::before { background: linear-gradient(135deg, #4a4440, var(--ink)); }
.res-card:hover .res-img img { transform: scale(1.06); }
.res-offer {
    position: absolute; left: 0; bottom: 0; right: 0; padding: 28px 14px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-weight: 800; font-size: 15px;
}
.res-new { position: absolute; top: 12px; left: 12px; background: var(--turmeric); color: var(--ink); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.res-body { padding: 16px 18px 18px; }
.res-title { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.res-title h3 { font-size: 18px; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.res-rating { flex: none; background: var(--leaf); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 8px; }
.res-cuisine { color: var(--muted); font-size: 14px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-2); font-weight: 600; }
.veg { color: var(--leaf); display: inline-flex; align-items: center; gap: 5px; }
.veg i { width: 12px; height: 12px; border: 1.5px solid var(--leaf); border-radius: 2px; display: grid; place-items: center; }
.veg i::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }

/* Why us */
.why { background: var(--ink); color: #fff; }
.why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.why-intro p { color: #c9c0b8; font-size: 18px; margin: 18px 0 28px; }
.why-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card { background: #2b2622; border: 1px solid #3a3430; border-radius: 18px; padding: 24px 20px; transition: background .3s, transform .3s; }
.why-card:hover { background: #342e29; transform: translateY(-4px); }
.why-card span { font-size: 28px; }
.why-card h3 { font-size: 18px; margin: 12px 0 6px; font-family: var(--body); letter-spacing: 0; }
.why-card p { font-size: 14px; color: #a9a097; }

/* Cities */
.city-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.city-card {
    border-radius: var(--radius); padding: 34px 28px; min-height: 170px; color: #fff;
    display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden;
    transition: transform .3s;
}
.city-card:hover { transform: translateY(-6px) rotate(-.5deg); }
.city-card::before { content: '★'; position: absolute; right: -10px; top: -30px; font-size: 150px; opacity: .15; }
.city-card h3 { font-size: 30px; font-weight: 800; }
.city-card p { opacity: .85; font-weight: 600; }
.city-card.c0 { background: linear-gradient(135deg, #e0262d, #ff6b3d); }
.city-card.c1 { background: linear-gradient(135deg, #1f1b18, #4a4440); }
.city-card.c2 { background: linear-gradient(135deg, #f08a00, #ffb320); }
.city-card.c3 { background: linear-gradient(135deg, #1f9d55, #58c27d); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 50px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.stats div { padding: 30px 20px; text-align: center; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-family: var(--display); font-size: 40px; color: var(--red); }
.stats span { font-size: 14px; color: var(--muted); font-weight: 600; }

/* Partners */
.partners { padding-top: 0; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.partner-card { background: var(--turmeric); border-radius: 28px; padding: 44px 40px; position: relative; overflow: hidden; }
.partner-card.alt { background: var(--red-soft); }
.partner-emoji { display: inline-block; font-size: 52px; line-height: 1; margin-bottom: 14px; transform: rotate(-8deg); }
.partner-card h3 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.partner-card p { color: var(--ink-2); margin-bottom: 26px; max-width: 440px; }

/* Download */
.download { background: var(--red); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.download::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 50%, rgba(255,179,32,.45), transparent 45%); }
.download-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.download p { font-size: 18px; opacity: .9; margin: 12px 0 28px; }
.download-art { display: flex; gap: 10px; font-size: 56px; }
.download-art span { animation: floaty2 4s ease-in-out infinite; }
.download-art span:nth-child(2n) { animation-delay: -2s; }

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
    display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff;
    padding: 10px 18px; border-radius: 14px; transition: transform .2s;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn svg { width: 24px; height: 24px; }
.store-btn span { display: flex; flex-direction: column; font-weight: 700; font-size: 16px; line-height: 1.1; }
.store-btn small { font-size: 10px; font-weight: 500; opacity: .8; text-transform: uppercase; }
.store-btn.light { background: #fff; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: #171411; color: #bfb6ad; padding: 70px 0 30px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; }
.footer-brand img { height: 50px; width: auto; background: #fff; border-radius: 10px; padding: 6px 10px; }
.footer-brand p { margin: 18px 0 22px; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 14px; font-family: var(--body); letter-spacing: 0; }
.footer-col p { margin-bottom: 10px; }
.footer-col a { color: #fff; font-weight: 600; }
.footer-col a:hover { color: var(--turmeric); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col ul a { color: #bfb6ad; font-weight: 500; }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid #2c2622; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .res-grid { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
}
/* Tablet */
@media (max-width: 900px) {
    .header-inner { gap: 16px; height: 68px; }
    .brand img { height: 40px; }
    .header-actions { margin-left: auto; gap: 10px; }
    /* Mobile menu: drops down under the header, fully hidden when closed */
    .main-nav {
        position: fixed; top: 68px; left: 0; right: 0; margin: 0;
        flex-direction: column; gap: 0; background: var(--cream);
        padding: 8px 16px 20px; box-shadow: 0 20px 30px rgba(0,0,0,.08);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .25s, transform .25s, visibility .25s;
    }
    .main-nav.open { opacity: 1; visibility: visible; transform: none; }
    .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
    .main-nav a::after { display: none; }
    .main-nav .nav-mobile-only { display: block; }
    .main-nav .btn.nav-mobile-only { display: flex; margin-top: 16px; padding: 14px; color: #fff; border: 0; }
    .nav-toggle { display: block; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .link-muted { display: none; }
    html { scroll-padding-top: 80px; }

    .hero { padding: 28px 0 60px; }
    .hero-grid { grid-template-columns: 1fr; gap: 0; }
    .hero-visual { min-height: 0; padding: 20px 0 10px; width: 100%; max-width: 440px; margin-inline: auto; }
    /* Stacked layout: text → app card → trust row → phone image → pin-code check.
       The text column dissolves into the grid so the pin box can sit after the phone. */
    .hero-copy { display: contents; }
    .hero-visual { order: 1; margin-top: 16px; }
    .hero .hero-copy > .pin-check, .hero .hero-copy > .pin-result { order: 2; }
    .hero .hero-copy > .pin-check { margin-top: 8px; width: 100%; margin-inline: auto; }
    .hero .hero-copy > .pin-result { text-align: center; margin-inline: 0; }
    .fc-track { left: 0; bottom: 90px; }
    .fc-offer { right: 0; top: 60px; }
    .fc-paid { right: 0; bottom: 30px; }

    .section { padding: 70px 0; }
    .section-head { margin-bottom: 32px; }
    /* Walkthrough: phone + stopwatch pinned on top, steps scroll underneath */
    .walk { padding-top: 70px; }
    .walk-grid { grid-template-columns: 1fr; gap: 0; }
    .walk-stage {
        order: -1; position: sticky; top: 68px; z-index: 5;
        background: linear-gradient(var(--cream) 88%, rgba(255,248,240,0));
        padding-bottom: 18px;
    }
    .walk-sticky { position: static; height: auto; gap: 14px; padding-top: 14px; }
    .stopwatch { position: relative; left: auto; top: auto; width: 104px; height: 104px; flex: none; }
    .sw-face b { font-size: 24px; }
    .walk-phone { width: 240px; height: 490px; transform: scale(.6); transform-origin: top center; margin: 0 -48px -196px; }
    .walk-steps { padding: 0 0 12vh; }
    .walk-step { min-height: 52vh; text-align: center; align-items: center; }
    .walk-step p { font-size: 16px; }

    /* Journey: plain vertical timeline, no pinning */
    .journey { height: auto; padding: 70px 0; }
    .journey-sticky { position: static; height: auto; display: block; overflow: visible; }
    .journey-map { aspect-ratio: auto; margin: 10px auto 0; max-width: 520px; }
    .journey-svg { display: none; }
    .journey-stops { display: flex !important; flex-direction: column; gap: 0; position: relative; }
    .journey-stops::before, .journey-stops::after {
        content: ''; position: absolute; left: 22px; top: 24px; width: 4px; border-radius: 4px;
    }
    .journey-stops::before { bottom: 24px; background: #fff; }
    .journey-stops::after { height: calc((100% - 48px) * var(--p, 0)); background: var(--red); }
    .journey-map.mapped .stop { position: relative; width: auto; height: auto; left: auto !important; top: auto !important; }
    .stop { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 30px; }
    .stop:last-child { padding-bottom: 0; }
    .journey-map.mapped .stop-dot, .stop-dot { position: relative; left: 0; top: 0; flex: none; z-index: 1; }
    .journey-map.mapped .stop-text, .stop-text { position: static; width: auto; text-align: left; padding-top: 4px; }
    .rider { display: none; }
    .res-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .why-grid { gap: 36px; }
    .why-cards { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stats div:nth-child(2) { border-right: 0; }
    .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .partner-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
    .partner-card { padding: 32px 28px; }
    .partner-card h3 { font-size: 24px; }
    .download { padding: 64px 0; }
    .download-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
    .download-art { font-size: 40px; }
}

/* Large phones / small tablets */
@media (max-width: 680px) {
    /* Restaurants become a swipeable row instead of a very long list */
    .res-grid {
        display: grid; grid-auto-flow: column; grid-template-columns: none;
        grid-auto-columns: min(300px, 80%); gap: 14px;
        overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        margin: 0 -16px; padding: 4px 16px 20px; scroll-padding-inline: 16px;
    }
    .res-grid::-webkit-scrollbar { display: none; }
    .res-card { scroll-snap-align: start; }
    .res-card:hover { transform: none; }

    .partner-grid { grid-template-columns: 1fr; }
}

/* Phones */
@media (max-width: 560px) {
    .header-actions .btn-sm { display: none; }
    .pill { font-size: 12px; padding: 7px 12px; }
    .hero h1 { margin-top: 18px; }
    .tamil { font-size: 17px; }
    .lead { font-size: 16px; }
    .pin-check { flex-wrap: wrap; border-radius: 22px; padding: 14px; margin-top: 24px; }
    .pin-check input { flex: 1 1 60%; }
    .pin-check .btn { width: 100%; }
    /* Phone: the two badges share one full-width row */
    .hero-stores { margin-top: 22px; flex-wrap: nowrap; }
    .hero-stores .store-btn { flex: 1; justify-content: center; padding: 10px 12px; }
    .pin-result { margin-left: 6px; }
    .hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
    .hero-trust strong { font-size: 17px; }
    .hero-trust span { font-size: 12px; line-height: 1.35; }

    .hero-visual { max-width: 340px; }
    .phone { width: 240px; height: 490px; border-radius: 40px; padding: 10px; }
    .screen { border-radius: 32px; padding-top: 44px; }
    .app-card-img { height: 96px; }
    .float-card { padding: 10px 12px; font-size: 12px; }
    .float-card b { font-size: 13px; }
    .fc-track { bottom: 60px; }
    .track-bar { width: 110px; }
    .fc-offer { top: 40px; }
    .fc-offer b { font-size: 19px; }
    .fc-paid { display: none; }

    .marquee { padding: 14px 0; }
    .marquee-track span { font-size: 18px; }

    .section { padding: 56px 0; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 26px; }
    .section-head.center { align-items: center; }
    .restaurants { border-radius: 28px 28px 0 0; }

    .why-cards { gap: 12px; }
    .why-card { padding: 18px 16px; border-radius: 16px; }
    .why-card span { font-size: 24px; }
    .why-card h3 { font-size: 15px; margin: 8px 0 4px; }
    .why-card p { font-size: 13px; line-height: 1.45; }
    .why-intro p { font-size: 16px; }

    .city-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .city-card { min-height: 0; padding: 20px 16px; border-radius: 16px; }
    .city-card::before { font-size: 90px; top: -20px; }
    .city-card h3 { font-size: 20px; overflow-wrap: anywhere; }
    .city-card p { font-size: 13px; }
    .stats { margin-top: 28px; }
    .stats div { padding: 20px 12px; }
    .stats b { font-size: 30px; }
    .stats span { font-size: 13px; }

    .partner-card { padding: 28px 22px; border-radius: 22px; }
    .partner-emoji { font-size: 42px; }

    .download { padding: 52px 0; }
    .download p { font-size: 16px; }
    .download-art { font-size: 32px; gap: 6px; }

    .site-footer { padding-top: 50px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .footer-col p { font-size: 13px; }
    .footer-bottom { margin-top: 36px; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    .journey { height: auto; padding: 80px 0; }
    .journey-sticky { position: static; height: auto; }
}

/* ---------- Developer credit badge (footer) ---------- */
a.dev-credit {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 179, 32, .35);
    color: #e9e4df;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.dev-credit::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%);
    transform: translateX(-100%);
    animation: dev-credit-shine 3.5s ease-in-out infinite;
}
a.dev-credit:hover,
a.dev-credit:focus-visible {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    border-color: #ffb320;
    box-shadow: 0 8px 24px rgba(224, 38, 45, .35);
}
.dev-credit__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0262d, #ffb320);
    color: #fff;
    box-shadow: 0 0 0 0 rgba(255, 179, 32, .6);
    animation: dev-credit-pulse 2.4s ease-out infinite;
}
.dev-credit__label { opacity: .8; }
.dev-credit__site {
    font-weight: 700;
    letter-spacing: .2px;
    background: linear-gradient(90deg, #ffb320, #ff6a5f, #ffb320);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: dev-credit-gradient 4s linear infinite;
}
.dev-credit__arrow { transition: transform .25s ease; }
a.dev-credit:hover .dev-credit__arrow { transform: translateX(4px); }

@keyframes dev-credit-shine {
    0%, 60% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
@keyframes dev-credit-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 179, 32, .6); }
    70%, 100% { box-shadow: 0 0 0 10px rgba(255, 179, 32, 0); }
}
@keyframes dev-credit-gradient {
    to { background-position: 200% center; }
}
@media (max-width: 480px) {
    a.dev-credit { flex-wrap: wrap; justify-content: center; border-radius: 18px; padding: 8px 14px; }
}
@media (prefers-reduced-motion: reduce) {
    a.dev-credit::before, .dev-credit__icon, .dev-credit__site { animation: none; }
}

/* ==========================================================
   Time-of-day hero
   ========================================================== */
.daypart { margin-bottom: 14px; }
.daypart .tamil { margin-bottom: 8px; }
.daypart-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.daypart-row[hidden] { display: none; }
.daypart-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-right: 4px; }
.daypart-dishes { display: contents; }
.dish-chip {
    font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); color: var(--ink-2);
    transition: border-color .2s, color .2s, transform .2s;
}
.dish-chip:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.daypart.swap { animation: dpIn .6s ease; }
@keyframes dpIn { from { opacity: 0; transform: translateY(6px); } }
/* Hero glow shifts with the time of day */
.hero[data-daypart="morning"] .hero-glow {
    background: radial-gradient(circle, rgba(255, 210, 90, .5), transparent 60%),
                radial-gradient(circle at 70% 60%, rgba(255, 150, 60, .2), transparent 55%);
}
.hero[data-daypart="evening"] .hero-glow {
    background: radial-gradient(circle, rgba(255, 140, 60, .45), transparent 60%),
                radial-gradient(circle at 70% 60%, rgba(224, 38, 45, .3), transparent 55%);
}
.hero[data-daypart="dinner"] .hero-glow,
.hero[data-daypart="late"] .hero-glow {
    background: radial-gradient(circle, rgba(120, 90, 255, .28), transparent 60%),
                radial-gradient(circle at 70% 60%, rgba(224, 38, 45, .22), transparent 55%);
}

/* ==========================================================
   Craving picker (mood chips over the restaurant grid)
   ========================================================== */
.mood-chips { display: flex; gap: 10px; flex-wrap: wrap; margin: -16px 0 28px; }
.mood-chip {
    display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
    font: 600 15px var(--body); color: var(--ink-2); background: var(--cream);
    border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.mood-chip:hover { transform: translateY(-2px); border-color: var(--ink-2); }
.mood-chip small { font-size: 11px; font-weight: 700; background: #fff; color: var(--muted); border-radius: 999px; padding: 1px 7px; }
.mood-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.mood-chip.on small { background: rgba(255, 255, 255, .15); color: #fff; }
.res-grid.swap .res-card { animation: cardIn .45s ease both; }
.res-grid.swap .res-card:nth-child(2) { animation-delay: .04s; }
.res-grid.swap .res-card:nth-child(3) { animation-delay: .08s; }
.res-grid.swap .res-card:nth-child(4) { animation-delay: .12s; }
.res-grid.swap .res-card:nth-child(n+5) { animation-delay: .16s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* ==========================================================
   Reviews wall
   ========================================================== */
.reviews { overflow: hidden; }
.review-rows { display: grid; gap: 18px; }
.review-row {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.review-track { display: flex; gap: 18px; width: max-content; padding: 6px 0 14px; animation: reviewsMove 60s linear infinite; }
.review-row.reverse .review-track { animation-direction: reverse; animation-duration: 70s; }
.review-row:hover .review-track { animation-play-state: paused; }
@keyframes reviewsMove { to { transform: translateX(calc(-50% - 9px)); } }
.review-card {
    margin: 0; width: 320px; flex: none; background: #fff; border-radius: 20px; padding: 20px 22px;
    box-shadow: 0 6px 18px rgba(60, 30, 10, .07); display: flex; flex-direction: column; gap: 12px;
}
.review-stars { color: var(--turmeric); letter-spacing: 2px; font-size: 15px; }
.review-stars span { color: var(--line); }
.review-card blockquote { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.55; flex: 1; }
.review-card figcaption { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--red-soft); color: var(--red); font-weight: 800; display: grid; place-items: center; flex: none; }
.review-card figcaption b { display: block; font-size: 14px; }
.review-card figcaption > span:last-child { min-width: 0; }
.review-card figcaption small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 560px) {
    .daypart-label { width: 100%; }
    .mood-chips { flex-wrap: nowrap; overflow-x: auto; margin: -10px -16px 22px; padding: 2px 16px 6px; scrollbar-width: none; }
    .mood-chips::-webkit-scrollbar { display: none; }
    .mood-chip { flex: none; font-size: 14px; padding: 9px 14px; }
    .review-card { width: 270px; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .review-row { overflow-x: auto; }
}

/* ==========================================================
   Offers carousel (arrows + dots + autoplay over the scroll-snap row)
   ========================================================== */
.offer-nav { display: flex; align-items: center; gap: 18px; }
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrows[hidden], .carousel-dots[hidden] { display: none; }
.carousel-btn {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
    background: #fff; color: var(--ink); border: 1.5px solid var(--line);
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.carousel-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.carousel-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.carousel-btn svg { width: 18px; height: 18px; }
.offer-row {
    scroll-behavior: smooth;
    /* Soft fade on whichever edge has more offers hidden behind it (toggled by JS) */
    --fade-l: 0px; --fade-r: 0px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
}
.offer-row.fade-l { --fade-l: 64px; }
.offer-row.fade-r { --fade-r: 64px; }
.offer-row:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 18px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 2px; }
.carousel-dots button {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--line); transition: width .3s, background .3s;
}
.carousel-dots button:hover { background: var(--muted); }
.carousel-dots button.on { width: 28px; background: var(--red); }
/* Phones: swipe instead of arrows; the link moves under the heading */
@media (max-width: 560px) {
    .carousel-arrows { display: none !important; }
    .offer-nav { gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .offer-row { scroll-behavior: auto; }
}
