/* Aguilar Tires — demo site
   Palette: carbon black + warm paper + one accent (Aguilar red, from the logo). */

@font-face { font-family: "Barlow"; src: url("fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }

:root {
  --black: #0b0b0c;
  --carbon: #121214;
  --carbon-2: #1a1b1e;
  --carbon-3: #24262a;
  --paper: #f3f1ec;
  --paper-2: #e8e5de;
  --ink: #141416;
  --ink-2: #4a4945;
  --mist: #a9a8a3;
  --line: rgb(20 20 22 / .12);
  --line-dark: rgb(255 255 255 / .1);
  --red: #e1262d;
  --red-hot: #f2353c;
  --red-deep: #a8141b;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --topbar: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 12px); }
body { margin: 0; background: var(--black); color: #fff; font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: -.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
button { font: inherit; }
[hidden] { display: none !important; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.muted { color: var(--mist); }
.paper .muted { color: #8d8a83; }
.skip-link { position: fixed; left: 1rem; top: -80px; z-index: 200; background: #fff; color: var(--ink); padding: .7rem 1rem; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: var(--h); padding: 0 1.25rem; border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { --h: 42px; padding: 0 1rem; font-size: .95rem; }
.btn-lg { --h: 56px; padding: 0 1.6rem; font-size: 1.05rem; }
.btn-xl { --h: 64px; padding: 0 1.6rem; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgb(225 38 45 / .7); }
.btn-red:hover { background: var(--red-hot); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--paper); }
.btn-ghost { background: rgb(255 255 255 / .06); color: #fff; border-color: rgb(255 255 255 / .22); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgb(255 255 255 / .14); border-color: rgb(255 255 255 / .4); }
.btn-outline { color: #fff; border-color: rgb(255 255 255 / .28); }
.btn-outline:hover { border-color: #fff; }
.btn-outline-dark { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-stack { display: grid; text-align: left; line-height: 1.1; font-size: 1.2rem; font-weight: 600; letter-spacing: .01em; }
.btn-stack small { font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; opacity: .85; }
.btn-xl .i { width: 1.35em; height: 1.35em; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line-dark); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.round:hover { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .3); }
.round[data-prev] .i { transform: rotate(180deg); }
.round:disabled { opacity: .3; cursor: default; }

/* ---------- Eyebrows ---------- */
.eyebrow { font: 600 .8rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--mist); display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow span { opacity: .5; }
.eyebrow-red { color: var(--red); }
.eyebrow-red::before { content: ""; width: 22px; height: 2px; background: currentColor; }

/* ---------- Top bar ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--topbar); transition: background-color .3s var(--ease), border-color .3s var(--ease), height .3s var(--ease), transform .35s var(--ease); border-bottom: 1px solid transparent; }
.topbar.is-hidden { transform: translateY(calc(-100% - 32px)); }
.topbar::before { content: ""; position: absolute; inset: 0 0 -30px; background: linear-gradient(180deg, rgb(0 0 0 / .55), transparent); pointer-events: none; transition: opacity .3s; }
.topbar.is-solid { background: rgb(11 11 12 / .95); backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--line-dark); }
.topbar.is-solid::before { opacity: 0; }
.topbar-inner { position: relative; height: 100%; display: flex; align-items: center; gap: 1rem; }
.brand { display: block; flex: none; }
.brand img { width: 104px; height: auto; filter: drop-shadow(0 4px 10px rgb(0 0 0 / .45)); transition: width .3s var(--ease), filter .3s; }
.topbar.is-solid .brand img { filter: none; }
.menu { display: none; }
.topbar-actions { margin-left: auto; display: flex; gap: .6rem; align-items: center; }
.hide-sm { display: none; }
.show-sm { display: inline; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--black); padding: calc(var(--topbar) + 34vh) 0 2.5rem; overflow: hidden; }
.hero-media { position: absolute; inset: 0 0 auto; height: 72vh; min-height: 460px; z-index: -1; }
.hero-media picture { height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 11 12 / .25) 0%, rgb(11 11 12 / .1) 30%, rgb(11 11 12 / .75) 62%, var(--black) 92%); }
.hero-content { display: grid; gap: 1rem; }
.live { display: inline-flex; align-items: center; gap: .55rem; justify-self: start; padding: .45rem .85rem .45rem .7rem; border-radius: 999px; background: rgb(11 11 12 / .6); border: 1px solid var(--line-dark); backdrop-filter: blur(8px); font: 600 .85rem/1 var(--body); letter-spacing: .01em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mist); }
.live.is-open .live-dot { background: #3ddc84; box-shadow: 0 0 0 0 rgb(61 220 132 / .6); animation: ping 2s infinite; }
.live.is-closed .live-dot { background: var(--red); }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgb(61 220 132 / 0); } 100% { box-shadow: 0 0 0 0 rgb(61 220 132 / 0); } }
.hero h1 { font-size: clamp(3.1rem, 14.5vw, 6.6rem); line-height: .86; }
.hero h1 em { font-style: italic; color: var(--red); padding-right: .06em; }
.hero-lede { font-size: 1.15rem; color: #d8d7d3; max-width: 34ch; }
.hero-ctas { display: grid; gap: .7rem; margin-top: .4rem; }
.hero-rating { display: inline-flex; align-items: center; gap: .6rem; justify-self: start; text-decoration: none; color: #d8d7d3; font-size: .95rem; margin-top: .25rem; }
.hero-rating strong { color: #fff; }
.stars { display: inline-flex; gap: 2px; color: var(--red); }
.stars .i { width: 1em; height: 1em; }
.stars .dim { color: rgb(255 255 255 / .25); }

/* ---------- Ticker ---------- */
.ticker { background: var(--red); color: #fff; overflow: hidden; padding: .85rem 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { font: italic 800 1.35rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; padding: 0 1.1rem; display: inline-flex; align-items: center; gap: 2.2rem; }
.ticker span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / .5); margin-left: 1.1rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { background: var(--black); border-bottom: 1px solid var(--line-dark); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; }
.stat { padding: 1.6rem .25rem 1.6rem 0; display: grid; gap: .35rem; border-bottom: 1px solid var(--line-dark); }
.stat:nth-child(odd) { padding-right: 1rem; border-right: 1px solid var(--line-dark); }
.stat:nth-child(even) { padding-left: 1.25rem; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat strong { font: 800 2.6rem/1 var(--display); text-transform: uppercase; }
.stat strong small { font-size: .55em; color: var(--red); margin-left: .1em; }
.stat span { color: var(--mist); font-size: .9rem; line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.paper { background: var(--paper); color: var(--ink); }
.carbon { background: var(--carbon); }
.tread { background-image: repeating-linear-gradient(135deg, rgb(255 255 255 / .018) 0 14px, transparent 14px 28px), linear-gradient(var(--carbon), var(--carbon)); }
.section-head { display: grid; gap: 1rem; margin-bottom: 2.5rem; max-width: 760px; }
.section h2 { font-size: clamp(2.6rem, 10vw, 5rem); }
.section-lede { font-size: 1.12rem; color: var(--ink-2); max-width: 58ch; }
.carbon .section-lede { color: #c9c8c3; }
.fineprint { margin-top: 2rem; font-size: .95rem; color: var(--ink-2); }
.fineprint a { font-weight: 600; color: var(--ink); text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Services ---------- */
.feature-grid { display: grid; gap: 1rem; margin-bottom: 1rem; }
.feature { position: relative; border-radius: var(--r); overflow: hidden; background: var(--black); color: #fff; min-height: 340px; display: flex; align-items: flex-end; isolation: isolate; }
.feature picture { position: absolute; inset: 0; z-index: -1; }
.feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(11 11 12 / 0) 35%, rgb(11 11 12 / .92)); }
.feature:hover img { transform: scale(1.04); }
.feature-body { padding: 1.5rem; display: grid; gap: .45rem; }
.feature-kicker { font: 700 .85rem/1 var(--display); letter-spacing: .14em; color: var(--red-hot); }
.feature h3 { font-size: 2.4rem; }
.feature p { color: #dcdbd6; }
.service-list { display: grid; border-top: 1px solid var(--line); }
.service-list li { display: grid; align-content: start; grid-template-columns: 3rem 1fr; gap: .25rem 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.num { font: 700 1rem/1.7 var(--display); color: var(--red); letter-spacing: .08em; }
.service-list h3 { font-size: 1.6rem; margin-bottom: .3rem; }
.service-list p { color: var(--ink-2); font-size: 1rem; }

/* ---------- Promo ---------- */
.promo { background: linear-gradient(100deg, rgb(225 38 45 / .97) 35%, rgb(168 20 27 / .86)), url("img/hero-wide-1200.jpg") 70% 40% / cover; background: linear-gradient(100deg, rgb(225 38 45 / .97) 35%, rgb(168 20 27 / .86)), image-set(url("img/hero-wide-1200.webp") type("image/webp"), url("img/hero-wide-1200.jpg") type("image/jpeg")) 70% 40% / cover; color: #fff; position: relative; overflow: hidden; }
.promo::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgb(0 0 0 / .07) 0 16px, transparent 16px 32px); }
.promo-inner { position: relative; padding: 3rem 0; display: grid; gap: 1.5rem; justify-items: start; }
.promo h2 { font-style: italic; font-size: clamp(2.5rem, 10vw, 4.6rem); line-height: .9; }
.promo h2 span { display: block; color: var(--black); }

/* ---------- Reviews ---------- */
.reviews-head { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
.reviews-head h2 { margin-top: 1rem; }
.score { display: flex; align-items: center; gap: 1rem; }
.score strong { font: 800 4.2rem/.8 var(--display); }
.score div { display: grid; gap: .3rem; color: var(--mist); font-size: .95rem; }
.score .stars .i { width: 1.15em; height: 1.15em; }
.carousel-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem; padding: .25rem 1.25rem 1.25rem; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: -2px; }
.review { flex: 0 0 min(86%, 400px); scroll-snap-align: start; background: var(--carbon-2); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.quote { margin: 0; position: relative; font-size: 1.06rem; line-height: 1.6; color: #e9e8e4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 9; overflow: hidden; }
.quote p + p { margin-top: .7em; }
.review { position: relative; }
.review::before { content: ""; position: absolute; top: 1.5rem; right: 1.5rem; width: 34px; height: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 36'%3E%3Cpath fill='%23e1262d' d='M0 36V22.5C0 10.6 6.2 3 18.6 0l2.2 4.8C13.9 7.1 10.6 11.4 10.3 17H20v19zm27.6 0V22.5C27.6 10.6 33.8 3 46.2 0l2.2 4.8c-6.9 2.3-10.2 6.6-10.5 12.2H47.6v19z'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .35; pointer-events: none; }
.review.is-open .quote { -webkit-line-clamp: unset; display: block; }
.more { align-self: flex-start; background: none; border: 0; padding: 0; color: #fff; font-weight: 600; font-size: .95rem; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.who { margin-top: auto; display: flex; align-items: center; gap: .7rem; padding-top: 1rem; border-top: 1px solid var(--line-dark); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--carbon-3); color: #fff; font: 700 1.1rem/1 var(--display); }
.who strong { font-weight: 600; }
.src { margin-left: auto; font: 600 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); border: 1px solid var(--line-dark); padding: .4rem .6rem; border-radius: 999px; }
.carousel-foot { display: flex; align-items: center; gap: 1.25rem; }
.carousel-progress { flex: 1; height: 2px; background: var(--line-dark); border-radius: 2px; overflow: hidden; }
.carousel-progress span { display: block; height: 100%; width: 20%; background: var(--red); border-radius: 2px; transform-origin: left; transition: transform .2s linear, width .2s; }
.carousel-btns { display: flex; gap: .6rem; }
.review-links { margin-top: 2rem; color: var(--mist); font-size: .95rem; }
.review-links a { color: #fff; font-weight: 600; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 3rem; }
.collage { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: .9rem; align-items: start; }
.collage img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.collage-b { margin-top: 3.5rem; }
.collage-badge { position: absolute; left: 50%; bottom: -1.75rem; transform: translateX(-50%); width: 46% !important; aspect-ratio: auto !important; border-radius: 0 !important; filter: drop-shadow(0 14px 24px rgb(0 0 0 / .35)); }
.about-copy { display: grid; gap: 1.1rem; }
.ticks { display: grid; gap: .1rem; margin-top: .5rem; border-top: 1px solid var(--line); }
.ticks li { display: flex; align-items: center; gap: .8rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.ticks .i { color: var(--red); width: 1.25em; height: 1.25em; }

/* ---------- Book ---------- */
.book-grid { display: grid; gap: 1.25rem; }
.form-card { background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 1.5rem 1.25rem; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
.form-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.5rem; }
.form-card h3 { font-size: 1.9rem; }
.tag { font: 600 .72rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); border: 1px dashed rgb(20 20 22 / .35); padding: .45rem .7rem; border-radius: 999px; }
.field { display: grid; gap: .45rem; margin-bottom: 1.15rem; min-width: 0; }
.row-2 { display: grid; gap: 0 1rem; }
.row-2 > * { min-width: 0; }
label, legend, .label { font: 600 .82rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 0; }
.opt { text-transform: none; letter-spacing: 0; font-weight: 500; color: #8d8a83; margin-left: .3rem; }
input, select, textarea { width: 100%; font: 500 1.05rem/1.3 var(--body); color: var(--ink); background: #fff; border: 1.5px solid #d8d4cb; border-radius: var(--r-sm); min-height: 54px; padding: .8rem .95rem; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 96px; resize: vertical; }
/* iOS Safari gives date inputs an intrinsic min-width that ignores width: 100% — reset it so the field stays inside the card. */
input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; text-align: left; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
input:focus-visible, textarea:focus-visible { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgb(20 20 22 / .08); }
input::placeholder, textarea::placeholder { color: #a3a09a; }
[aria-invalid="true"], .is-invalid .chips, .is-invalid .segmented { border-color: var(--red) !important; box-shadow: 0 0 0 4px rgb(225 38 45 / .12); border-radius: var(--r-sm); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; border: 1.5px solid transparent; }
.chip, .segmented label { position: relative; cursor: pointer; text-transform: none; letter-spacing: 0; }
.chip input, .segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px; background: #fff; border: 1.5px solid #d8d4cb; font: 500 .98rem/1 var(--body); color: var(--ink); transition: background-color .15s, border-color .15s, color .15s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span, .segmented input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1.5px solid #d8d4cb; border-radius: var(--r-sm); padding: 4px; gap: 4px; }
.segmented span { display: grid; place-items: center; min-height: 44px; border-radius: 9px; font: 500 .98rem/1 var(--body); color: var(--ink-2); transition: background-color .15s, color .15s; }
.segmented input:checked + span { background: var(--ink); color: #fff; }
.drop { display: flex; align-items: center; gap: .9rem; min-height: 72px; padding: 1rem 1.1rem; border: 1.5px dashed #c4bfb4; border-radius: var(--r-sm); background: #fff; cursor: pointer; text-transform: none; letter-spacing: 0; font: 400 1rem/1.35 var(--body); color: var(--ink-2); transition: border-color .2s, background-color .2s; }
.drop:hover { border-color: var(--ink); }
.drop strong { color: var(--ink); font-weight: 600; }
.drop .i { width: 1.8em; height: 1.8em; color: var(--red); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.drop:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgb(20 20 22 / .08); }
.previews { display: flex; flex-wrap: wrap; gap: .5rem; }
.previews img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.form-msg { margin-top: .9rem; font-weight: 600; color: var(--red-deep); min-height: 1.4em; }
.form-done { text-align: center; display: grid; justify-items: center; gap: .9rem; padding: 2.5rem .5rem; }
.form-done > .i { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: var(--ink); color: #fff; }
.form-done p { color: var(--ink-2); max-width: 36ch; }
.form-done a { color: var(--ink); font-weight: 600; }

.visit { display: grid; gap: 1rem; align-content: start; }
.visit-card { background: var(--carbon-2); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 1.35rem; }
.visit-row { margin-bottom: 1rem; }
.live-dark { background: var(--carbon-3); }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { padding: .62rem 0; border-bottom: 1px solid var(--line-dark); font-weight: 400; text-align: left; color: #c9c8c3; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { color: #fff; font-weight: 600; }
.hours tr.is-today th::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin: 0 .55rem .15rem 0; }
.contact-card { display: grid; gap: .25rem; padding: .5rem 1.35rem; }
.contact { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; text-decoration: none; font-weight: 600; font-size: 1.1rem; line-height: 1.3; }
.contact + .contact { border-top: 1px solid var(--line-dark); }
.contact .i { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--red); color: #fff; }
.contact span { display: grid; gap: .2rem; }
.contact small { font: 600 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.contact:hover span { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-dark); background: var(--carbon-2); }
.map iframe { display: block; width: 100%; height: 280px; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--mist); padding: 3.5rem 0 calc(6.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-dark); font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand img { width: 150px; }
.footer h3 { font: 600 .78rem/1 var(--body); letter-spacing: .18em; color: #fff; margin-bottom: .9rem; }
.footer p { line-height: 1.75; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: grid; gap: .4rem; font-size: .9rem; }
.demo-line { color: #fff; font-weight: 600; }

/* ---------- Mobile dock ---------- */
.dock { position: fixed; z-index: 90; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr auto; gap: .5rem; padding: .5rem; border-radius: 999px; background: rgb(18 18 20 / .88); border: 1px solid var(--line-dark); backdrop-filter: blur(14px); box-shadow: 0 18px 40px -12px rgb(0 0 0 / .6); transition: transform .35s var(--ease), opacity .35s var(--ease); }
.dock .btn { --h: 52px; }
.js .dock:not(.is-shown) { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- ≥ 600px ---------- */
@media (min-width: 600px) {
  .hide-sm { display: inline-flex; }
  .show-sm { display: none; }
  .hero-ctas { grid-auto-flow: column; justify-content: start; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat, .stat:nth-child(odd), .stat:nth-child(even) { padding: 2rem 1.5rem; border-bottom: 0; border-right: 1px solid var(--line-dark); }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { border-right: 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .service-list { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .row-2 { grid-template-columns: 1fr 1fr; }
  .review { flex-basis: 380px; }
  .form-card { padding: 2rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ---------- ≥ 960px ---------- */
@media (min-width: 960px) {
  :root { --topbar: 84px; }
  .brand img { width: 112px; }
  .topbar.is-solid .brand img { width: 96px; }
  .menu { display: flex; gap: 2rem; margin-left: 2.5rem; }
  .menu a { text-decoration: none; font-weight: 500; color: #e2e1dd; position: relative; padding: .4rem 0; }
  .menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .menu a:hover { color: #fff; }
  .menu a:hover::after { transform: scaleX(1); }

  .hero { min-height: min(100vh, 920px); padding: calc(var(--topbar) + 3.5rem) 0 5rem; display: flex; align-items: center; background: radial-gradient(60% 70% at 78% 45%, rgb(225 38 45 / .16), transparent 70%), var(--black); }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: repeating-linear-gradient(135deg, rgb(255 255 255 / .022) 0 14px, transparent 14px 28px); mask-image: linear-gradient(90deg, transparent 30%, #000 75%); }
  .hero-media { inset: calc(50% + var(--topbar) / 2) max(1.25rem, calc((100vw - 1200px) / 2)) auto auto; transform: translateY(-50%); width: min(36vw, 500px); height: auto; min-height: 0; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; box-shadow: 0 50px 90px -30px rgb(0 0 0 / .9), 0 0 0 1px var(--line-dark); }
  .hero-media::after { background: linear-gradient(180deg, transparent 55%, rgb(11 11 12 / .55)); }
  .hero-media img { object-position: 50% 35%; }
  .hero-content { max-width: 1200px; }
  .hero-content > * { max-width: min(600px, 100vw - min(36vw, 500px) - 8rem); }
  .hero-content > h1 { max-width: min(680px, 100vw - min(36vw, 500px) - 7rem); }
  .hero h1 { font-size: clamp(3.6rem, 5.8vw, 6rem); }
  .hero-lede { font-size: 1.25rem; }

  .section { padding: 7rem 0; }
  .section-head { margin-bottom: 3.5rem; }
  .feature { min-height: 460px; }
  .feature h3 { font-size: 3rem; }
  .feature-body { padding: 2rem; }
  .service-list { grid-template-columns: repeat(4, 1fr); column-gap: 2rem; border-top: 0; margin-top: 1.5rem; }
  .service-list li { grid-template-columns: 1fr; padding: 1.6rem 0 1.4rem; border-top: 1px solid var(--line); border-bottom: 0; }
  .num { line-height: 1; margin-bottom: .6rem; }

  .promo-inner { grid-template-columns: 1fr auto; align-items: center; padding: 4rem 0; }

  .reviews-head { grid-template-columns: 1fr auto; align-items: end; margin-bottom: 3rem; }
  .carousel-track { scroll-padding-inline: max(1.25rem, calc((100vw - 1200px) / 2)); padding-inline: max(1.25rem, calc((100vw - 1200px) / 2)); gap: 1.25rem; }
  .review { flex-basis: 400px; padding: 1.85rem; }

  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 5rem; }

  .book-grid { grid-template-columns: 1.25fr .9fr; gap: 2rem; align-items: start; }
  .form-card { padding: 2.5rem; }
  .map iframe { height: 300px; }

  .footer { padding-bottom: 3rem; }
  .dock { display: none; }
}

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