:root {
  --bg: #f4f8fc;
  --bg-2: #eef4fa;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --surface-soft: #f8fbfe;
  --dark: #0d2238;
  --dark-2: #14304d;
  --dark-3: #1b446d;
  --text: #11263a;
  --muted: #5f7388;
  --line: rgba(17, 38, 58, 0.10);
  --line-strong: rgba(17, 38, 58, 0.16);
  --green: #22c46f;
  --green-2: #15a95c;
  --green-soft: rgba(34, 196, 111, 0.12);
  --blue-soft: rgba(44, 123, 229, 0.12);
  --blue-text: #2e5c8a;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(12, 27, 44, 0.10);
  --shadow-strong: 0 28px 70px rgba(12, 27, 44, 0.18);
  --radius: 26px;
  --radius-sm: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(44, 123, 229, 0.08), transparent 26%),
    radial-gradient(circle at top right, rgba(34, 196, 111, 0.08), transparent 22%),
    linear-gradient(180deg, #f8fbfe 0%, #edf4fa 100%);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 38, 58, 0.08);
}

.topbar__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.brand__mark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-2) 100%);
  box-shadow: 0 0 0 8px rgba(34, 196, 111, 0.12);
  flex: 0 0 auto;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__text strong {
  font-size: 16px;
  line-height: 1.1;
}

.brand__text small {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.topbar__phone,
.topbar__cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.topbar__phone {
  background: rgba(13, 34, 56, 0.04);
  border: 1px solid rgba(13, 34, 56, 0.08);
  color: var(--dark);
}

.topbar__cta,
.btn--primary {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-2) 100%);
  color: #072114;
  box-shadow: 0 14px 34px rgba(34, 196, 111, 0.25);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 38, 58, 0.10);
  color: var(--text);
  box-shadow: 0 10px 22px rgba(12, 27, 44, 0.06);
}

.topbar__phone:hover,
.topbar__cta:hover,
.btn:hover { transform: translateY(-1px); }

.btn--large { min-height: 60px; padding-inline: 24px; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 54px 0 48px;
  background:
    linear-gradient(180deg, rgba(8, 18, 29, 0.34) 0%, rgba(8, 18, 29, 0.22) 100%),
    url("assets/hero-accident-scene.svg") center/cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(244, 248, 252, 0.92) 0%, rgba(244, 248, 252, 0.78) 38%, rgba(244, 248, 252, 0.90) 100%),
    radial-gradient(circle at left top, rgba(44, 123, 229, 0.14), transparent 28%),
    radial-gradient(circle at right center, rgba(34, 196, 111, 0.12), transparent 20%);
  backdrop-filter: blur(2px);
  z-index: -1;
}

.hero__content,
.section-heading,
.section-heading--left,
.trust-layout,
.faq-layout { display: grid; }
.hero__content { gap: 26px; }

.hero__eyebrow,
.section-heading__label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 38, 58, 0.08);
  box-shadow: 0 8px 24px rgba(12, 27, 44, 0.06);
  color: #2e506f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading__label--dark {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .8fr);
  gap: 26px;
  align-items: start;
}

.hero h1,
.section-heading h2,
.warning-box h2,
.final-cta h2,
.hero-panel__card h2 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 { max-width: 820px; font-size: clamp(42px, 8vw, 76px); }

.hero__lead {
  max-width: 820px;
  margin: 16px 0 0;
  font-size: clamp(18px, 3.2vw, 24px);
  color: #29435e;
}

.hero__actions,
.hero__pills,
.final-cta__actions,
.warning-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions { margin-top: 22px; }
.hero__pills { margin-top: 22px; }

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 38, 58, 0.08);
  color: var(--dark);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(12, 27, 44, 0.06);
}

.hero__panel {
  display: grid;
  gap: 16px;
}

.hero-panel__card,
.hero-panel__list article,
.step-card,
.service-card,
.route-step,
.trust-card,
.info-card,
.faq-item,
.inline-cta,
.warning-box,
.final-cta {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-panel__card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(241,248,255,0.96) 100%);
}

.hero-panel__card--accent {
  border-color: rgba(44, 123, 229, 0.16);
  box-shadow: 0 22px 58px rgba(30, 77, 125, 0.14);
}

.hero-panel__label,
.info-card__meta,
.service-badge,
.trust-card__tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-panel__label,
.info-card__meta,
.service-badge {
  background: var(--green-soft);
  color: #1b6a44;
}

.service-badge--blue {
  background: var(--blue-soft);
  color: var(--blue-text);
}

.service-badge--dark,
.trust-card__tag {
  background: rgba(13, 34, 56, 0.08);
  color: var(--dark);
}

.hero-panel__card h2 { margin-top: 14px; font-size: clamp(28px, 4vw, 40px); }
.hero-panel__card p { margin: 14px 0 0; color: var(--muted); }

.hero-panel__list {
  display: grid;
  gap: 12px;
}

.hero-panel__list article {
  padding: 18px 20px;
}

.hero-panel__list strong,
.step-card h3,
.service-card h3,
.route-step h3,
.trust-card h3,
.info-card h3,
.faq-item summary { font-size: 20px; line-height: 1.25; }
.hero-panel__list span,
.step-card p,
.service-card p,
.route-step p,
.trust-card p,
.info-card p,
.faq-item__content,
.section-heading p,
.inline-cta p,
.warning-box p,
.final-cta p { color: var(--muted); }

.section {
  padding: 84px 0;
}

.section--light {
  background: linear-gradient(180deg, rgba(255,255,255,0.54), rgba(255,255,255,0.16));
}

.section--route {
  background:
    radial-gradient(circle at left top, rgba(44, 123, 229, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(243, 249, 255, 0.84), rgba(236, 244, 252, 0.84));
}

.section--warning { padding-top: 22px; }

.section--faq {
  background: linear-gradient(180deg, rgba(255,255,255,0.46), rgba(255,255,255,0.14));
}

.section--final {
  padding-top: 16px;
  padding-bottom: 96px;
}

.section-heading {
  justify-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 30px;
}

.section-heading--left {
  justify-items: start;
  text-align: left;
}

.section-heading h2,
.warning-box h2,
.final-cta h2 { font-size: clamp(32px, 5vw, 54px); }
.section-heading p,
.final-cta p { max-width: 820px; margin: 0; font-size: 18px; }

.steps-grid,
.services-grid,
.trust-grid,
.info-grid {
  display: grid;
  gap: 16px;
}

.steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.step-card,
.service-card,
.trust-card,
.info-card,
.route-step { padding: 24px; }

.step-card span,
.route-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(44,123,229,0.12), rgba(44,123,229,0.05));
  border: 1px solid rgba(44,123,229,0.12);
  color: #26598a;
  font-weight: 900;
}

.step-card--callout {
  background: linear-gradient(180deg, rgba(240, 251, 245, 0.96), rgba(255,255,255,0.98));
  border-color: rgba(34, 196, 111, 0.20);
}

.inline-cta,
.warning-box,
.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  margin-top: 24px;
}

.inline-cta strong { display: block; font-size: 24px; line-height: 1.2; margin-bottom: 8px; }
.inline-cta p,
.warning-box p { margin: 0; }

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.service-num {
  font-size: 14px;
  font-weight: 900;
  color: #83a0bc;
  letter-spacing: 0.08em;
}

.service-card--featured {
  border-color: rgba(34, 196, 111, 0.18);
  box-shadow: 0 24px 60px rgba(34, 196, 111, 0.10);
}

.route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.route::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 50px;
  height: 2px;
  background: linear-gradient(90deg, rgba(44,123,229,0.16) 0%, rgba(34,196,111,0.20) 100%);
  z-index: 0;
}

.route-step {
  position: relative;
  z-index: 1;
  min-height: 100%;
}

.route-step--final {
  background: linear-gradient(180deg, rgba(240, 251, 245, 0.96), rgba(255,255,255,0.98));
  border-color: rgba(34, 196, 111, 0.20);
  box-shadow: 0 24px 58px rgba(34, 196, 111, 0.10);
}

.trust-layout,
.faq-layout {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.trust-card--featured {
  border-color: rgba(13, 34, 56, 0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,249,253,0.98));
}

.warning-box {
  background:
    linear-gradient(180deg, rgba(13, 34, 56, 0.96), rgba(20, 48, 77, 0.96)),
    radial-gradient(circle at right center, rgba(34,196,111,0.10), transparent 24%);
  border-color: rgba(255,255,255,0.10);
  box-shadow: var(--shadow-strong);
}

.warning-box__content,
.final-cta__content { max-width: 760px; }
.warning-box h2,
.warning-box p,
.warning-box__phone,
.final-cta,
.final-cta p,
.final-cta__meta { color: var(--white); }
.warning-box__quote {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 18px;
  font-weight: 800;
  color: rgba(255,255,255,0.96);
}
.warning-box__phone {
  font-size: 20px;
  font-weight: 900;
}

.info-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.98));
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 800;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  line-height: 1;
  color: #7e93a8;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__content {
  padding: 0 24px 22px;
  border-top: 1px solid rgba(17, 38, 58, 0.06);
}

.final-cta {
  background:
    linear-gradient(180deg, rgba(13, 34, 56, 0.98), rgba(20, 48, 77, 0.98)),
    radial-gradient(circle at right center, rgba(34,196,111,0.10), transparent 24%);
  border-color: rgba(255,255,255,0.10);
  box-shadow: var(--shadow-strong);
}

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

.final-cta__meta {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.76);
}

@media (max-width: 1080px) {
  .hero__grid,
  .trust-layout,
  .faq-layout,
  .steps-grid,
  .services-grid,
  .route,
  .trust-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .route::before {
    left: 24px;
    right: auto;
    top: 24px;
    bottom: 24px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(44,123,229,0.16) 0%, rgba(34,196,111,0.20) 100%);
  }

  .route-step {
    padding-left: 76px;
  }

  .route-step__num {
    position: absolute;
    left: 18px;
    top: 24px;
    margin-bottom: 0;
  }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 24px), var(--container)); }

  .topbar__inner,
  .topbar__right,
  .hero__actions,
  .warning-box,
  .inline-cta,
  .final-cta,
  .final-cta__actions,
  .warning-box__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar__inner {
    padding: 14px 0;
    min-height: auto;
  }

  .topbar__phone,
  .topbar__cta,
  .btn,
  .btn--large { width: 100%; }

  .topbar__phone,
  .topbar__cta,
  .btn { min-height: 50px; }

  .hero {
    min-height: auto;
    padding: 32px 0 28px;
    background-position: 62% center;
  }

  .hero__content { gap: 20px; }
  .hero__lead { font-size: 18px; }
  .hero-panel__card h2 { font-size: 30px; }
  .section { padding: 58px 0; }
  .section-heading { gap: 12px; margin-bottom: 22px; }
  .section-heading p,
  .final-cta p { font-size: 16px; }
  .hero-panel__card,
  .hero-panel__list article,
  .step-card,
  .service-card,
  .route-step,
  .trust-card,
  .info-card,
  .faq-item,
  .inline-cta,
  .warning-box,
  .final-cta { border-radius: 20px; }
}
