:root {
  --bg-light: #f3f3f3;
  --bg-page: #ffffff;
  --bg-dark: #000000;
  --bg-form: #ececec;
  --text-light: #ffffff;
  --text-dark: #171717;
  --text-soft: #404040;
  --accent: #18c7f4;
  --accent-soft: #4edcff;
  --accent-dark: #082833;
  --button-bg: rgba(0, 0, 0, 0.55);
  --button-border: rgba(255, 255, 255, 0.45);
  --page-max: 1600px;
  --content-max: 1240px;
  --content-narrow: 1080px;
  --hero-height: 780px;
  --font-stack: Arial, Helvetica, sans-serif;
  --modal-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-stack);
  background: #101010;
  color: var(--text-dark);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.page {
  width: 100%;
  min-height: 100vh;
  background: var(--bg-page);
  overflow-x: hidden;
}

.section-title {
  margin: 0 0 30px;
  font-size: clamp(30px, 2.3vw, 42px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-align: center;
  text-transform: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.btn--outline {
  color: var(--accent);
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(24, 199, 244, 0.14);
}

.btn--accent {
  color: #05232b;
  background: var(--accent);
  border-color: transparent;
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  min-height: var(--hero-height);
  color: var(--text-light);
  background-image: url("../images/hero-car.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.34),
    rgba(0, 0, 0, 0.45)
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--page-max));
  min-height: var(--hero-height);
  margin: 0 auto;
  padding: 56px 20px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__content {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  max-width: 760px;
}

.hero__title {
  margin: 0;
  font-size: clamp(44px, 4.5vw, 66px);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: none;
}

.hero__subtitle {
  margin: 8px 0 14px;
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 0.96;
  font-style: italic;
  font-weight: 800;
  color: var(--accent);
}

.hero__tagline {
  margin: 0 0 20px;
  font-size: clamp(16px, 1.5vw, 24px);
  line-height: 1.35;
  color: var(--accent);
  font-weight: 700;
}

.hero__lead,
.hero__sublead {
  margin: 0 0 16px;
  max-width: 760px;
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.35;
}

.hero__sublead {
  margin-bottom: 0;
}

.hero__accent {
  color: var(--accent);
  font-weight: 700;
}

.hero__bar {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  padding-top: 24px;
}

.hero__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.52);
  margin: 0 0 18px;
}

.hero__bottom {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
}

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

.hero__logo img {
  width: 265px;
  max-width: 100%;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.34));
}

.hero__spacer {
  min-width: 20px;
}

.hero__contact {
  text-align: center;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.hero__contact a {
  color: var(--accent);
}

.hero__bottom .btn {
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  min-height: 54px;
  padding: 0 30px;
  font-size: 14px;
  justify-self: end;
}

/* =========================
   WHAT WE DO
========================= */

.what-we-do {
  background: var(--bg-light);
}

.what-we-do__grid {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}

.what-we-do__text {
  padding: 62px 52px 62px 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.what-we-do__text h2 {
  margin: 0 0 28px;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 800;
  text-transform: none;
}

.what-we-do__text p {
  margin: 0 0 20px;
  max-width: 430px;
  font-size: 17px;
  line-height: 1.45;
  color: #2f2f2f;
}

.what-we-do__gallery {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: #ddd;
}

.what-we-do__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.what-we-do__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.85s ease,
    visibility 0.85s ease;
}

.what-we-do__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.what-we-do__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.what-we-do__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.what-we-do__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.what-we-do__dot.is-active {
  background: #ffffff;
  transform: scale(1.15);
}

/* =========================
   SUPPORT
========================= */

.support {
  background: #27b8d7;
  color: #111;
  padding: 64px 24px 70px;
}

.support__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.support .section-title {
  color: #111;
  margin-bottom: 38px;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  text-align: left;
}

.support__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

.support__left,
.support__right {
  min-width: 0;
}

.support__media {
  margin-bottom: 22px;
  overflow: hidden;
}

.support__media img {
  display: block;
  width: 100%;
  height: auto;
}

.support__item {
  margin-bottom: 28px;
}

.support__item-title {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
  line-height: 1.14;
  font-weight: 800;
  color: #111;
}

.support__item-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.38;
  color: rgba(17, 17, 17, 0.9);
}

@media (max-width: 1180px) {
  .support__grid {
    grid-template-columns: 1fr;
  }

  .support__media {
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .support {
    padding: 48px 20px 54px;
  }

  .support__media {
    min-height: 320px;
  }
}

/* =========================
   FOUNDER
========================= */

.founder {
  background: url("../images/founder-bg.jpg") center center / cover no-repeat;
  color: #fff;
  padding: 74px 24px 82px;
}

.founder__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.founder__title {
  margin: 0 0 42px;
  text-align: center;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
  text-transform: none;
}

.founder__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
}

.founder__col p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.96);
}

.founder__col a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =========================
   FOOTER STRIP
========================= */

.event-strip {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 30px 24px 32px;
}

.event-strip__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) auto 260px;
  align-items: center;
  gap: 24px;
}

.event-strip__brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  text-align: left;
}

.event-strip__brand img {
  width: 220px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.event-strip__copy h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.04;
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.02em;
}

.event-strip__copy h3 span {
  color: var(--accent);
  font-style: italic;
}

.event-strip__copy p {
  margin: 0;
  color: #a8ebff;
  font-size: 15px;
  line-height: 1.35;
}

.event-strip__actions {
  display: flex;
  justify-content: center;
}

.event-strip__actions .btn {
  width: 255px;
  min-width: 255px;
  max-width: 255px;
  flex: 0 0 255px;
  padding: 0 28px;
}

.event-strip__contact h4 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.event-strip__contact p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.35;
}

.event-strip__contact p:last-child {
  margin-bottom: 0;
}

.footer {
  background: #050505;
  padding: 0 20px 28px;
}

.footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
}

.footer__inner p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

/* =========================
   STICKY CTA
========================= */

.sticky-cta {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #2db4cf;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
  z-index: 1200;
}

.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta__inner {
  width: min(calc(100% - 48px), 1920px);
  margin: 0 auto;
  min-height: 108px;
  padding: 16px 30px;
  display: grid;
  grid-template-columns: 360px 1fr 390px;
  align-items: center;
  gap: 26px;
}

.sticky-cta__brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.sticky-cta__brand img {
  width: 330px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.sticky-cta__contact {
  text-align: center;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.sticky-cta__contact a {
  color: #000000;
  text-decoration: none;
  font-weight: 800;
}

.sticky-cta__button {
  width: 390px;
  min-width: 390px;
  max-width: 390px;
  min-height: 72px;
  justify-self: end;
  justify-content: center;
  padding: 0 36px;
  border: 2px solid #ffffff;
  border-radius: 16px;
  background: #0b0b0b;
  color: #12d7ff;
  font-size: 23px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: none;
}

.sticky-cta__button:hover {
  transform: translateY(-1px);
  opacity: 0.97;
}

/* =========================
   MODAL
========================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 860px);
  max-height: 92vh;
  margin: 4vh auto;
  background: var(--bg-form);
  box-shadow: var(--modal-shadow);
  overflow: hidden;
}

.modal__content {
  max-height: 92vh;
  overflow: auto;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  color: #111;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

/* =========================
   FORM
========================= */

.event-form {
  position: relative;
  padding: 32px 36px 40px;
  background: var(--bg-form);
  color: #111;
  overflow: hidden;
}

.event-form__logo-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 26px;
  position: relative;
  z-index: 2;
}

.event-form__logo {
  width: min(100%, 660px);
  height: auto;
}

.event-form__art {
  position: absolute;
  right: -8px;
  top: 210px;
  width: 46%;
  max-width: 360px;
  opacity: 0.62;
  z-index: 0;
  pointer-events: none;
}

.event-form__art img {
  width: 100%;
  height: auto;
  display: block;
}

.event-form__title,
.event-form__intro,
.event-form__form {
  position: relative;
  z-index: 2;
}

.event-form__title {
  margin: 0 0 10px;
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.event-form__intro {
  margin: 0 0 28px;
  max-width: 650px;
  font-size: clamp(18px, 1.8vw, 28px);
  line-height: 1.3;
}

.event-form__group {
  margin: 0 0 26px;
  padding: 0;
  border: none;
}

.event-form__group legend {
  display: block;
  margin-bottom: 14px;
  padding: 0;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 800;
}

.event-form__group legend small {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 400;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

.form-grid--contact {
  max-width: 430px;
}

.form-grid--details {
  max-width: 430px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field span {
  font-size: 18px;
  line-height: 1.2;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 2px solid #4c4c4c;
  background: #f7f7f7;
  color: #111;
  padding: 10px 12px;
  outline: none;
  border-radius: 0;
}

.field input,
.field select {
  min-height: 42px;
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #000;
  background: #fff;
}

.field--full {
  grid-column: 1 / -1;
}

.field--small {
  max-width: 230px;
}

.checkbox-list {
  display: grid;
  gap: 10px;
  max-width: 520px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 18px;
  line-height: 1.3;
}

.checkbox input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: #000;
  flex: 0 0 auto;
}

.event-form__actions {
  margin-top: 14px;
}

.event-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 34px;
  border: none;
  background: #000;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1180px) {
  .event-strip__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .event-strip__brand,
  .event-strip__actions {
    justify-content: center;
    justify-self: center;
  }

  .event-strip__contact {
    text-align: center;
  }

  .hero__bottom {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .hero__spacer {
    display: none;
  }

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

  .support__media {
    min-height: 420px;
  }
}

@media (max-width: 1100px) {
  .sticky-cta__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 14px;
    min-height: auto;
    padding: 16px 20px 18px;
  }

  .sticky-cta__brand {
    justify-content: center;
  }

  .sticky-cta__brand img {
    width: min(320px, 100%);
  }

  .sticky-cta__contact {
    font-size: 22px;
    white-space: normal;
  }

  .sticky-cta__button {
    width: min(100%, 390px);
    min-width: 0;
    max-width: 390px;
    min-height: 66px;
    padding: 0 28px;
    font-size: 22px;
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
  }

  .hero__inner {
    min-height: auto;
    padding: 42px 20px 24px;
    gap: 32px;
  }

  .what-we-do__grid,
  .founder__grid {
    grid-template-columns: 1fr;
  }

  .what-we-do__text {
    padding: 46px 24px;
  }

  .what-we-do__gallery {
    min-height: 360px;
  }

  .founder {
    padding: 56px 20px 64px;
  }

  .support__list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-grid,
  .form-grid--contact,
  .form-grid--details {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .field--small {
    max-width: 100%;
  }

  .event-form__art {
    width: 40%;
    top: 280px;
    opacity: 0.42;
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: 44px;
  }

  .hero__subtitle {
    font-size: 36px;
  }

  .hero__tagline,
  .hero__lead,
  .hero__sublead {
    font-size: 18px;
  }

  .hero__contact {
    white-space: normal;
    line-height: 1.35;
    text-align: left;
  }

  .hero__logo img {
    width: 220px;
  }

  .hero__bottom .btn {
    width: 100%;
    min-width: 0;
    max-width: 300px;
    justify-self: start;
  }

  .support {
    padding: 48px 20px 54px;
  }

  .support__media {
    min-height: 320px;
  }

  .support .btn {
    width: 255px;
    min-width: 255px;
    max-width: 255px;
  }

  .modal__dialog {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    margin: 0;
  }

  .modal__content {
    max-height: 100vh;
  }

  .event-form {
    padding: 26px 18px 28px;
  }

  .event-form__logo-wrap {
    margin-bottom: 20px;
  }

  .event-form__intro {
    font-size: 18px;
  }

  .event-form__group legend {
    font-size: 22px;
  }

  .field span,
  .checkbox {
    font-size: 18px;
  }

  .event-form__submit {
    width: 100%;
    font-size: 20px;
  }

  .event-form__art {
    display: none;
  }
}
.hidden-botcheck {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.event-form__status {
  margin: 10px 0 0;
  font-weight: 600;
}

.event-form__status.is-success {
  color: #0b6d37;
}

.event-form__status.is-error {
  color: #a12020;
}
