/* ==========================================================================
   AUTOBAHN MOTORS — tracyautobahnmotors.com
   AE Creative Studio
   ========================================================================== */

:root {
  /* Neutral black-and-grey base. The logo's blue and red are accents only:
     blue = information, red = action. Nothing else carries colour. */
  --black: #060607;          /* page base */
  --black-soft: #0e0f11;     /* raised surface */
  --gray-900: #16171a;       /* cards */
  --gray-800: #202226;       /* hairlines */
  --gray-700: #2e3036;       /* borders */
  --gray-500: #71747c;       /* muted text */
  --silver: #b7bac1;
  --silver-light: #dcdee2;
  --white: #f5f6f7;

  --blue: #4787ce;           /* logo light-blue segment */
  --blue-bright: #72aae6;
  --blue-deep: #0d1b4b;      /* logo navy segment */
  --blue-glow: rgba(71, 135, 206, 0.30);

  --red: #d80001;            /* logo red segment */
  --red-dark: #a00201;
  --red-glow: rgba(216, 0, 1, 0.38);

  /* Brushed-aluminium strip — echoes the logo's metal lettering */
  --metal: linear-gradient(100deg,
    #44474d 0%, #9ca0a8 18%, #eceef1 34%, #85898f 50%,
    #c6c9ce 66%, #65686e 84%, #36393e 100%);

  --font-display: 'Orbitron', 'Arial Black', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --nav-h: 76px;
  --skew: -6deg;
}

* { box-sizing: border-box; }

/* Root paints the same black as the body so no default canvas color can show
   at the viewport edges. Do NOT set overflow here — overflow-x on <html>
   forces overflow-y to compute to `auto`, making <html> its own scroll
   container and breaking sticky positioning. Clipping belongs on <body>. */
html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  padding: 0;
  background: var(--black);
  color: var(--silver-light);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 16px;
  letter-spacing: 0.5px;
  line-height: 1.12;
}

/* The skewed display face is the brand signature — headline-scale only. */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
  transform: skewX(var(--skew));
  transform-origin: left bottom;
}
.display.center { transform-origin: center bottom; }

p { color: var(--silver); margin: 0 0 16px; max-width: 68ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11.5px;
  color: var(--blue);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--blue);
  display: inline-block;
}

.section { padding: 100px 0; position: relative; }
.section-tight { padding: 64px 0; }
.section-alt {
  background:
    linear-gradient(rgba(14,15,17,0.93), rgba(14,15,17,0.93)),
    url('../images/texture-carbon.jpg');
  background-size: cover;
  background-position: center;
}

/* Brushed-metal hairline used to open major sections */
.metal-rule {
  height: 2px;
  background: var(--metal);
  border: 0;
  margin: 0;
  opacity: 0.55;
}

.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p { margin-left: auto; margin-right: auto; }
.section-head.left { margin: 0 0 48px; text-align: left; }
.section-head.left p { margin-left: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  padding: 17px 32px;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 8px 24px var(--red-glow); }
.btn-outline { background: transparent; border-color: var(--gray-700); color: var(--white); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-bright); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 22px; font-size: 11.5px; }
.btn:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 2px;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  min-height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(6,6,7,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  flex-wrap: nowrap;
  gap: 20px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; padding: 10px 0; }
.brand img { height: 38px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 26px; flex-shrink: 0; }
.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--silver);
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
}

.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-phone {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  font-size: 13.5px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nav-phone svg { width: 16px; height: 16px; fill: var(--red); flex-shrink: 0; }
.nav-quote-btn { white-space: nowrap; padding: 11px 18px; font-size: 11.5px; }

.nav-toggle {
  display: none;
  width: 30px; height: 22px;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: var(--white); transition: all 0.25s ease;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--black-soft);
  border-bottom: 1px solid var(--gray-800);
  padding: 20px 24px 30px;
  transform: translateY(-120%);
  transition: transform 0.3s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.nav-drawer.open { transform: translateY(0); }
.nav-drawer a {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 15px;
  color: var(--silver-light);
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-800);
}
.nav-drawer a.active { color: var(--red); }

/* ==========================================================================
   HOME HERO — video
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media img.hero-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-media img.hero-fallback { display: none; }
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(6,6,7,0.55) 0%, rgba(6,6,7,0) 26%,
    rgba(6,6,7,0.22) 55%, rgba(6,6,7,0.88) 88%, var(--black) 100%);
}
/* Logo reveal layered over the footage: the mark is a real element, so it can
   hold, lean and fly off independently of the video. */
.hero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background: #000; opacity: 0; pointer-events: none;
  transition: opacity 0.9s ease;
}
.hero-smoke { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-mark {
  position: absolute; left: 0; top: 0; z-index: 4;
  opacity: 0; pointer-events: none;
  will-change: transform, opacity, filter;
  transition: opacity 0.9s ease;
}
.hero-mark img { width: 100%; height: auto; display: block; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 24px 64px;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 5.2vw, 62px);
  line-height: 1.02;
  letter-spacing: 0.5px;
  margin: 0 0 18px;
  max-width: 24ch;
  transform: skewX(var(--skew));
  transform-origin: left bottom;
  text-shadow: 0 6px 30px rgba(0,0,0,0.8);
}
.hero-content h1 em { font-style: normal; color: var(--red); }
.hero-content p.lead {
  max-width: 50ch;
  margin: 0 0 30px;
  font-size: 17px;
  color: var(--silver-light);
  text-shadow: 0 2px 14px rgba(0,0,0,0.85);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
  font-size: 13px;
  color: var(--silver);
}
.hero-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.hero-meta span.item { display: inline-flex; align-items: center; gap: 9px; }

/* ==========================================================================
   PAGE HERO (interior pages)
   ========================================================================== */
.page-hero {
  padding: calc(var(--nav-h) + 92px) 0 72px;
  background:
    linear-gradient(180deg, rgba(6,6,7,0.45), var(--black) 90%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 60px);
  border-bottom: 1px solid var(--gray-800);
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::before { display: none; }
.page-hero h1 {
  font-size: clamp(34px, 5.6vw, 58px);
  margin-bottom: 12px;
  transform: skewX(var(--skew));
}
.page-hero p.lead { max-width: 58ch; margin: 0 auto; font-size: 17px; }
.breadcrumb {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--gray-500);
  text-transform: uppercase;
}
.breadcrumb a:hover { color: var(--blue-bright); }

/* ==========================================================================
   IMAGE PLACEHOLDER (until real shop photos are supplied)
   ========================================================================== */
.img-ph {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--gray-900) 0%, var(--black-soft) 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 2px, transparent 2px, transparent 14px);
  border: 1px solid var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-ph.wide { aspect-ratio: 16 / 9; }
.img-ph.square { aspect-ratio: 1 / 1; }
.img-ph.tall { aspect-ratio: 3 / 4; }
.img-ph-inner { text-align: center; padding: 20px; }
.img-ph-inner svg {
  width: 34px; height: 34px;
  fill: none; stroke: var(--gray-500); stroke-width: 1.4;
  margin: 0 auto 10px;
}
.img-ph-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-500);
}
.img-ph.has-photo { background: none; border: none; }
.img-ph.has-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   MARQUEE (brands serviced)
   ========================================================================== */
.marquee {
  border-top: 1px solid var(--gray-800);
  border-bottom: 1px solid var(--gray-800);
  padding: 30px 0;
  overflow: hidden;
  background: var(--black-soft);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 180s linear infinite;
}
.marquee-track img.marquee-logo {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.25s ease;
}
.marquee-track img.marquee-logo:hover { opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 40px; }
}

/* ==========================================================================
   GRIDS / CARDS
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 4px;
  padding: 34px 28px;
  transition: border-color 0.25s ease;
}
.card:hover { border-color: var(--gray-700); }
.card .icon {
  width: 46px; height: 46px;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--blue);
  border-radius: 50%;
}
.card .icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.6; }
.card h3 { font-size: 17px; margin-bottom: 10px; letter-spacing: 0.4px; }
.card p { font-size: 14.5px; margin-bottom: 0; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4.6vw, 48px);
  color: var(--white);
  line-height: 1;
}
.stat-num span { color: var(--blue); }
.stat-num .star { font-size: 0.55em; color: var(--blue); vertical-align: 0.22em; margin-left: 2px; }
.stat-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-top: 10px;
}

/* Brand chips (services page strip) */
.brand-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.brand-chip {
  border: 1px solid var(--gray-700);
  padding: 12px 22px;
  border-radius: 2px;
  background: var(--gray-900);
  display: flex;
  align-items: center;
}
.brand-chip img.brand-chip-logo { height: 30px; width: auto; max-width: 96px; object-fit: contain; }

/* Testimonials */
.testi {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-left: 3px solid var(--blue);
  padding: 30px 30px 26px;
  border-radius: 2px;
}
.testi p.quote { color: var(--silver-light); font-size: 15.5px; font-style: italic; margin-bottom: 18px; }
.testi-stars { color: var(--red); letter-spacing: 2px; margin-bottom: 12px; font-size: 14px; }
.testi-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.testi-veh { font-size: 12.5px; color: var(--gray-500); margin-top: 3px; }

/* Two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split p { max-width: none; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, rgba(71,135,206,0.13), transparent 62%), var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 6px;
  padding: 64px 48px;
  text-align: center;
}
.cta-banner .eyebrow { justify-content: center; }
.cta-banner h2 { font-size: clamp(26px, 3.8vw, 40px); }
.cta-banner p { max-width: 52ch; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--silver);
}
.field input, .field select, .field textarea {
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  color: var(--white);
  padding: 14px 16px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--gray-500); margin-top: -6px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success, .form-error {
  display: none;
  padding: 20px 24px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  text-align: center;
  margin-bottom: 20px;
}
.form-success { background: rgba(71,135,206,0.10); border: 1px solid var(--blue); color: var(--white); }
.form-error { background: rgba(255,255,255,0.04); border: 1px solid var(--gray-700); color: var(--silver-light); }
.form-success.show, .form-error.show { display: block; }

.file-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  border: 1.5px dashed var(--gray-700);
  border-radius: 4px;
  background: var(--gray-900);
  padding: 30px 20px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.file-drop:hover { border-color: var(--blue); background: var(--black-soft); }
.file-drop svg { width: 28px; height: 28px; stroke: var(--blue); fill: none; stroke-width: 1.6; }
.file-drop-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
}
.file-drop-note { font-size: 12.5px; color: var(--gray-500); }
.file-drop-name { font-size: 13.5px; color: var(--blue-bright); word-break: break-all; display: none; }
.file-drop.has-file { border-style: solid; border-color: var(--blue); background: var(--black-soft); }
.file-drop.has-file .file-drop-name { display: block; }
.file-drop input[type="file"] { display: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background:
    linear-gradient(rgba(14,15,17,0.95), rgba(14,15,17,0.95)),
    url('../images/texture-carbon.jpg');
  background-size: cover;
  background-position: center;
  border-top: 1px solid var(--gray-800);
  padding: 72px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-logo { height: 42px; width: auto; margin-bottom: 18px; }
.footer h4 {
  font-size: 12.5px;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--silver); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--blue-bright); }
.footer-links li { font-size: 14px; color: var(--silver); }
.footer-desc { font-size: 14px; color: var(--gray-500); max-width: 34ch; margin-bottom: 20px; }
.footer-social {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--gray-700);
  padding: 10px 18px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--silver-light);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-social:hover { border-color: var(--blue); color: var(--blue-bright); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--gray-800);
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--gray-500); }
.footer-bottom a:hover { color: var(--blue-bright); }

/* ==========================================================================
   MODAL (careers flyer)
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(6,6,7,0.85);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  position: relative;
  max-width: 480px;
  width: 100%;
  max-height: 88vh;
  overflow: auto;
  background: var(--gray-900);
  border: 1px solid var(--blue);
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.modal-box img { width: 100%; border-radius: 5px 5px 0 0; }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(6,6,7,0.75);
  border: 1px solid var(--gray-700);
  color: var(--white);
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
}
.modal-close:hover { border-color: var(--blue); color: var(--blue-bright); }

/* ==========================================================================
   MISC
   ========================================================================== */
.map-embed {
  border: 1px solid var(--gray-800);
  border-radius: 4px;
  overflow: hidden;
  filter: grayscale(0.45) contrast(1.08) invert(0.92);
}
.map-embed iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

.badge-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--silver-light);
  border: 1px solid var(--gray-700); padding: 8px 16px; border-radius: 20px;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

.divider { height: 1px; background: var(--gray-800); margin: 60px 0; border: 0; }

.list-check { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.list-check li { display: flex; gap: 12px; font-size: 15px; color: var(--silver-light); align-items: flex-start; }
.list-check svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 3px; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 11px 0; border-bottom: 1px solid var(--gray-800); font-size: 14.5px; }
.hours-table td:first-child {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12.5px;
}
.hours-table td:last-child { text-align: right; color: var(--silver); }
.hours-table tr.today td, .hours-table tr.today td:first-child { color: var(--red); }

/* Sticky mobile call bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--red);
}
.mobile-call-bar a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 13px;
}

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { border-radius: 4px; overflow: hidden; border: 1px solid var(--gray-800); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 12px; }
  .nav-phone { display: none; }
}

.section-alt + .section { padding-top: 84px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .section { padding: 80px 0; }
}

/* Phones: the portrait cut is letterboxed, so overlaying the copy on it crowds
   the logo and the headline. Stack instead — video band, then copy on black. */
@media (max-width: 860px) and (orientation: portrait) {
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; inset: auto; height: 54svh; min-height: 300px; }
  .hero-content { padding: 30px 24px 70px; }
  .hero-content h1 { font-size: clamp(28px, 8.4vw, 40px); }
  .hero-content p.lead { font-size: 16px; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-phone { display: flex; }
  .nav-phone span.txt { display: none; }
  .nav-quote-btn { display: none; }
  .nav-toggle { display: block; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: 58px; }
  .hero-content { padding-bottom: 96px; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 64px 0; }
  .cta-banner { padding: 44px 24px; }
  .brand img { height: 32px; }
  .hero-content h1 { max-width: 100%; }
}

/* Reveal — used on a small number of key sections only */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
html.js-reveal .reveal { opacity: 0; transform: translateY(20px); }
html.js-reveal .reveal.in { opacity: 1; transform: translateY(0); }

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