:root {
  --bg: #050506;
  --panel: #0d0f10;
  --panel-2: #141719;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f5f6;
  --muted: #a9b0b7;
  --soft: #d4d8dd;
  --red: #e22d2d;
  --red-dark: #8f1717;
  --steel: #b8c0c8;
  --warm: #b78a62;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 6, 0.82);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
  min-width: 182px;
}

.brand-mark {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 900;
  letter-spacing: 0;
  font-style: italic;
  text-transform: uppercase;
}

.brand-es {
  display: inline-block;
  margin-right: 6px;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 8%, #aab0b7 46%, #616970 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.14);
}

.brand-garage {
  color: #f1f2f3;
}

.brand-sub {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--soft);
  font-size: 0.95rem;
}

.nav a {
  position: relative;
  padding: 28px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red);
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #111416;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #ff4545, var(--red));
  color: #fff;
  box-shadow: 0 14px 30px rgba(226, 45, 45, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn-dark {
  background: #101214;
  border-color: rgba(255, 255, 255, 0.14);
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 40px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #08090a;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.92) 0%, rgba(5, 5, 6, 0.68) 44%, rgba(5, 5, 6, 0.28) 100%),
    linear-gradient(0deg, rgba(5, 5, 6, 0.98) 0%, rgba(5, 5, 6, 0) 36%);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 108px 0 84px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.hero-title .metal {
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #c2c8cf 42%, #737b84 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-title .garage {
  color: #f4f5f6;
}

.hero-lead {
  max-width: 690px;
  color: #dce0e3;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats {
  width: min(var(--max), calc(100% - 32px));
  margin: -42px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(13, 15, 16, 0.92);
  box-shadow: var(--shadow);
}

.stat {
  min-height: 116px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: #090b0c;
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow::before {
  display: none;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.4vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.22;
}

.section-head p,
.feature p,
.service-card p,
.about-copy p,
.detail-copy p,
.contact-box p {
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card,
.feature,
.contact-box,
.detail-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}

.service-card {
  min-height: 330px;
  display: grid;
  align-content: end;
  overflow: hidden;
}

.service-card figure {
  position: relative;
  min-height: 180px;
  margin: 0;
  overflow: hidden;
}

.service-card img {
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform 360ms ease;
}

.service-card:hover img {
  transform: scale(1.04);
}

.service-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 15, 16, 0.86), rgba(13, 15, 16, 0.05));
}

.service-body {
  padding: 20px;
}

.service-body a {
  color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: #fff;
  font-weight: 800;
}

.text-link span {
  color: var(--red);
}

.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 520px;
}

.image-stack img {
  position: absolute;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  inset: 0 18% 18% 0;
  width: 82%;
  height: 82%;
}

.image-stack img:last-child {
  inset: 34% 0 0 34%;
  width: 66%;
  height: 66%;
}

.about-copy ul,
.detail-copy ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.about-copy li,
.detail-copy li {
  position: relative;
  padding-left: 28px;
  color: var(--soft);
}

.about-copy li::before,
.detail-copy li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 12px;
  height: 2px;
  background: var(--red);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature {
  min-height: 210px;
  padding: 24px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  min-height: 260px;
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #111;
}

.gallery-item.wide {
  grid-column: span 8;
}

.gallery-item.tall {
  min-height: 420px;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  inset: auto 12px 12px 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--red);
  background: rgba(5, 5, 6, 0.74);
  color: #fff;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.page-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #08090a;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 6, 0.94), rgba(5, 5, 6, 0.48));
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding: 98px 0 72px;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.5rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.breadcrumbs span {
  color: var(--red);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.detail-copy {
  max-width: 760px;
}

.detail-panel {
  position: sticky;
  top: 104px;
  padding: 24px;
}

.detail-panel .btn {
  width: 100%;
  margin-top: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.contact-box {
  padding: 28px;
}

.contact-lines {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-band {
  padding: 74px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(90deg, rgba(226, 45, 45, 0.14), rgba(255, 255, 255, 0)),
    #101214;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-footer {
  padding: 54px 0 34px;
  background: #050506;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  color: #747b82;
  font-size: 0.9rem;
}

.sticky-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  gap: 10px;
}

.sticky-contact .btn {
  min-width: 52px;
  padding-inline: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav {
    position: fixed;
    inset: 78px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: rgba(5, 5, 6, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 18px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav a::after {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content {
    padding: 88px 0 74px;
  }

  .hero-stats,
  .services-grid,
  .features-grid,
  .split,
  .detail-layout,
  .contact-grid,
  .cta-band .container,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    margin-top: 0;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .image-stack {
    min-height: 420px;
  }

  .features-grid {
    gap: 12px;
  }

  .gallery-item,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 12;
    min-height: 260px;
  }

  .detail-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav-wrap,
  .container,
  .hero-content,
  .hero-stats {
    width: min(100% - 24px, var(--max));
  }

  .brand-sub {
    font-size: 0.63rem;
  }

  .section {
    padding: 68px 0;
  }

  .hero-actions,
  .section-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .service-card {
    min-height: 300px;
  }

  .image-stack {
    min-height: 330px;
  }

  .image-stack img:first-child {
    inset: 0 10% 20% 0;
  }

  .image-stack img:last-child {
    inset: 38% 0 0 22%;
  }

  .contact-line {
    display: grid;
  }

  .footer-bottom {
    display: grid;
  }

  .sticky-contact {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .sticky-contact .btn {
    flex: 1;
  }
}
