:root {
  color-scheme: dark;
  --black: #050505;
  --black-2: #0d0d0d;
  --graphite: #171717;
  --panel: #101010;
  --panel-2: #151515;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --soft: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.14);
  --yellow: #ffd21f;
  --yellow-2: #d8a900;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--black);
  color: var(--white);
}

body::selection {
  background: var(--yellow);
  color: var(--black);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 210, 31, 0.16);
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.96), rgba(5, 5, 5, 0.88)),
    rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 8px;
  background: transparent;
}

.brand img {
  width: 178px;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.38));
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a,
.nav-cta,
.button,
.floating-actions a,
.quick-contact a {
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--yellow);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 210, 31, 0.45);
  border-radius: 8px;
  color: var(--yellow);
  font-weight: 800;
}

.nav-cta:hover {
  background: rgba(255, 210, 31, 0.14);
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 210, 31, 0.62), transparent);
  content: "";
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: -2;
  background-image: url("assets/training-car.jpeg");
  background-position: 66% center;
  background-size: cover;
  filter: saturate(0.82) contrast(1.14) brightness(0.95);
  transform: scale(1.015);
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.99) 0%, rgba(5, 5, 5, 0.91) 39%, rgba(5, 5, 5, 0.5) 69%, rgba(5, 5, 5, 0.3) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.2) 0%, rgba(5, 5, 5, 0.12) 42%, rgba(5, 5, 5, 0.88) 100%),
    linear-gradient(135deg, rgba(255, 210, 31, 0.14), transparent 34%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 340px;
  align-items: center;
  gap: clamp(34px, 7vw, 96px);
  width: 100%;
  max-width: 1280px;
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 104px) clamp(20px, 5vw, 64px);
}

.hero__copy {
  align-self: center;
  max-width: 820px;
  padding-left: clamp(0px, 2vw, 18px);
  border-left: 1px solid rgba(255, 210, 31, 0.28);
  animation: rise-in 760ms ease both;
}

.eyebrow,
.section-label,
.price-card__tag,
.course-card span {
  margin: 0;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 0 13px;
  border: 1px solid rgba(255, 210, 31, 0.3);
  border-radius: 8px;
  background: rgba(255, 210, 31, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(3.35rem, 6.8vw, 6.35rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 span {
  display: block;
  color: var(--yellow);
  text-shadow: 0 18px 48px rgba(255, 210, 31, 0.1);
}

h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2.1rem, 5vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.16;
}

.hero__text,
.section p,
.faq-list p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.72;
}

.hero__text {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.76);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
}

.button--primary {
  background:
    linear-gradient(135deg, #ffe46b, var(--yellow));
  color: var(--black);
  box-shadow: 0 14px 34px rgba(255, 210, 31, 0.18);
}

.button--primary:hover {
  background: #ffe05f;
  transform: translateY(-1px);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.button--ghost:hover {
  border-color: rgba(255, 210, 31, 0.46);
  background: rgba(255, 210, 31, 0.12);
}

.hero-panel {
  align-self: end;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 210, 31, 0.24);
  border-radius: 8px;
  background: rgba(255, 210, 31, 0.18);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.44);
  animation: rise-in 860ms 120ms ease both;
}

.hero-panel div {
  padding: 20px 22px;
  background:
    linear-gradient(135deg, rgba(255, 210, 31, 0.07), transparent 48%),
    rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(16px);
}

.hero-panel .hero-panel__title {
  background:
    linear-gradient(135deg, rgba(255, 210, 31, 0.18), rgba(255, 210, 31, 0.04)),
    rgba(12, 12, 12, 0.86);
}

.hero-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-panel strong {
  color: var(--yellow);
  font-size: 1.28rem;
}

.hero-panel__title strong {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
}

.section {
  padding: clamp(70px, 10vw, 124px) clamp(20px, 5vw, 64px);
  background: var(--black);
  view-timeline-name: --section-reveal;
  view-timeline-axis: block;
}

.section--dark {
  background: var(--graphite);
}

.section--about {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 210, 31, 0.08), transparent 34%),
    linear-gradient(180deg, #151515 0%, #0d0d0d 100%);
}

.section--about::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 210, 31, 0.14), transparent 1px) 0 0 / 88px 88px,
    linear-gradient(180deg, rgba(255, 210, 31, 0.08), transparent 1px) 0 0 / 88px 88px;
  content: "";
  opacity: 0.12;
  pointer-events: none;
}

.section--pricing {
  background:
    linear-gradient(180deg, var(--black) 0%, #0b0b0b 100%);
}

.section__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.intro-grid,
.about-grid,
.split,
.form-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

.intro-grid > *,
.about-grid > *,
.split > *,
.form-grid > *,
.contact-grid > * {
  min-width: 0;
}

.intro-grid p,
.about-grid p,
.split p,
.form-grid p,
.contact-grid p {
  margin-bottom: 0;
}

.about-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  align-items: center;
}

.about-copy {
  position: relative;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 210, 31, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 210, 31, 0.08), transparent 42%),
    rgba(5, 5, 5, 0.48);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.about-copy h2 {
  max-width: 760px;
  margin-bottom: 22px;
}

.about-copy p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.72);
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.about-points div {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.about-points strong {
  display: block;
  color: var(--yellow);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.08;
}

.about-points span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
}

.about-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 210, 31, 0.22);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: brightness(0.78) contrast(1.08) saturate(0.95);
  transform: scale(1.01);
}

.about-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.78)),
    linear-gradient(135deg, rgba(255, 210, 31, 0.16), transparent 40%);
  content: "";
}

.about-visual__note {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  padding: 18px;
  border: 1px solid rgba(255, 210, 31, 0.28);
  border-radius: 8px;
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(14px);
}

.about-visual__note span {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-visual__note strong {
  display: block;
  color: var(--white);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.25;
}

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

.course-card,
.price-card {
  position: relative;
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(255, 210, 31, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 210, 31, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 210, 31, 0.12), rgba(255, 210, 31, 0.035)),
    var(--panel);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.course-card:hover,
.course-card:focus-within,
.price-card:hover,
.price-card:focus-visible {
  border-color: rgba(255, 210, 31, 0.42);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  transform: translateY(-6px);
}

.course-card p,
.price-card li {
  color: var(--muted);
  line-height: 1.62;
}

.course-card h3,
.price-card h3 {
  margin-top: 18px;
}

.course-card {
  overflow: hidden;
}

.course-card::after {
  position: absolute;
  inset: auto -30px -46px auto;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 210, 31, 0.18);
  border-radius: 50%;
  content: "";
}

.course-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 210, 31, 0.36);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(255, 210, 31, 0.18), rgba(255, 210, 31, 0.04));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.course-card__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--yellow);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
  transition: transform 180ms ease, stroke 180ms ease;
}

.course-card:hover .course-card__icon svg,
.course-card:focus-within .course-card__icon svg {
  stroke: #ffe56b;
  transform: scale(1.08);
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  outline: none;
  overflow: visible;
}

.price-card::after {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: calc(100% - 18px);
  z-index: 4;
  padding: 14px 16px;
  border: 1px solid rgba(255, 210, 31, 0.42);
  border-radius: 8px;
  background: rgba(8, 8, 8, 0.94);
  box-shadow: var(--shadow);
  color: #ffffff;
  content: attr(data-detail);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 170ms ease,
    transform 170ms ease;
}

.price-card:hover::after,
.price-card:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.price-card--featured {
  border-color: rgba(255, 210, 31, 0.44);
}

.price-card__icon {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 210, 31, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(145deg, rgba(255, 210, 31, 0.18), rgba(255, 210, 31, 0.04));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.price-card__icon::after {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 210, 31, 0.28);
  border-radius: inherit;
  content: "";
}

.price-card__icon svg {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--yellow);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.4;
  transition:
    stroke 240ms ease,
    transform 240ms ease;
}

.price-card:hover .price-card__icon svg,
.price-card:focus-visible .price-card__icon svg {
  stroke: #ffe56b;
  transform: scale(1.08);
}

.price-card .price-card__tag,
.price-card h3 {
  max-width: calc(100% - 112px);
}

.price-card strong {
  display: block;
  margin: 4px 0 20px;
  color: var(--yellow);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding-left: 20px;
}

.plan-button {
  align-self: stretch;
  min-height: 44px;
  margin-top: 18px;
  border: 1px solid rgba(255, 210, 31, 0.45);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 210, 31, 0.92), rgba(255, 210, 31, 0.72)),
    var(--yellow);
  color: var(--black);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.plan-button:hover,
.plan-button:focus-visible {
  outline: none;
  background: #ffe56b;
  box-shadow: 0 14px 34px rgba(255, 210, 31, 0.16);
  transform: translateY(-2px);
}

.feature-list {
  display: grid;
  gap: 12px;
}

.section--why {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 210, 31, 0.12), transparent 30%),
    linear-gradient(180deg, #050505 0%, #0b0b0b 100%);
}

.section--why::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 210, 31, 0.08), transparent 1px) 0 0 / 96px 96px,
    linear-gradient(180deg, rgba(255, 210, 31, 0.06), transparent 1px) 0 0 / 96px 96px;
  content: "";
  opacity: 0.12;
  pointer-events: none;
}

.why-grid {
  position: relative;
  z-index: 1;
  align-items: center;
}

.why-copy {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 210, 31, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 210, 31, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.why-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.why-badges span {
  min-height: 36px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 210, 31, 0.22);
  border-radius: 8px;
  background: rgba(255, 210, 31, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  font-weight: 850;
}

.feature-list div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 18px;
  border: 1px solid rgba(255, 210, 31, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 210, 31, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.feature-list div:hover {
  border-color: rgba(255, 210, 31, 0.38);
  background:
    linear-gradient(135deg, rgba(255, 210, 31, 0.16), transparent 44%),
    rgba(255, 255, 255, 0.065);
  transform: translateY(-3px);
}

.feature-list strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 210, 31, 0.28);
  border-radius: 50%;
  background: rgba(255, 210, 31, 0.08);
  color: var(--yellow);
  font-size: 1rem;
}

.feature-list span {
  color: var(--white);
  font-weight: 800;
}

.section--gallery {
  background: var(--black-2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--panel);
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: brightness(0.78) contrast(1.08);
  transition: transform 420ms ease, filter 420ms ease;
}

.gallery-item:hover img {
  filter: brightness(0.88) contrast(1.12);
  transform: scale(1.035);
}

.gallery-item figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.74);
  color: var(--white);
  font-weight: 900;
}

.quick-contact {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.quick-contact a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  font-weight: 800;
}

.quick-contact a:hover {
  border-color: rgba(255, 210, 31, 0.48);
}

.form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.form-status[data-state="success"] {
  color: var(--yellow);
}

.form-status[data-state="error"] {
  color: #ff8d8d;
}

.terms-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.terms-note--pricing {
  margin-top: -2px;
  margin-bottom: 0;
  font-size: 0.72rem;
  opacity: 0.82;
}

.optional-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.form button:disabled {
  cursor: wait;
  opacity: 0.74;
}

.form label,
.form-field {
  display: grid;
  gap: 8px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font: inherit;
  padding: 11px 12px;
}

.form select option {
  background: var(--black);
  color: var(--white);
}

.course-field {
  position: relative;
}

.course-field > label {
  display: block;
}

.course-native {
  position: absolute;
  inset: auto auto 0 0;
  display: none !important;
  width: 1px !important;
  min-height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.premium-select {
  position: relative;
}

.premium-select__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  gap: 16px;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 210, 31, 0.08), transparent 38%),
    rgba(255, 255, 255, 0.07);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.premium-select__button:hover,
.premium-select__button:focus-visible,
.premium-select.is-open .premium-select__button {
  border-color: rgba(255, 210, 31, 0.75);
  outline: 3px solid rgba(255, 210, 31, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 210, 31, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.09);
}

.premium-select__chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.premium-select.is-open .premium-select__chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}

.premium-select__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 80;
  display: grid;
  gap: 6px;
  max-height: 292px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(255, 210, 31, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 210, 31, 0.14), transparent 34%),
    #080808;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity 180ms ease,
    visibility 180ms ease,
    transform 180ms ease;
}

.premium-select.is-open .premium-select__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.premium-select__option {
  appearance: none;
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.premium-select__option span {
  font-size: 0.95rem;
  font-weight: 900;
}

.premium-select__option small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.premium-select__option:hover,
.premium-select__option:focus-visible,
.premium-select__option[aria-selected="true"] {
  border-color: rgba(255, 210, 31, 0.4);
  outline: none;
  background: rgba(255, 210, 31, 0.13);
}

.premium-select__option[aria-selected="true"] span {
  color: var(--yellow);
}

.text-yellow {
  color: var(--yellow);
}

.form textarea {
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--yellow);
  outline: 3px solid rgba(255, 210, 31, 0.18);
}

.map-frame {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.contact-grid h2 {
  font-size: clamp(2rem, 4.4vw, 3.45rem);
  line-height: 1;
  overflow-wrap: normal;
}

.keep-word {
  white-space: nowrap;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px;
  color: var(--white);
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
}

.site-footer {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 44px 20px 96px;
  border-top: 1px solid var(--line);
  background: var(--black);
  color: var(--muted);
  text-align: center;
}

.site-footer img {
  width: 160px;
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  gap: 10px;
}

.floating-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid rgba(255, 210, 31, 0.48);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.86);
  color: var(--yellow);
  font-weight: 900;
  box-shadow: var(--shadow);
}

.floating-actions a:hover {
  background: var(--yellow);
  color: var(--black);
}

.thank-you-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 210, 31, 0.11), transparent 32%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.62), rgba(5, 5, 5, 0.94)),
    url("assets/training-car.jpeg") center / cover;
}

.thank-you-card {
  width: min(100%, 720px);
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid rgba(255, 210, 31, 0.26);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.thank-you-card img {
  width: 210px;
  margin-bottom: 28px;
}

.thank-you-card h1 {
  max-width: 650px;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
}

.thank-you-card p:not(.section-label) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes section-crossfade {
  0% {
    opacity: 0;
    transform: translateY(42px) scale(0.985);
  }

  28% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  72% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0.7;
    transform: translateY(-22px) scale(0.992);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .section > .section__inner {
    animation: section-crossfade linear both;
    animation-timeline: view();
    animation-range: entry -5% exit 105%;
    will-change: opacity, transform;
  }

  .section-heading,
  .course-card,
  .price-card,
  .feature-list div,
  .gallery-item,
  .form,
  .map-frame,
  .faq-list details {
    animation: rise-in 700ms ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 22%;
  }
}

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

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero__inner,
  .intro-grid,
  .about-grid,
  .split,
  .form-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__inner {
    align-items: start;
  }

  .hero__copy {
    border-left: 0;
    padding-left: 0;
  }

  .hero-panel {
    width: min(100%, 430px);
  }

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

  .about-visual,
  .about-visual img {
    min-height: 420px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: auto;
    gap: 14px;
    padding: 12px 16px;
  }

  .section__inner {
    max-width: calc(100vw - 40px);
  }

  .brand img {
    width: 146px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
  }

  .nav {
    gap: 18px;
  }

  .hero,
  .hero__inner {
    min-height: auto;
  }

  .hero__media {
    background-position: 72% center;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.9) 50%, rgba(5, 5, 5, 0.68) 100%),
      linear-gradient(0deg, rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.1));
  }

  .hero__inner {
    padding-top: 54px;
    padding-bottom: 56px;
  }

  .hero .eyebrow {
    min-height: auto;
    padding: 9px 10px;
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(2.95rem, 13.6vw, 4.7rem);
    line-height: 0.94;
  }

  .hero__badges span {
    width: 100%;
    justify-content: center;
  }

  h2 {
    font-size: clamp(2.05rem, 11vw, 3.3rem);
  }

  .contact-grid h2 {
    font-size: clamp(1.72rem, 8.3vw, 2.38rem);
    line-height: 1;
  }

  .hero__actions,
  .floating-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  .floating-actions a {
    width: 100%;
  }

  .course-grid,
  .pricing-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .about-copy {
    padding: 22px;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .about-visual,
  .about-visual img {
    min-height: 360px;
  }

  .gallery-item--large {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-item,
  .gallery-item img {
    min-height: 280px;
  }

  .course-card,
  .price-card,
  .form {
    padding: 22px;
  }

  .price-card__icon {
    top: 18px;
    right: 18px;
    width: 64px;
    height: 64px;
  }

  .price-card__icon svg {
    width: 36px;
    height: 36px;
  }

  .price-card .price-card__tag,
  .price-card h3 {
    max-width: calc(100% - 94px);
  }

  .price-card::after {
    left: 14px;
    right: 14px;
    bottom: auto;
    top: 16px;
  }

  .map-frame,
  .map-frame iframe {
    max-width: 100%;
  }

  .feature-list div {
    grid-template-columns: 44px 1fr;
  }

  .floating-actions {
    left: 16px;
    right: 16px;
    grid-template-columns: 1fr 1fr;
  }
}
