:root {
  --blue: #025f9d;
  --blue-deep: #0b74ba;
  --green: #009a3d;
  --green-bright: #0bb950;
  --text: #2a2d30;
  --muted: #63778e;
  --line: #e1e8f2;
  --surface: #f7f9fc;
  --surface-2: #f0f4f9;
  --white: #ffffff;
  --notice-bg: #fff6e8;
  --notice-border: #f0c98a;
  --notice-text: #5c420f;
  --container: 1290px;
  --pad: 30px;
  --font: "Exo 2", system-ui, sans-serif;
  --fs-body: 1.0625rem;
  --fs-small: 0.8125rem;
  --fs-lead: 1.25rem;
  --fs-h2: 2rem;
  --fs-h1: 3.25rem;
  --lh: 1.55;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--green);
}

.container {
  width: min(100% - (var(--pad) * 2), var(--container));
  margin-inline: auto;
}

/* Notice */
.notice {
  background: var(--notice-bg);
  border-bottom: 1px solid var(--notice-border);
}

.notice__inner {
  padding: 0.85rem 0;
}

.notice__text {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--notice-text);
}

.notice__text a {
  color: inherit;
  font-weight: 700;
}

/* Header */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  min-height: 72px;
}

.header__logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header__logo img {
  width: min(210px, 48vw);
  height: auto;
  mix-blend-mode: multiply;
}

.header__contacts {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
}

.header__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: var(--fs-small);
  line-height: 1.35;
}

.header__label {
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.6875rem;
}

.header__value {
  color: var(--text);
  font-weight: 600;
}

.header__link {
  text-decoration: none;
}

.header__phone {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
}

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

.header__ext {
  color: var(--muted);
  font-size: 0.7rem;
  max-width: 14rem;
}

.nav {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.nav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  padding: 0.7rem 0;
}

.nav__inner a {
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
}

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

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(420px, 62vh, 640px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(120deg, #0b74ba 0%, #025f9d 55%, #047a3a 100%);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 40, 70, 0.72) 0%, rgba(2, 40, 70, 0.45) 42%, rgba(2, 40, 70, 0.12) 70%, transparent 100%),
    url("banner.webp") right center / cover no-repeat;
}

.hero__content {
  padding: 3.5rem 0;
  max-width: 38rem;
  color: var(--white);
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 4.5vw, var(--fs-h1));
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1.0625rem, 1.6vw, var(--fs-lead));
  line-height: 1.5;
  max-width: 32rem;
  opacity: 0.95;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--green-bright);
  color: var(--white);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.section--surface {
  background: var(--surface);
}

.section__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, var(--fs-h2));
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}

.section__lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 42rem;
}

.services__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.services__top .section__title {
  margin-bottom: 0.5rem;
}

.services__top .section__lead {
  margin-bottom: 0;
}

.years {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 9rem;
}

.years__num {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
}

.years__text {
  margin-top: 0.35rem;
  font-size: var(--fs-small);
  color: var(--muted);
  font-weight: 600;
  max-width: 7rem;
}

.card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

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

.card-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.info-card strong {
  font-size: 1.05rem;
  color: var(--text);
}

.info-card span {
  font-size: var(--fs-small);
  color: var(--muted);
}

.feature {
  margin: 0;
  padding: 1.35rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.section--surface .feature {
  background: var(--white);
}

.feature--accent {
  background: var(--surface);
}

.feature__title {
  margin: 0 0 0.55rem;
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: 700;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.split p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill-list li {
  padding: 0.55rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.9rem;
}

.section--surface .pill-list li {
  background: var(--white);
}

.pill-list--wide {
  margin-top: 0.25rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips span {
  padding: 0.45rem 0.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.prose {
  max-width: 48rem;
}

.prose__lead {
  font-size: var(--fs-lead);
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 1rem;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
}

.steps__title {
  margin: 0 0 0.4rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.steps__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cta {
  background: linear-gradient(105deg, var(--blue-deep), var(--blue) 55%, #047a3a);
  color: var(--white);
}

.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.cta__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
  font-weight: 700;
}

.cta__text {
  margin: 0;
  max-width: 36rem;
  opacity: 0.95;
}

.cta__text a {
  color: var(--white);
  font-weight: 700;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.about__text p {
  margin: 0 0 1rem;
  color: var(--text);
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__lead {
  font-size: var(--fs-lead);
  font-weight: 600;
  line-height: 1.4;
}

.cargo-list {
  list-style: none;
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  gap: 0.65rem;
}

.cargo-list li {
  position: relative;
  padding-left: 1.1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.cargo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
}

.reviews {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.review {
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.review__text {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
}

.review__meta {
  margin: 0;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.35rem 1.15rem 0.85rem;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 0 0.35rem;
  list-style-position: outside;
}

.faq__item p {
  margin: 0.35rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contacts */
.contacts__intro {
  margin: -0.25rem 0 1.75rem;
  color: var(--muted);
  max-width: 40rem;
}

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

.contacts__card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

a.contacts__card:hover {
  border-color: var(--blue);
  background: var(--surface-2);
  color: inherit;
}

.contacts__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.contacts__value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.contacts__meta {
  margin-top: 0.35rem;
  font-size: var(--fs-small);
  color: var(--muted);
}

/* Footer */
.footer {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  color: var(--white);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.35rem 0;
}

.footer__copy,
.footer__contacts {
  margin: 0;
  font-size: var(--fs-small);
}

.footer a {
  color: #e3edff;
  text-decoration: none;
  font-weight: 600;
}

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

.footer__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

/* Responsive */
@media (max-width: 1100px) {
  .card-grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .header__contacts {
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }

  .services__top,
  .about__grid,
  .split,
  .card-grid--3,
  .reviews {
    grid-template-columns: 1fr;
  }

  .card-grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__media {
    background:
      linear-gradient(180deg, rgba(2, 40, 70, 0.78) 0%, rgba(2, 40, 70, 0.55) 55%, rgba(2, 40, 70, 0.35) 100%),
      url("banner.webp") 70% center / cover no-repeat;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 18px;
  }

  .header__item--phone {
    width: 100%;
  }

  .header__phone {
    font-size: 1.375rem;
  }

  .card-grid--5,
  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 480px;
  }

  .hero__content {
    padding: 2.75rem 0;
  }

  .btn {
    width: 100%;
  }

  .cta__actions {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .contacts__card {
    transition: none;
  }
}
