/* ============================================================
   Eurotech Motorsports design system
   Palette, typography and components.
   ============================================================ */

:root {
  /* Palette derived from the real Eurotech logo (black, tach-needle crimson, chrome) */
  --bg: #0B0B0D;
  --surface: #141418;
  --surface-2: #1C1C21;
  --line: #2A2A31;
  --text: #F1F1F3;
  --text-muted: #9A9AA3;
  --redline: #CE1126;
  --redline-glow: #FF2B3D;
  --chrome: #C8CCD2;

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
  --nav-h: 76px;

  --font-display: "Saira", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-script: "Caveat", cursive;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1rem; }
:focus-visible {
  outline: 2px solid var(--redline-glow);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--redline);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--redline);
  display: inline-block;
}
.section-title { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.section-lead { color: var(--text-muted); max-width: 56ch; font-size: 1.075rem; }

/* Gauge-style section index number */
.gauge-index {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--line);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.gauge-index b { color: var(--redline); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--redline);
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.95rem 1.6rem;
  background: var(--_bg);
  color: #fff;
  border: 1px solid var(--_bg);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--redline); background: var(--redline-glow); border-color: var(--redline-glow); }
.btn--ghost {
  --_bg: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--chrome); box-shadow: none; background: rgba(255,255,255,0.03); }
.btn svg { width: 18px; height: 18px; }

/* ---------- RPM scroll progress ---------- */
.rpm-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--redline), var(--redline-glow));
  z-index: 120;
  box-shadow: 0 0 12px var(--redline);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h);
  display: flex; align-items: center;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11,11,13,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* Logo lockup (recreated from the real mark: wordmark + tach "O" + script) */
.logo { display: inline-flex; align-items: center; gap: 0.5rem; }
.logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1;
  display: inline-flex; align-items: center;
  color: var(--text);
}
.logo-word .tach-o { width: 0.86em; height: 0.86em; margin-inline: 0.02em; color: var(--text); }
.logo-sub {
  font-family: var(--font-script);
  font-size: 1.25rem;
  color: var(--redline);
  line-height: 1;
  margin-left: 0.15rem;
  transform: translateY(2px);
}
.logo:hover .tach-needle { transform: rotate(0deg); }

.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--redline); transition: width 0.28s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-phone {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  color: var(--text); display: inline-flex; align-items: center; gap: 0.4rem;
  white-space: nowrap;
}
.nav-phone svg { width: 16px; height: 16px; color: var(--redline); }
.nav-phone:hover { color: var(--redline-glow); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem;
  width: 44px; height: 44px; color: var(--text);
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) contrast(1.05) brightness(0.72); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,13,0.55) 0%, rgba(11,11,13,0.35) 40%, rgba(11,11,13,0.9) 92%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11,11,13,0.92) 0%, rgba(11,11,13,0.55) 45%, rgba(11,11,13,0.15) 100%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: center; }
.hero-eyebrow { color: var(--chrome); }
.hero-eyebrow::before { background: var(--chrome); }
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin-bottom: 1.2rem;
}
.hero h1 .accent { color: var(--redline); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text-muted); max-width: 46ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-meta { display: flex; gap: 2rem; margin-top: 2.75rem; flex-wrap: wrap; }
.hero-meta .stat b {
  font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--text);
  display: block; line-height: 1;
}
.hero-meta .stat span { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; }

/* Hero tachometer */
.tach { width: 100%; max-width: 360px; margin-inline: auto; aspect-ratio: 1; }
.tach-track { fill: none; stroke: var(--line); stroke-width: 6; }
.tach-fill { fill: none; stroke: var(--redline); stroke-width: 6; stroke-linecap: round; }
.tach-tick { stroke: var(--text-muted); stroke-width: 2; }
.tach-tick.red { stroke: var(--redline); }
.tach-label { fill: var(--text-muted); font-family: var(--font-display); font-size: 7px; font-weight: 600; }
.tach-readout { fill: var(--text); font-family: var(--font-display); font-weight: 800; font-size: 20px; text-anchor: middle; }
.tach-readout small { fill: var(--text-muted); }
.tach-unit { fill: var(--text-muted); font-family: var(--font-display); font-size: 7px; letter-spacing: 0.2em; text-anchor: middle; }
.needle-grp { transform-box: view-box; transform-origin: 100px 100px; }
@keyframes sweep { 0% { transform: rotate(-132deg); } 60% { transform: rotate(150deg); } 78% { transform: rotate(130deg); } 100% { transform: rotate(138deg); } }
.needle-grp { animation: sweep 2.2s var(--ease) 0.35s both; }
@media (prefers-reduced-motion: reduce) { .needle-grp { animation: none; transform: rotate(138deg); } }

/* ---------- Marque / positioning strip ---------- */
.marque { border-block: 1px solid var(--line); background: var(--surface); }
.marque .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; padding-block: 1.6rem; }
.marque-label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; color: var(--text-muted); }
.marque-list { display: flex; flex-wrap: wrap; gap: 1.25rem 2.25rem; list-style: none; margin: 0; padding: 0; }
.marque-list li { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 2vw, 1.35rem); text-transform: uppercase; letter-spacing: 0.02em; color: var(--text); }
.marque-list li span { color: var(--redline); }

/* ---------- Kinetic makes-ticker (always scrolling right to left) ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.ticker-viewport { overflow: hidden; width: 100%; }
.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: ticker 34s linear infinite;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.35rem, 3.2vw, 2.35rem);
  letter-spacing: 0.01em;
  color: var(--text);
  padding-block: 1.4rem;
}
.ticker-item i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--redline);
  margin-inline: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 0 10px var(--redline);
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; transform: none; flex-wrap: wrap; justify-content: center; white-space: normal; }
  .ticker-item[aria-hidden="true"] { display: none; }
}

/* ---------- Services (spec-sheet grid) ---------- */
.svc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc-card {
  background: var(--surface); padding: 2rem 1.75rem 2.1rem;
  position: relative; transition: background 0.3s;
}
.svc-card:hover { background: var(--surface-2); }
.svc-card .svc-num { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: 0.78rem; color: var(--line); font-weight: 700; letter-spacing: 0.1em; }
.svc-card:hover .svc-num { color: var(--redline); }
.svc-card h3 { font-size: 1.3rem; margin: 0.9rem 0 0.6rem; text-transform: uppercase; letter-spacing: 0.01em; }
.svc-card p { color: var(--text-muted); font-size: 0.96rem; margin: 0; }
.svc-card .svc-line { position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--redline); transition: width 0.35s var(--ease); }
.svc-card:hover .svc-line { width: 100%; }

/* ---------- Trust band ---------- */
.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2.5rem; }
.trust-item { display: flex; flex-direction: column; gap: 0.4rem; }
.trust-item .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--text); line-height: 1; display: flex; align-items: baseline; gap: 0.2rem; }
.trust-item .num i { color: var(--redline); font-style: normal; }
.trust-item .lbl { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--text-muted); }
.trust-item p { color: var(--text-muted); font-size: 0.92rem; margin: 0.3rem 0 0; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.9rem; display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.review:hover { transform: translateY(-4px); border-color: #3a3a44; }
.stars { display: inline-flex; gap: 3px; color: var(--redline); }
.stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 1.05rem; color: var(--text); line-height: 1.55; }
.review .review-by { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--text-muted); margin-top: auto; }
.review .review-by span { color: var(--redline); }
.reviews-foot { margin-top: 2.5rem; display: flex; gap: 1.5rem 2.5rem; flex-wrap: wrap; align-items: center; color: var(--text-muted); font-size: 0.9rem; }
.reviews-foot b { color: var(--text); font-family: var(--font-display); }

/* ---------- Split feature (about teaser / cta) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: grayscale(0.2) brightness(0.85); }
.split-media .tag {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(11,11,13,0.82); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.5rem 0.9rem; font-family: var(--font-display); font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted);
}
.checklist { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--text-muted); }
.checklist li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; background: var(--redline); mask: var(--check) center/contain no-repeat; -webkit-mask: var(--check) center/contain no-repeat; --check: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>'); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; background: linear-gradient(180deg, var(--surface), var(--bg)); border-top: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.5rem); text-transform: uppercase; }
.cta-band p { color: var(--text-muted); max-width: 50ch; margin-inline: auto; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- Contact / info ---------- */
.info-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .ic { flex: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--redline); background: var(--surface); }
.info-list .ic svg { width: 20px; height: 20px; }
.info-list .k { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; color: var(--text-muted); margin-bottom: 0.15rem; }
.info-list .v { color: var(--text); font-size: 1.05rem; }
.info-list a.v:hover { color: var(--redline-glow); }
.hours-row { display: flex; justify-content: space-between; max-width: 320px; border-bottom: 1px solid var(--line); padding: 0.5rem 0; color: var(--text-muted); }
.hours-row b { color: var(--text); font-family: var(--font-display); font-weight: 600; }

/* ---------- Form ---------- */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.75rem, 3vw, 2.5rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.1rem; }
.field label { font-family: var(--font-display); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.field label .req { color: var(--redline); }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); font-family: var(--font-body); font-size: 1rem; padding: 0.85rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--redline); box-shadow: 0 0 0 3px rgba(206,17,38,0.18); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.5rem; }
.form-status { margin-top: 1rem; font-family: var(--font-display); font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: #35c26b; }
.form-status.err { color: var(--redline-glow); }

/* ---------- Map ---------- */
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; filter: grayscale(0.4) invert(0.9) hue-rotate(180deg) contrast(0.9); }
.map-frame iframe { width: 100%; height: 320px; display: block; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer p { color: var(--text-muted); font-size: 0.95rem; max-width: 34ch; }
.footer h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-muted); margin-bottom: 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer ul a { color: var(--text); font-size: 0.95rem; }
.footer ul a:hover { color: var(--redline-glow); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.25rem; }
.footer-social a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--text-muted); transition: color 0.2s, border-color 0.2s; }
.footer-social a:hover { color: var(--redline); border-color: var(--redline); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.75rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--text-muted); font-size: 0.83rem; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 3rem; border-bottom: 1px solid var(--line); position: relative; background: var(--surface); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); text-transform: uppercase; }
.page-hero .crumbs { font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); margin-bottom: 1rem; }
.page-hero .crumbs a:hover { color: var(--redline); }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; margin-top: 2.5rem; text-transform: none; }
.prose h3 { font-size: 1.2rem; margin-top: 1.75rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose a { color: var(--redline-glow); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 1.2rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--nav-h) var(--gutter) 3rem; }
.notfound .code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 20vw, 12rem); line-height: 0.9; color: var(--surface-2); position: relative; }
.notfound .code span { color: var(--redline); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .tach { display: none; }
  .split { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(11,11,13,0.97); backdrop-filter: blur(14px);
    border-block: 1px solid var(--line); padding: 0.5rem 0;
  }
  .nav.open .nav-links a { padding: 1rem var(--gutter); font-size: 1rem; }
  .nav.open .nav-links a::after { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.5rem; }
}
