/* ============================================
   TIREBOX STOUFFVILLE
   Premium Tire & Wheel — styles.css
   ============================================ */

:root {
  --red: #c41e2a;
  --red-dark: #9e1822;
  --red-light: #e8323e;
  --black: #0a0a0a;
  --black-rich: #111111;
  --black-soft: #1a1a1a;
  --grey-900: #222222;
  --grey-800: #333333;
  --grey-700: #555555;
  --grey-600: #777777;
  --grey-500: #999999;
  --grey-400: #bbbbbb;
  --grey-300: #d4d4d4;
  --grey-200: #e8e8e8;
  --grey-100: #f3f3f3;
  --white: #ffffff;
  --off-white: #fafafa;
  --surface: #f5f5f5;
  --line: #e0e0e0;
  --line-light: rgba(255, 255, 255, 0.1);
  --ink: #0a0a0a;
  --text: #333333;
  --text-soft: #666666;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 0px;
  --max-width: 1400px;
  --transition: 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; width: 100%; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button, input, textarea, select { font: inherit; }
ul { list-style: none; }

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

/* --- Typography --- */

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 400;
}

h1 { font-size: clamp(3rem, 6.5vw, 5.5rem); }
h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h4 { font-size: 1.25rem; font-family: 'Inter', sans-serif; font-weight: 700; }

p { color: var(--text-soft); font-size: 1rem; line-height: 1.75; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--red);
}

.section-heading { max-width: 720px; }
.section-heading.centered { text-align: center; margin: 0 auto; }
.section-heading h2 { margin-bottom: 20px; }
.section-heading p { margin-bottom: 16px; }

/* --- Sections --- */

.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p, .section-dark li { color: var(--grey-400); }
.section-dark .section-label { color: var(--red-light); }
.section-dark .section-label::before { background: var(--red-light); }
.section-light { background: var(--off-white); }

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 16px 36px;
  border-radius: 0;
  border: 2px solid transparent;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 4px 20px rgba(196, 30, 42, 0.3);
}

.btn-white {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}
.btn-white:hover { background: var(--grey-100); border-color: var(--grey-100); }

.btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline {
  background: transparent;
  border-color: var(--grey-300);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.btn-dark {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: var(--grey-900); border-color: var(--grey-900); }

.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 10px 24px; font-size: 0.78rem; }
.btn-lg { min-height: 62px; padding: 18px 48px; font-size: 0.88rem; }

/* ─── TOP BAR ─── */

.top-bar {
  background: var(--black);
  color: var(--grey-500);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 42px;
}

.top-bar-group {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-bar a { color: var(--white); font-weight: 600; }
.top-bar a:hover { color: var(--red-light); }
.top-bar i { color: var(--red); margin-right: 6px; }

/* ─── NAVBAR ─── */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.navbar.scrolled { box-shadow: var(--shadow-sm); }

.nav-shell {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--black);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo-image {
  height: 68px;
  width: auto;
  object-fit: contain;
}

.logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-copy strong {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-copy span {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--grey-500);
  font-weight: 500;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--red);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

/* Nav links */

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-links > li > a .dropdown-arrow {
  font-size: 0.6rem;
  transition: var(--transition);
}

.nav-links > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { transform: scaleX(1); }
.nav-links > li > a:hover { color: var(--black); }
.nav-links > li > a.active { color: var(--black); }

/* Desktop Dropdowns */

.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -20px;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 200;
}

.nav-links > li:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0;
  text-transform: none;
}

.dropdown-menu a:hover {
  background: var(--surface);
  color: var(--red);
}

/* Nav CTA */

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--black);
}

.nav-phone i { color: var(--red); }

/* Mobile toggle */

.mobile-toggle,
.mobile-cta-bar {
  display: none;
}

.mobile-toggle {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.mobile-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: var(--transition);
}

.mobile-toggle span:nth-child(1) { top: 14px; }
.mobile-toggle span:nth-child(2) { top: 21px; }
.mobile-toggle span:nth-child(3) { top: 28px; }

.mobile-toggle.is-active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.mobile-toggle.is-active span:nth-child(2) { opacity: 0; }
.mobile-toggle.is-active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ─── HERO ─── */

.hero {
  position: relative;
  overflow: hidden;
  height: calc(100svh - 70px - 80px - 96px);
  min-height: 380px;
  display: flex;
  align-items: center;
  background: var(--black);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.1) 70%, transparent 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.hero-shell {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}

.hero-copy {
  max-width: 700px;
  padding-left: 40px;
}

.hero-copy .section-label { color: rgba(255,255,255,0.5); justify-content: flex-start; }
.hero-copy .section-label::before { background: var(--red); }

.hero-copy h1 {
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.0;
}

.hero-copy h1 .highlight { color: var(--red-light); }

.hero-copy p {
  max-width: 560px;
  margin: 0 0 40px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.meta-card {
  padding: 28px 28px;
  background: var(--white);
  border-right: 1px solid var(--line);
  box-shadow: none;
}

.meta-card:last-child { border-right: none; }

.meta-card strong {
  display: block;
  margin-bottom: 4px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.4rem;
  color: var(--red);
  letter-spacing: 0.01em;
}

.meta-card span {
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── SERVICES GRID ─── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: var(--transition);
  grid-column: span 2;
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3;
}

.service-card:hover { box-shadow: var(--shadow-md); }

.service-card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  background: rgba(196,30,42,0.08);
  color: var(--red);
  font-size: 1.3rem;
}

.service-card-body { padding: 36px; }
.service-card h3 { margin-bottom: 12px; font-size: 1.5rem; }
.service-card p { margin-bottom: 20px; font-size: 0.95rem; }

.service-card .learn-more {
  color: var(--red);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-card .learn-more:hover { gap: 14px; }

/* ─── BRANDS GRID ─── */

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 60px;
  border: 1px solid var(--line-light);
}

.brand-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  transition: var(--transition);
}

.brand-item:nth-child(6n) { border-right: none; }

.brand-item:hover { background: rgba(255,255,255,0.04); }

.brand-item span {
  display: block;
  color: var(--grey-400);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ─── FEATURES GRID ─── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  border: 1px solid var(--line-light);
}

.feature-card {
  padding: 44px 36px;
  border-right: 1px solid var(--line-light);
}

.feature-card:last-child { border-right: none; }

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--red-light);
  font-size: 1.3rem;
  border: 1px solid var(--line-light);
}

.feature-card h4 {
  color: var(--white);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--grey-500);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ─── CATEGORY CARDS ─── */

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.category-card {
  position: relative;
  overflow: hidden;
  height: 380px;
  background: var(--black);
  display: flex;
  align-items: flex-end;
  transition: var(--transition);
}

.category-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
  transition: transform 600ms ease, filter 600ms ease;
}

.category-card:hover .category-card-bg {
  transform: scale(1.05);
  filter: brightness(0.65);
}

.category-card-content {
  position: relative;
  z-index: 2;
  padding: 36px;
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
  padding-top: 80px;
}

.category-card-content h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.category-card-content p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.category-card-content .card-link {
  color: var(--red-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.category-card-content .card-link:hover { gap: 14px; }

/* ─── CTA BAND ─── */

.cta-band {
  padding: 100px 0;
  background: var(--red);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 40px; }
.cta-band .section-label { color: rgba(255,255,255,0.6); }
.cta-band .section-label::before { background: rgba(255,255,255,0.4); }

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── CONTACT PAGE ─── */

.page-hero-compact { padding: 100px 0 60px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-col h2 { margin-bottom: 12px; }
.contact-info-col > p { margin-bottom: 36px; }

.contact-info-cards { display: grid; gap: 20px; }

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  transition: var(--transition);
}

.contact-info-card:hover { box-shadow: var(--shadow-sm); }

.contact-info-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.contact-info-card a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.contact-info-card a:hover { color: var(--red); }

.contact-info-card p {
  font-size: 0.93rem;
  margin: 0;
  line-height: 1.6;
}

.hours-table-inline {
  font-size: 0.9rem;
  line-height: 1.8;
}

.hours-table-inline td:first-child {
  padding-right: 20px;
  font-weight: 500;
  color: var(--text);
}

.hours-table-inline td:last-child {
  color: var(--text-soft);
}

/* Contact Form */

.contact-form-wrap {
  padding: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.contact-form-wrap h3 { margin-bottom: 8px; }
.contact-form-wrap > p { margin-bottom: 32px; font-size: 0.93rem; }

.contact-form { display: grid; gap: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.form-group label span { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 30, 42, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--grey-400);
}

.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* Full-width map */

.contact-map-full {
  width: 100%;
  height: 420px;
  background: var(--surface);
}

.contact-map-full iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ─── TIRE BRAND CARDS ─── */

.tire-brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.tire-brand-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 36px;
  transition: var(--transition);
}

.tire-brand-card:hover { box-shadow: var(--shadow-md); }

.section-dark .tire-brand-card {
  background: rgba(255,255,255,0.03);
  border-color: var(--line-light);
}

.section-dark .tire-brand-card:hover {
  background: rgba(255,255,255,0.06);
  box-shadow: none;
}

.tire-brand-header { margin-bottom: 20px; }

.tire-brand-header h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.section-dark .tire-brand-header h3 { color: var(--white); }

.tire-brand-tagline {
  display: block;
  font-size: 0.85rem;
  color: var(--text-soft);
  font-style: italic;
  line-height: 1.5;
}

.section-dark .tire-brand-tagline { color: var(--grey-500); }

.tire-model-list {
  display: grid;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.section-dark .tire-model-list { border-top-color: var(--line-light); }

.tire-model-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text);
}

.tire-model-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  flex-shrink: 0;
}

.section-dark .tire-model-list li { color: var(--grey-300); }
.section-dark .tire-model-list li::before { background: var(--red-light); }

/* ─── WHEEL BRAND CARDS ─── */

.wheel-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.wheel-brand-card {
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: var(--transition);
}

.wheel-brand-card:hover { box-shadow: var(--shadow-md); }

.section-dark .wheel-brand-card {
  background: rgba(255,255,255,0.03);
  border-color: var(--line-light);
}

.section-dark .wheel-brand-card:hover {
  background: rgba(255,255,255,0.06);
  box-shadow: none;
}

.wheel-brand-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--red);
  font-size: 1.2rem;
  border: 1px solid var(--line);
}

.section-dark .wheel-brand-icon {
  border-color: var(--line-light);
  color: var(--red-light);
}

.wheel-brand-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.section-dark .wheel-brand-card h3 { color: var(--white); }

.wheel-brand-card p {
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.section-dark .wheel-brand-card p { color: var(--grey-500); }

/* ─── SERVICES NAV BAR ─── */

.services-nav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.services-nav .container {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 56px;
}

.services-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.services-nav-item:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.services-nav-item i { font-size: 0.9rem; }

/* ─── SERVICE DETAIL SPLIT ─── */

.service-detail-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: center;
}

.service-detail-split.reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.service-detail-split.reverse .service-detail-media { order: 2; }

.service-detail-media {
  min-height: 480px;
  overflow: hidden;
  background: var(--surface);
}

.service-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.section-dark .service-detail-media { background: var(--grey-900); }

.service-detail-copy .section-label { margin-bottom: 12px; }
.service-detail-copy h2 { margin-bottom: 20px; }
.service-detail-copy p { margin-bottom: 16px; }
.section-dark .service-detail-copy h2 { color: var(--white); }
.section-dark .service-detail-copy p { color: var(--grey-400); }

/* ─── CHECK LIST ─── */

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

.check-list li i {
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 5px;
  min-width: 16px;
}

.section-dark .check-list li { color: var(--grey-300); }
.section-dark .check-list li i { color: var(--red-light); }

/* ─── CALLOUT BOX ─── */

.callout-box {
  padding: 24px 28px;
  background: var(--surface);
  border-left: 3px solid var(--red);
}

.callout-box h4 {
  margin-bottom: 8px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.callout-box h4 i { color: var(--red); font-size: 0.95rem; }

.callout-box p {
  font-size: 0.93rem;
  margin-bottom: 0;
}

/* ─── PROCESS STEPS (tire repair) ─── */

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.process-step-card {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.process-step-card:last-child { border-right: none; }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--red);
  border: 1px solid var(--line);
}

.process-step-card h4 { margin-bottom: 8px; font-size: 1rem; }
.process-step-card p { font-size: 0.88rem; }

/* ─── TERMS GRID (storage) ─── */

.terms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.term-card {
  padding: 36px;
  border: 1px solid var(--line);
  text-align: center;
}

.term-card .step-number { border-color: var(--red); color: var(--red); }
.term-card h4 { margin-bottom: 10px; }
.term-card p { font-size: 0.93rem; }

/* ─── FINANCING HIGHLIGHT ─── */

.financing-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 24px 32px;
  background: rgba(196, 30, 42, 0.1);
  border: 1px solid rgba(196, 30, 42, 0.2);
}

.section-dark .financing-highlight {
  background: rgba(196, 30, 42, 0.15);
  border-color: rgba(196, 30, 42, 0.3);
}

.financing-amount {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 3.5rem;
  color: var(--red-light);
  line-height: 1;
}

.financing-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grey-400);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── MAP SPLIT ─── */

.map-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 520px;
}

.map-copy {
  padding-right: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-copy h2 { color: var(--white); margin-bottom: 16px; }
.map-copy p { color: var(--grey-400); margin-bottom: 32px; }

.map-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.map-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.map-info-card i {
  color: var(--red);
  font-size: 1.1rem;
  margin-top: 3px;
  min-width: 18px;
}

.map-info-card strong {
  display: block;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.map-info-card span {
  color: var(--grey-500);
  font-size: 0.88rem;
  line-height: 1.6;
}

.map-info-card a { color: var(--grey-400); }
.map-info-card a:hover { color: var(--red-light); }

.map-embed {
  min-height: 460px;
  background: var(--grey-900);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  filter: grayscale(20%) contrast(1.05);
}

/* ─── PAGE HERO (sub-pages) ─── */

.page-hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  background: var(--black);
}

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

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) contrast(1.1);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero-copy { max-width: 920px; }
.page-hero-copy h1 { color: var(--white); margin-bottom: 20px; }
.page-hero-copy p { color: rgba(255,255,255,0.6); font-size: 1.1rem; max-width: 560px; }
.page-hero-copy .section-label { color: rgba(255,255,255,0.5); }
.page-hero-copy .section-label::before { background: var(--red); }

/* ─── ABOUT SPLIT ─── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-media {
  min-height: 480px;
  background: var(--surface);
  overflow: hidden;
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.about-copy .section-label { margin-bottom: 12px; }
.about-copy h2 { margin-bottom: 20px; }
.about-copy p { margin-bottom: 16px; }

/* ─── INFO GRID (about page) ─── */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.info-card {
  padding: 36px;
  border: 1px solid var(--line-light);
  background: transparent;
}

.info-card i {
  color: var(--red-light);
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: block;
}

.info-card h4 {
  color: var(--white);
  margin-bottom: 12px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.info-card p {
  color: var(--grey-500);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ─── BRANDS LIST (about) ─── */

.brands-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.brands-list-item {
  padding: 20px 24px;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.brands-list-item:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ─── HOURS TABLE (about) ─── */

.hours-table {
  width: 100%;
  margin-top: 24px;
}

.hours-table li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.hours-table li:last-child { border-bottom: none; }
.hours-table .day { color: var(--text-soft); font-weight: 500; }
.hours-table .time { color: var(--ink); font-weight: 700; }

/* ─── AREAS ─── */

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  justify-content: center;
}

.area-tag {
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.area-tag:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ─── FOOTER ─── */

.footer {
  background: var(--black);
  color: var(--grey-500);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-light);
}

.footer .logo { color: var(--white); margin-bottom: 16px; }
.footer .logo-copy span { color: var(--grey-600); }
.footer-logo-img { height: 68px; width: auto; object-fit: contain; }

.footer p {
  color: var(--grey-600);
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-links li, .footer-contact li {
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--red-light); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  color: var(--red);
  margin-top: 3px;
  min-width: 16px;
  font-size: 0.88rem;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-light);
  display: grid;
  place-items: center;
  color: var(--grey-500);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.footer-bottom {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--grey-700);
}

.footer-bottom a { color: var(--grey-600); }
.footer-bottom a:hover { color: var(--red-light); }

/* ─── HOURS TABLE ─── */

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line-light);
}

.hours-list li:last-child { border-bottom: none; }
.hours-list .day { color: var(--grey-400); }
.hours-list .time { color: var(--white); font-weight: 600; }

/* ─── ANIMATION UTILITY ─── */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */

@media (max-width: 1120px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card { grid-column: span 1; }
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) { grid-column: span 1; }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .brands-grid .brand-item:nth-child(6n) { border-right: 1px solid var(--line-light); }
  .brands-grid .brand-item:nth-child(4n) { border-right: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); border: none; gap: 0; }
  .feature-card { border: 1px solid var(--line-light); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .map-split { grid-template-columns: 1fr; }
  .map-copy { padding-right: 0; margin-bottom: 40px; }
  .about-split { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-list-grid { grid-template-columns: repeat(3, 1fr); }
  .service-detail-split,
  .service-detail-split.reverse { grid-template-columns: 1fr; }
  .service-detail-split.reverse .service-detail-media { order: 0; }
  .process-steps-grid { grid-template-columns: repeat(3, 1fr); }
  .process-step-card:nth-child(3) { border-right: none; }
  .tire-brand-grid { grid-template-columns: repeat(2, 1fr); }
  .wheel-brand-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 130px; }
  .top-bar { display: none; }

  .nav-shell {
    min-height: 68px;
    position: relative;
    gap: 16px;
  }

  .nav-links,
  .nav-cta .nav-phone,
  .nav-cta .btn {
    display: none;
  }

  .mobile-cta-bar {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 12px 14px;
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    gap: 10px;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-cta-bar:hover { background: var(--red-dark); color: var(--white); }

  /* Mobile toggle — 3 lines */
  .mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 210;
    position: relative;
  }

  .mobile-toggle.is-active span {
    background: var(--white);
  }

  /* Mobile Nav Overlay */
  .nav-links.is-active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    z-index: 200;
    padding: 100px 32px 40px;
    gap: 0;
    overflow-y: auto;
    animation: navSlideIn 0.35s ease;
  }

  @keyframes navSlideIn {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-links.is-active > li:not(.mobile-nav-header) {
    border-bottom: 1px solid var(--line-light);
  }

  .nav-links.is-active > li > a {
    color: var(--white);
    font-size: 1rem;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    letter-spacing: 0.06em;
  }

  .nav-links.is-active > li > a.active::after { display: none; }
  .nav-links.is-active > li > a::after { display: none; }

  .nav-links.is-active .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 12px 16px;
    min-width: 0;
    display: none;
  }

  .nav-links.is-active .dropdown-menu.is-open {
    display: block;
  }

  .nav-links.is-active .dropdown-menu a {
    color: var(--grey-400);
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--line-light);
  }

  .nav-links.is-active .dropdown-menu a:hover {
    color: var(--red-light);
    background: transparent;
  }

  .nav-links.is-active .dropdown-arrow { transition: var(--transition); }
  .nav-links.is-active .dropdown-arrow.is-rotated { transform: rotate(180deg); }

  /* Mobile hero */
  .hero { height: auto; min-height: 0; overflow: visible; }
  .hero-shell { padding: 40px 20px 48px; }
  .hero-copy { padding-left: 0; max-width: 100%; }
  .hero-copy h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-copy p { font-size: 0.9rem; margin-bottom: 24px; line-height: 1.6; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn-lg { min-height: 54px; padding: 14px 32px; font-size: 0.82rem; }

  /* Grids */
  .hero-meta { grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--line); }
  .meta-card { padding: 20px 16px; border-bottom: 1px solid var(--line); }
  .meta-card strong { font-size: 1.1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card,
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) { grid-column: span 1; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .brands-grid .brand-item:nth-child(4n) { border-right: 1px solid var(--line-light); }
  .brands-grid .brand-item:nth-child(3n) { border-right: none; }
  .features-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .category-card { height: 280px; }
  .footer-grid { grid-template-columns: 1fr; }
  .map-split { grid-template-columns: 1fr; }
  .map-copy { padding-right: 0; margin-bottom: 32px; }
  .map-info-grid { grid-template-columns: 1fr; gap: 16px; }
  .map-embed { min-height: 320px; }
  .map-embed iframe { min-height: 320px; }
  .about-split { grid-template-columns: 1fr; }
  .about-media { min-height: 300px; }
  .about-media img { min-height: 300px; }
  .info-grid { grid-template-columns: 1fr; }
  .brands-list-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 84px 0 56px; }
  .service-detail-split,
  .service-detail-split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-split.reverse .service-detail-media { order: 0; }
  .service-detail-media { min-height: 300px; }
  .service-detail-media img { min-height: 300px; }
  .process-steps-grid { grid-template-columns: repeat(2, 1fr); border: none; }
  .process-step-card { border: 1px solid var(--line); }
  .process-step-card:nth-child(3) { border-right: 1px solid var(--line); }
  .terms-grid { grid-template-columns: 1fr; }
  .services-nav { overflow-x: visible; }
  .services-nav .container { flex-direction: column; align-items: stretch; gap: 0; min-height: 0; }
  .services-nav-item {
    padding: 14px 20px;
    font-size: 0.85rem;
    white-space: normal;
    border-bottom: 1px solid var(--line);
    justify-content: flex-start;
    width: 100%;
  }
  .services-nav-item:last-child { border-bottom: none; }
  .services-nav-item:hover,
  .services-nav-item:active { border-bottom: 1px solid var(--line); color: var(--red); background: var(--grey-50, #f7f7f7); }
  .financing-highlight { flex-direction: column; text-align: center; }
  .callout-box { padding: 20px; }
  .tire-brand-grid { grid-template-columns: 1fr; }
  .wheel-brand-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-map-full { height: 320px; }
  .page-hero-compact { padding: 84px 0 48px; }

  /* Sections */
  .section { padding: 80px 0; }
  .section-sm { padding: 60px 0; }
  .container { width: min(var(--max-width), calc(100% - 32px)); }

  /* CTA */
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; }
  .cta-band { padding: 60px 0; }

  /* Footer */
  .footer-bottom { padding: 20px 0 28px; text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid .brand-item:nth-child(3n) { border-right: 1px solid var(--line-light); }
  .brands-grid .brand-item:nth-child(2n) { border-right: none; }
  .areas-grid { justify-content: flex-start; }
}

/* ─── ULTRAWIDE ─── */

@media (min-width: 1800px) {
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
    min-height: 600px;
  }

  .hero-media {
    position: relative;
    inset: auto;
    order: 2;
  }

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

  .hero-overlay {
    background: linear-gradient(to right, rgba(10,10,10,1) 0%, rgba(10,10,10,0.3) 60%, transparent 100%);
  }

  .hero .container {
    order: 1;
    display: flex;
    align-items: center;
    background: var(--black);
    padding: 80px 60px;
  }

  .hero-shell {
    padding: 0;
    justify-content: center;
  }

  .hero-copy {
    padding-left: 0;
    max-width: 600px;
  }
}
