/* =====================================================================
   J & M Auto Repair Inc — styles
   Neutral monochrome + single steel-blue accent. Mobile-first.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0b0b0d;
  --charcoal: #2b2f33;
  --slate: #5b6169;
  --line: #e7e9ec;
  --offwhite: #f6f7f8;
  --white: #ffffff;

  --accent: #e10600;
  --accent-dark: #b00500;
  --wa: #25d366;
  --wa-dark: #1da851;

  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(21,23,25,.06), 0 1px 3px rgba(21,23,25,.05);
  --shadow-md: 0 4px 16px rgba(21,23,25,.08);
  --shadow-lg: 0 18px 48px rgba(21,23,25,.14);

  --ff-head: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--ink); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--tint { background: var(--offwhite); }
.section--dark { background: var(--ink); color: #d7dadd; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  font-family: var(--ff-head);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px; display: block;
}
.section--dark .eyebrow { color: #ff6b63; }
h2.h { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.section-head p { margin-top: 14px; color: var(--slate); font-size: 1.05rem; }
.section--dark .section-head p { color: #aeb4ba; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-head); font-weight: 600; font-size: .98rem;
  padding: 13px 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--slate); color: var(--ink); background: var(--offwhite); }
.section--dark .btn-outline { color: #fff; border-color: rgba(255,255,255,.28); }
.section--dark .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.06); color: #fff; }
.btn-wa { background: var(--wa); color: #0b3d1e; }
.btn-wa:hover { background: var(--wa-dark); color: #08301a; }
.btn-ghost { background:#fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--offwhite); }
.btn-lg { padding: 15px 26px; font-size: 1.04rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 9px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-family: var(--ff-head); font-weight: 800; font-size: .95rem; letter-spacing: .02em;
}
.brand .mark span { color: var(--accent); }
.brand b { font-family: var(--ff-head); font-size: 1.02rem; color: var(--ink); line-height: 1.05; font-weight: 700; }
.brand small { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); font-weight: 500; }

.nav-links { display: none; align-items: center; gap: 26px; }
.nav-links a { color: var(--charcoal); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-head); font-weight: 600;
  font-size: .85rem; color: var(--ink); border: 1.5px solid var(--line); padding: 8px 12px; border-radius: 7px; background:#fff;
}
.lang-toggle:hover { border-color: var(--slate); color: var(--ink); }
.nav-call { display: none; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 8px;
  border: 1.5px solid var(--line); background: #fff;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column; gap: 4px; padding: 10px var(--gutter) 20px;
  border-bottom: 1px solid var(--line); background: #fff;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--charcoal); font-weight: 500; padding: 11px 4px; border-bottom: 1px solid var(--offwhite); }
.mobile-menu .btn { margin-top: 12px; justify-content: center; }

@media (min-width: 940px) {
  .nav-links { display: flex; }
  .nav-call { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #e8eaed; background: var(--ink);
  padding-block: clamp(64px, 11vw, 132px);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,11,13,.90) 0%, rgba(11,11,13,.66) 46%, rgba(11,11,13,.34) 100%),
    linear-gradient(180deg, rgba(11,11,13,.42), transparent 32%, transparent 62%, rgba(11,11,13,.78));
}
@media (prefers-reduced-motion: no-preference) {
  .hero-bg img { transform: scale(1.09); animation: heroZoom 22s ease-out forwards; }
  @keyframes heroZoom { to { transform: scale(1); } }
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, rgba(225,6,0,.14), transparent 44%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; right: -12%; top: -30%; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(225,6,0,.22), transparent 62%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-head); font-weight: 500;
  font-size: .82rem; letter-spacing: .02em; color: #cfd4da;
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 7px 15px; margin-bottom: 24px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(225,6,0,.22); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.6vw, 3.5rem); letter-spacing: -.02em; }
.hero p.lede { margin-top: 20px; font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: #c3c8ce; max-width: 600px; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 13px; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.30); }
.hero .btn-outline:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.07); }
.hero-facts { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 30px; }
.hero-facts li { display: flex; align-items: center; gap: 9px; color: #cfd4da; font-size: .95rem; }
.hero-facts svg { width: 18px; height: 18px; stroke: var(--accent); flex: none; }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--white); border-bottom: 1px solid var(--line);
}
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-inline: 1px solid var(--line); }
.trust-item { background: #fff; display: flex; align-items: center; gap: 12px; padding: 22px clamp(16px,3vw,28px); }
.trust-item svg { width: 26px; height: 26px; stroke: var(--accent); flex: none; }
.trust-item b { font-family: var(--ff-head); font-size: .98rem; color: var(--ink); display: block; }
.trust-item span { font-size: .82rem; color: var(--slate); }
@media (min-width: 780px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Services grid — engine-block cards ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 18px; perspective: 1100px; }
@media (min-width: 620px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-card {
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: linear-gradient(180deg, #1a1c21 0%, #0b0b0d 100%);
  border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius);
  padding: 28px 24px 22px; overflow: hidden; color: #c3c8ce;
  transition: transform .28s cubic-bezier(.22,.8,.26,1), border-color .28s ease, box-shadow .28s ease;
}
.svc-card::before { /* red cam bar */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 1;
  background: linear-gradient(90deg, var(--accent), rgba(225,6,0,.25));
  transform: scaleX(.32); transform-origin: left;
  transition: transform .35s cubic-bezier(.22,.8,.26,1);
}
.svc-card::after { /* brushed-metal texture */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.022) 0 2px, transparent 2px 14px);
}
.svc-card .num {
  position: absolute; top: 12px; right: 16px; z-index: 1;
  font-family: var(--ff-head); font-weight: 800; font-size: 3.3rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14);
  user-select: none; pointer-events: none;
  transition: -webkit-text-stroke-color .3s ease;
}
.svc-ico { /* piston-cap dial */
  width: 54px; height: 54px; border-radius: 50%; margin-bottom: 18px; flex: none;
  background: radial-gradient(circle at 32% 28%, #33373d, #101114 68%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 2px 6px rgba(255,255,255,.07), inset 0 -4px 10px rgba(0,0,0,.55), 0 4px 12px rgba(0,0,0,.4);
  display: grid; place-items: center; position: relative; z-index: 1;
}
.svc-ico svg { width: 26px; height: 26px; stroke: var(--accent); }
.svc-card h3 {
  font-size: 1rem; margin-bottom: 8px; color: #fff;
  text-transform: uppercase; letter-spacing: .07em; position: relative; z-index: 1;
}
.svc-card p { color: #9aa1a9; font-size: .94rem; position: relative; z-index: 1; flex: 1; }
.svc-more {
  margin-top: 18px; padding: 14px 0 0; width: 100%; border: 0; border-top: 1px solid rgba(255,255,255,.09);
  background: none; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--ff-head); font-weight: 600; font-size: .76rem;
  letter-spacing: .13em; text-transform: uppercase; color: #ff6b63;
}
.svc-more::before { content: ""; position: absolute; inset: 0; } /* stretch tap target over card */
.svc-more svg { width: 17px; height: 17px; stroke: currentColor; transition: transform .25s ease; }
.svc-more:focus-visible { outline: none; }
.svc-card:has(.svc-more:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.svc-card:hover, .svc-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(225,6,0,.55);
  box-shadow: 0 18px 44px rgba(0,0,0,.32), 0 6px 18px rgba(225,6,0,.18);
}
.svc-card:hover::before, .svc-card:focus-within::before { transform: scaleX(1); }
.svc-card:hover .svc-more svg, .svc-card:focus-within .svc-more svg { transform: translateX(5px); }
.svc-card:hover .num, .svc-card:focus-within .num { -webkit-text-stroke-color: rgba(225,6,0,.45); }

/* ---------- Feature bands (collision / pdr) ---------- */
.feature { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
@media (min-width: 900px) { .feature { grid-template-columns: 1.05fr .95fr; } .feature.rev .feature-media { order: -1; } }
.feature h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.feature p { margin-top: 16px; color: var(--slate); }
.section--dark .feature p { color: #aeb4ba; }
.feature ul.checks { margin-top: 20px; display: grid; gap: 11px; }
.feature ul.checks li { display: flex; gap: 11px; align-items: flex-start; font-size: .98rem; }
.feature ul.checks svg { width: 20px; height: 20px; stroke: var(--accent); flex: none; margin-top: 2px; }
.feature-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.feature-media {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(160deg, #22262b, #14161a);
  color: #7f868e; position: relative; margin: 0;
}
.section--dark .feature-media { border-color: rgba(255,255,255,.1); }
.feature-media figcaption {
  font-size: .78rem; color: var(--slate); padding: 10px 16px;
  background: #fff; border-top: 1px solid var(--line);
}
.section--dark .feature-media figcaption { background: #131417; color: #8b929a; border-color: rgba(255,255,255,.08); }

/* ---------- Before/after slider ---------- */
.ba { position: relative; aspect-ratio: 4/3; overflow: hidden; user-select: none; --pos: 50%; }
.ba img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none; margin: 0;
}
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba .ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px;
  background: #fff; transform: translateX(-1px); pointer-events: none;
  box-shadow: 0 0 12px rgba(0,0,0,.45);
}
.ba .ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.ba .ba-handle svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 26px; height: 26px; stroke: #fff; z-index: 1; }
.ba .ba-tag {
  position: absolute; top: 12px; z-index: 1; pointer-events: none;
  font-family: var(--ff-head); font-weight: 600; font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: rgba(11,11,13,.72); padding: 5px 11px; border-radius: 6px;
}
.ba .tag-b { left: 12px; }
.ba .tag-a { right: 12px; }
.ba input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0; -webkit-appearance: none; appearance: none;
  touch-action: none;
}
.ba input[type="range"]:focus-visible ~ .ba-handle { outline: 3px solid #fff; outline-offset: 2px; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.why-card .n { font-family: var(--ff-head); font-weight: 700; color: var(--accent); font-size: .9rem; letter-spacing: .1em; }
.why-card h3 { font-size: 1.08rem; margin: 10px 0 8px; }
.why-card p { color: var(--slate); font-size: .95rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery .tile {
  aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  position: relative; margin: 0; background: var(--ink);
}
.gallery .tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.gallery .tile:hover img, .gallery .tile:focus-within img { transform: scale(1.05); }
.gallery .tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(11,11,13,.82));
  color: #fff; font-family: var(--ff-head); font-weight: 600;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr; gap: clamp(28px,5vw,56px); align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: .9fr 1.1fr; } }
.about-media { border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg,#f0f2f4,#e2e6ea); overflow: hidden; color: #9aa1a9; }
.about-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about p + p { margin-top: 14px; }
.about .signature { margin-top: 22px; font-family: var(--ff-head); }
.about .signature b { color: var(--ink); display: block; font-size: 1.05rem; }
.about .signature span { color: var(--slate); font-size: .9rem; }

/* ---------- Reviews ---------- */
.reviews-cta { text-align: center; max-width: 620px; margin: 0 auto; }
.stars { display: inline-flex; gap: 4px; margin-bottom: 14px; }
.stars svg { width: 24px; height: 24px; fill: #f5a623; stroke: none; }
.reviews-cta p { color: var(--slate); margin-bottom: 22px; }

/* ---------- Location ---------- */
.loc-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 860px) { .loc-grid { grid-template-columns: 1fr 1.15fr; } }
.loc-info h3 { font-size: 1.15rem; margin-bottom: 6px; }
.loc-info .row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.loc-info .row svg { width: 20px; height: 20px; stroke: var(--accent); flex: none; margin-top: 3px; }
.loc-info .row div b { font-family: var(--ff-head); color: var(--ink); display:block; font-size:.95rem; }
.loc-info .row div span, .loc-info .row div a { color: var(--slate); font-size: .95rem; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.hours-table td { padding: 7px 0; font-size: .95rem; border-bottom: 1px solid var(--offwhite); }
.hours-table td:last-child { text-align: right; color: var(--ink); font-weight: 500; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 340px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px,4vw,48px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-aside .quick { display: grid; gap: 12px; margin-top: 22px; }
.contact-aside .quick a { display: flex; align-items: center; gap: 13px; padding: 15px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background:#fff; color: var(--ink); font-weight: 500; }
.contact-aside .quick a:hover { border-color: var(--slate); background: var(--offwhite); }
.contact-aside .quick svg { width: 22px; height: 22px; stroke: var(--accent); flex:none; }
.contact-aside .quick.wa svg { stroke: var(--wa-dark); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px,3vw,32px); box-shadow: var(--shadow-sm); }
.form .field { margin-bottom: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .form .row2 { grid-template-columns: 1fr 1fr; } }
.form label { display: block; font-family: var(--ff-head); font-weight: 600; font-size: .85rem; color: var(--ink); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(225,6,0,.13); }
.form textarea { resize: vertical; min-height: 110px; }
.form .hint { font-size: .82rem; color: var(--slate); margin-top: 6px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form .consent { font-size: .8rem; color: var(--slate); margin-top: 14px; text-align: center; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aab0b7; padding-block: clamp(48px,7vw,72px) 28px; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand b { color: #fff; }
.site-footer .brand small { color: #7f868e; }
.site-footer p { font-size: .93rem; margin-top: 14px; max-width: 320px; }
.foot-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; font-family: var(--ff-head); }
.foot-col a, .foot-col li { color: #aab0b7; font-size: .93rem; display: block; padding: 4px 0; }
.foot-col a:hover { color: #fff; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .82rem; color: #7f868e; }

/* ---------- Sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 1px; background: var(--line);
  box-shadow: 0 -4px 20px rgba(21,23,25,.12);
}
.callbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; font-family: var(--ff-head); font-weight: 600; font-size: .95rem; }
.callbar .c-call { background: var(--accent); color: #fff; }
.callbar .c-wa { background: var(--wa); color: #0b3d1e; }
.callbar svg { width: 19px; height: 19px; }
body { padding-bottom: 0; }
@media (max-width: 939px) { body.has-callbar { padding-bottom: 54px; } }
@media (min-width: 940px) { .callbar { display: none; } }

/* ---------- Service drawer (Certified Safe pattern) ---------- */
.sd-backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(11,11,13,.58);
  backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s ease;
}
.sd-backdrop.open { opacity: 1; }
.svc-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
  width: min(520px, 100vw); background: #fff; display: flex; flex-direction: column;
  box-shadow: -24px 0 60px rgba(0,0,0,.3);
  transform: translateX(102%); transition: transform .45s cubic-bezier(.22,.8,.26,1);
}
.svc-drawer.open { transform: none; }
.sd-head {
  flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 24px 26px 18px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden;
}
.sd-head::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent); }
.sd-head .eyebrow { margin-bottom: 6px; }
.sd-head h3 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: .04em; }
.sd-close {
  flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line);
  background: #fff; display: grid; place-items: center;
  transition: border-color .15s ease, background .15s ease;
}
.sd-close:hover { border-color: var(--ink); background: var(--offwhite); }
.sd-close svg { width: 20px; height: 20px; stroke: var(--ink); }
.sd-body { flex: 1; overflow-y: auto; padding: 24px 26px 30px; overscroll-behavior: contain; }
.sd-intro { color: var(--charcoal); font-size: 1rem; }
.sd-sec { margin-top: 26px; }
.sd-sec h4 {
  font-family: var(--ff-head); font-size: .78rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.sd-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; }
@media (max-width: 460px) { .sd-checks { grid-template-columns: 1fr; } }
.sd-checks li { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; color: var(--charcoal); }
.sd-checks svg { width: 16px; height: 16px; stroke: var(--accent); flex: none; margin-top: 3px; }
.sd-steps { display: grid; gap: 13px; }
.sd-steps li { display: flex; gap: 13px; font-size: .92rem; color: var(--slate); }
.sd-steps li b { color: var(--ink); display: block; font-family: var(--ff-head); font-size: .95rem; }
.sd-steps .stepn {
  flex: none; width: 30px; height: 30px; border-radius: 50%; margin-top: 2px;
  background: var(--ink); color: #fff; font-family: var(--ff-head); font-weight: 700; font-size: .8rem;
  display: grid; place-items: center;
}
.sd-faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 9px; }
.sd-faq summary {
  cursor: pointer; padding: 12px 14px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-family: var(--ff-head); font-weight: 600; font-size: .92rem; color: var(--ink);
}
.sd-faq summary::-webkit-details-marker { display: none; }
.sd-faq summary::after { content: "+"; font-weight: 700; color: var(--accent); font-size: 1.1rem; flex: none; }
.sd-faq details[open] summary::after { content: "\2013"; }
.sd-faq details p { padding: 0 14px 13px; font-size: .9rem; color: var(--slate); }
.sd-cta {
  flex: none; padding: 16px 26px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.sd-cta .btn { justify-content: center; }
.sd-cta .sd-quote { grid-column: 1 / -1; }
body.sd-lock { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .svc-drawer.open .sd-anim { animation: sdUp .55s cubic-bezier(.22,.8,.26,1) both; }
  .svc-drawer.open .sd-anim:nth-child(2) { animation-delay: .08s; }
  .svc-drawer.open .sd-anim:nth-child(3) { animation-delay: .16s; }
  .svc-drawer.open .sd-anim:nth-child(4) { animation-delay: .24s; }
  .svc-drawer.open .sd-anim:nth-child(5) { animation-delay: .32s; }
  @keyframes sdUp { from { opacity: 0; transform: translateY(18px); } }
}

/* ---------- Scroll reveal (classes added by JS only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
  .reveal.in { opacity: 1; transform: none; }

  /* Ferrari-style directional block slides (features) */
  .reveal-left  { opacity: 0; transform: translateX(-46px); transition: opacity .7s ease, transform .75s cubic-bezier(.22,.8,.26,1); }
  .reveal-right { opacity: 0; transform: translateX(46px);  transition: opacity .7s ease, transform .75s cubic-bezier(.22,.8,.26,1); }
  .reveal-left.in, .reveal-right.in { opacity: 1; transform: none; }

  /* 3D pop-up for service blocks (staggered via --i, cleaned up by JS after run) */
  .reveal-pop {
    opacity: 0; transform: rotateX(24deg) translateY(52px) scale(.95);
    transform-origin: 50% 100%;
    transition: opacity .55s ease, transform .75s cubic-bezier(.22,.8,.26,1);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .reveal-pop.in { opacity: 1; transform: none; }

  .hero-bg { will-change: transform; }

  /* Scroll-driven zoom (progressive enhancement — Chromium) */
  @supports (animation-timeline: view()) {
    .about-media img {
      animation: scrollZoom linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 55%;
    }
    @keyframes scrollZoom { from { transform: scale(1.14); } to { transform: scale(1); } }
  }
}

/* ---------- misc ---------- */
[id] { scroll-margin-top: calc(var(--header-h) + 14px); }
.center { text-align: center; }
.mt-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
