/* ==========================================================================
   BLACKLIST
   ========================================================================== */

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/playfair-display.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/playfair-display-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/manrope.woff2') format('woff2');
}

:root {
  --ink: #0d0d0e;
  --ink-raised: #141415;
  --ink-line: rgba(255, 255, 255, 0.1);
  --paper: #efede8;

  --text: #ebe8e1;
  --text-soft: #a8a49b;
  --text-on-paper: #1a1a1b;

  --gold: #c2a063;

  --font-serif: 'Playfair Display', 'Times New Roman', serif;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 11vw, 144px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-variant-numeric: lining-nums;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

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

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

em {
  font-style: italic;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--text-on-paper);
}

.skip-link:focus {
  top: 16px;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ==========================================================================
   Tipografía
   ========================================================================== */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.eyebrow-muted {
  color: var(--text-soft);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(29px, 3.9vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  max-width: 18ch;
  text-wrap: balance;
}

.lead {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-soft);
  max-width: 52ch;
}

/* ==========================================================================
   Botones
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.btn-light {
  background: var(--paper);
  color: var(--text-on-paper);
}

.btn-light:hover {
  background: var(--gold);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-ghost:hover {
  background: #fff;
  color: var(--text-on-paper);
  border-color: #fff;
}

.btn-outline {
  border-color: var(--ink-line);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 20px;
  font-size: 11px;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: default;
}

/* ==========================================================================
   Cabecera
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

/* El desenfoque va en un pseudo-elemento: aplicado a la cabecera, el menú móvil (fixed) quedaría recortado a su altura */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: rgba(13, 13, 14, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.3s;
}

.site-header.is-solid::before {
  opacity: 1;
}

.site-header.is-solid {
  border-bottom-color: var(--ink-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand-word {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a {
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--gold);
}

.site-nav .nav-cta {
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.site-nav .nav-cta:hover {
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 7px auto;
  background: #fff;
  transition: transform 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: 120px clamp(72px, 12vh, 128px);
  overflow: hidden;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 62% 60%;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 13, 14, 0.55) 0%, rgba(13, 13, 14, 0) 22%),
    linear-gradient(0deg, var(--ink) 0%, rgba(13, 13, 14, 0.78) 28%, rgba(13, 13, 14, 0.15) 62%, rgba(13, 13, 14, 0) 100%),
    linear-gradient(90deg, rgba(13, 13, 14, 0.6) 0%, rgba(13, 13, 14, 0) 60%);
}

.hero-content {
  position: relative;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 6.8vw, 94px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 11ch;
  color: #fff;
}

/* «las creamos.» no se parte entre dos líneas */
.hero-title em {
  white-space: nowrap;
}

.hero-lead {
  margin-top: 28px;
  max-width: 46ch;
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255, 255, 255, 0.82);
}

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  width: 1px;
  height: 72px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.hero-scroll span {
  position: absolute;
  inset: 0;
  background: var(--gold);
  animation: scroll-hint 2.4s var(--ease) infinite;
}

@keyframes scroll-hint {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ==========================================================================
   Secciones
   ========================================================================== */
.section {
  padding-block: var(--section);
}

.section-raised {
  background: var(--ink-raised);
}

.section-head {
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

/* ---- El club ---- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 7vw, 104px);
  align-items: center;
}

.split-text .lead {
  margin-top: 24px;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ---- El club: qué hacemos ---- */
.services {
  margin-top: clamp(56px, 8vw, 104px);
}

/* ---- Qué hacemos ---- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.service-media {
  overflow: hidden;
  margin-bottom: 24px;
}

.service-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.service:hover .service-media img {
  transform: scale(1.04);
}

.service h3 {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
}

.service p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-soft);
  max-width: 38ch;
}

/* ---- Próximas rutas ---- */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--ink-line);
}

.empty-state p {
  color: var(--text-soft);
  max-width: 52ch;
}

.empty-state .empty-title {
  font-family: var(--font-serif);
  font-size: clamp(23px, 2.6vw, 31px);
  line-height: 1.15;
  color: var(--text);
}

.empty-state .btn {
  margin-top: 12px;
}

.events {
  display: grid;
  border-top: 1px solid var(--ink-line);
}

.event {
  display: grid;
  grid-template-columns: minmax(0, 220px) 1fr;
  gap: clamp(20px, 4vw, 48px);
  padding-block: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--ink-line);
}

.event:not(:has(.event-media)) {
  grid-template-columns: 1fr;
}

.event-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.event-date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.event-title a:hover {
  color: var(--gold);
}

.event-media {
  display: block;
  overflow: hidden;
}

.event-media img {
  transition: transform 0.9s var(--ease);
}

.event-media:hover img {
  transform: scale(1.03);
}

.event-title {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: clamp(25px, 2.9vw, 36px);
  font-weight: 400;
  line-height: 1.1;
}

/* Lugar + enlace a Google Maps (tarjeta de la portada y página del evento) */
.event-place {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-block: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}

.map-link:hover {
  border-bottom-color: var(--gold);
}

.map-link .icon {
  width: 15px;
  height: 15px;
}

.event-place {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-soft);
}

.event-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin-top: 16px;
  max-width: 68ch;
  color: var(--text-soft);
}

/* ==========================================================================
   Página de un evento
   ========================================================================== */
.event-hero {
  padding-block: 112px clamp(40px, 5vw, 64px);
  background: var(--ink-raised);
  border-bottom: 1px solid var(--ink-line);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(24px, 3vw, 36px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color 0.2s;
}

.back-link .icon {
  transform: rotate(180deg);
}

.back-link:hover {
  color: var(--gold);
}

.event-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.event-hero-text-only .event-hero-grid {
  grid-template-columns: 1fr;
}

.event-hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.event-hero-text .eyebrow {
  margin-bottom: 0;
}

.event-page-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 16ch;
  text-wrap: balance;
}

.event-hero-text .event-place {
  margin-top: 0;
  font-size: 16px;
}

.event-hero-text .btn {
  margin-top: 10px;
}

.event-notice {
  padding: 12px 16px;
  border-left: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
}

.event-hero-poster img {
  width: auto;
  max-width: 100%;
  /* El cartel acompaña al texto de al lado: poco más alto que él */
  max-height: 360px;
  margin-left: auto;
  border: 1px solid var(--ink-line);
}

.event-info-grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 360px);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.event-info-grid:not(:has(.price-card)) {
  grid-template-columns: minmax(0, 760px);
}

.event-info-main .eyebrow:not(:first-child) {
  margin-top: 48px;
}

/* Textos escritos en el panel: se respetan sus saltos de línea */
.event-text {
  font-size: 17px;
  line-height: 1.75;
  white-space: pre-line;
  max-width: 68ch;
}

.price-card {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--ink-line);
  border-top: 2px solid var(--gold);
  background: var(--ink-raised);
}

.price-card p {
  font-size: 14px;
  color: var(--text-soft);
}

.price-card .btn {
  margin-top: 6px;
}

.event-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
}

.event-prices dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.event-prices dd {
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1.2;
}

.event-prices .price-total {
  flex-basis: 100%;
  padding-top: 12px;
  border-top: 1px solid var(--ink-line);
}

.event-prices .price-total dd {
  font-size: 34px;
  color: var(--gold);
}

.enlist {
  max-width: 760px;
}

.enlist .lead {
  margin-top: 20px;
}

.event-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 24px;
}

.event-status {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.event-status span {
  font-weight: 400;
  color: var(--text-soft);
}

.event-status.is-out {
  color: var(--text-soft);
}

.event-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ---- Carruseles (galería y miembros): scroll nativo con snap ---- */
.scroller {
  display: flex;
  gap: clamp(12px, 1.6vw, 20px);
  padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
  scrollbar-width: none;
}

.scroller::-webkit-scrollbar {
  display: none;
}

.scroller > li {
  flex: 0 0 clamp(240px, 26vw, 340px);
  scroll-snap-align: start;
}

.scroller img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.scroller-nav {
  display: flex;
  gap: 10px;
}

.scroller-nav button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: 1px solid var(--ink-line);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, opacity 0.25s;
}

.scroller-nav button:first-child .icon {
  transform: rotate(180deg);
}

.scroller-nav button:hover:not([disabled]) {
  border-color: var(--gold);
  color: var(--gold);
}

.scroller-nav button[disabled] {
  opacity: 0.3;
  cursor: default;
}

.scroller-members img {
  aspect-ratio: 4 / 5;
}

.member-info {
  padding-top: 16px;
}

.member-info h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
}

.member-owner {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-soft);
}

.member-owner a:hover {
  color: var(--gold);
}

/* ---- Contacto ---- */
.section-contact {
  text-align: center;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 18ch;
  text-wrap: balance;
}

.contact .lead {
  margin-top: 24px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px clamp(40px, 8vw, 96px);
  margin-top: 56px;
}

.contact-links a {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.2;
  transition: color 0.25s;
}

.contact-links a:hover {
  color: var(--gold);
}

.contact-links span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ==========================================================================
   Pie
   ========================================================================== */
.site-footer {
  padding-block: 56px 40px;
  border-top: 1px solid var(--ink-line);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-inner img {
  width: 92px;
  height: auto;
}

.footer-motto {
  font-family: var(--font-serif);
  font-size: 18px;
}

.footer-legal {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

/* ---- Formulario ---- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  margin-block: 28px;
}

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

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

.field > span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.field small {
  font-size: inherit;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--ink);
  border: 1px solid var(--ink-line);
  border-radius: 0;
  font-size: 16px;
  transition: border-color 0.2s;
}

.field textarea {
  resize: vertical;
}

.field input::placeholder {
  color: #6f6c65;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field input[type="file"] {
  padding: 10px;
  border-style: dashed;
  font-size: 14px;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #d9694f;
}

.field .field-error {
  font-size: 13px;
  color: #e58a73;
}

/* Formulario de inscripción: un bloque por piloto y otro por coche */
.form-section {
  min-width: 0;
  margin: 0 0 20px;
  padding: 4px 18px 20px;
  border: 1px solid var(--ink-line);
}

.form-section legend {
  padding: 0 8px;
  margin-left: -8px;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text);
}

.form-section .form-grid {
  margin-block: 8px 0;
}

.form-notes {
  margin-bottom: 24px;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-alert {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--ink-line);
  border-left: 2px solid var(--gold);
  font-size: 14px;
}

.form-alert.is-error {
  border-left-color: #d9694f;
}

/* ==========================================================================
   Aparición al hacer scroll
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .event-hero-grid,
  .event-info-grid {
    grid-template-columns: 1fr;
  }

  .event-hero-poster {
    order: -1;
  }

  /* En el móvil el cartel no debe tapar el título al entrar desde un enlace */
  .event-hero-poster img {
    max-height: 48vh;
    margin-inline: auto;
  }

  .price-card {
    position: static;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 24px var(--gutter) 40px;
    background: var(--ink);
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .site-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--ink-line);
    color: #fff;
  }

  .site-nav .nav-cta {
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--ink-line);
    color: var(--gold);
  }

  .site-header:has(.is-open) {
    background: var(--ink);
  }

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

  .split-media {
    order: -1;
  }

  .split-media img {
    aspect-ratio: 4 / 3;
  }

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

  .service-media img {
    aspect-ratio: 3 / 2;
  }

}

@media (max-width: 700px) {
  .event-hero {
    padding-top: 100px;
  }

  .event-hero-text .btn {
    width: 100%;
  }

  .form-section {
    padding-inline: 14px;
  }

  .hero-media img {
    object-position: 50% 50%;
  }

  .hero-scroll {
    display: none;
  }

  .section-head-row .scroller-nav {
    display: none;
  }

  .scroller > li {
    flex-basis: 68vw;
  }

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

  .event-media img {
    aspect-ratio: 3 / 2;
  }

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

}

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

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

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