:root {
  --navy: #071a33;
  --navy-2: #0b2545;
  --blue: #1565d8;
  --blue-bright: #2f80ff;
  --orange: #ff7a1a;
  --orange-dark: #d95204;
  --black: #05070b;
  --white: #ffffff;
  --metal: #aab4c3;
  --metal-dark: #5f6d7d;
  --panel: #f4f7fb;
  --line: rgba(170, 180, 195, 0.35);
  --shadow: 0 18px 45px rgba(7, 26, 51, 0.18);
  --radius: 8px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

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

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(5, 7, 11, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.navbar {
  width: min(100% - 2rem, var(--max-width));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  min-width: 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 50%;
  filter: drop-shadow(0 4px 12px rgba(47, 128, 255, 0.22));
}

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

.brand strong {
  font-size: 1rem;
  line-height: 1.2;
}

.brand small {
  color: var(--metal);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  color: rgba(255, 255, 255, 0.84);
  border-radius: var(--radius);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.nav-menu .nav-cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  box-shadow: 0 8px 22px rgba(21, 101, 216, 0.32);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-call {
  min-height: 46px;
  padding: 0.65rem 0.85rem;
  white-space: nowrap;
}

.nav-call .call-number {
  display: inline;
}

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

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.95) 0%, rgba(7, 26, 51, 0.82) 42%, rgba(7, 26, 51, 0.22) 100%),
    url("assets/hero-mobile-mechanic.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(5, 7, 11, 0.84), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 5rem 0 7rem;
  color: var(--white);
}

.hero-logo {
  width: clamp(96px, 14vw, 154px);
  height: auto;
  max-height: 154px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--blue-bright);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 560px;
  margin: 1.3rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.hero-actions,
.hero-points {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.hero-actions {
  margin-top: 2rem;
}

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

.call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 900;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 14px 32px rgba(255, 122, 26, 0.34);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.call-btn:hover,
.call-btn:focus-visible {
  color: var(--white);
  transform: scale(1.04);
  background: linear-gradient(135deg, #ff8d35, var(--orange));
  box-shadow: 0 18px 42px rgba(255, 122, 26, 0.46);
}

.phone-icon {
  display: inline-grid;
  place-items: center;
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  line-height: 1;
}

.pulse-call {
  position: relative;
  isolation: isolate;
  animation: callPulse 2.4s ease-in-out infinite;
}

@keyframes callPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.48), 0 14px 30px rgba(255, 122, 26, 0.34);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(255, 122, 26, 0), 0 16px 36px rgba(255, 122, 26, 0.42);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 122, 26, 0), 0 14px 30px rgba(255, 122, 26, 0.34);
  }
}

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

.btn.call-btn:hover,
.btn.call-btn:focus-visible {
  transform: scale(1.04);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  box-shadow: 0 14px 30px rgba(21, 101, 216, 0.36);
}

.btn-primary.call-btn {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 14px 30px rgba(255, 122, 26, 0.36);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.hero-points {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.trust-strip {
  width: min(100% - 2rem, var(--max-width));
  margin: -3.2rem auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.trust-item {
  padding: 1.35rem;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--black));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item span {
  color: var(--metal);
  margin-top: 0.35rem;
}

.section {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 6rem 0;
}

.section-dark {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100% - var(--max-width)) / 2));
  padding-right: max(1rem, calc((100% - var(--max-width)) / 2));
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(21, 101, 216, 0.22), transparent 42%),
    linear-gradient(180deg, var(--black), var(--navy));
}

.section-muted {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100% - var(--max-width)) / 2));
  padding-right: max(1rem, calc((100% - var(--max-width)) / 2));
  background: var(--panel);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.2rem;
}

.section-heading h2,
.about-copy h2,
.request-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:last-child,
.about-copy p,
.request-copy p {
  color: var(--metal-dark);
  font-size: 1.05rem;
}

.section-dark .section-heading p:last-child {
  color: var(--metal);
}

.service-grid,
.feature-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card,
.testimonial,
.step,
.feature,
.service-form,
.contact-card {
  border-radius: var(--radius);
}

.service-card {
  min-height: 240px;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(7, 26, 51, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(21, 101, 216, 0.45);
  box-shadow: var(--shadow);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 900;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.service-card h3,
.feature strong,
.step h3 {
  margin: 1rem 0 0.45rem;
  font-size: 1.1rem;
}

.service-card p,
.feature span,
.step p,
.testimonial blockquote {
  margin: 0;
  color: var(--metal-dark);
}

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

.feature {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature span {
  display: block;
  margin-top: 0.45rem;
  color: var(--metal);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step {
  position: relative;
  min-height: 220px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--white), #f8fbff);
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-weight: 900;
  border-radius: 50%;
  background: var(--blue);
}

.about-section,
.request-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 3rem;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.text-link {
  display: inline-flex;
  margin-top: 0.5rem;
  color: var(--blue);
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}

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

.testimonial {
  margin: 0;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(7, 26, 51, 0.08);
}

.testimonial figcaption {
  margin-top: 1rem;
  color: var(--navy);
  font-weight: 800;
}

.faq-list {
  max-width: 900px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  color: var(--navy);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-question span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  color: var(--white);
  border-radius: 50%;
  background: var(--navy);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
}

.faq-answer p {
  margin: 0 0 1.25rem;
  color: var(--metal-dark);
}

.faq-item.active .faq-answer {
  max-height: 180px;
}

.faq-item.active .faq-question span {
  background: var(--blue);
}

.request-section {
  align-items: start;
}

.contact-card {
  margin-top: 1.4rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.contact-card p {
  margin: 0.35rem 0;
}

.contact-call {
  width: fit-content;
  min-height: 48px;
  margin: 0.35rem 0 0.8rem;
  padding: 0.8rem 1rem;
}

.service-form {
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.service-form label {
  display: block;
  margin: 0.9rem 0 0.35rem;
  font-weight: 800;
}

.service-form label:first-of-type {
  margin-top: 0;
}

.service-form input,
.service-form select,
.service-form textarea {
  width: 100%;
  padding: 0.9rem;
  color: var(--navy);
  border: 1px solid rgba(95, 109, 125, 0.35);
  border-radius: var(--radius);
  background: var(--white);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.service-form input:focus,
.service-form select:focus,
.service-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 128, 255, 0.14);
}

.service-form .field-error {
  border-color: #c91f1f;
  box-shadow: 0 0 0 4px rgba(201, 31, 31, 0.12);
}

.form-message {
  display: none;
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  font-weight: 800;
}

.form-message.success {
  display: block;
  color: #0b3d1c;
  background: #dff6e8;
  border: 1px solid rgba(35, 140, 74, 0.22);
}

.form-message.error {
  display: block;
  color: #741414;
  background: #ffe5e5;
  border: 1px solid rgba(201, 31, 31, 0.2);
}

.service-form .btn {
  width: 100%;
  margin-top: 1.1rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem max(1rem, calc((100% - var(--max-width)) / 2));
  color: rgba(255, 255, 255, 0.82);
  background: var(--black);
}

.footer-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.85rem;
  align-items: center;
}

.footer-logo {
  grid-row: span 2;
  width: 66px;
  height: 66px;
  object-fit: contain;
  border-radius: 50%;
}

.site-footer h2 {
  margin: 0 0 0.35rem;
  color: var(--white);
  font-size: 1.25rem;
}

.site-footer p {
  margin: 0;
}

.site-footer address {
  display: grid;
  gap: 0.35rem;
  font-style: normal;
}

.footer-call {
  width: fit-content;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
}

.copyright {
  text-align: right;
}

.floating-call,
.back-to-top {
  position: fixed;
  z-index: 998;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.floating-call {
  display: none;
  right: 1rem;
  bottom: 1rem;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--white);
  border-radius: 50%;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 14px 32px rgba(255, 122, 26, 0.42);
}

.floating-call .phone-icon {
  font-size: 1.55rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.back-to-top {
  right: 1rem;
  bottom: 1rem;
  width: 48px;
  height: 48px;
  color: var(--white);
  border: 0;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  background: var(--navy);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-2px);
}

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

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

  .nav-menu {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem;
    background: rgba(5, 7, 11, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    width: 100%;
  }

  .nav-call {
    min-width: 48px;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
  }

  .nav-call .call-label,
  .nav-call .call-number {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .service-grid,
  .feature-grid,
  .steps,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-section,
  .request-section {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .brand strong {
    font-size: 0.95rem;
  }

  .hero {
    min-height: 720px;
    background:
      linear-gradient(180deg, rgba(5, 7, 11, 0.96) 0%, rgba(7, 26, 51, 0.82) 54%, rgba(7, 26, 51, 0.52) 100%),
      url("assets/hero-mobile-mechanic.png") center / cover no-repeat;
  }

  .hero-content {
    padding-top: 4rem;
  }

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

  .trust-strip,
  .service-grid,
  .feature-grid,
  .steps,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: -2rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-dark,
  .section-muted {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .floating-call {
    display: inline-flex;
  }

  .back-to-top {
    right: auto;
    left: 1rem;
    bottom: 1rem;
  }
}
