:root {
  --bg: #FAF7F0;
  --card: #FFFFFF;
  --line: #ECE6D8;
  --ink: #14213D;
  --muted: #5B6475;
  --yellow: #FFC21A;
  --yellow-2: #F2B000;
  --dark: #16181D;
  --red: #D7263D;
  --green: #25D366;
  --green-2: #1EBE5A;
  --r: 16px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .04), 0 6px 20px rgba(20, 33, 61, .06);
  --head: 'Bricolage Grotesque', 'Noto Sans Telugu', system-ui, sans-serif;
  --body: 'Noto Sans', 'Noto Sans Telugu', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--body);
}
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h2 { font-size: 28px; font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0; }
:lang(te) h1, :lang(te) h2, :lang(te) h3 { line-height: 1.35; letter-spacing: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.sec { padding-top: 56px; }
.sec-head { margin-bottom: 20px; }
.sec-head p:not(.eyebrow) { color: var(--muted); margin-top: 6px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.muted { color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.ic { width: 20px; height: 20px; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .1s;
}
.btn:active { transform: scale(.97); }
.btn.call { background: var(--yellow); color: var(--ink); }
.btn.call:hover { background: var(--yellow-2); }
.btn.wa { background: var(--green); color: #0B3B1E; }
.btn.wa:hover { background: var(--green-2); }
.btn.ghost { background: var(--card); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn.block { width: 100%; }
.btn .ic { width: 18px; height: 18px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 247, 240, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 10px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand strong { display: block; font: 800 17px/1.15 var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand small { display: block; font-size: 12px; color: var(--muted); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--ink); color: var(--yellow);
}
.logo-mark .ic { width: 24px; height: 24px; }
.lang {
  min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink); font: 700 15px/1 var(--body); cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.lang:hover { background: var(--ink); color: #fff; }
@media (max-width: 400px) {
  .brand small { display: none; }
  .brand strong { font-size: 15px; white-space: normal; }
  .lang { padding: 0 12px; }
  .top .call { padding: 0 14px; }
}

/* Hero */
.hero {
  padding: 28px 0 8px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 194, 26, .16), transparent 70%),
    repeating-linear-gradient(-45deg, rgba(20, 33, 61, .028) 0 10px, transparent 10px 22px);
}
.hero-in { display: grid; gap: 28px; }
.open { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(37, 211, 102, .18); }
h1 { font-size: 36px; font-weight: 800; margin: 16px 0 14px; }
h1 mark {
  background: linear-gradient(transparent 58%, var(--yellow) 58% 92%, transparent 92%);
  color: inherit; padding: 0 2px;
}
.sub { color: var(--muted); font-size: 17px; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Segmented control with sliding pill */
.seg {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px;
  background: #F2EDE1; border-radius: 999px; margin: 14px 0 18px;
}
.seg button {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; border: 0; background: none; border-radius: 999px;
  font: 700 15px/1 var(--body); color: var(--muted); cursor: pointer; transition: color .2s;
}
.seg button[aria-selected="true"] { color: var(--ink); }
.seg-pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  background: var(--card); border-radius: 999px; box-shadow: 0 1px 4px rgba(20, 33, 61, .12);
  transition: transform .25s ease;
}
.seg[data-active="1"] .seg-pill { transform: translateX(100%); }
.seg.small { max-width: 280px; }

/* Finder */
.finder { padding: 20px 16px; }
.finder h2 { font-size: 22px; }
.lbl, .field > span, .field-top label { display: block; font-size: 14px; font-weight: 700; margin: 0 0 8px; }
.chips { display: grid; gap: 8px; margin-bottom: 16px; }
.chips.vehicles { grid-template-columns: repeat(4, 1fr); }
.chips.brands { grid-template-columns: repeat(3, 1fr); }
.chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 72px; padding: 8px 4px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card);
  font: 600 13px/1.2 var(--body); color: var(--ink); cursor: pointer;
  transition: border-color .2s, background-color .2s, transform .1s;
}
.chip .ic { width: 30px; height: 30px; }
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(.96); }
.chip.on { border-color: var(--ink); background: #FFF6DA; box-shadow: inset 0 0 0 1px var(--ink); }
.chip.on .ic { color: var(--ink); fill: rgba(255, 194, 26, .55); }
.chip.logo { min-height: 60px; }
.chip.logo img { max-height: 26px; max-width: 86%; }
.badge-txt { font: 800 15px/1 var(--head); letter-spacing: -.01em; }
.field { display: block; margin-bottom: 14px; }
.field select, .field input {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--card); font: 400 16px var(--body); color: var(--ink);
}
.field select:focus, .field input:focus { border-color: var(--ink); outline: none; }
.field small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.or { text-align: center; margin-top: 12px; font-size: 15px; color: var(--muted); }
.or a { color: var(--ink); font-weight: 700; }

/* Brands row */
.brand-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 0 -16px;
  scrollbar-width: thin;
}
.brand-card {
  scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  height: 104px; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; font-size: 13px; font-weight: 600; color: var(--muted);
  transition: border-color .2s, transform .2s;
}
.brand-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.brand-card img { max-height: 30px; max-width: 100%; }
.brand-card .badge-txt { font-size: 19px; color: var(--ink); }

/* Stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; }
.stats div { padding: 18px 16px; }
.stats div:nth-child(odd) { border-right: 1px solid var(--line); }
.stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.stats strong { display: block; font: 800 30px/1 var(--head); }
.stats span { font-size: 14px; color: var(--muted); }

/* Season banner */
.season {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px;
  background: #FFF6DA; border: 1px solid #F3DE9C; border-radius: var(--r);
}
.season-ic { flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--ink); color: var(--yellow); display: grid; place-items: center; }
.season-ic .ic { width: 34px; height: 34px; }
.season h2 { font-size: 22px; margin: 8px 0 6px; }
.season p { color: var(--muted); margin-bottom: 14px; }
.tag { display: inline-block; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { display: flex; gap: 16px; position: relative; padding-bottom: 24px; }
.steps li:not(:last-child)::before { content: ''; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: var(--line); }
.num { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); font: 800 16px/1 var(--head); }
.steps h3 { margin: 10px 0 4px; }
.steps p { color: var(--muted); }

/* Services */
.svc-grid { display: grid; gap: 12px; }
.svc { padding: 20px; }
.svc-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #FFF6DA; margin-bottom: 12px; }
.svc-ic .ic { width: 28px; height: 28px; }
.svc p { color: var(--muted); margin-top: 4px; }

/* Locations */
.loc-grid { display: grid; gap: 12px; }
.loc { padding: 20px; }
.loc h3 { display: flex; align-items: center; gap: 8px; font-size: 20px; margin-bottom: 8px; }
.loc h3 .ic { color: var(--red); }
.hours { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; }
.loc .ctas { margin-top: 16px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 0; list-style: none; cursor: pointer; font-weight: 700; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 18px; max-width: 40em; }

/* Closing CTA */
.end { margin-top: 64px; padding: 56px 0; background: var(--dark); color: #fff; text-align: center; }
.end h2 { font-size: 32px; }
.end p { color: #B9BECB; margin-top: 8px; }
.end .ctas { justify-content: center; }

/* Footer */
.foot { background: var(--dark); color: #B9BECB; border-top: 1px solid #2A2D35; padding: 32px 0 84px; font-size: 15px; }
.foot-in { display: grid; gap: 22px; }
.foot strong { color: #fff; font-family: var(--head); font-size: 18px; }
.foot p { margin-top: 4px; }
.foot a { color: #fff; text-decoration: none; }
.foot-h { color: #fff; font-weight: 700; }
.copy { margin-top: 24px; font-size: 13px; color: #7D8392; }

/* Mobile bottom bar */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(20, 33, 61, .06);
  padding-bottom: env(safe-area-inset-bottom);
}
.bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px;
  text-decoration: none; font-size: 13px; font-weight: 700; }
.bar a:first-child { background: var(--yellow); }
.bar a:nth-child(2) .ic { color: var(--green-2); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Tablet */
@media (min-width: 640px) {
  h1 { font-size: 46px; }
  h2 { font-size: 32px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats div { border-bottom: 0 !important; border-right: 1px solid var(--line); }
  .stats div:last-child { border-right: 0; }
  .chips.vehicles { grid-template-columns: repeat(7, 1fr); }
  .chips.brands { grid-template-columns: repeat(4, 1fr); }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .loc-grid { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1.2fr 1fr 1.6fr; }
  .brand-row { grid-auto-columns: 150px; }
}

/* Desktop */
@media (min-width: 960px) {
  .foot { padding-bottom: 20px; }
  .bar { display: none; }
  .hero { padding: 56px 0 24px; }
  .hero-in { grid-template-columns: 1.05fr .95fr; align-items: start; gap: 48px; }
  .hero-text { padding-top: 24px; }
  h1 { font-size: 56px; }
  .chips.vehicles { grid-template-columns: repeat(4, 1fr); }
  .chips.brands { grid-template-columns: repeat(3, 1fr); }
  .finder { padding: 24px; }
  .sec { padding-top: 80px; }
  .brand-row { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); overflow: visible; margin: 0; padding: 4px 0; }
}

/* Logos that need their brand colour behind them (e.g. Goodyear yellow on blue) */
[style*="--tile"] img { background: var(--tile); padding: 6px 10px; border-radius: 8px; box-sizing: content-box; }

/* Tyre size helper */
.field-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.help {
  display: inline-flex; align-items: center; gap: 5px; min-height: 32px; margin: -6px -6px 2px 0; padding: 0 8px;
  border: 0; border-radius: 999px; background: none; color: var(--ink); font: 600 13px var(--body);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.help:hover { background: #FFF6DA; }
.help .ic { width: 17px; height: 17px; }
#size-help {
  width: min(460px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0;
  border: 0; border-radius: var(--r); background: var(--card); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
#size-help::backdrop { background: rgba(20, 33, 61, .55); }
.help-in { position: relative; padding: 20px 18px 18px; }
.help-in h2 { font-size: 22px; padding-right: 40px; margin-bottom: 12px; }
.x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #F2EDE1; color: var(--ink); cursor: pointer; }
.x .ic { transform: rotate(45deg); }
.sidewall { display: block; margin-bottom: 14px; width: 100%; height: auto; border-radius: 12px; background: #F2EDE1; }
.help-steps { margin: 0 0 16px; padding-left: 20px; font-size: 15px; }
.help-steps li + li { margin-top: 6px; }
.ex { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.ex button {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 8px; padding: 10px 12px; text-align: left;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: 600 13px var(--body); cursor: pointer;
}
.ex button:hover { border-color: var(--ink); }
.ex button.on { border-color: var(--ink); background: #FFF6DA; }
.ex .ic { grid-row: span 2; width: 22px; height: 22px; }
.ex b { font-size: 15px; }
.tip { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
