:root {
  --ink: #141414;
  --black: #050505;
  --muted: #5f666d;
  --paper: #f7f4ef;
  --white: #ffffff;
  --line: #ded8cf;
  --orange: #f97316;
  --orange-dark: #c2410c;
  --red: #b40000;
  --teal: #0f766e;
  --steel: #26343f;
  --shadow: 0 24px 60px rgba(20, 20, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 239, 0.92);
  border-bottom: 1px solid rgba(222, 216, 207, 0.8);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  border: 3px solid var(--orange);
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--steel);
  font-weight: 700;
}

.nav-links a,
.footer a {
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.footer a:hover {
  border-color: var(--orange);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta,
.button.primary {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.26);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.button svg,
.nav-cta svg,
.trust-row svg,
.service-card svg,
.check-list svg,
.contact-methods svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(560px, 72vh, 680px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.9), rgba(20, 20, 20, 0.62) 46%, rgba(20, 20, 20, 0.08)),
    url("assets/mechanic-engine.jpg") center / cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: clamp(52px, 8vw, 92px) clamp(18px, 6vw, 72px) clamp(38px, 6vw, 58px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 5.4vw, 5rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-row {
  margin-top: 26px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 800;
}

.trust-row svg {
  color: var(--orange);
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--teal);
  color: var(--white);
}

.quick-strip div {
  padding: 24px clamp(18px, 4vw, 56px);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.quick-strip div:last-child {
  border-right: 0;
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  font-size: 1.35rem;
}

.quick-strip span {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: clamp(72px, 10vw, 120px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.intro p:last-child {
  max-width: 780px;
  color: var(--steel);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

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

.service-card {
  min-height: 230px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(20, 20, 20, 0.06);
}

.service-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  color: var(--orange-dark);
}

.service-card p,
.feature-copy p,
.steps p,
.review-band p,
.contact-copy p {
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  min-height: 640px;
  background: var(--steel);
  color: var(--white);
}

.feature-image {
  background: url("assets/mechanic-engine.jpg") center / cover;
}

.feature-copy {
  align-self: center;
  padding: clamp(48px, 7vw, 96px);
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 750;
}

.check-list svg {
  color: var(--orange);
  margin-top: 3px;
}

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

.steps article {
  padding-top: 22px;
  border-top: 4px solid var(--orange);
}

.steps span {
  display: block;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 900;
  line-height: 1;
}

.review-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(42px, 7vw, 74px) clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.review-band div {
  max-width: 720px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(30px, 7vw, 96px);
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-methods a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--steel);
  font-weight: 800;
}

.contact-methods svg {
  color: var(--teal);
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--steel);
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfc7ba;
  border-radius: 6px;
  padding: 13px 14px;
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.25);
  border-color: var(--teal);
}

.quote-form .button {
  width: 100%;
}

.form-note {
  min-height: 1.4em;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 5vw, 72px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer strong,
.footer span {
  display: block;
}

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

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .site-header.is-open {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-header.is-open .nav-links,
  .site-header.is-open .nav-cta {
    display: flex;
    width: 100%;
  }

  .site-header.is-open .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    order: 3;
  }

  .site-header.is-open .nav-links a {
    padding: 10px 0;
  }

  .site-header.is-open .nav-cta {
    order: 4;
  }

  .hero {
    min-height: 720px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(20, 20, 20, 0.78), rgba(20, 20, 20, 0.4) 45%, rgba(20, 20, 20, 0.88)),
      url("assets/mechanic-engine.jpg") center / cover;
  }

  .quick-strip,
  .intro,
  .service-grid,
  .feature-band,
  .steps,
  .contact {
    grid-template-columns: 1fr;
  }

  .quick-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .quick-strip div:last-child {
    border-bottom: 0;
  }

  .feature-image {
    min-height: 360px;
  }

  .review-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

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

  h1 {
    font-size: clamp(2.65rem, 15vw, 4rem);
  }

  .hero {
    min-height: 690px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .service-card {
    min-height: auto;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Reference-inspired dark mobile direction */
.site-header {
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: clamp(20px, 4vw, 36px) clamp(20px, 5vw, 48px);
  backdrop-filter: blur(14px);
}

.brand {
  gap: clamp(16px, 3vw, 28px);
}

.brand-mark {
  width: clamp(62px, 9vw, 88px);
  height: clamp(62px, 9vw, 88px);
  border: 4px solid var(--orange);
  background: #080808;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.brand strong {
  color: var(--white);
  font-size: clamp(1.45rem, 3.5vw, 2.25rem);
  line-height: 1;
}

.brand small {
  display: none;
}

.nav-links,
.nav-cta {
  display: none;
}

.menu-toggle {
  display: grid;
  width: clamp(58px, 9vw, 88px);
  height: clamp(58px, 9vw, 88px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #242426;
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.menu-toggle svg {
  width: clamp(30px, 5vw, 42px);
  height: clamp(30px, 5vw, 42px);
}

.site-header.is-open {
  align-items: flex-start;
  flex-wrap: wrap;
}

.site-header.is-open .nav-links,
.site-header.is-open .nav-cta {
  display: flex;
  width: 100%;
}

.site-header.is-open .nav-links {
  order: 3;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding-top: 12px;
}

.site-header.is-open .nav-links a {
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header.is-open .nav-cta {
  order: 4;
  margin-top: 12px;
}

.hero {
  min-height: clamp(720px, calc(100svh - 96px), 900px);
  align-items: end;
  background: var(--black);
}

.hero-media {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.16), rgba(5, 5, 5, 0.1) 36%, rgba(5, 5, 5, 0.9) 88%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.42), rgba(5, 5, 5, 0.02) 54%, rgba(5, 5, 5, 0.58)),
    url("assets/mechanic-engine.jpg") center / cover;
  filter: saturate(0.86) contrast(1.1);
}

.hero-content {
  width: min(820px, 100%);
  padding: clamp(140px, 18vw, 230px) clamp(22px, 6vw, 72px) clamp(40px, 7vw, 78px);
}

.hero-content .eyebrow {
  display: none;
}

h1 {
  max-width: 700px;
  margin-bottom: clamp(22px, 4vw, 30px);
  font-size: clamp(4.2rem, 9vw, 7rem);
  line-height: 0.98;
}

.accent-dot {
  color: var(--orange);
}

.hero-copy {
  max-width: 620px;
  margin-bottom: clamp(34px, 6vw, 58px);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  line-height: 1.38;
}

.hero-actions {
  display: grid;
  max-width: 760px;
  gap: 22px;
}

.button,
.nav-cta {
  min-height: 70px;
  border-radius: 12px;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.button svg,
.nav-cta svg {
  width: 30px;
  height: 30px;
}

.button.primary,
.nav-cta {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 20px 50px rgba(180, 0, 0, 0.34);
}

.button.secondary {
  background: rgba(31, 31, 31, 0.94);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 18px 42px rgba(0, 0, 0, 0.32);
}

.trust-row {
  display: none;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: var(--black);
  color: var(--white);
  padding: clamp(36px, 7vw, 70px) clamp(18px, 6vw, 72px);
}

.quick-strip div {
  display: grid;
  place-items: center;
  align-content: start;
  gap: 12px;
  min-height: 160px;
  padding: 0 clamp(10px, 3vw, 34px);
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 0;
}

.quick-strip div:last-child {
  border-right: 0;
}

.quick-strip svg {
  width: clamp(54px, 9vw, 78px);
  height: clamp(54px, 9vw, 78px);
  color: var(--orange);
  stroke-width: 1.9;
}

.quick-strip strong,
.quick-strip span {
  color: var(--white);
  font-size: clamp(1.1rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
}

.section.intro,
.services,
.process,
.contact {
  background: var(--paper);
}

@media (min-width: 901px) {
  .hero {
    min-height: clamp(520px, calc(100svh - 150px), 680px);
  }

  .hero-content {
    padding-top: clamp(70px, 8vw, 120px);
    padding-bottom: clamp(36px, 5vw, 56px);
  }

  h1 {
    font-size: clamp(4rem, 7vw, 5.8rem);
  }

  .hero-copy {
    font-size: clamp(1.25rem, 2.3vw, 2rem);
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: calc(100svh - 116px);
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.05), rgba(5, 5, 5, 0.06) 42%, rgba(5, 5, 5, 0.92) 86%),
      linear-gradient(90deg, rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.05) 56%, rgba(5, 5, 5, 0.54)),
      url("assets/mechanic-engine.jpg") 58% center / cover;
  }

  .hero-content {
    padding-top: clamp(220px, 36vh, 360px);
  }

  .quick-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-strip div {
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 0;
  }

  .quick-strip div:last-child {
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 18px 16px;
  }

  .brand {
    gap: 14px;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
  }

  .brand strong {
    max-width: 180px;
    font-size: 1.4rem;
  }

  .menu-toggle {
    width: 58px;
    height: 58px;
  }

  .hero {
    min-height: calc(100svh - 94px);
  }

  .hero-content {
    padding: 210px 22px 34px;
  }

  h1 {
    font-size: clamp(4rem, 18vw, 5.8rem);
  }

  .hero-copy {
    font-size: clamp(1.45rem, 7vw, 2.1rem);
  }

  .button {
    min-height: 74px;
    font-size: 1.25rem;
  }

  .quick-strip {
    padding: 34px 12px 42px;
  }

  .quick-strip div {
    min-height: 140px;
    gap: 10px;
    padding: 0 10px;
  }

  .quick-strip svg {
    width: 48px;
    height: 48px;
  }

  .quick-strip strong,
  .quick-strip span {
    font-size: 1.05rem;
  }
}

/* Logo image and softer gray page surfaces */
.brand-mark {
  width: clamp(78px, 12vw, 132px);
  height: clamp(58px, 8vw, 86px);
  overflow: hidden;
  padding: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body,
.section.intro,
.services,
.process,
.contact {
  background: #242424;
  color: #f4f4f4;
}

.intro p:last-child,
.service-card p,
.steps p,
.contact-copy p,
.form-note {
  color: #c9c9c9;
}

.service-card,
.quote-form,
.footer {
  background: #303030;
  border-color: #464646;
  color: #f4f4f4;
}

.service-card {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

.contact-methods a {
  border-bottom-color: #464646;
  color: #f4f4f4;
}

.feature-band,
.review-band {
  background: #121212;
}

label {
  color: #f4f4f4;
}

input,
textarea {
  background: #1f1f1f;
  border-color: #5a5a5a;
  color: #ffffff;
}

input::placeholder,
textarea::placeholder {
  color: #a8a8a8;
}

input:focus,
textarea:focus {
  outline-color: rgba(249, 115, 22, 0.3);
  border-color: var(--orange);
}

.footer {
  border-top-color: #464646;
}

.footer span {
  color: #c9c9c9;
}

@media (max-width: 560px) {
  .brand-mark {
    width: 74px;
    height: 56px;
  }

  .brand strong {
    max-width: 160px;
  }
}
