@font-face {
  font-family: "Montserrat Local";
  src: local("Montserrat"), local("Arial");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans Local";
  src: local("Open Sans"), local("Arial");
  font-display: swap;
}

:root {
  --font-heading: "Montserrat Local", Arial, sans-serif;
  --font-body: "Open Sans Local", Arial, sans-serif;
  --line: #d9dee9;
  --ink: #111827;
  --soft: #eef2ff;
  --shadow: 0 18px 48px rgba(9, 18, 48, .15);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a { text-decoration: none; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 86px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.logo img { width: 42px; height: 42px; }

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.nav-menu a {
  color: #263244;
  font-size: 18px;
  font-weight: 700;
}

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

.phone-btn,
.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 24px;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  border-radius: 0;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 0 0 0 rgba(255,255,255,.45);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
  animation: pulseGlow 2.4s infinite;
}

.phone-btn:hover,
.cta-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.phone-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 12px;
  border-radius: 0;
  font-weight: 800;
  color: var(--heading);
}

.hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: center;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(4,8,22,.92) 0%, rgba(10,21,52,.74) 48%, rgba(10,21,52,.35) 100%), url('../images/hero-technician.jpg');
  background-size: cover;
  background-position: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 48px;
  align-items: center;
  padding: 92px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-left: 4px solid var(--accent);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
}

h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 18px; font-weight: 850; letter-spacing: -.04em; }
h1 { font-size: clamp(45px, 5vw, 74px); color: #fff; }
h2 { font-size: clamp(30px, 3.1vw, 46px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
h4 { font-size: 20px; }
p { margin: 0 0 18px; font-size: 16px; }

.hero p { color: #eef4ff; font-size: 18px; max-width: 760px; }

.stars { color: var(--accent); font-size: 26px; letter-spacing: 3px; margin: 8px 0 14px; }

.hero-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  flex-wrap: wrap;
}

.hero-icons img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  background: #fff;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.4);
}

.hero-card {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.32);
  backdrop-filter: blur(16px);
  padding: 34px;
  box-shadow: var(--shadow);
}

.hero-card h2 { color: #fff; font-size: 30px; }

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

.benefit-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.line-icon,
.service-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: #eef2ff;
  border: 1px solid #dfe6ff;
}

.hero-card .line-icon { color: #fff; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); }
.line-icon svg, .service-icon svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: square; stroke-linejoin: miter; }

.section { padding: 92px 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--surface-dark); color: var(--on-dark); }
.section-dark p, .section-dark li { color: #d9e3f7; }

.section-head { max-width: 820px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.accent-rule { width: 74px; height: 5px; background: var(--accent); margin: -2px 0 24px; }
.section-head.center .accent-rule { margin-left: auto; margin-right: auto; }

.intro-box {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: #fff;
  margin-top: 36px;
}

.trust-item { padding: 24px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--heading); font-size: 28px; font-family: var(--font-heading); line-height: 1; }
.trust-item span { color: var(--text-muted); font-weight: 700; }

.two-col {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 34px;
  align-items: center;
}

.two-col.reverse { grid-template-columns: 35% 65%; }

.media-card { position: relative; min-height: 360px; overflow: hidden; box-shadow: var(--shadow); }
.media-card img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.media-card::after { content: ""; position: absolute; inset: 0; border: 10px solid rgba(255,255,255,.45); pointer-events: none; }

.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.service-card { background: #fff; border: 1px solid var(--line); padding: 24px; min-height: 100%; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #b9c6ef; }
.service-card .service-icon { margin-bottom: 18px; }
.service-card p { color: var(--text); }

.parts-list,
.city-list,
.payment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.parts-list li,
.city-list li,
.payment-list li {
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--heading);
  font-weight: 700;
}

.issues-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.issue-card { border-top: 5px solid var(--primary); background: #fff; padding: 24px; box-shadow: 0 10px 28px rgba(15,23,42,.08); }

.review-wrap { position: relative; overflow: hidden; }
.reviews-track { display: flex; transition: transform .45s ease; }
.review-card {
  flex: 0 0 calc(33.333% - 16px);
  margin-right: 24px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
  min-height: 320px;
  box-shadow: 0 12px 34px rgba(15,23,42,.08);
}
.review-card h3 { margin-bottom: 8px; }
.review-stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 16px; font-size: 18px; }
.slider-controls { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.slider-controls button { width: 48px; height: 48px; border: 1px solid var(--primary); color: var(--primary); background: #fff; border-radius: 0; font-size: 22px; font-weight: 900; cursor: pointer; }
.slider-controls button:hover { background: var(--primary); color: #fff; }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.choice-card { padding: 26px; background: #fff; border-left: 5px solid var(--accent); box-shadow: 0 8px 26px rgba(15,23,42,.08); }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; border: 1px solid rgba(255,255,255,.2); }
.step { padding: 28px; border-right: 1px solid rgba(255,255,255,.2); counter-increment: step; }
.step:last-child { border-right: 0; }
.step::before { content: counter(step, decimal-leading-zero); display: block; color: var(--accent); font-family: var(--font-heading); font-weight: 900; font-size: 30px; margin-bottom: 16px; }
.step h3 { color: #fff; }

.cta-band { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; padding: 44px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .cta-btn { background: #fff; color: var(--primary); border-color: #fff; }
.cta-band .cta-btn:hover { background: var(--accent); color: #111827; border-color: var(--accent); }

.footer { background: #060914; color: #cfd7e8; padding: 54px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 36px; align-items: start; }
.footer .logo { color: #fff; margin-bottom: 18px; }
.footer a { color: #fff; font-size: 14px; }
.footer h3 { color: #fff; font-size: 20px; }
.footer p { font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); margin-top: 28px; padding-top: 20px; }

.mobile-call {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--primary);
  color: #fff;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 17px;
  border-top: 2px solid rgba(255,255,255,.28);
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.42), 0 0 0 0 rgba(21,54,189,.24); }
  70% { box-shadow: 0 0 0 12px rgba(255,255,255,0), 0 0 0 20px rgba(21,54,189,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0), 0 0 0 0 rgba(21,54,189,0); }
}

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .issues-grid, .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .step:last-child { border-bottom: 0; }
}

@media (max-width: 860px) {
  body { padding-bottom: 62px; }
  h1 { font-size: clamp(32px, 10vw, 52px); }
  h2 { font-size: clamp(24px, 8vw, 34px); }
  .nav-wrap { grid-template-columns: 1fr auto; gap: 10px; padding: 12px 0; min-height: auto; }
  .logo { font-size: 24px; min-width: 0; }
  .logo img { width: 38px; height: 38px; }
  .menu-toggle { display: inline-flex; justify-content: center; }
  .nav-menu { grid-column: 1 / -1; display: none; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); padding-top: 10px; }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 10px 0; font-size: 18px; }
  .header-phone { grid-column: 1 / -1; width: 100%; min-height: 48px; font-size: 16px; }
  .hero { min-height: auto; }
  .hero-grid, .two-col, .two-col.reverse, .intro-box, .cta-band, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 64px 0; }
  .hero-card { padding: 24px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .review-card { flex-basis: 100%; margin-right: 0; }
  .reviews-track { gap: 0; }
  .services-grid, .issues-grid, .choice-grid { grid-template-columns: 1fr; }
  .mobile-call { display: flex; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 64px 0; }
  .hero-icons img { width: 50px; height: 50px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .cta-band { padding: 28px; }
}
