/* ==========================================================================
   CRS Auto — Service Centre · Design system
   Neutral charcoal/white base · amber accent · Barlow type
   ========================================================================== */

:root {
  /* Palette */
  --ink: #161616;
  --ink-2: #242424;
  --ink-3: #3a3a3a;
  --paper: #ffffff;
  --paper-2: #f6f4ef;      /* warm off-white for alternating sections */
  --paper-3: #ebe7df;
  --muted: #62605b;
  --border: #e3dfd6;
  --accent: #f2a91b;       /* amber */
  --accent-2: #d98f08;     /* amber, pressed / hover */
  --accent-ink: #1a1200;   /* text on amber */
  --accent-soft: #fff4dc;
  --green: #2f8f4e;
  --orange: #e07a17;
  --red: #c8352b;

  /* Type */
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Barlow Condensed", "Barlow", system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 4px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { max-width: 800px; }
.section { padding-block: var(--section-pad); }
.section--tight { padding-block: calc(var(--section-pad) * .6); }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #fff; }

/* Section heading pattern */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--accent); }
.section--dark .eyebrow { color: rgba(255,255,255,.7); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--muted); font-size: 1.125rem; margin-top: 1rem; }
.section--dark .section-head p { color: rgba(255,255,255,.75); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.lead { font-size: 1.25rem; line-height: 1.5; }
.muted { color: var(--muted); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem; min-height: 52px;
  font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: var(--ink-3); border-color: var(--ink-3); }
.btn--outline { background: transparent; color: var(--ink); border-color: currentColor; }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.0625rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

.text-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 2px;
  transition: gap .2s var(--ease);
}
.text-link:hover { gap: .7rem; }
.text-link svg { width: 18px; height: 18px; flex: none; }
.section--dark .text-link { color: #fff; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  display: inline-block; padding: .55rem .85rem; font-weight: 600; font-size: 1rem; color: var(--ink-2);
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--ink); }
.header-phone svg { width: 20px; height: 20px; color: var(--accent-2); }
.header-cta .btn { padding: .7rem 1.2rem; min-height: 44px; }
.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; margin-right: -.5rem; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-phone { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: .5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem 0; font-size: 1.125rem; border-bottom: 1px solid var(--border); }
  .nav a[aria-current="page"] { border-bottom-color: var(--border); color: var(--accent-2); }
}
@media (max-width: 700px) {
  .hero { min-height: calc(100svh - var(--header-h)); }
  .hero__media img { object-position: center 30%; }
}
@media (max-width: 480px) {
  :root { --header-h: 66px; }
  .btn { white-space: normal; text-align: center; }
  .btn-row .btn { flex: 1 1 auto; }
  .brand img { height: 38px; }
  .header-cta .btn span { display: none; }
  .header-cta .btn { padding: .7rem .9rem; }
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: min(88vh, 820px);
  display: flex; align-items: flex-end;
  padding-block: clamp(4rem, 10vw, 7rem) var(--section-pad);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture, .page-hero__media picture, .band__bg picture { display: block; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.25) 45%, rgba(10,10,10,0) 75%),
    linear-gradient(180deg, rgba(10,10,10,.4) 0%, rgba(10,10,10,.15) 30%, rgba(10,10,10,.55) 60%, rgba(10,10,10,.92) 100%);
}
.hero__content { max-width: 820px; }
.hero__tag {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .45rem .8rem; margin-bottom: 1.5rem;
}
.hero h1 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.75rem, 8.5vw, 6.25rem); line-height: .95; letter-spacing: 0; overflow-wrap: anywhere; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { font-size: clamp(1.1rem, 1.8vw, 1.35rem); max-width: 620px; margin: 1.5rem 0 2rem; color: rgba(255,255,255,.88); }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2.25rem; margin-top: 2.25rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.25);
  font-size: .95rem; color: rgba(255,255,255,.85);
}
.hero__meta div { display: flex; align-items: center; gap: .6rem; }
.hero__meta svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.hero__meta strong { color: #fff; }

/* Interior page hero */
.page-hero {
  position: relative; isolation: isolate; color: #fff;
  padding-block: clamp(4.5rem, 9vw, 7rem) clamp(3rem, 6vw, 4.5rem);
  background: var(--ink);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,.55) 60%, rgba(10,10,10,.35) 100%); }
.page-hero h1 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 4.75rem); line-height: .98; }
.page-hero p { max-width: 640px; font-size: 1.2rem; margin-top: 1.1rem; color: rgba(255,255,255,.85); }
.breadcrumb { display: flex; gap: .5rem; font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 1.25rem; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-current] { color: var(--accent); }

/* --------------------------------------------------------------------------
   Intro strip (home)
   -------------------------------------------------------------------------- */
.intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.intro__text h2 { margin-bottom: 1.25rem; }
.intro__text .lead { margin-bottom: 1.25rem; }
.intro__owner { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.intro__owner img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 25%; }
.intro__owner strong { display: block; font-size: 1.05rem; }
.intro__owner span { color: var(--muted); font-size: .95rem; }
.intro__media { position: relative; }
.intro__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.intro__media::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 3px solid var(--accent); z-index: -1; border-radius: var(--radius); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } .intro__media { order: -1; margin-right: 1.25rem; } }

/* --------------------------------------------------------------------------
   Trust pillars
   -------------------------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.pillar { background: var(--paper); padding: clamp(1.5rem, 3vw, 2.25rem); }
.pillar__icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); border-radius: 50%; margin-bottom: 1.1rem; }
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.pillar p { color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service-card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(0,0,0,.35); }
.service-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card__img img { transform: scale(1.04); }
.service-card__body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .98rem; flex: 1; margin-bottom: 1.1rem; }
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Differentiator band (Emily's Garage style)
   -------------------------------------------------------------------------- */
.band {
  position: relative; isolation: isolate; color: #fff; text-align: center;
  padding-block: clamp(4rem, 9vw, 7.5rem); background: var(--ink);
  overflow: hidden;
}
.band__bg { position: absolute; inset: 0; z-index: -2; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(100%) contrast(1.1); }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(22,22,22,.2), rgba(22,22,22,.85)); }
.band h2 {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 5.5rem); line-height: .98; max-width: 1000px; margin-inline: auto;
}
.band h2 span { display: block; }
.band h2 .accent { color: var(--accent); }
.band p { max-width: 640px; margin: 1.5rem auto 0; font-size: 1.15rem; color: rgba(255,255,255,.8); }
.band .btn-row { justify-content: center; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Feature split (builds teaser, meet Shaun, etc.)
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--portrait img { aspect-ratio: 4 / 5; }
.split__text h2 { margin-bottom: 1.25rem; }
.split__text .btn-row { margin-top: 1.75rem; }
.split__quote { font-size: 1.35rem; line-height: 1.4; font-weight: 500; border-left: 4px solid var(--accent); padding-left: 1.25rem; margin: 0 0 1.25rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }

/* --------------------------------------------------------------------------
   Tips / advice cards
   -------------------------------------------------------------------------- */
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tip { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.tip img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.tip__body { padding: 1.4rem; }
.tip h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.tip p { color: var(--muted); font-size: .98rem; }
.tread { display: grid; gap: .4rem; margin: .9rem 0 0; font-size: .95rem; }
.tread li { display: flex; align-items: center; gap: .6rem; }
.tread i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.tread .ok i { background: var(--green); } .tread .warn i { background: var(--orange); } .tread .bad i { background: var(--red); }
@media (max-width: 960px) { .tips-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   CTA band (pre-footer)
   -------------------------------------------------------------------------- */
.cta-band { background: var(--accent); color: var(--accent-ink); padding-block: clamp(2.5rem, 5vw, 4rem); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.cta-band h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1; }
.cta-band p { margin-top: .5rem; font-weight: 500; }
.cta-band .btn-row .btn--dark { background: var(--ink); color: #fff; }
.cta-band .btn-row .btn--outline { border-color: rgba(0,0,0,.5); }
.cta-band .btn-row .btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* --------------------------------------------------------------------------
   Footer  (4 tracks = brand + 3 columns — keep in sync with markup)
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding-block: clamp(3rem, 6vw, 4.5rem) 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem 2rem; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 380px; }
.footer-col h3 { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a:hover { color: var(--accent); }
.footer-col address { font-style: normal; }
.footer-col .hours { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.footer-col .hours dt { color: #fff; font-weight: 600; }
.footer-col .hours dd { margin: 0; }
.social { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-weight: 600; color: #fff; }
.social svg { width: 22px; height: 22px; }
.footer-bottom { margin-top: clamp(2rem, 4vw, 3rem); padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; font-size: .875rem; color: rgba(255,255,255,.55); }
.footer-bottom ul { display: flex; gap: 1.25rem; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Mobile sticky call bar
   -------------------------------------------------------------------------- */
.call-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
}
.call-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem; font-weight: 700; font-size: 1rem; }
.call-bar a svg { width: 20px; height: 20px; }
.call-bar__call { background: var(--accent); color: var(--accent-ink); }
.call-bar__wa { background: var(--ink); color: #fff; }
@media (max-width: 760px) {
  .call-bar { display: grid; }
  body { padding-bottom: 60px; }
}

/* --------------------------------------------------------------------------
   Interior page components
   -------------------------------------------------------------------------- */
/* Services */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--border); }
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block--rev .service-block__media { order: 2; }
.service-block__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.service-block__num { font-family: var(--font-display); font-size: 3.5rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: .5rem; }
.service-block h2 { margin-bottom: 1rem; }
.service-block .btn-row { margin-top: 1.5rem; }
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem 1.25rem; margin-top: 1.25rem; }
.checklist li { display: flex; align-items: flex-start; gap: .6rem; font-weight: 500; }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1200' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.service-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.service-tags li { background: var(--paper-2); border: 1px solid var(--border); padding: .4rem .8rem; border-radius: 999px; font-size: .9rem; font-weight: 600; }
@media (max-width: 860px) { .service-block { grid-template-columns: 1fr; } .service-block--rev .service-block__media { order: 0; } }
@media (max-width: 480px) { .checklist { grid-template-columns: 1fr; } }

/* About: team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.team-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: .9rem; }
.team-card h3 { font-size: 1.15rem; }
.team-card p { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* Values */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.value { display: flex; gap: 1.1rem; padding: 1.5rem; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); }
.value .pillar__icon { flex: none; margin: 0; }
.value h3 { margin-bottom: .4rem; }
.value p { color: var(--muted); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; color: var(--accent); }
.stat span { color: rgba(255,255,255,.75); font-weight: 500; }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr; gap: 2rem; } }

/* Car builds: gallery + reels */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: .75rem; }
.gallery a { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.gallery a img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transition: transform .6s var(--ease), opacity .3s; }
.gallery a:hover img { transform: scale(1.04); opacity: .9; }
.gallery a.wide { grid-column: span 2; }
.gallery a.tall { grid-row: span 2; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } .gallery a.wide { grid-column: span 2; } .gallery a.tall { grid-row: span 1; } }

.reels { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.reels__phones { display: flex; justify-content: center; gap: 1.25rem; }
.phone { width: min(260px, 42vw); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000; border: 6px solid #2b2b2b; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone--offset { margin-top: 3rem; }
@media (max-width: 860px) { .reels { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox button svg { width: 24px; height: 24px; }
.lightbox button:hover { background: var(--accent); color: var(--accent-ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-list { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .pillar__icon { flex: none; margin: 0; width: 44px; height: 44px; }
.contact-list strong { display: block; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }
.contact-list a { font-weight: 600; }
.contact-list a:hover { color: var(--accent-2); }
.contact-list address { font-style: normal; }
.form { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); }
.form h2 { font-size: 1.6rem; margin-bottom: .35rem; }
.form > p { color: var(--muted); margin-bottom: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea, .field select {
  font: inherit; width: 100%; padding: .8rem .95rem; border: 1px solid #cfcac0; border-radius: var(--radius); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(242,169,27,.25); }
.field textarea { min-height: 140px; resize: vertical; }
.form .btn { margin-top: .5rem; }
.form__note { font-size: .875rem; color: var(--muted); margin-top: 1rem; }
.form__status { display: none; margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius); font-weight: 600; }
.form__status.is-ok { display: block; background: #e6f4ea; color: #1e6b37; }
.form__status.is-err { display: block; background: #fdecea; color: #a12e25; }
.hp { position: absolute; left: -9999px; }
.map { border: 0; width: 100%; aspect-ratio: 16 / 8; border-radius: var(--radius); filter: grayscale(20%); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } .map { aspect-ratio: 4 / 3; } }

/* Legal pages */
.legal h2 { font-size: 1.4rem; margin: 2rem 0 .75rem; }
.legal ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.legal li { margin-bottom: .4rem; }
.legal .updated { color: var(--muted); font-size: .9rem; }

/* --------------------------------------------------------------------------
   Reveal-on-scroll (progressive enhancement; no-JS shows everything)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
