:root {
  --ink: #07080b;
  --ink-soft: #151922;
  --navy: #071a3a;
  --blue: #0e428b;
  --red: #d71920;
  --red-dark: #a91016;
  --steel: #eef2f7;
  --steel-2: #d8dee8;
  --white: #ffffff;
  --paper: #f8fafc;
  --muted: #697381;
  --line: #dce2eb;
  --shadow: 0 18px 48px rgba(7, 8, 11, 0.18);
  --radius: 8px;
  --max: 1180px;
  --header-h: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-h);
  background: rgba(7, 8, 11, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms var(--ease), background 220ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 8, 11, 0.96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--white);
  font-weight: 800;
}

.brand img {
  width: clamp(112px, 15vw, 172px);
  max-height: 66px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--red);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero,
.page-intro {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.home-hero {
  min-height: calc(100svh - var(--header-h) - 24px);
  display: grid;
  align-items: center;
  padding: clamp(48px, 7vw, 92px) 0;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 11, 0.94) 0%, rgba(7, 8, 11, 0.78) 40%, rgba(7, 8, 11, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 8, 11, 0.82) 0%, rgba(7, 8, 11, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.hero-mark {
  width: min(440px, 82vw);
  margin-bottom: 20px;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.55));
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

p,
li {
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 7vw, 6.4rem);
  line-height: 0.94;
  font-weight: 900;
  text-wrap: balance;
}

.page-intro h1 {
  font-size: clamp(2.45rem, 6vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  font-weight: 900;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.15;
}

.lead {
  max-width: 710px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.section-lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.06rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(215, 25, 32, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-dark);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.btn-light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.btn-outline {
  color: var(--navy);
  border-color: var(--line);
  background: var(--white);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -20px -12px auto auto;
  width: 118px;
  height: 118px;
  border: 16px solid rgba(255, 255, 255, 0.12);
  border-top-color: rgba(215, 25, 32, 0.75);
  border-radius: 50%;
  animation: slow-rotate 18s linear infinite;
}

.hero-panel h2 {
  position: relative;
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.hero-panel ul {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: rgba(255, 255, 255, 0.86);
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.section {
  padding: clamp(64px, 9vw, 118px) 0;
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-dark .section-lead,
.section-dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.section-steel {
  background: var(--steel);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.section-head h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: 20px;
}

.hero-copy,
.hero-panel,
.section-head > *,
.split > *,
.grid > *,
.contact-layout > *,
.cta-inner > *,
.footer-main > * {
  min-width: 0;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.feature,
.service-card,
.product-card,
.contact-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(7, 8, 11, 0.06);
}

.feature,
.service-card,
.product-card,
.contact-card {
  padding: clamp(22px, 3vw, 30px);
}

.feature {
  display: grid;
  gap: 14px;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
}

.icon-box svg {
  width: 25px;
  height: 25px;
}

.feature:hover,
.service-card:hover,
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature,
.service-card,
.product-card {
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms ease;
}

.feature:hover,
.service-card:hover,
.product-card:hover {
  border-color: rgba(215, 25, 32, 0.32);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.image-frame {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.visual-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(28px, 5vw, 46px);
}

.visual-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  margin: 0;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.visual-card img,
.wide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-card img {
  min-height: 260px;
  transition: transform 600ms var(--ease);
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 11, 0.05), rgba(7, 8, 11, 0.82));
}

.visual-card:hover img {
  transform: scale(1.04);
}

.visual-card figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 900;
}

.wide-media {
  overflow: hidden;
  min-height: clamp(260px, 36vw, 430px);
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.wide-media img {
  min-height: clamp(260px, 36vw, 430px);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}

.metric {
  padding: 24px;
  background: var(--white);
}

.metric strong {
  display: block;
  color: var(--red);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 750;
}

.service-card {
  display: grid;
  gap: 16px;
}

.service-card ul,
.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.check-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  color: var(--muted);
}

.service-card li::before,
.check-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--red);
}

.review-card {
  min-height: 100%;
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(7, 8, 11, 0.06);
}

.review-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.review-card strong {
  color: var(--navy);
}

.stars {
  color: var(--red);
  font-size: 1.12rem;
  letter-spacing: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-item {
  min-height: 100%;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(7, 8, 11, 0.05);
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.advice-card {
  min-height: 100%;
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(7, 8, 11, 0.05);
}

.advice-card > span {
  width: max-content;
  min-width: 40px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  font-weight: 900;
}

.advice-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.finish-dot {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid rgba(7, 8, 11, 0.18);
  border-radius: 50%;
}

.advice-card > .finish-dot {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  color: transparent;
  border-radius: 50%;
}

.advice-card > .finish-dot.swatch-black {
  background: #0b0c10;
}

.advice-card > .finish-dot.swatch-chrome {
  background: linear-gradient(135deg, #fafafa, #969da8 45%, #ffffff 52%, #6f7883);
}

.advice-card > .finish-dot.swatch-red {
  background: var(--red);
}

.advice-card > .finish-dot.swatch-blue {
  background: var(--blue);
}

.tip-list {
  gap: 14px;
}

.tip-item {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.tip-item strong {
  color: var(--white);
}

.tip-item span {
  color: rgba(255, 255, 255, 0.72);
}

.local-info {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.local-copy {
  max-width: 560px;
}

.nap-card {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.nap-card h3 {
  margin-bottom: 0;
  color: var(--navy);
}

.nap-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.nap-card strong {
  color: var(--ink);
}

.nap-card a {
  color: var(--blue);
  font-weight: 800;
}

.hours-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.hours-list div {
  display: grid;
  grid-template-columns: minmax(100px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--paper);
}

.hours-list span {
  color: var(--muted);
  font-weight: 780;
}

.hours-list strong {
  color: var(--ink);
  font-size: 0.96rem;
}

.cta-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 26, 58, 0.98), rgba(7, 8, 11, 0.98)),
    var(--navy);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
}

.page-intro {
  padding: clamp(56px, 9vw, 108px) 0;
}

.page-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 11, 0.94), rgba(7, 26, 58, 0.78)),
    url("../assets/images/shop-hero.webp") center / cover;
  opacity: 1;
}

body[data-page="tires"] .page-intro::before {
  background:
    linear-gradient(90deg, rgba(7, 8, 11, 0.94), rgba(7, 26, 58, 0.7)),
    url("../assets/images/tire-service-bay.webp") center / cover;
}

body[data-page="wheels"] .page-intro::before {
  background:
    linear-gradient(90deg, rgba(7, 8, 11, 0.94), rgba(7, 26, 58, 0.7)),
    url("../assets/images/wheel-showroom.webp") center / cover;
}

body[data-page="about"] .page-intro::before {
  background:
    linear-gradient(90deg, rgba(7, 8, 11, 0.94), rgba(7, 26, 58, 0.7)),
    url("../assets/images/shop-team-service.webp") center / cover;
}

body[data-page="contact"] .page-intro::before {
  background:
    linear-gradient(90deg, rgba(7, 8, 11, 0.94), rgba(7, 26, 58, 0.64)),
    url("../assets/images/shop-storefront.webp") center / cover;
}

.page-intro .container {
  position: relative;
  z-index: 1;
}

.page-intro p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.product-card {
  min-height: 100%;
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.product-mark {
  width: 64px;
  height: 64px;
  border: 10px solid var(--ink);
  border-top-color: var(--red);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px var(--steel-2);
}

.finish-swatch {
  display: flex;
  gap: 8px;
  margin: 18px 0 0;
}

.finish-swatch span {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(7, 8, 11, 0.14);
  border-radius: 50%;
}

.swatch-black {
  background: #0b0c10;
}

.swatch-chrome {
  background: linear-gradient(135deg, #fafafa, #969da8 45%, #ffffff 52%, #6f7883);
}

.swatch-red {
  background: var(--red);
}

.swatch-blue {
  background: var(--blue);
}

.timeline {
  display: grid;
  gap: 18px;
  counter-reset: steps;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}

.timeline-item::before {
  counter-increment: steps;
  content: counter(steps);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-weight: 900;
}

.timeline-item p {
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: grid;
  gap: 8px;
}

.contact-card strong {
  color: var(--navy);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 760;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
  min-height: 128px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.14);
}

.form-status {
  min-height: 24px;
  color: var(--blue);
  font-weight: 760;
}

.map-panel {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 26px;
  color: var(--white);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(7, 8, 11, 0.62), rgba(7, 8, 11, 0.78)),
    url("../assets/images/shop-storefront.webp") center / cover;
  box-shadow: var(--shadow);
}

.map-panel div {
  max-width: 360px;
  text-align: center;
}

.map-panel a {
  color: var(--white);
  font-weight: 850;
}

.legal-card {
  padding: clamp(24px, 4vw, 40px);
}

.legal-card + .legal-card {
  margin-top: 20px;
}

.legal-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  padding-left: 22px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #050609;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(26px, 5vw, 60px);
  padding: clamp(46px, 8vw, 78px) 0;
}

.footer-logo {
  width: min(230px, 70vw);
  margin-bottom: 18px;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
}

.site-footer h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  transition: color 160ms ease, transform 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.muted {
  color: var(--muted);
}

.js-enabled [data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.js-enabled [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 100ms;
}

.delay-2 {
  transition-delay: 200ms;
}

.delay-3 {
  transition-delay: 300ms;
}

@keyframes slow-rotate {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 78px;
  }

  .nav-toggle {
    display: block;
    background: rgba(215, 25, 32, 0.22);
    border-color: rgba(255, 255, 255, 0.42);
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 14px 20px 22px;
    background: rgba(7, 8, 11, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 240ms var(--ease), opacity 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    min-height: 54px;
    font-size: 1.05rem;
  }

  .hero-content,
  .split,
  .local-info,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 520px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .local-copy {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: 100%;
    padding-inline: 20px;
  }

  .home-hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(1.9rem, 8vw, 3rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.58rem, 7vw, 2.25rem);
    line-height: 1.05;
  }

  .lead,
  .section-lead {
    font-size: 1rem;
  }

  .hero-content {
    gap: 28px;
  }

  .hero-mark {
    width: min(310px, 78vw);
  }

  .button-row,
  .section-head,
  .cta-inner,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .section-head,
  .cta-inner {
    display: grid;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    align-items: start;
    gap: 18px;
    text-align: left;
  }

  .cta-inner .lead {
    margin-top: 12px;
  }

  .cta-inner .btn {
    width: auto;
    max-width: 100%;
    justify-self: start;
    white-space: normal;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .faq-grid,
  .visual-strip,
  .metric-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .image-frame,
  .image-frame img,
  .wide-media,
  .wide-media img {
    min-height: 280px;
  }

  .visual-card,
  .visual-card img {
    min-height: 230px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .hours-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 420px) {
  .brand img {
    width: 126px;
  }

  h1 {
    font-size: 1.65rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .btn {
    width: 100%;
  }

  .cta-inner .btn {
    width: auto;
  }

  .hero-panel {
    padding: 18px;
    font-size: 0.94rem;
  }

  .home-hero .hero-copy,
  .home-hero .hero-panel {
    width: 100%;
    max-width: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-enabled [data-animate] {
    opacity: 1;
    transform: none;
  }
}
