:root {
  --bg: #08090b;
  --panel: #121419;
  --panel-strong: #191c22;
  --text: #f3f4f2;
  --muted: #a8adb5;
  --line: rgba(255, 255, 255, 0.1);
  --red: #c51f32;
  --red-bright: #f04455;
  --metal: #868d96;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(197, 31, 50, 0.16), transparent 34rem),
    linear-gradient(180deg, #0a0b0e 0%, var(--bg) 44%, #0d0e11 100%);
}

body.menu-open {
  overflow: hidden;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 9, 11, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(1160px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 68, 85, 0.55);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(197, 31, 50, 0.92), rgba(94, 10, 18, 0.9));
  box-shadow: 0 12px 34px rgba(197, 31, 50, 0.24);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--muted);
  padding: 10px 13px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.9) 0%, rgba(8, 9, 11, 0.66) 43%, rgba(8, 9, 11, 0.32) 100%),
    linear-gradient(0deg, rgba(8, 9, 11, 0.94), rgba(8, 9, 11, 0.2) 44%, rgba(8, 9, 11, 0.88)),
    url("assets/garage-hero.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(280px, 360px);
  align-items: end;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 22px 0 0;
  color: #d8dadd;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
}

.hero-text {
  max-width: 630px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 20px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--red), #8f1422);
  color: white;
  box-shadow: 0 16px 34px rgba(197, 31, 50, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
}

.hero-panel,
.service-card,
.project-card,
.quote-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 26px;
  backdrop-filter: blur(16px);
}

.panel-label {
  display: block;
  margin-bottom: 9px;
  color: var(--metal);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-panel strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.35;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.metric-row span {
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  font-size: 0.82rem;
}

.split,
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.copy-block p,
.section-heading p,
.inline-heading > p,
.contact-intro,
.area-band p {
  color: var(--muted);
  line-height: 1.75;
}

.copy-block p:first-child {
  margin-top: 0;
}

.muted-section {
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.inline-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  align-items: end;
  gap: 48px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.project-card {
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 68, 85, 0.42);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: rgba(197, 31, 50, 0.15);
  color: var(--red-bright);
  font-weight: 900;
}

.service-card ul {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding: 9px 0 9px 20px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.project-card {
  min-height: 220px;
}

.project-card h3 {
  margin-top: 44px;
}

.project-card p {
  color: var(--muted);
  line-height: 1.65;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.75rem;
  font-weight: 800;
}

.complete {
  color: #d8ffe7;
  background: rgba(37, 147, 82, 0.22);
}

.progress {
  color: #ffe9bd;
  background: rgba(190, 125, 18, 0.24);
}

.learning {
  color: #e8edff;
  background: rgba(112, 126, 165, 0.24);
}

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

.trust-grid div {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: #d9dbdf;
  font-weight: 700;
}

.service-area {
  padding: 72px 0;
}

.area-band {
  display: grid;
  grid-template-columns: 1fr 0.48fr;
  align-items: center;
  gap: 46px;
  padding: 34px;
  border: 1px solid rgba(240, 68, 85, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(197, 31, 50, 0.2), transparent 42%),
    rgba(255, 255, 255, 0.045);
}

.contact-details {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-details p {
  color: var(--muted);
}

.contact-details strong {
  color: var(--text);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
  background: var(--panel);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: #d7d9dd;
  font-size: 0.88rem;
  font-weight: 700;
}

.quote-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #0b0c0f;
  color: var(--text);
  font: inherit;
  padding: 14px 13px;
  outline: none;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(240, 68, 85, 0.72);
  box-shadow: 0 0 0 4px rgba(197, 31, 50, 0.14);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  display: none;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  line-height: 1.45;
}

.form-message:not(:empty) {
  display: block;
}

.form-message[data-type="success"] {
  color: #d8ffe7;
  border-color: rgba(37, 147, 82, 0.45);
  background: rgba(37, 147, 82, 0.16);
}

.form-message[data-type="error"] {
  color: #ffd9de;
  border-color: rgba(240, 68, 85, 0.48);
  background: rgba(197, 31, 50, 0.16);
}

.form-message[data-type="info"] {
  color: #e6e9ef;
}

.cf-turnstile {
  min-height: 65px;
}


.footer {
  padding: 54px 0 32px;
  border-top: 1px solid var(--line);
  background: #07080a;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer h2 {
  font-size: 1.35rem;
}

.footer p,
.footer-note {
  color: var(--muted);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer nav a {
  color: var(--muted);
}

.footer nav a:hover {
  color: var(--text);
}

.footer-note {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(14, 15, 18, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .inline-heading,
  .area-band {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .card-grid.three,
  .card-grid.four,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container,
  .navbar {
    width: min(100% - 28px, 1160px);
  }

  .section-pad {
    padding: 72px 0;
  }

  .hero {
    min-height: 760px;
    align-items: flex-end;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(8, 9, 11, 0.55), rgba(8, 9, 11, 0.95) 58%, rgba(8, 9, 11, 1)),
      url("assets/garage-hero.png") center / cover no-repeat;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero-actions,
  .footer-grid {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-panel {
    display: none;
  }

  .card-grid.three,
  .card-grid.four,
  .trust-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .quote-form .full {
    grid-column: auto;
  }

  .area-band {
    padding: 24px;
  }

  .footer nav {
    justify-content: flex-start;
  }
}
