:root {
  color-scheme: dark;
  --bg: #05070a;
  --panel: rgba(16, 18, 22, 0.88);
  --panel-solid: #101216;
  --ink: #f8fafc;
  --muted: #cbd5e1;
  --line: rgba(255, 255, 255, 0.14);
  --red: #e50914;
  --red-strong: #ff2330;
  --silver: #d7dde7;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Anton", Impact, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--red-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 100;
  background: var(--red);
  color: #fff;
  padding: 0.7rem 1rem;
  font-weight: 800;
}
.skip-link:focus { left: 1rem; }

.wrap {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 7, 10, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img { width: min(300px, 52vw); }

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.15rem;
}
.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.72rem 1rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}
.header-cta,
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 32px rgba(229, 9, 20, 0.24);
}
.btn-primary:disabled { cursor: wait; opacity: 0.72; }
.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(4rem, 8vw, 6rem) 0 4rem;
}
.hero-media,
.hero-wash,
.hero-slide { position: absolute; inset: 0; }
.hero-media { z-index: -3; }
.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: hero-fade 18s infinite;
}
.hero-slide--one { background-image: url("/media/gallery/garcia-yard-wheels.webp"); }
.hero-slide--two { background-image: url("/media/gallery/garcia-wall-stacks.webp"); animation-delay: 6s; }
.hero-slide--three { background-image: url("/media/gallery/garcia-size-275.webp"); animation-delay: 12s; }
@keyframes hero-fade {
  0%, 29% { opacity: 1; transform: scale(1); }
  34%, 95% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}
.hero-wash {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.95) 0%, rgba(5, 7, 10, 0.72) 44%, rgba(5, 7, 10, 0.56) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.2) 0%, #05070a 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10vw -8vw;
  height: 34vh;
  z-index: -1;
  background:
    repeating-linear-gradient(116deg, transparent 0 22px, rgba(229, 9, 20, 0.28) 22px 46px),
    #05070a;
  transform: skewY(-4deg);
}

.hero-grid,
.split,
.visit-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr); }

.eyebrow,
.panel-kicker {
  margin: 0 0 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--red-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: 0;
  line-height: 0.96;
}
h1 {
  margin: 0 0 1rem;
  font-size: clamp(3.4rem, 9vw, 7.3rem);
  max-width: 10ch;
}
h2 { margin: 0 0 1rem; font-size: clamp(2rem, 5vw, 4rem); }
h3 { margin: 0 0 0.55rem; font-size: 1.35rem; }
.lead {
  max-width: 44rem;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.13rem;
}

.hero-actions,
.visit-actions,
.search-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.hero-stats span {
  min-height: 90px;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.44);
  color: var(--muted);
}
.hero-stats strong {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1;
}

.search-panel {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.search-panel h2 { font-size: 2.1rem; }
label, label span { display: block; }
label span {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}
textarea, input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font: inherit;
  padding: 0.78rem 0.85rem;
}
textarea:focus, input:focus {
  outline: 2px solid rgba(229, 9, 20, 0.36);
  border-color: var(--red);
}
.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7.5rem;
  gap: 0.75rem;
  margin: 0.8rem 0 1rem;
}
.search-status {
  min-height: 1.35rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.search-status[data-kind="error"] { color: #fecaca; }
.search-status[data-kind="ok"] { color: #86efac; }
.search-results { margin-top: 1rem; }
.search-answer { border-top: 1px solid var(--line); padding-top: 1rem; }
.search-answer p, .search-result-card p { color: var(--muted); }
.search-question { color: #fecaca !important; }
.search-result-grid { display: grid; gap: 0.7rem; margin: 1rem 0; }
.search-result-card {
  padding: 0.85rem;
  border: 1px solid rgba(229, 9, 20, 0.34);
  border-radius: 8px;
  background: rgba(229, 9, 20, 0.1);
}
.search-result-card strong,
.search-result-card span { display: block; }

.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section-head { max-width: 760px; margin-bottom: 2rem; }
.section-head p, .split p, .visit-grid p { color: var(--muted); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.gallery-grid figure,
.proof-strip figure,
.visit-photo {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}
.gallery-grid img,
.proof-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.gallery-grid figcaption {
  padding: 0.8rem;
  color: var(--muted);
  font-weight: 800;
}
.section-dark {
  background:
    linear-gradient(135deg, rgba(229, 9, 20, 0.16), transparent 42%),
    #090b10;
  border-block: 1px solid var(--line);
}
.split { grid-template-columns: 0.9fr 1.1fr; }
.step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.step-grid article {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}
.step-grid [data-lucide] {
  color: var(--red-strong);
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
}
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.visit-grid { grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr); }
.visit-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  background: #05070a;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}
.footer-inner strong { color: var(--ink); }
[data-lucide] { width: 1.1em; height: 1.1em; stroke-width: 2.2; }

@media (max-width: 920px) {
  .header-inner { flex-wrap: wrap; padding: 0.75rem 0; }
  .nav { order: 3; width: 100%; justify-content: flex-start; }
  .hero-grid, .split, .visit-grid, .gallery-grid, .proof-strip { grid-template-columns: 1fr; }
  .hero-stats, .step-grid { grid-template-columns: 1fr; }
  h1 { max-width: 11ch; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 1.2rem, 1160px); }
  .brand img { width: min(240px, 72vw); }
  .header-cta { display: none; }
  h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { animation: none; }
  .hero-slide--one { opacity: 1; }
}
