:root {
  --ink: #11151c;
  --ink-2: #26303d;
  --muted: #6d7480;
  --paper: #f4f1ea;
  --panel: #fff;
  --line: rgba(17, 21, 28, 0.12);
  --red: #cf3f31;
  --red-dark: #aa2b20;
  --green: #2d6a62;
  --sand: #d6c5aa;
  --shadow: 0 24px 60px rgba(17, 21, 28, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 58px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.topbar.solid {
  color: var(--ink);
  background: rgba(244, 241, 234, 0.94);
  box-shadow: 0 14px 36px rgba(17, 21, 28, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 950;
}

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

.brand small {
  margin-top: 4px;
  opacity: 0.72;
  font-size: 0.78rem;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 34px);
  font-size: 0.94rem;
  font-weight: 850;
}

nav a {
  opacity: 0.82;
}

nav a:hover {
  opacity: 1;
}

.top-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.language {
  min-width: 46px;
  height: 40px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: currentColor;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

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

.button-small {
  min-height: 40px;
  padding-inline: 16px;
}

.button-primary {
  color: #fff;
  background: var(--red);
}

.button-primary:hover {
  background: var(--red-dark);
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  min-height: 92vh;
  padding: 118px clamp(18px, 5vw, 78px) 54px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(17, 21, 28, 0.97), rgba(17, 21, 28, 0.84) 48%, rgba(45, 106, 98, 0.68)),
    url("assets/images/repair-detail.jpg") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, var(--paper), rgba(244, 241, 234, 0));
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 14px 0 18px;
  max-width: 840px;
  font-size: clamp(2.65rem, 6.2vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

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

.hero-visual {
  display: grid;
  align-self: stretch;
  min-height: 560px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.score-card {
  position: absolute;
  right: -20px;
  bottom: 34px;
  width: min(280px, 72%);
  padding: 22px;
  color: var(--ink);
  background: #fff;
  border-left: 6px solid var(--red);
  box-shadow: var(--shadow);
}

.score-card span,
.score-card small {
  display: block;
  color: var(--muted);
  font-weight: 850;
}

.score-card strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--green);
  font-size: 4.8rem;
  line-height: 0.9;
}

.quick-facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1120px, calc(100% - 36px));
  margin: -34px auto 0;
  background: #fff;
  box-shadow: var(--shadow);
}

.quick-facts a {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 22px clamp(18px, 2.4vw, 30px);
  border-right: 1px solid var(--line);
}

.quick-facts a:last-child {
  border-right: 0;
}

.quick-facts span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-facts strong {
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 1.8vw, 1.34rem);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 118px) 0;
}

.section h2,
.image-band h2 {
  margin: 10px 0 16px;
  font-size: clamp(2rem, 4.4vw, 4.35rem);
  line-height: 1;
  letter-spacing: 0;
}

.section p,
.image-band p {
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.72;
}

.service-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 70px);
}

.section-intro {
  position: sticky;
  top: 104px;
  align-self: start;
}

.service-board {
  display: grid;
  gap: 14px;
}

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

.service-list button {
  min-height: 126px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.service-list button.active,
.service-list button:hover {
  border-color: rgba(207, 63, 49, 0.42);
  background: #fff8f5;
}

.service-list span,
.service-list small {
  display: block;
}

.service-list span {
  font-size: 1.14rem;
  font-weight: 950;
}

.service-list small {
  margin-top: 8px;
  color: var(--muted);
}

.service-detail {
  padding: clamp(24px, 3.5vw, 38px);
  color: #fff;
  background: var(--ink);
  border-left: 6px solid var(--red);
  box-shadow: var(--shadow);
}

.service-detail span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-detail h3 {
  margin: 10px 0;
  font-size: clamp(1.5rem, 3vw, 2.45rem);
}

.service-detail p {
  color: rgba(255, 255, 255, 0.78);
}

.service-detail a {
  display: inline-flex;
  margin-top: 12px;
  color: #fff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.image-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px 0 clamp(72px, 9vw, 118px);
}

.image-band img {
  width: 100%;
  height: clamp(320px, 42vw, 560px);
  object-fit: cover;
  border-radius: 8px;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 70px);
  padding-top: 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.proof-grid article {
  display: grid;
  align-content: space-between;
  min-height: 170px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-grid strong {
  color: var(--green);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 0.96;
}

.proof-grid span {
  color: var(--ink-2);
  line-height: 1.45;
}

.route {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
  align-items: stretch;
}

.route-card {
  padding: clamp(24px, 4vw, 46px);
  color: #fff;
  background: var(--ink);
}

.route-card p {
  color: rgba(255, 255, 255, 0.76);
}

.route-photo {
  min-height: 520px;
}

.route-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.inquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 74px);
  padding-top: 0;
}

.phone-tile {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding: 22px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
}

.phone-tile span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.phone-tile strong {
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  line-height: 1;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfbfa;
}

.contact-form textarea {
  resize: vertical;
}

output {
  display: none;
  padding: 14px;
  color: var(--ink);
  background: #f7f1ed;
  border: 1px solid rgba(207, 63, 49, 0.24);
  border-radius: 8px;
  line-height: 1.55;
  white-space: pre-wrap;
}

output.has-content {
  display: block;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 5vw, 72px) 92px;
  color: rgba(255, 255, 255, 0.74);
  background: var(--ink);
}

.footer a {
  color: #fff;
  font-weight: 900;
}

.mobile-actions {
  position: fixed;
  z-index: 50;
  inset: auto 10px 10px;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(17, 21, 28, 0.34);
}

.mobile-actions a {
  display: grid;
  min-height: 52px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 900;
}

.mobile-actions a:last-child {
  border-right: 0;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
    color: var(--ink);
    background: rgba(244, 241, 234, 0.94);
    box-shadow: 0 14px 36px rgba(17, 21, 28, 0.12);
  }

  nav,
  .brand small {
    display: none;
  }

  .hero,
  .service-section,
  .image-band,
  .proof,
  .route,
  .inquiry {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .section-intro {
    position: static;
  }
}

@media (max-width: 680px) {
  .top-actions .button {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 106px 18px 68px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 4.2rem);
  }

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

  .hero-visual {
    min-height: 390px;
  }

  .score-card {
    right: 14px;
    bottom: 14px;
    width: min(270px, calc(100% - 28px));
  }

  .quick-facts,
  .service-list,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .quick-facts a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-facts a:last-child {
    border-bottom: 0;
  }

  .section,
  .image-band {
    width: min(100% - 28px, 1180px);
  }

  .section h2,
  .image-band h2 {
    font-size: clamp(1.95rem, 9.2vw, 3.05rem);
  }

  .route-photo,
  .route-photo img {
    min-height: 360px;
  }

  .mobile-actions {
    display: grid;
  }
}

