:root {
  --navy: #034153;
  --navy-deep: #022f3d;
  --navy-ink: #1d2d3a;
  --navy-line: #0a5064;
  --navy-soft: #295165;
  --yellow: #fed100;
  --amber: #feb705;
  --yellow-grad: linear-gradient(90deg, #fed100 0%, #feb705 100%);
  --bg: #f5f5f5;
  --bg-strip: #eeeeee;
  --white: #ffffff;
  --text: #333333;
  --muted: #6b7680;
  --meta: #a9b2bd;
  --line: #e2e2e2;
  --placeholder: #999999;
  --error: #b3261e;
  --font-head: "Fira Sans", "Segoe UI", Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;
  --container: 1170px;
  --gutter: 16px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-card: 0 18px 40px -22px rgba(3, 65, 83, 0.45);
  --topbar-h: 44px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

main [id] {
  scroll-margin-top: 70px;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(76px);
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-title {
  position: relative;
  font-size: 26px;
  color: var(--text);
  padding-bottom: 26px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 4px;
  background:
    linear-gradient(var(--amber), var(--amber)) 0 0 / 43px 4px no-repeat,
    repeating-linear-gradient(90deg, var(--amber) 0 5px, transparent 5px 7px) 45px 0 / 25px 4px no-repeat;
}

.section-title--light {
  color: var(--white);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 45px;
  padding: 0 32px;
  border: 0;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: scale(0, 1);
  transition: transform 0.35s var(--ease);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: scale(1, 1);
}

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

.btn--yellow {
  background: var(--yellow-grad);
  color: var(--navy);
}

.btn--yellow::before {
  background: var(--navy);
}

.btn--yellow:hover,
.btn--yellow:focus-visible {
  color: var(--white);
}

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

.btn--navy::before {
  background: var(--yellow-grad);
}

.btn--navy:hover,
.btn--navy:focus-visible {
  color: var(--navy);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 3px var(--white);
}

.btn--outline::before {
  background: var(--white);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  color: var(--navy);
}

.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
}

.topbar__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: var(--topbar-h);
  gap: 16px;
}

.topbar__address {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.topbar__address .icon {
  color: var(--amber);
  font-size: 18px;
  fill: var(--amber);
  stroke: none;
}

.topbar__address span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__quote {
  position: relative;
  display: flex;
  align-items: center;
  flex: none;
  padding: 0 16px;
  background: var(--yellow-grad);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s var(--ease);
}

.topbar__quote::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--white);
  transform: scale(0, 1);
  transition: transform 0.35s var(--ease);
}

.topbar__quote:hover::before,
.topbar__quote:focus-visible::before {
  transform: scale(1, 1);
}

.site-header {
  position: sticky;
  top: -77px;
  z-index: 100;
  background: var(--bg);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: var(--bg);
  box-shadow: 0 10px 30px -18px rgba(3, 65, 83, 0.55);
}

.brandbar {
  border-bottom: 1px solid var(--line);
  transition: opacity 0.3s var(--ease);
}

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

.logo {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding-right: 18px;
}

.logo__badge {
  position: absolute;
  right: 0;
  top: -6px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yellow-grad);
  color: var(--navy);
}

.logo__badge .icon {
  font-size: 14px;
  stroke-width: 2.6;
}

.logo--light {
  color: var(--white);
  font-size: 64px;
  padding-right: 34px;
}

.logo--light .logo__badge {
  width: 46px;
  height: 46px;
  top: -14px;
}

.logo--light .logo__badge .icon {
  font-size: 26px;
}

.header-contacts {
  display: none;
  align-items: center;
  gap: 28px;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
}

.header-contact .icon {
  color: var(--navy);
  font-size: 40px;
  stroke-width: 1.3;
}

.header-contact strong {
  display: block;
  font-weight: 700;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}

.main-nav {
  display: none;
}

.main-nav__list {
  display: flex;
  gap: 28px;
}

.main-nav__link,
.drawer__link {
  position: relative;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
}

.main-nav__link::after,
.drawer__link::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.main-nav__link:hover::after,
.main-nav__link:focus-visible::after,
.main-nav__link[aria-current="page"]::after,
.drawer__link:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.navbar__phone .icon {
  font-size: 18px;
}

.burger {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}

.burger__lines,
.burger__lines::before,
.burger__lines::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.burger__lines {
  position: relative;
}

.burger__lines::before,
.burger__lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger__lines::before {
  transform: translateY(-7px);
}

.burger__lines::after {
  transform: translateY(7px);
}

.burger[aria-expanded="true"] .burger__lines {
  background: transparent;
}

.burger[aria-expanded="true"] .burger__lines::before {
  transform: rotate(45deg);
}

.burger[aria-expanded="true"] .burger__lines::after {
  transform: rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  visibility: hidden;
  transition: visibility 0s linear 0.4s;
}

.drawer.is-open {
  visibility: visible;
  transition: visibility 0s;
}

.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 47, 61, 0.55);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.drawer.is-open .drawer__overlay {
  opacity: 1;
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  padding: 24px 24px 32px;
  background: var(--bg);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.drawer__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 18px;
  cursor: pointer;
}

.drawer__list {
  display: grid;
  gap: 18px;
  padding-bottom: 28px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.drawer__contacts {
  display: grid;
  gap: 14px;
  font-size: 14px;
}

.drawer__contacts a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.drawer__contacts span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.hero {
  position: relative;
  min-height: 560px;
  background: #a9a9a9;
  overflow: hidden;
}

.hero__slides {
  position: relative;
  min-height: inherit;
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s;
}

.hero__slide.is-active {
  position: relative;
  min-height: 560px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s var(--ease), visibility 0s;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.08);
  transition: transform 7s linear;
}

.hero__slide.is-active .hero__media img {
  transform: scale(1);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 245, 245, 0.94) 0%, rgba(245, 245, 245, 0.82) 45%, rgba(245, 245, 245, 0.2) 80%, rgba(245, 245, 245, 0) 100%),
    linear-gradient(0deg, rgba(245, 245, 245, 0.6) 0%, rgba(245, 245, 245, 0) 30%);
}

.hero__glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: float 14s ease-in-out infinite alternate;
}

.hero__glow--amber {
  width: 320px;
  height: 320px;
  left: -80px;
  bottom: -120px;
  background: rgba(254, 183, 5, 0.28);
}

.hero__glow--navy {
  width: 380px;
  height: 380px;
  left: 35%;
  top: -180px;
  background: rgba(3, 65, 83, 0.16);
  animation-duration: 18s;
}

@keyframes float {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(40px, -30px, 0);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 56px;
  padding-bottom: 88px;
}

.hero__title {
  max-width: 720px;
  font-size: 40px;
  line-height: 1;
  color: var(--navy);
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy) 55%, #0a6b86 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__line {
  display: block;
  width: 111px;
  height: 6px;
  margin: 24px 0 26px;
  background:
    linear-gradient(var(--amber), var(--amber)) 0 0 / 69px 6px no-repeat,
    repeating-linear-gradient(90deg, var(--amber) 0 10px, transparent 10px 12px) 70px 0 / 41px 6px no-repeat;
}

.hero__text {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--text);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.hero__actions .btn {
  min-width: 140px;
}

.hero__arrow {
  position: absolute;
  z-index: 3;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  background: rgba(245, 245, 245, 0.72);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.hero__arrow .icon {
  font-size: 24px;
  stroke-width: 2.4;
  color: var(--navy);
  transition: transform 0.3s var(--ease);
}

.hero__arrow:hover {
  background: var(--yellow);
}

.hero__arrow--prev {
  right: 56px;
}

.hero__arrow--next {
  right: 0;
}

.hero__arrow--prev:hover .icon {
  transform: translateX(-3px);
}

.hero__arrow--next:hover .icon {
  transform: translateX(3px);
}

.hero__dots {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 26px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(3, 65, 83, 0.25);
  cursor: pointer;
  transition: background-color 0.3s var(--ease);
}

.hero__dot[aria-current="true"] {
  background: var(--amber);
}

.section {
  padding: 72px 0;
}

.services__head {
  display: grid;
  gap: 24px;
  align-items: start;
  margin-bottom: 44px;
}

.services__intro {
  max-width: 770px;
  margin-top: 26px;
  letter-spacing: 0.02em;
}

.services__grid {
  display: grid;
  gap: 28px;
}

.service-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card__media {
  overflow: hidden;
  aspect-ratio: 372 / 189;
  background: #aaaaaa;
}

.service-card__media img,
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-card__media img,
.post-card:hover .post-card__media img {
  transform: scale(1.06);
}

.service-card__body {
  flex: 1;
  padding: 22px 19px 30px;
  background: var(--white);
  transition: box-shadow 0.4s var(--ease);
}

.service-card:hover .service-card__body {
  box-shadow: var(--shadow-card);
}

.service-card__title {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 18px;
}

.service-card__text {
  max-width: 300px;
  line-height: 1.47;
}

.service-card__list {
  margin-top: 14px;
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.service-card__list li {
  position: relative;
  padding-left: 18px;
}

.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 3px;
  background: var(--amber);
}

.service-card__action {
  display: flex;
  align-self: flex-end;
  text-decoration: none;
}

.service-card__plus {
  display: grid;
  place-items: center;
  width: 54px;
  height: 51px;
  background: var(--navy-ink);
  color: var(--white);
}

.service-card__plus .icon {
  font-size: 18px;
  stroke-width: 2;
  transition: transform 0.4s var(--ease);
}

.service-card__more {
  position: relative;
  display: grid;
  place-items: center;
  width: 120px;
  height: 51px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s var(--ease);
}

.service-card__more::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--yellow-grad);
  transform: scale(0, 1);
  transition: transform 0.35s var(--ease);
}

.service-card__action:hover .service-card__more,
.service-card__action:focus-visible .service-card__more {
  color: var(--navy);
}

.service-card__action:hover .service-card__more::before,
.service-card__action:focus-visible .service-card__more::before {
  transform: scale(1, 1);
}

.service-card__action:hover .service-card__plus .icon {
  transform: rotate(90deg);
}

.process {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 72px 0 80px;
  overflow: hidden;
}

.process::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 107, 134, 0.55) 0%, rgba(3, 65, 83, 0) 70%);
  pointer-events: none;
}

.process__inner {
  position: relative;
  display: grid;
  gap: 56px;
}

.process__text {
  max-width: 480px;
  margin: 28px 0 44px;
  font-size: 15px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 30px;
  counter-reset: step;
}

.stat {
  display: flex;
  align-items: center;
  gap: 18px;
}

.stat__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  flex: none;
  background: var(--white);
  color: var(--navy-ink);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.stat__icon .icon {
  font-size: 42px;
  stroke-width: 1.5;
}

.stat:hover .stat__icon {
  background: var(--amber);
  transform: translateY(-4px);
}

.stat__body {
  flex: 1;
  text-align: right;
}

.stat__value {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
}

.stat__unit {
  font-size: 20px;
  margin-left: 4px;
}

.stat__label {
  display: block;
  margin-top: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
}

.stat__note {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.principles {
  position: relative;
  padding-top: 76px;
}

.principles__photo {
  position: absolute;
  top: 0;
  right: 24px;
  z-index: 2;
  width: 120px;
  padding: 5px;
  background: var(--white);
  border-radius: 4px;
}

.principles__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.principles__box {
  position: relative;
  background: var(--white);
  color: var(--text);
  padding: 72px 24px 40px;
  min-height: 274px;
}

.principles__mark {
  position: absolute;
  top: 26px;
  left: 24px;
  width: 55px;
  height: 45px;
  color: #e9ecef;
}

.principles__slide {
  display: none;
}

.principles__slide.is-active {
  display: block;
  animation: fade-in 0.5s var(--ease);
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.principles__quote {
  position: relative;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.principles__name {
  margin-top: 36px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
}

.principles__role {
  font-size: 15px;
}

.principles__arrows {
  display: flex;
  justify-content: flex-end;
}

.principles__arrow {
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  border: 0;
  background: var(--yellow-grad);
  color: var(--navy-ink);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.principles__arrow:first-child {
  background: var(--yellow);
}

.principles__arrow:last-child {
  background: var(--amber);
}

.principles__arrow .icon {
  font-size: 20px;
  stroke-width: 2.2;
}

.principles__arrow:hover {
  background: var(--white);
  color: var(--navy);
}

.features__grid {
  display: grid;
  gap: 28px;
  margin-top: 48px;
}

.feature {
  display: flex;
  gap: 22px;
  padding: 22px 26px 24px;
  border: 2px solid var(--navy-ink);
  border-radius: var(--radius);
  background: transparent;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background-color 0.4s var(--ease);
}

.feature:hover {
  transform: translateY(-5px);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  flex: none;
  border: 2px solid var(--navy-ink);
  border-radius: 50%;
  color: var(--navy);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.feature__icon .icon {
  font-size: 34px;
}

.feature:hover .feature__icon {
  background: var(--yellow-grad);
  border-color: transparent;
}

.feature__title {
  font-size: 19px;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 14px;
}

.feature__text {
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: 0.03em;
}

.contact {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 80px 0;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  left: -260px;
  bottom: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 183, 5, 0.16) 0%, rgba(254, 183, 5, 0) 65%);
  pointer-events: none;
}

.contact__inner {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}

.contact__title {
  margin-top: 36px;
  font-size: 30px;
}

.contact__text {
  max-width: 500px;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.contact__direct {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  font-weight: 700;
}

.contact__direct a {
  position: relative;
  justify-self: start;
  text-decoration: none;
}

.form__row {
  display: grid;
  gap: 28px;
}

.form__field {
  position: relative;
  margin-bottom: 28px;
}

.form__row .form__field {
  margin-bottom: 0;
}

.form__row {
  margin-bottom: 28px;
}

.form__label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.form__input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form__input::placeholder {
  color: var(--placeholder);
}

.form__input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(254, 183, 5, 0.25);
}

.form__input--area {
  min-height: 200px;
  resize: vertical;
}

.form__field.has-error .form__input {
  border-color: #ff8a80;
}

.form__error {
  display: block;
  min-height: 0;
  margin-top: 6px;
  color: #ffd2cc;
  font-size: 13px;
  font-weight: 600;
}

.form__error:empty {
  display: none;
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
}

.form__note {
  flex: 1 1 260px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.form__note a {
  color: var(--yellow);
}

.form__status {
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--amber);
  font-size: 14px;
}

.form__status[hidden] {
  display: none;
}

.pricing__head {
  display: grid;
  gap: 18px;
  margin-bottom: 48px;
}

.pricing__intro {
  max-width: 720px;
  margin-top: 26px;
}

.pricing__grid {
  display: grid;
  gap: 24px;
}

.post-card {
  display: flex;
  flex-direction: column;
  padding: 25px;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.post-card:hover,
.post-card--featured {
  background: var(--white);
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.post-card--featured {
  position: relative;
}

.post-card--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(135deg, var(--yellow), rgba(254, 183, 5, 0) 45%, rgba(3, 65, 83, 0) 60%, var(--navy));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.post-card__media {
  overflow: hidden;
  aspect-ratio: 320 / 154;
  background: #aaaaaa;
}

.post-card__title {
  margin-top: 26px;
  font-size: 23px;
  line-height: 1.2;
  color: var(--navy);
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-card__avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
}

.post-card__avatar .icon {
  font-size: 20px;
}

.post-card__format {
  color: var(--navy);
}

.post-card__term {
  color: var(--meta);
}

.post-card__text {
  flex: 1;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.7;
}

.post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}

.post-card__price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  color: var(--navy);
}

.post-card__price small {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--meta);
  text-transform: uppercase;
}

.post-card__price span {
  font-size: 15px;
  color: var(--muted);
}

.post-card__btn {
  min-height: 46px;
  padding: 0 22px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.post-card:hover .post-card__btn {
  background: var(--yellow-grad);
  color: var(--navy);
}

.pricing__notice {
  display: grid;
  gap: 8px;
  margin-top: 40px;
  padding: 22px 26px;
  border-left: 4px solid var(--amber);
  background: var(--white);
  font-size: 14px;
}

.pricing__notice strong {
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--navy);
}

.strip {
  position: relative;
  padding: 44px 0;
  background: var(--bg-strip);
  overflow: hidden;
}

.strip__viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  overflow: hidden;
}

.strip__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.strip__viewport:hover .strip__track {
  animation-play-state: paused;
}

.strip__list {
  display: flex;
  align-items: center;
}

.strip__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 34px;
  color: #7c858d;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  white-space: nowrap;
}

.strip__item .icon {
  font-size: 34px;
  color: #9aa3ab;
  stroke-width: 1.6;
}

@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.site-footer {
  background: var(--navy);
  color: var(--white);
}

.footer__main {
  display: grid;
  gap: 44px;
  padding: 72px 0 64px;
}

.footer__title {
  font-size: 28px;
  padding-bottom: 26px;
}

.footer__text {
  margin: 30px 0 28px;
  font-size: 15px;
  line-height: 1.7;
  max-width: 260px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 6px 44px;
  margin-top: 30px;
}

.footer__links a,
.text-link {
  position: relative;
  font-weight: 700;
  font-size: 15px;
  line-height: 2;
  text-decoration: none;
}

.footer__quick {
  padding-top: 26px;
  border-top: 1px solid var(--navy-line);
}

.footer__quick-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.footer__quick-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--navy-soft);
  color: var(--white);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.footer__quick-link .icon {
  font-size: 17px;
}

.footer__quick-link:hover,
.footer__quick-link:focus-visible {
  background: var(--yellow-grad);
  color: var(--navy);
  transform: translateY(-3px);
}

.footer__legal {
  margin-top: 26px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.footer__contacts {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

.footer__contact {
  display: flex;
  gap: 12px;
}

.footer__contact .icon {
  margin-top: 2px;
  font-size: 22px;
}

.footer__contact strong {
  display: block;
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1.3;
}

.footer__contact a,
.footer__contact span {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.footer__contact a:hover {
  color: var(--yellow);
}

.footer__bottom {
  border-top: 1px solid var(--navy-line);
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding: 26px 0 30px;
  font-size: 14px;
}

.footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
}

.footer__bottom-links a {
  position: relative;
  font-weight: 400;
}

.reveal {
  opacity: 1;
}

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.policy-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: 4px;
  background: var(--yellow-grad);
  transform: scaleX(0);
  transform-origin: left;
}

.policy-hero {
  position: relative;
  padding: 64px 0 56px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.policy-hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -140px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 183, 5, 0.22) 0%, rgba(254, 183, 5, 0) 65%);
}

.policy-hero__title {
  position: relative;
  font-size: 36px;
  padding-bottom: 26px;
}

.policy-hero__meta {
  position: relative;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.85);
}

.policy {
  display: grid;
  gap: 40px;
  padding: 56px 0 80px;
}

.policy__toc {
  align-self: start;
  padding: 24px;
  background: var(--white);
  border-top: 4px solid var(--amber);
}

.policy__toc-title {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 14px;
}

.policy__toc ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.policy__toc a {
  color: var(--navy);
  text-decoration: none;
}

.policy__toc a:hover {
  text-decoration: underline;
}

.policy__body {
  min-width: 0;
  max-width: 780px;
}

.policy__section {
  scroll-margin-top: 160px;
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.policy__section:last-child {
  border-bottom: 0;
}

.policy__section h2 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 16px;
}

.policy__section h3 {
  font-size: 18px;
  color: var(--text);
  margin: 22px 0 10px;
}

.policy__section p + p,
.policy__section p + ul,
.policy__section ul + p {
  margin-top: 12px;
}

.policy__section ul {
  display: grid;
  gap: 8px;
  padding-left: 0;
}

.policy__section li {
  position: relative;
  padding-left: 22px;
}

.policy__section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 3px;
  background: var(--amber);
}

.policy__section a {
  color: var(--navy);
  font-weight: 700;
}

.policy__table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--white);
}

.policy__table th,
.policy__table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--line);
}

.policy__table th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
}

.policy__table-wrap {
  overflow-x: auto;
}

.policy__table-wrap + p {
  margin-top: 16px;
}

@media (min-width: 480px) {
  .topbar__quote {
    padding: 0 22px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat__body {
    text-align: right;
  }
}

@media (min-width: 768px) {
  :root {
    --gutter: 28px;
    --topbar-h: 52px;
  }

  .section-title {
    font-size: 30px;
  }

  .navbar__phone {
    display: none;
  }

  .main-nav {
    display: block;
  }

  .hero,
  .hero__slide.is-active {
    min-height: 620px;
  }

  .hero__title {
    font-size: 56px;
  }

  .hero__text {
    font-size: 22px;
  }

  .services__head {
    grid-template-columns: 1fr auto;
  }

  .services__head .btn {
    margin-top: 40px;
  }

  .services__grid,
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .principles__box {
    padding: 96px 30px 40px;
  }

  .principles__photo {
    width: 150px;
    right: 66px;
  }

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

  .footer__main {
    grid-template-columns: repeat(2, 1fr);
  }

  .policy-hero__title {
    font-size: 44px;
  }
}

@media (min-width: 1024px) {
  .header-contacts {
    display: flex;
  }

  .site-header {
    top: -99px;
  }

  main [id] {
    scroll-margin-top: 80px;
  }

  .brandbar__inner {
    min-height: 98px;
  }

  .logo {
    font-size: 44px;
  }

  .navbar__inner {
    min-height: 74px;
  }

  .main-nav__list {
    gap: 28px;
  }

  .hero,
  .hero__slide.is-active {
    min-height: 704px;
  }

  .hero__title {
    font-size: 65px;
  }

  .hero__text {
    font-size: 24px;
  }

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

  .section {
    padding: 96px 0;
  }

  .services {
    padding-top: 96px;
    padding-bottom: 64px;
  }

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

  .process {
    padding: 100px 0;
  }

  .process__inner {
    grid-template-columns: 571px 1fr;
    gap: 29px;
  }

  .stats {
    gap: 33px 30px;
  }

  .principles {
    padding-top: 76px;
  }

  .principles__box {
    padding: 96px 30px 40px 30px;
    min-height: 274px;
  }

  .features {
    padding-top: 110px;
    padding-bottom: 96px;
  }

  .features__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 44px 28px;
  }

  .contact {
    padding: 100px 0;
  }

  .contact__inner {
    grid-template-columns: 1fr 574px;
    gap: 80px;
  }

  .footer__main {
    grid-template-columns: 1.1fr 1fr 1fr 1.1fr;
    gap: 44px;
    padding: 96px 0 90px;
  }

  .footer__quick {
    margin-top: 24px;
  }

  .policy {
    grid-template-columns: 300px 1fr;
    gap: 56px;
  }

  .policy__toc {
    position: sticky;
    top: 104px;
  }
}

@media (min-width: 1440px) {
  .hero__arrow {
    top: 50%;
    bottom: auto;
    width: 104px;
    height: 104px;
    margin-top: -52px;
  }

  .hero__arrow .icon {
    font-size: 36px;
    color: var(--white);
  }

  .hero__arrow:hover .icon {
    color: var(--navy);
  }

  .hero__arrow--prev {
    left: 0;
    right: auto;
  }

  .hero__arrow--next {
    right: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__media img {
    transform: none;
  }

  .strip__track {
    animation: none;
  }
}
