/* =============================================================================
   VDK Tire Shop — shared stylesheet
   Used by: index.html, gallery.php, about.html
   Design system: graphite + signal red + hazard amber, Archivo Expanded / Inter
   ============================================================================= */

/* ── Design tokens ───────────────────────────────────────────────────────── */
:root {
  --ink:         #121417;          /* near-black graphite */
  --ink-2:       #1c1f24;          /* raised graphite */
  --rubber:      #2a2e35;          /* tire rubber */
  --signal:      #e0322b;          /* signal red */
  --signal-deep: #b21d1a;
  --amber:       #ffb547;          /* hazard amber accent */
  --paper:       #f6f4ef;          /* warm off-white */
  --paper-2:     #efece4;
  --line:        #e3ded3;
  --line-dark:   rgba(255,255,255,.10);
  --muted:       #6b6f76;
  --muted-light: rgba(255,255,255,.66);
  --white:       #ffffff;
  --shadow:      0 24px 60px -20px rgba(18,20,23,.45);
  --shadow-sm:   0 12px 32px -12px rgba(18,20,23,.22);
  --radius:      20px;
  --radius-lg:   28px;
  --max:         1200px;
  --display:     "Archivo Expanded", "Arial Narrow", sans-serif;
  --body:        "Inter", system-ui, -apple-system, sans-serif;
}

/* ── Reset / base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  line-height: 1.65;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; }

h1, h2, h3 { line-height: 1.04; margin: 0 0 16px; font-family: var(--display); font-weight: 800; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.4rem); letter-spacing: -.03em; font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.025em; }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }

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

/* reusable tread texture */
.tread-band {
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 6px, transparent 6px 18px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 2px, transparent 2px 18px);
}

/* ── Eyebrow label ───────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(224,50,43,.1); color: var(--signal);
  font-weight: 700; font-size: .76rem;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 20px; font-family: var(--body);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 3px rgba(224,50,43,.2);
}
.eyebrow.on-dark { background: rgba(255,255,255,.1); color: var(--white); }
.eyebrow.on-dark::before { background: var(--amber); box-shadow: 0 0 0 3px rgba(255,181,71,.25); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px;
  background: var(--signal); color: var(--white);
  text-decoration: none; font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  border: none; cursor: pointer;
  box-shadow: 0 10px 22px -8px rgba(224,50,43,.7);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover  { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(224,50,43,.7); background: var(--signal-deep); }
.btn:active { transform: translateY(0); }
.btn svg    { width: 17px; height: 17px; }
.btn.ghost  { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none; }
.btn.ghost:hover { background: var(--ink); color: var(--white); }
.btn.light  { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn.light:hover { background: var(--paper); color: var(--ink); }
.btn.amber  { background: var(--amber); color: var(--ink); box-shadow: 0 10px 22px -8px rgba(255,181,71,.7); }
.btn.amber:hover { background: #ffa31f; }

/* dark-section ghost button helper (replaces inline color overrides) */
.btn.ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); box-shadow: none; }
.btn.ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ── Top bar ─────────────────────────────────────────────────────────────── */
.top-bar {
  background: var(--ink); color: var(--white);
  font-size: .86rem; letter-spacing: .01em;
  border-bottom: 1px solid var(--line-dark);
}
.top-bar .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 9px 0; flex-wrap: wrap;
}
.top-bar a       { text-decoration: none; font-weight: 700; color: var(--amber); }
.top-bar .tb-left{ color: var(--muted-light); }
.top-bar .dot    { opacity: .4; margin: 0 8px; }

/* ── Header / nav ────────────────────────────────────────────────────────── */
.site-header {
  background: rgba(246,244,239,.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding: 14px 0;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 1; }
.logo img { height: 52px; width: auto; display: block; filter: drop-shadow(0 1px 3px rgba(0,0,0,.12)); }
.footer-brand .logo img { height: 46px; filter: brightness(1.08) drop-shadow(0 1px 4px rgba(0,0,0,.4)); }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }

nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
nav a.navlink {
  text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--rubber);
  padding: 9px 13px; border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}
nav a.navlink:hover  { background: rgba(18,20,23,.06); color: var(--ink); }
nav a.navlink.active { background: rgba(224,50,43,.09); color: var(--signal); font-weight: 700; }

/* hamburger */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2.5px;
  background: var(--ink); border-radius: 2px; position: relative;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }
body.nav-open .nav-toggle span         { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav panel */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw);
  background: var(--ink); color: #fff; z-index: 70;
  transform: translateX(100%); transition: transform .3s ease;
  padding: 90px 28px 28px; display: flex; flex-direction: column; gap: 6px;
  box-shadow: -20px 0 60px rgba(0,0,0,.4);
}
body.nav-open .mobile-nav { transform: translateX(0); }
.mobile-nav a { text-decoration: none; color: #fff; font-weight: 600; font-size: 1.05rem; padding: 13px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-nav a.active { color: var(--amber); }
.mobile-nav .btn { margin-top: 18px; }
.nav-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .3s ease; z-index: 65; }
body.nav-open .nav-scrim { opacity: 1; visibility: visible; }

/* ── Sections ────────────────────────────────────────────────────────────── */
section { padding: 96px 0; }
.section-heading { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-heading .eyebrow { margin-left: auto; margin-right: auto; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.light-section { background: var(--white); }
.paper-section { background: var(--paper); }

/* ── Hero (home) ─────────────────────────────────────────────────────────── */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background:
    radial-gradient(120% 120% at 85% 0%, rgba(224,50,43,.28), transparent 45%),
    radial-gradient(90% 90% at 10% 100%, rgba(255,181,71,.10), transparent 40%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.hero-bg-photo {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('/images/gallery/Tires/close_up_tire_tread_pattern_012.jpg');
  background-size: cover; background-position: center;
  opacity: .13; mix-blend-mode: luminosity;
}
.hero-tread {
  position: absolute; right: -180px; top: 50%; transform: translateY(-50%);
  width: 760px; height: 760px; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 30%, rgba(0,0,0,.45) 30% 31%, transparent 31%),
    conic-gradient(from 0deg, rgba(255,255,255,.05) 0 3deg, transparent 3deg 9deg);
  mask: radial-gradient(circle, transparent 0 33%, #000 34% 70%, transparent 71%);
  -webkit-mask: radial-gradient(circle, transparent 0 33%, #000 34% 70%, transparent 71%);
  opacity: .55; pointer-events: none; animation: spin 90s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-tread { animation: none; } }

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px;
  align-items: center; padding: 92px 0 100px;
}
.hero h1 .accent { color: var(--signal); }
.hero h1 .stroke { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.45); }
.hero p.lede { font-size: 1.16rem; max-width: 560px; color: var(--muted-light); margin: 22px 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  display: flex; gap: 26px; flex-wrap: wrap;
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-dark);
}
.hero-meta div strong { display: block; font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.hero-meta div span   { color: var(--muted-light); font-size: .85rem; }
.hero-meta .amber-num { color: var(--amber); }

.hero-card {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--signal), var(--amber));
}
.hero-card h2 { font-size: 1.5rem; }
.hero-card .sub { color: var(--muted); font-size: .96rem; margin: 0 0 20px; }
.hero-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 13px; }
.hero-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .96rem; font-weight: 500; }
.hero-list .ck {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(224,50,43,.12); color: var(--signal);
  display: grid; place-items: center; font-size: .7rem; font-weight: 900; margin-top: 1px;
}

/* ── Trust bar ───────────────────────────────────────────────────────────── */
.trust-bar { background: var(--signal); color: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item {
  padding: 26px 24px; border-right: 1px solid rgba(255,255,255,.18);
  display: flex; gap: 14px; align-items: center;
}
.trust-item:last-child { border-right: 0; }
.trust-item .ti-ico { flex: none; width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.trust-item .ti-ico svg { width: 20px; height: 20px; stroke: #fff; fill: none; }
.trust-item strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.02rem; }
.trust-item span   { color: rgba(255,255,255,.82); font-size: .82rem; line-height: 1.35; }

/* ── Service cards ───────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--signal); transition: width .3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { width: 100%; }
.card-icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ink), var(--rubber)); color: var(--amber); margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--amber); fill: none; }
.card h3 { margin-bottom: 10px; }
.card p  { color: var(--muted); margin: 0; font-size: .97rem; }
.card-photo { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; margin-bottom: 18px; display: block; }
.card.has-photo .card-icon { margin-top: 0; }

/* ── About split (dark) ──────────────────────────────────────────────────── */
.split { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.split .grid-2 { position: relative; z-index: 2; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split p { color: var(--muted-light); }
.split .lead-num { font-family: var(--display); font-weight: 900; font-size: 3.6rem; color: var(--signal); line-height: 1; letter-spacing: -.03em; }
.split-card { background: rgba(255,255,255,.045); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 34px; backdrop-filter: blur(4px); }
.split-card h3 { color: var(--white); }
.split-card p  { margin-top: 0; }
.section-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 28px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 22px 0 0; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .88rem; background: var(--paper); border: 1px solid var(--line); color: var(--rubber); }
.split .chips li { background: rgba(255,255,255,.07); border-color: var(--line-dark); color: var(--white); }

/* owner photo (home about) */
.about-photo-wrap { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.about-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 340px; }
.about-photo-wrap .photo-badge {
  position: absolute; bottom: 18px; left: 18px;
  background: rgba(18,20,23,.82); backdrop-filter: blur(8px);
  color: #fff; padding: 10px 16px; border-radius: 12px;
  font-size: .84rem; font-weight: 600; border: 1px solid rgba(255,255,255,.12);
}
.about-photo-wrap .photo-badge span { display: block; color: var(--amber); font-size: .74rem; font-weight: 500; margin-top: 2px; }

/* ── Vehicles ────────────────────────────────────────────────────────────── */
.vehicle-list { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0 auto; list-style: none; justify-content: center; max-width: 900px; }
.vehicle-list li {
  padding: 11px 18px; border-radius: 12px; font-weight: 600; font-size: .95rem;
  background: var(--white); border: 1px solid var(--line);
  transition: transform .18s ease, border-color .18s ease, color .18s ease;
}
.vehicle-list li:hover { transform: translateY(-3px); border-color: var(--signal); color: var(--signal); }

/* ── Banner CTA ──────────────────────────────────────────────────────────── */
.banner-cta {
  background: var(--ink); color: var(--white); border-radius: var(--radius-lg);
  padding: 52px; display: flex; justify-content: space-between; align-items: center; gap: 32px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.banner-cta .bc-stripe { position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,181,71,.0) 0 40px, rgba(255,181,71,.06) 40px 80px); pointer-events: none; }
.banner-cta h2 { margin-bottom: 8px; position: relative; }
.banner-cta p  { margin: 0; color: var(--muted-light); max-width: 620px; position: relative; }
.banner-cta .bc-actions { position: relative; flex: none; }

/* ── Gallery tiles (home) ────────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-tile {
  min-height: 200px; border-radius: 18px; color: var(--white); padding: 20px;
  display: flex; align-items: flex-end;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em;
  position: relative; overflow: hidden; transition: transform .25s ease; text-decoration: none;
  background: linear-gradient(160deg, var(--rubber), var(--ink));
  background-size: cover !important; background-position: center !important;
}
.gallery-tile:hover { transform: scale(1.02); }
.gallery-tile::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 8px, transparent 8px 22px);
  opacity: .8;
}
.gallery-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,.6) 100%);
  border-radius: inherit; z-index: 0;
}
.gallery-tile span { position: relative; z-index: 1; }
.gallery-tile.accent::after { background: linear-gradient(160deg, rgba(224,50,43,.55) 0%, rgba(178,29,26,.72) 100%); }

/* ── Location ────────────────────────────────────────────────────────────── */
.local-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-sm); }
.keyword-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 22px 0 0; list-style: none; }
.keyword-list li { padding: 8px 13px; border-radius: 10px; font-weight: 600; font-size: .86rem; background: var(--paper); border: 1px solid var(--line); color: var(--rubber); }
.map-box {
  min-height: 420px; border-radius: var(--radius-lg);
  display: grid; place-items: center; text-align: center; color: var(--white);
  position: relative; overflow: hidden; padding: 0;
  background: radial-gradient(120% 120% at 80% 10%, rgba(224,50,43,.5), transparent 50%), linear-gradient(160deg, var(--rubber), var(--ink));
}
.map-box-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 0; }
.map-box-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10,11,14,.88) 0%, rgba(10,11,14,.45) 60%, rgba(10,11,14,.25) 100%); }
.map-box .pin {
  position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 18px;
  background: var(--signal); border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  box-shadow: 0 12px 28px rgba(224,50,43,.5); display: grid; place-items: center;
}
.map-box .pin::after { content: ""; width: 18px; height: 18px; background: var(--white); border-radius: 50%; }
.map-box .mb-inner { position: relative; z-index: 2; padding: 36px; }
.map-box h3 { color: #fff; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; transition: border-color .2s ease, box-shadow .2s ease; }
details[open] { border-color: rgba(224,50,43,.4); box-shadow: var(--shadow-sm); }
summary {
  cursor: pointer; font-weight: 700; font-size: 1.04rem; list-style: none; padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--display); letter-spacing: -.01em;
}
summary::-webkit-details-marker { display: none; }
summary .qmark {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--signal); color: var(--signal);
  display: grid; place-items: center; font-size: 1.1rem; line-height: 1;
  transition: transform .25s ease, background .2s ease, color .2s ease; font-family: var(--body);
}
details[open] summary .qmark { transform: rotate(45deg); background: var(--signal); color: #fff; }
details p { margin: 0 0 20px; color: var(--muted); }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; }
.contact-card { background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: 40px; position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 30px solid rgba(255,255,255,.04); }
.contact-card p, .contact-card li { color: var(--muted-light); }
.contact-card ul { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 16px; position: relative; z-index: 1; }
.contact-card li { display: flex; gap: 13px; align-items: flex-start; }
.contact-card li .ci { flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.contact-card li .ci svg { width: 18px; height: 18px; stroke: var(--amber); fill: none; }
.contact-card li .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); display: block; }
.contact-card a { color: var(--white); font-weight: 700; text-decoration: none; }
.contact-card a:hover { color: var(--amber); }

.form-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 7px; color: var(--rubber); font-weight: 600; font-size: .86rem; }
input, textarea, select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 14px; font: inherit; background: var(--paper);
  transition: border-color .18s ease, background .18s ease;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--signal); background: var(--white); box-shadow: 0 0 0 3px rgba(224,50,43,.12); }
textarea { min-height: 130px; resize: vertical; }
.full { grid-column: 1 / -1; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer { background: var(--ink); color: var(--white); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line-dark); }
.footer-grid h4 { font-family: var(--display); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--amber); margin: 0 0 16px; }
.footer-grid a { color: var(--muted-light); text-decoration: none; display: block; margin-bottom: 9px; font-size: .94rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { color: var(--muted-light); font-size: .94rem; max-width: 320px; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,.5); font-size: .85rem; }

/* ── Scroll reveal ───────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* =============================================================================
   ABOUT PAGE
   ============================================================================= */
.about-hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    linear-gradient(115deg, rgba(18,20,23,.92), rgba(18,20,23,.74) 48%, rgba(18,20,23,.45)),
    url('/images/gallery/Tires/stacks_of_used_tires_warehouse_019.jpg') center/cover no-repeat;
}
.about-hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  min-height: 600px; padding: 90px 0;
}
.about-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); max-width: 760px; }
.about-hero .lede { font-size: clamp(1.06rem, 2vw, 1.3rem); max-width: 600px; color: var(--muted-light); margin: 0 0 26px; }
.about-hero-card {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow); align-self: stretch;
  position: relative; overflow: hidden;
}
.about-hero-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--signal), var(--amber)); }
.about-hero-card img { border-radius: 16px; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center; }
.about-hero-card .caption { padding: 15px 6px 4px; color: var(--muted); font-size: .96rem; }
.about-hero-card .caption strong { color: var(--ink); }

/* stat strip */
.stats-wrap { margin-top: -42px; position: relative; z-index: 5; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.stat strong { display: block; font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--signal); margin-bottom: 7px; letter-spacing: -.02em; }

/* about content blocks */
.about-section { padding: 90px 0; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.section-label { color: var(--signal); text-transform: uppercase; letter-spacing: .1em; font-weight: 800; font-size: .82rem; margin-bottom: 12px; }
.text-large { font-size: 1.12rem; color: #3d3d3d; }
.about-section.dark { background: var(--ink); color: var(--white); }
.about-section.dark .text-large, .about-section.dark p { color: var(--muted-light); }
.about-section.dark .section-label { color: var(--amber); }
.about-section.light { background: var(--paper); }

.quote-box { border-left: 6px solid var(--signal); padding: 22px 24px; background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow-sm); margin-top: 24px; }

.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-grid img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-grid img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }

.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.about-cards .card .icon {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px;
  background: rgba(224,50,43,.12); color: var(--signal); font-size: 1.4rem; margin-bottom: 15px;
}

.timeline { display: grid; gap: 18px; margin-top: 30px; }
.timeline-item { display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: start; }
.timeline .year { background: var(--signal); color: var(--white); border-radius: 16px; padding: 12px 10px; text-align: center; font-weight: 900; font-family: var(--display); }
.timeline h3 { margin-bottom: 6px; }
.timeline p { color: var(--muted); margin: 0; }

.brand-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.brand-list span { background: var(--white); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-weight: 600; color: #333; font-size: .92rem; }

.service-area { columns: 2; padding-left: 18px; color: #3d3d3d; margin-top: 8px; }
.service-area li { margin-bottom: 4px; }

.easter-egg { margin-top: 26px; font-size: .9rem; color: rgba(255,255,255,.5); }
.easter-egg a { color: var(--amber); text-decoration: underline; font-weight: 700; }

.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.info-card h3 { margin-bottom: 14px; }
.info-card p { margin: 0 0 14px; }
.info-card a { color: var(--signal); font-weight: 700; text-decoration: none; }
.info-card a:hover { color: var(--signal-deep); }

.about-cta {
  text-align: center; padding: 95px 0; color: var(--white);
  background: linear-gradient(115deg, rgba(18,20,23,.9), rgba(18,20,23,.74)), url('/images/gallery/Trucks/white_kings_towing_truck_081.jpg') center/cover no-repeat;
}
.about-cta p { max-width: 640px; margin: 0 auto 26px; color: var(--muted-light); font-size: 1.12rem; }

/* =============================================================================
   GALLERY PAGE
   ============================================================================= */
.page-hero {
  background:
    radial-gradient(120% 120% at 85% 0%, rgba(224,50,43,.28), transparent 45%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--white); position: relative; overflow: hidden;
}
.page-hero-tread {
  position: absolute; right: -180px; top: 50%; transform: translateY(-50%);
  width: 560px; height: 560px; border-radius: 50%;
  mask: radial-gradient(circle, transparent 0 33%, #000 34% 70%, transparent 71%);
  -webkit-mask: radial-gradient(circle, transparent 0 33%, #000 34% 70%, transparent 71%);
  background: conic-gradient(from 0deg, rgba(255,255,255,.06) 0 4deg, transparent 4deg 12deg);
  opacity: .5; pointer-events: none;
}
.page-hero-inner {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding: 68px 0 56px;
}
.page-hero p { color: var(--muted-light); font-size: 1.1rem; max-width: 580px; margin: 12px 0 0; }
.page-hero-stats { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-end; flex: none; }
.page-hero-stats div strong { display: block; font-family: var(--display); font-weight: 900; font-size: 2.2rem; letter-spacing: -.03em; line-height: 1; }
.page-hero-stats div span { color: var(--muted-light); font-size: .82rem; }
.page-hero-stats .s-red { color: var(--signal); }
.page-hero-stats .s-amb { color: var(--amber); }

/* filter bar */
.filter-wrap { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 73px; z-index: 50; }
.filter-inner { display: flex; align-items: center; gap: 8px; padding: 14px 0; overflow-x: auto; scrollbar-width: none; }
.filter-inner::-webkit-scrollbar { display: none; }
.filter-btn {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 999px;
  background: transparent; border: 1.5px solid var(--line);
  font: 600 .88rem var(--body); color: var(--rubber);
  cursor: pointer; white-space: nowrap;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.filter-btn:hover { background: rgba(18,20,23,.05); border-color: var(--rubber); }
.filter-btn.active { background: var(--signal); border-color: var(--signal); color: var(--white); box-shadow: 0 6px 16px -6px rgba(224,50,43,.55); }
.filter-btn .fc { font-size: .76rem; font-weight: 700; background: rgba(18,20,23,.12); color: inherit; border-radius: 999px; padding: 1px 7px; line-height: 1.6; transition: background .18s; }
.filter-btn.active .fc { background: rgba(255,255,255,.22); }

/* category sections */
.gallery-main { padding: 60px 0 80px; }
.cat-section { margin-bottom: 68px; }
.cat-section:last-child { margin-bottom: 0; }
.cat-header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 2px solid var(--line); }
.cat-header h2 { margin: 0; }
.cat-count { font-size: .82rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

/* image grid */
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.img-thumb {
  position: relative; overflow: hidden; border-radius: 16px; cursor: pointer;
  background: var(--rubber); aspect-ratio: 4/3; box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease;
}
.img-thumb:hover { transform: scale(1.025); box-shadow: var(--shadow); }
.img-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.img-thumb .img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 50%); opacity: 0; transition: opacity .28s; display: flex; align-items: flex-end; padding: 14px; }
.img-thumb:hover .img-overlay { opacity: 1; }
.img-overlay span { color: #fff; font-size: .82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.img-thumb .zoom-ico { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(4px); display: grid; place-items: center; opacity: 0; transition: opacity .25s; }
.img-thumb:hover .zoom-ico { opacity: 1; }
.zoom-ico svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* empty state */
.empty-cat { border: 2px dashed var(--line); border-radius: 18px; padding: 44px 28px; text-align: center; color: var(--muted); }
.empty-cat .e-ico { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; }
.empty-cat .e-ico svg { width: 26px; height: 26px; stroke: var(--muted); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.empty-cat p { margin: 0; font-size: .96rem; }

/* lightbox */
#lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,11,14,.92); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease; }
#lightbox.open { opacity: 1; visibility: visible; }
#lightbox.open #lb-img-wrap { transform: scale(1); }
#lb-img-wrap { position: relative; max-width: min(1100px, 100%); max-height: 90vh; transform: scale(.94); transition: transform .3s ease; }
#lb-img { max-width: 100%; max-height: 88vh; object-fit: contain; border-radius: 12px; box-shadow: 0 40px 100px -20px rgba(0,0,0,.8); display: block; }
#lb-caption { position: absolute; bottom: -38px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: .88rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-btn { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .18s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
#lb-prev { left: 16px; }
#lb-next { right: 16px; }
#lb-close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .18s; }
#lb-close:hover { background: var(--signal); border-color: var(--signal); }
#lb-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; }
#lb-counter { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,.1); color: #fff; font-size: .82rem; font-weight: 600; padding: 5px 14px; border-radius: 999px; letter-spacing: .04em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
#lb-spinner { position: absolute; inset: 0; display: grid; place-items: center; }
#lb-spinner svg { animation: lbspin 1s linear infinite; }
@keyframes lbspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #lb-spinner svg { animation: none; } }

#no-results { display: none; text-align: center; padding: 80px 20px; color: var(--muted); }
#no-results.show { display: block; }
#no-results p { font-size: 1.05rem; }

/* CTA strip (gallery) */
.cta-strip { background: var(--ink); color: var(--white); padding: 72px 0; position: relative; overflow: hidden; }
.cta-strip::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,181,71,.0) 0 40px, rgba(255,181,71,.05) 40px 80px); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner p { color: var(--muted-light); max-width: 540px; margin: 10px 0 0; }

/* ── Hummingbird easter egg (gallery) ────────────────────────────────────── */
.egg-trigger { background: none; border: none; cursor: pointer; padding: 6px; margin: 0; line-height: 0; opacity: .28; transition: opacity .3s ease, transform .3s ease; color: var(--amber); }
.egg-trigger:hover, .egg-trigger:focus-visible { opacity: 1; transform: translateY(-3px) rotate(-8deg); outline: none; }
.egg-trigger svg { width: 22px; height: 22px; fill: currentColor; }
#egg { position: fixed; inset: 0; z-index: 220; display: flex; align-items: center; justify-content: center; padding: 20px; background: radial-gradient(120% 120% at 50% 0%, rgba(40,46,80,.96), rgba(10,11,14,.97)); opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s ease; overflow-y: auto; }
#egg.open { opacity: 1; visibility: visible; }
.egg-card { max-width: 760px; width: 100%; background: linear-gradient(165deg, #20243a 0%, #161827 100%); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 0; overflow: hidden; box-shadow: 0 40px 120px -30px rgba(0,0,0,.85); transform: scale(.92) translateY(20px); transition: transform .45s cubic-bezier(.2,.9,.3,1.2); position: relative; }
#egg.open .egg-card { transform: none; }
.egg-photo { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--rubber); }
.egg-photo img { width: 100%; height: 100%; object-fit: cover; }
.egg-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,24,39,1) 2%, transparent 45%); }
.egg-sparkle { position: absolute; z-index: 2; pointer-events: none; color: #ffe6a3; opacity: 0; animation: sparkle 2.6s ease-in-out infinite; }
.egg-sparkle svg { width: 100%; height: 100%; fill: currentColor; }
.egg-sparkle.s1 { top: 12%; left: 10%; width: 26px; height: 26px; animation-delay: .1s; }
.egg-sparkle.s2 { top: 22%; right: 14%; width: 18px; height: 18px; animation-delay: .7s; }
.egg-sparkle.s3 { top: 50%; left: 18%; width: 14px; height: 14px; animation-delay: 1.3s; }
.egg-sparkle.s4 { top: 38%; right: 22%; width: 22px; height: 22px; animation-delay: 1.9s; }
@keyframes sparkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(25deg); } }
@media (prefers-reduced-motion: reduce) { .egg-sparkle { animation: none; opacity: .6; } }
.egg-body { padding: 28px 34px 36px; color: #fff; position: relative; margin-top: -40px; z-index: 3; }
.egg-crown { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(90deg, var(--amber), #ffd27a); color: #2a1d00; font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; padding: 7px 14px; border-radius: 999px; margin-bottom: 16px; }
.egg-crown svg { width: 14px; height: 14px; fill: currentColor; }
.egg-body h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 6px; }
.egg-body .egg-sub { color: var(--amber); font-weight: 600; font-size: 1rem; margin: 0 0 18px; font-family: var(--body); }
.egg-body p { color: rgba(255,255,255,.78); font-size: 1rem; margin: 0 0 14px; }
.egg-body .egg-secondary { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.egg-thumb { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; border: 2px solid rgba(255,255,255,.15); flex: none; }
.egg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.egg-close { position: absolute; top: 16px; right: 16px; z-index: 4; width: 42px; height: 42px; border-radius: 50%; background: rgba(0,0,0,.4); border: 1.5px solid rgba(255,255,255,.25); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .18s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.egg-close:hover { background: var(--signal); border-color: var(--signal); }
.egg-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; }
.egg-hint { margin-top: 18px; font-size: .8rem; color: rgba(255,255,255,.4); font-style: italic; }
.egg-flyer { position: fixed; z-index: 221; top: 30%; left: -60px; width: 48px; height: 48px; color: var(--amber); pointer-events: none; opacity: 0; }
#egg.open ~ .egg-flyer { animation: fly 3.2s ease-in-out .2s 1; }
.egg-flyer svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes fly { 0% { opacity: 0; left: -60px; top: 40%; transform: rotate(-10deg); } 15% { opacity: 1; } 50% { top: 20%; transform: rotate(8deg); } 85% { opacity: 1; } 100% { opacity: 0; left: 100%; top: 35%; transform: rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { #egg.open ~ .egg-flyer { animation: none; } }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 72px 0 80px; }
  .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav ul { display: none; }
  .nav-toggle { display: flex; }
  .hero-tread { right: -360px; opacity: .35; }

  /* about */
  .about-hero .container, .about-split { grid-template-columns: 1fr; }
  .about-hero .container { min-height: auto; padding: 70px 0; }
  .stats, .about-cards { grid-template-columns: repeat(2, 1fr); }

  /* gallery */
  .page-hero-stats { display: none; }
}

@media (max-width: 600px) {
  .grid-3, .form-grid, .gallery-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.18); }
  .top-bar .tb-left { display: none; }
  .top-bar .container { justify-content: center; }
  section, .about-section { padding: 64px 0; }
  .banner-cta { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .local-box, .contact-card, .form-box { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-meta { gap: 20px; }

  /* about */
  .stats, .about-cards, .photo-grid { grid-template-columns: 1fr; }
  .stats-wrap { margin-top: 0; }
  .service-area { columns: 1; }

  /* gallery */
  .img-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cta-inner { flex-direction: column; }
  .page-hero-inner { padding: 52px 0 42px; }
}

@media (max-width: 380px) {
  .img-grid { grid-template-columns: 1fr; }
}
