:root {
  --bg: #f6f8fb;
  --ink: #121722;
  --muted: #637083;
  --line: #d9e0ea;
  --blue: #1f6feb;
  --teal: #00a896;
  --green: #2fb344;
  --white: #ffffff;
  --navy: #14213d;
  --shadow: 0 24px 70px rgba(20, 33, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(246, 248, 251, 0.9);
  border-bottom: 1px solid rgba(217, 224, 234, 0.8);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
}

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

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

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

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
}

.header-action {
  color: var(--blue);
  border: 1px solid rgba(31, 111, 235, 0.25);
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: 640px;
  padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 72px) 64px;
  background:
    linear-gradient(120deg, rgba(31, 111, 235, 0.1), transparent 45%),
    radial-gradient(circle at 88% 22%, rgba(0, 168, 150, 0.22), transparent 30%),
    var(--bg);
}

.hero-content {
  max-width: 720px;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-copy,
.section-heading p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

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

.button.primary {
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-panel {
  padding: 28px;
  color: var(--white);
  background: linear-gradient(160deg, #14213d, #1f6feb 70%, #00a896);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-top,
.metric-grid,
.flow {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 18px;
  border-radius: 8px;
}

.panel-top strong {
  font-size: 34px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 8px;
}

.metric-grid div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-grid small {
  display: block;
  margin-bottom: 8px;
  opacity: 0.78;
}

.metric-grid strong {
  font-size: 28px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
}

.flow span {
  padding: 12px 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.section,
.band,
.advisor,
.contact {
  padding: 78px clamp(20px, 5vw, 72px);
}

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

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

.card,
.product-card,
.steps div,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(20, 33, 61, 0.07);
}

.card {
  padding: 28px;
}

.product-card {
  overflow: hidden;
}

.product-images {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.08), rgba(0, 168, 150, 0.1));
  border-bottom: 1px solid var(--line);
}

.product-card figure {
  margin: 0;
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border: 1px solid rgba(217, 224, 234, 0.9);
  border-radius: 6px;
  background: var(--white);
}

.product-images figure:first-child img {
  aspect-ratio: 16 / 10;
}

.product-images figure + figure img {
  aspect-ratio: 10 / 10;
}

.product-card div {
  padding: 24px;
}

.card p,
.product-card p,
.steps p,
.form-note {
  color: var(--muted);
}

.icon {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--blue);
  font-weight: 800;
}

.band {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 36px;
  align-items: start;
  color: var(--white);
  background: var(--navy);
}

.band .eyebrow {
  color: #65d6c8;
}

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

.benefits li {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.advisor {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 26px;
  align-items: start;
  background: #eef4fb;
}

.advisor-intro {
  max-width: 620px;
}

.advisor-intro p {
  color: var(--muted);
  font-size: 18px;
}

.advisor-form,
.advisor-result {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.advisor-result {
  grid-column: 2;
}

select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
  background: #fbfcfe;
}

.advisor-result textarea {
  min-height: 154px;
  color: var(--muted);
  background: #f7f9fc;
}

.advisor-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.steps div {
  padding: 28px;
}

.steps strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.7fr);
  gap: 42px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

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

textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
  cursor: pointer;
  font: inherit;
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.social-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

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

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 72px clamp(20px, 5vw, 72px);
}

.legal-page h1 {
  margin-bottom: 18px;
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-page ul {
  padding-left: 22px;
}

.mechanic-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  padding: clamp(52px, 7vw, 90px) clamp(20px, 5vw, 72px);
  background: linear-gradient(120deg, rgba(20, 33, 61, 0.08), rgba(47, 179, 68, 0.13));
}

.mechanic-copy {
  max-width: 700px;
}

.mechanic-main-shot,
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mechanic-main-shot {
  padding: 12px;
}

.mechanic-main-shot img,
.gallery-grid img {
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: top left;
  border-radius: 6px;
}

.mechanic-main-shot img {
  aspect-ratio: 16 / 10;
}

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

.feature-item {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(20, 33, 61, 0.07);
}

.feature-item strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 18px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
}

.mechanic-gallery {
  padding: 78px clamp(20px, 5vw, 72px);
  background: var(--white);
}

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

.gallery-grid figure {
  box-shadow: 0 12px 34px rgba(20, 33, 61, 0.08);
}

.gallery-grid img {
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.gallery-grid figcaption {
  padding: 16px 18px;
  font-weight: 800;
  color: var(--navy);
}

.mechanic-advisor {
  background: linear-gradient(120deg, #eef4fb, #f6f8fb);
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero,
  .mechanic-hero,
  .band,
  .advisor,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .solutions,
  .product-showcase,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .product-images {
    grid-template-columns: 1fr 1fr;
  }

  .advisor-result {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 38px;
  }

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

  .metric-grid,
  .flow,
  .product-images {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .advisor-actions {
    grid-template-columns: 1fr;
  }
}
