:root {
  --red: #ff3741;
  --blue: #145fa5;
  --panel: rgba(31, 100, 166, 0.82);
  --white: #fff;
  --black: #080808;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  background: #0788df url("assets/wix/img-2.jpeg") center top / cover fixed;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

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

.effects-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.effects-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.promo {
  position: relative;
  z-index: 5;
  color: #c81725;
  background: var(--white);
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  width: min(980px, calc(100% - 24px));
  margin: 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 30px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-weight: 900;
  letter-spacing: 5px;
  text-decoration: none;
  text-transform: uppercase;
}

.button.large {
  min-width: 330px;
  min-height: 64px;
}

.button.script {
  min-width: 250px;
  min-height: 70px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 12px, rgba(0,0,0,.06) 12px 24px),
    #b41418;
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.top-panel {
  position: relative;
  width: min(980px, calc(100% - 24px));
  margin: 0 auto;
  padding: 26px 30px 22px;
  color: var(--white);
  background:
    linear-gradient(rgba(30, 97, 162, .82), rgba(30, 97, 162, .82)),
    url("assets/wix/img-2.jpeg") center / cover no-repeat;
  text-align: center;
  box-shadow: 0 4px 9px rgba(0,0,0,.32);
}

.top-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08), transparent 16%, transparent 84%, rgba(0,0,0,.08)),
    radial-gradient(circle at 50% 0, rgba(255,255,255,.18), transparent 52%);
  mix-blend-mode: screen;
}

.notice {
  margin: 0 0 18px;
  font-size: 1.04rem;
  font-weight: 800;
  text-shadow: 2px 2px 0 #111;
}

.top-panel h1 {
  margin: 26px auto 10px;
  color: var(--white);
  font-size: clamp(3rem, 7vw, 5.05rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 3px 3px 0 rgba(0,0,0,.45);
}

.top-links {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-size: 1.35rem;
  font-weight: 800;
  text-shadow: 2px 2px 0 #111;
}

.top-links a {
  overflow-wrap: anywhere;
}

.facebook {
  float: right;
  width: 39px;
  margin-top: -50px;
}

.trail-video {
  position: relative;
  width: min(960px, calc(100% - 44px));
  height: clamp(240px, 34vw, 360px);
  margin: 0 auto;
  overflow: hidden;
  background: url("assets/trail-video.png") center / cover no-repeat;
  box-shadow: inset 0 0 0 999px rgba(0,0,0,.2);
}

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

.trail-video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 58%, rgba(9, 29, 47, .28)),
    radial-gradient(circle at 50% 15%, rgba(255,255,255,.16), transparent 48%);
}

.adventure {
  position: relative;
  min-height: 675px;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 80px 18px 40px;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(rgba(23, 39, 55, .52), rgba(23, 39, 55, .65)),
    url("assets/wix/img-7.jpg") center / cover no-repeat;
}

.adventure::before,
.models-wrap::before,
.about::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 112px;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='0 0 1920 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0v82c330 42 578 53 866 108 391 75 640-17 1054-17V0z' fill='%23fff' fill-opacity='.2'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
}

.adventure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(255,255,255,.08) 62%, transparent 80%),
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 36%);
}

.adventure > * {
  position: relative;
  z-index: 1;
}

.adventure h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.55;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 12px;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 rgba(0,0,0,.65);
}

.adventure .subline {
  display: block;
  font-size: clamp(1.7rem, 4.5vw, 3.6rem);
  font-style: normal;
}

.adventure p {
  margin: 26px 0 30px;
  color: rgba(255,255,255,.72);
  font-size: 1.08rem;
}

.hero-machine {
  width: min(620px, 88vw);
  margin: 42px auto -60px;
}

.models-heading {
  width: min(980px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px;
  background: rgba(48, 108, 164, 0.78);
  box-shadow: 0 4px 9px rgba(0,0,0,.3);
  text-align: center;
}

.models-heading h2 {
  margin: 0;
  font-size: 2.1rem;
  text-shadow: 2px 2px 0 #111;
}

.models-wrap {
  position: relative;
  width: min(980px, calc(100% - 24px));
  margin: 0 auto;
  padding: 26px 20px 50px;
  background: rgba(255,255,255,.92);
  color: var(--black);
}

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

.model-card {
  min-height: 420px;
  padding: 24px 18px;
  border: 1px solid #cfcfcf;
  background: var(--white);
  text-align: center;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}

.model-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  margin-bottom: 24px;
}

.model-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.35;
}

.about {
  position: relative;
  width: min(980px, calc(100% - 24px));
  margin: 0 auto;
  padding: 62px 60px;
  color: var(--white);
  background:
    linear-gradient(rgba(11, 54, 93, .78), rgba(11, 54, 93, .78)),
    url("assets/wix/img-1.jpg") center / cover no-repeat;
  text-align: center;
}

.about > * {
  position: relative;
  z-index: 1;
}

.about h2 {
  margin: 0 0 28px;
  font-size: 2.2rem;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #111;
}

.about p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.65;
  text-shadow: 1px 1px 0 #111;
}

.contact {
  width: min(760px, calc(100% - 24px));
  margin: 0 auto 64px;
  padding: 28px;
  color: #111;
  background: rgba(255,255,255,.93);
}

.contact h2 {
  margin: 0 0 18px;
  text-align: center;
}

.contact form {
  display: grid;
  gap: 12px;
}

.contact input,
.contact textarea {
  padding: 12px;
  border: 1px solid #aaa;
  font: inherit;
}

.contact textarea {
  min-height: 120px;
}

.contact button {
  justify-self: end;
  padding: 12px 20px;
  border: 0;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.footer {
  width: min(980px, calc(100% - 24px));
  margin: 0 auto;
  padding: 28px 18px;
  background: rgba(18, 89, 159, .86);
  text-align: center;
}

.button {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,.22);
}

@media (max-width: 760px) {
  .promo-inner {
    display: grid;
    padding: 12px 0;
  }

  .top-panel h1 {
    font-size: clamp(2.6rem, 14vw, 4.4rem);
  }

  .top-panel {
    width: calc(100% - 20px);
    padding: 24px 14px 20px;
  }

  .notice {
    font-size: 0.98rem;
  }

  .top-links {
    font-size: 1.2rem;
  }

  .adventure h2 {
    letter-spacing: 4px;
    font-size: clamp(2rem, 11vw, 3.1rem);
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .adventure .subline {
    font-size: clamp(1.35rem, 9vw, 2.4rem);
  }

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

  .about {
    padding: 42px 24px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .effects-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
