:root {
  --container: 970px;
  --text: #111111;
  --muted: #565f66;
  --line: #dedede;
  --line-soft: #ebebeb;
  --blue: #0798bd;
  --blue-deep: #078caf;
  --red: #f11111;
  --cream: #fff8e9;
  --pale-blue: #eaf8fd;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  text-rendering: geometricPrecision;
}

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

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

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.page-shell {
  overflow: hidden;
}

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

.section-frame,
.blue-frame {
  position: relative;
}

.section-frame::before,
.section-frame::after,
.blue-frame::before,
.blue-frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.section-frame::before,
.blue-frame::before {
  left: 0;
}

.section-frame::after,
.blue-frame::after {
  right: 0;
}

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

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 130px 1fr auto auto;
  align-items: center;
  gap: 28px;
}

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

.brand-logo {
  width: 86px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 4.3vw, 70px);
}

.site-nav a,
.header-phone {
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  color: #161616;
  transition: color 0.24s ease;
  white-space: nowrap;
}

.site-nav a:hover,
.header-phone:hover {
  color: var(--blue);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 545px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.48) 38%, rgba(0, 0, 0, 0.18) 100%),
    url("./img/banner.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 29, 42, 0.08);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 390px;
  align-items: center;
  gap: 96px;
  padding: 70px 0;
}

.hero-copy {
  max-width: 560px;
  color: var(--white);
}

.hero h1 {
  margin: 0 0 18px;
  max-width: 560px;
  font-size: 25px;
  line-height: 1.18;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero p {
  margin: 0;
  max-width: 365px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 18px;
}

.btn {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 10px 22px rgba(241, 17, 17, 0.2);
}

.btn-primary:hover {
  background: #d90c0c;
}

.btn-light {
  color: #101010;
  background: var(--white);
}

.hero-note {
  font-size: 10px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.68) !important;
}

.hero-video {
  position: relative;
  width: 390px;
  height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(0, 161, 197, 0.78);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.18);
}

.hero-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 74% 26%, rgba(255, 255, 255, 0.18), transparent 34%);
  opacity: 0.65;
}

.hero-video::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -45%;
  width: 42%;
  height: 220%;
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(18deg);
  animation: videoSheen 5s ease-in-out infinite;
}

.play-button {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  animation: playPulse 2.5s ease-out infinite;
}

.play-button span {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--white);
}

.partners {
  padding: 35px 0 32px;
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
}

.partners-track {
  width: min(100% - 32px, 1220px);
  min-height: 96px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: clamp(18px, 3vw, 46px);
}

.partners-track img {
  width: 100%;
  max-height: 74px;
  object-fit: contain;
  filter: saturate(1.04);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.partners-track img:hover {
  transform: translateY(-2px);
  filter: saturate(1.15);
}

.solutions {
  background: var(--white);
}

.solutions .section-frame {
  padding: 18px 16px 170px;
}

.section-head {
  margin: 0 0 26px;
}

.section-head-left {
  max-width: 760px;
}

.section-head h2 {
  margin: 0 0 22px;
  max-width: 560px;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 800;
  text-transform: uppercase;
}

.section-head p {
  margin: 0;
  max-width: 815px;
  color: #252525;
  font-size: 10px;
  line-height: 1.62;
  font-weight: 600;
}

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

.solution-card {
  min-height: 282px;
  padding: 23px 21px 19px;
  border: 1px solid #d7dfe4;
  background: var(--pale-blue);
}

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

.solution-card-warm {
  background: linear-gradient(180deg, #eaf8fd 0%, var(--cream) 100%);
}

.solution-card-cool {
  background: linear-gradient(180deg, #e9f8fd 0%, #f2fbfe 100%);
}

.solution-card h3 {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.18;
  font-weight: 800;
  text-transform: uppercase;
}

.solution-card p {
  margin: 0 0 16px;
  color: #111111;
  font-size: 10px;
  line-height: 1.55;
  font-weight: 600;
}

.icon-list {
  display: grid;
  gap: 11px;
}

.icon-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 9px;
  color: #1d252b;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 600;
}

.icon-list img {
  width: 17px;
  height: 17px;
  margin-top: -1px;
}

.certificates {
  position: relative;
  padding: 0;
  background: var(--blue);
  color: var(--white);
}

.blue-frame {
  min-height: 690px;
  padding: 48px 70px 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.blue-frame::before,
.blue-frame::after {
  background: rgba(255, 255, 255, 0.24);
}

.certificates-head {
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.certificates-head p {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
}

.certificates-head h2 {
  margin: 0;
  color: var(--white);
  font-size: 44px;
  line-height: 1.08;
  font-weight: 800;
  text-transform: uppercase;
}

.certificates-copy {
  max-width: 780px;
  margin: 38px auto 50px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.42;
  font-weight: 600;
}

.certificate-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px;
}

.certificate-item {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.certificate-item img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.certificate-item span {
  max-width: 138px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
}

.benefits {
  background: var(--white);
}

.benefits .section-frame {
  padding: 34px 16px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.benefit-card {
  min-height: 313px;
  padding: 54px 24px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.06);
}

.benefit-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 18px;
}

.benefit-card h3 {
  margin: 0 0 14px;
  max-width: 230px;
  font-size: 13px;
  line-height: 1.22;
  font-weight: 800;
}

.benefit-card p {
  margin: 0 0 18px;
  max-width: 238px;
  color: #303030;
  font-size: 10px;
  line-height: 1.55;
  font-weight: 500;
}

.benefit-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111111;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 800;
}

.benefit-card a::before {
  content: "→";
  color: #111111;
  font-size: 16px;
  line-height: 1;
}

.cta-section {
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
}

.cta-frame {
  min-height: 360px;
  padding: 70px 18px 56px;
  display: grid;
  place-items: center;
  text-align: center;
}

.cta-frame h2 {
  max-width: 760px;
  margin: 0;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 800;
  text-transform: uppercase;
}

.write-link {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-top: 30px;
  color: #555;
  font-size: 10px;
  font-weight: 600;
}

.write-link b {
  color: #111;
  font-size: 20px;
  line-height: 1;
  animation: arrowDrop 1.7s ease-in-out infinite;
}

.contact {
  background: var(--white);
}

.contact-grid {
  min-height: 360px;
  display: grid;
  grid-template-columns: 1fr 1.28fr;
  border-bottom: 1px solid var(--line-soft);
}

.contact-copy {
  padding: 44px 20px 44px 16px;
}

.contact-copy h2 {
  max-width: 350px;
  margin: 0 0 22px;
  font-size: 20px;
  line-height: 1.18;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-copy p {
  max-width: 360px;
  margin: 0;
  color: #262626;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

.contact-form {
  padding: 42px 16px 34px 28px;
  display: grid;
  align-content: start;
  gap: 12px;
  border-left: 1px solid var(--line);
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"] {
  width: 100%;
  height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--text);
  font-size: 11px;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder {
  color: #b9b9b9;
}

.contact-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 152, 189, 0.12);
}

.agreement {
  min-height: 38px;
  display: grid;
  grid-template-columns: 1fr 36px;
  align-items: center;
  gap: 12px;
  padding: 0 0 0 8px;
  cursor: pointer;
}

.agreement input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.agreement span {
  color: #2749c8;
  font-size: 9px;
  line-height: 1.35;
  font-weight: 600;
}

.agreement i {
  position: relative;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: #b9b9b9;
  transition: background 0.2s ease;
}

.agreement i::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.2s ease;
}

.agreement input:checked ~ i {
  background: var(--blue);
}

.agreement input:checked ~ i::after {
  transform: translateX(16px);
}

.form-submit {
  justify-self: end;
  min-width: 170px;
  margin-top: 4px;
}

.form-message {
  min-height: 18px;
  margin: 0;
  color: #1a1a1a;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 600;
  text-align: right;
}

.form-message.error {
  color: #d70d0d;
}

.form-message.success {
  color: #058557;
}

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

.footer-inner {
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 42px 64px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.footer-contacts strong {
  display: block;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
}

.footer-contacts a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-side {
  display: grid;
  gap: 48px;
  justify-items: center;
  align-self: stretch;
  padding-top: 16px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.to-top {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.82);
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.22s ease, background 0.22s ease;
}

.to-top:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s ease, transform 0.72s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes playPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.34);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes videoSheen {
  0%,
  42% {
    transform: translateX(0) rotate(18deg);
  }
  70%,
  100% {
    transform: translateX(520%) rotate(18deg);
  }
}

@keyframes arrowDrop {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(7px);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1366px) {
  :root {
    --container: 940px;
  }

  .header-inner {
    gap: 22px;
    grid-template-columns: 112px 1fr auto auto;
  }

  .site-nav {
    gap: clamp(20px, 3.2vw, 48px);
  }

  .hero {
    min-height: 510px;
  }

  .hero-inner {
    grid-template-columns: 1fr 350px;
    gap: 58px;
    padding: 58px 0;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero-video {
    width: 350px;
    height: 235px;
  }

  .partners-track {
    width: min(100% - 44px, 1120px);
    gap: clamp(16px, 2.4vw, 34px);
  }

  .solutions .section-frame {
    padding-bottom: 130px;
  }

  .blue-frame {
    min-height: 620px;
    padding-inline: 54px;
  }

  .certificate-features {
    gap: 34px;
  }
}

@media (max-width: 1180px) {
  :root {
    --container: 900px;
  }

  .header-inner {
    grid-template-columns: 98px 1fr auto auto;
    gap: 18px;
  }

  .brand-logo {
    width: 80px;
  }

  .site-nav {
    gap: 24px;
  }

  .site-nav a,
  .header-phone {
    font-size: 10px;
  }

  .hero-inner {
    grid-template-columns: 1fr 320px;
    gap: 40px;
  }

  .hero-video {
    width: 320px;
    height: 215px;
  }

  .solution-card {
    padding: 21px 18px 18px;
  }

  .benefit-card {
    padding-inline: 20px;
  }
}

@media (max-width: 980px) {
  :root {
    --container: 720px;
  }

  .header-inner {
    grid-template-columns: auto auto;
  }

  .site-nav,
  .header-phone {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    padding: 10px 0;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  }

  .site-nav.is-open a {
    padding: 16px 20px;
    font-size: 13px;
  }

  .burger {
    display: block;
    justify-self: end;
  }

  .hero {
    min-height: auto;
    background-position: 58% center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 58px 0 64px;
  }

  .hero-copy {
    max-width: 560px;
  }

  .hero-title span {
    display: inline;
    white-space: normal;
  }

  .hero-video {
    width: min(100%, 480px);
    height: 250px;
  }

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

  .solutions-grid,
  .benefits-grid,
  .certificate-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .solutions .section-frame {
    padding: 28px 16px 82px;
  }

  .solution-card {
    min-height: 250px;
  }

  .blue-frame {
    min-height: auto;
    padding: 64px 38px 58px;
  }

  .certificate-features {
    gap: 26px;
  }

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

  .contact-form {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 16px;
  }

  .footer-inner {
    padding-inline: 32px;
  }
}

@media (max-width: 760px) {
  :root {
    --container: 560px;
  }

  .hero-inner {
    padding: 52px 0;
  }

  .hero h1 {
    font-size: 24px;
  }

  .solutions-grid,
  .benefits-grid,
  .certificate-features {
    grid-template-columns: 1fr;
  }

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

  .blue-frame {
    padding: 58px 24px;
  }

  .certificate-features {
    max-width: 360px;
    margin: 0 auto;
  }

  .benefits-grid {
    border-left: 1px solid var(--line);
  }

  .benefit-card {
    min-height: auto;
  }
}

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

  .header-inner {
    min-height: 68px;
  }

  .brand-logo {
    width: 78px;
  }

  .hero {
    background-position: 58% center;
  }

  .hero-inner {
    padding: 44px 0;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-video {
    height: 210px;
  }

  .partners-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .partners-track img {
    max-height: 58px;
  }

  .solutions .section-frame,
  .benefits .section-frame {
    padding-inline: 12px;
  }

  .section-head h2,
  .contact-copy h2 {
    font-size: 18px;
  }

  .certificates-head p {
    font-size: 18px;
  }

  .certificates-head h2,
  .cta-frame h2 {
    font-size: 28px;
  }

  .cta-frame {
    min-height: 300px;
  }

  .form-submit {
    width: 100%;
  }

  .footer-inner {
    min-height: 180px;
    align-items: flex-start;
    padding: 34px 18px;
  }
}
