:root {
  --bg-dark: #020a17;
  --bg-light: #edf3fb;
  --bg-panel: #091223;
  --blue: #1d50e7;
  --yellow: #f2cf12;
  --text: #191c22;
  --muted: #5f6978;
  --border: #d7deea;
  --shadow: 0 18px 40px rgba(4, 13, 28, 0.12);
  --container: 1120px;
  --inner: 1060px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.page {
  background:
    radial-gradient(circle at top, rgba(29, 80, 231, 0.1), transparent 32%),
    #dfe7f2;
  color: var(--text);
  font-family: 'Aleo', serif;
}

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

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

button,
a {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 12px 18px;
  background: #fff;
  color: var(--bg-dark);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 16px;
}

.layout {
  overflow: clip;
  background: #fff;
}

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

.section-eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-eyebrow--center {
  text-align: center;
}

.section-eyebrow--hero,
.section-eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  gap: 8px;
}

.button:hover {
  transform: translateY(-1px);
}

.button--yellow {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #161c24;
}

.button--outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.button--dark {
  background: transparent;
  border-color: rgba(25, 28, 34, 0.18);
  color: #1f2734;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 10, 23, 0.96);
  color: #fff;
  backdrop-filter: blur(14px);
}

.header__topbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__list,
.topbar__socials,
.brands__grid,
.cta__list,
.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f0f3f8;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.topbar__item a:hover,
.footer__text a:hover,
.cta__list a:hover {
  color: #9bb8ff;
}

.topbar__icon,
.footer__icon {
  object-fit: contain;
}

.topbar__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.topbar__badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7f9fc;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topbar__badge--muted {
  color: #c7d1df;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.nav__logo img {
  width: 152px;
  height: auto;
}

.nav__burger {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav__link {
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--yellow);
  transition: transform 0.2s ease;
}

.nav__link--active::after,
.nav__link:hover::after,
.nav__link:focus-visible::after {
  transform: scaleX(1);
}

.hero,
.about,
.services,
.benefits,
.reviews,
.cta,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero__media,
.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(2, 10, 23, 0.45), rgba(2, 10, 23, 0.72)),
    linear-gradient(90deg, rgba(6, 14, 30, 0.85), rgba(6, 14, 30, 0.2));
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 148px 0 88px;
  color: #fff;
}

.hero__title {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin: 0 0 18px;
  max-width: 760px;
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 0.98;
  text-transform: uppercase;
}

.hero__brand-logo {
  width: clamp(130px, 22vw, 233px);
  height: auto;
}

.hero__accent {
  color: #d7dfeb;
}

.hero__text {
  max-width: 720px;
  margin: 0 0 16px;
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 500;
  line-height: 1.04;
  text-transform: uppercase;
}

.hero__subtext {
  max-width: 620px;
  margin: 0;
  color: #d8dce5;
  font-size: 18px;
  line-height: 1.5;
}

.hero__actions,
.about__actions,
.benefits__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions {
  margin-top: 28px;
}

.brands {
  padding: 44px 0 56px;
  text-align: center;
}

.brands__title,
.reviews__title {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
}

.brands__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.brands__grid li {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}

.brands__item {
  max-height: 38px;
  object-fit: contain;
}

.brands__label {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.about {
  padding: 24px 0 70px;
  background: linear-gradient(180deg, var(--bg-light), #fff);
}

.about__container {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 30px;
  align-items: center;
}

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

.about__card {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.about__card--large {
  grid-column: 1 / -1;
}

.about__image {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.about__card:not(.about__card--large) .about__image {
  min-height: 220px;
}

.about__title,
.services__title,
.benefits__title,
.cta__title {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  text-transform: uppercase;
}

.about__title span,
.services__title span,
.benefits__title span,
.reviews__title span {
  color: var(--blue);
}

.about__text,
.benefits__text,
.cta__text {
  margin: 0;
  color: #384456;
  font-size: 16px;
  line-height: 1.65;
}

.about__text + .about__text {
  margin-top: 12px;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
}

.about__stat {
  padding: 18px 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.about__stat dt {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 800;
}

.about__stat dd {
  margin: 0;
  color: var(--muted);
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about__actions {
  margin-top: 22px;
}

.services {
  padding: 72px 0;
}

.services__title {
  text-align: center;
}

.services__line {
  width: min(320px, 60vw);
  height: 4px;
  margin: 14px auto 24px;
  border-radius: 999px;
  background: var(--yellow);
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: 24px;
  background: var(--bg-panel);
  box-shadow: var(--shadow);
}

.service-card--wide {
  grid-column: span 2;
}

.service-card__media,
.service-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-card__image {
  object-fit: cover;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 11, 24, 0.12), rgba(3, 11, 24, 0.85));
  z-index: 0;
}

.service-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 20px;
  color: #fff;
}

.service-card__title,
.benefits__item-title,
.footer__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.06;
  text-transform: uppercase;
}

.service-card__text {
  margin: 0 0 14px;
  max-width: 28ch;
  color: #dbe3f0;
  font-size: 14px;
  line-height: 1.55;
}

.service-card .button {
  align-self: flex-start;
  min-height: 40px;
}

.services__actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.benefits {
  padding: 72px 0;
  background: linear-gradient(180deg, #fff, var(--bg-light));
}

.benefits__title {
  text-align: center;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.benefits__item {
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.benefits__icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.benefits__actions {
  justify-content: center;
  margin-top: 22px;
}

.reviews {
  padding: 72px 0;
}

.reviews__header {
  text-align: center;
}

.reviews__score {
  margin: 0;
  color: #f2be0f;
  font-size: 34px;
  line-height: 1.1;
}

.reviews__score span {
  color: #172030;
  font-family: 'Prosto One', sans-serif;
  font-size: 14px;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.reviews__card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.reviews__card img {
  width: 100%;
  height: auto;
}

.reviews__card figcaption {
  padding: 14px 16px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.cta {
  padding: 0 0 72px;
}

.cta__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(var(--container), calc(100% - 24px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.cta__content {
  padding: 38px 32px;
  background: linear-gradient(135deg, #2450e7, #1637a7);
  color: #fff;
}

.cta__list {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  color: #eff4ff;
  font-size: 15px;
  line-height: 1.55;
}

.cta__map {
  margin: 0;
  position: relative;
  min-height: 100%;
  background: #0c1526;
}

.cta__map-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.cta__map figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(2, 10, 23, 0.7);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer {
  padding: 52px 0 28px;
  background: #020915;
  color: #fff;
}

.footer__container {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 24px;
}

.footer__logo img {
  width: 170px;
  height: auto;
  margin-bottom: 14px;
}

.footer__text,
.footer__list-item,
.footer__address {
  color: #dde5f3;
  font-size: 14px;
  line-height: 1.65;
}

.footer__text {
  margin: 0;
}

.footer__list-item + .footer__list-item,
.footer__text--contact + .footer__text--contact {
  margin-top: 6px;
}

.footer__address {
  font-style: normal;
}

.footer__text--contact {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

@media (max-width: 960px) {
  .header__topbar {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .topbar__socials {
    justify-content: flex-start;
  }

  .about__container,
  .cta__container,
  .footer__container {
    grid-template-columns: 1fr;
  }

  .services__grid,
  .benefits__grid,
  .reviews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card--wide {
    grid-column: auto;
  }

  .cta__map-image {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .header {
    position: static;
  }

  .topbar {
    display: none;
  }

  .nav__burger {
    display: block;
  }

  .nav {
    position: relative;
    min-height: 72px;
  }

  .nav__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(2, 10, 23, 0.98);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
  }

  .nav__menu--open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link::after {
    bottom: -4px;
  }

  .hero {
    min-height: 520px;
  }

  .hero__content {
    padding: 86px 0 60px;
  }

  .hero__title {
    font-size: clamp(30px, 10vw, 48px);
  }

  .hero__text {
    font-size: clamp(22px, 6vw, 30px);
  }

  .hero__subtext,
  .about__text,
  .benefits__text,
  .cta__text {
    font-size: 15px;
  }

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

  .services__grid,
  .benefits__grid,
  .reviews__grid,
  .brands__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .button {
    width: 100%;
  }

  .hero__actions,
  .about__actions,
  .benefits__actions {
    flex-direction: column;
  }

  .cta__content {
    padding: 30px 20px;
  }
}
