@media (min-width: 700px) {
  .container { width: min(var(--max), calc(100% - 3rem)); }
  .button-row, .section-action { flex-direction: row; align-items: center; }
  .offer-grid, .info-grid, .gallery { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .gallery-item.is-wide { grid-column: span 2; }
  .gallery-item.is-wide img { aspect-ratio: 16/9; }
  .split-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-split h1 { font-size: clamp(4.4rem, 7vw, 6.2rem); }
  .page-hero h1 { font-size: clamp(3.4rem, 5vw, 5rem); }
  .pillars-row { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .nav-item-home, .nav-toggle, .nav-cta-mobile { display: none; }
  .nav-cta-desktop { display: inline-flex; }
  .site-nav { display: flex; align-items: center; gap: 0.4rem; margin-left: auto; }
  .nav-panel {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.2rem;
    padding: 0;
    overflow: visible;
    background: transparent;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-list { display: flex; align-items: center; gap: 0.15rem; }
  .nav-link, .nav-sub-toggle {
    width: auto;
    min-height: 44px;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    font-size: 0.92rem;
  }
  .nav-sub-toggle::after {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    margin-left: 0.35rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }
  .nav-item { position: relative; }
  .nav-sub, .nav-item.is-open > .nav-sub {
    display: grid;
    position: absolute;
    top: calc(100% + 0.95rem);
    left: 0;
    min-width: 240px;
    padding: 0.45rem;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 18px 50px rgba(21, 34, 56, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-sub.is-wide { grid-template-columns: 1fr 1fr; min-width: 460px; }
  .nav-item:hover > .nav-sub,
  .nav-item:focus-within > .nav-sub,
  .nav-item.is-open > .nav-sub {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-sub a { min-height: 40px; padding: 0.2rem 0.7rem; border-radius: 10px; }
  .nav-sub a:hover { background: var(--light); }

  .section { padding: 5.2rem 0; }
  .section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 2rem; max-width: none; }
  .hero-split {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    min-height: calc(100svh - var(--header));
    align-items: stretch;
  }
  .hero-visual { order: 0; min-height: 100%; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 2.2rem 2.5rem max(1.25rem, calc((100vw - var(--max)) / 2));
  }
  .page-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr); min-height: 460px; align-items: stretch; }
  .page-hero-content { display: flex; align-items: center; justify-content: flex-end; padding: 3rem 2.5rem; }
  .page-hero-visual { min-height: 100%; margin: 0; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
  .page-hero-plain .page-hero-content { justify-content: flex-start; padding: 3.2rem max(1.25rem, calc((100vw - var(--max)) / 2)); }
  .offer-grid, .race-list { grid-template-columns: repeat(3, 1fr); }
  .race-card a { min-height: 460px; }
  .race-card:first-child a { min-height: 460px; }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .split-feature { grid-template-columns: 1.15fr 0.85fr; align-items: stretch; }
  .split-feature > div { padding: 4rem 3.5rem; display: flex; flex-direction: column; justify-content: center; }
  .split-feature img { position: relative; height: 100%; min-height: 100%; }
  .timeline-rail { grid-template-columns: repeat(3, 1fr); }
  .timeline-rail li { grid-template-columns: 1fr; align-content: start; min-height: 168px; }
  .footer-grid { grid-template-columns: 1.3fr repeat(4, 1fr); }
  .band-inner { grid-template-columns: 1.4fr auto; align-items: center; }
  .band-inner .button-row { justify-content: flex-end; }
  .gallery { grid-template-columns: 1.35fr 1fr 1fr; }
  .gallery .gallery-item:first-child { grid-row: span 2; }
  .gallery .gallery-item:first-child img { aspect-ratio: auto; height: 100%; min-height: 100%; }
  .gallery .gallery-item:nth-child(6) { grid-column: span 2; }
}

@media (min-width: 1280px) {
  :root { --max: 1240px; }
  .hero-split h1 { font-size: 6.6rem; }
  .offer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 390px) {
  .countdown-grid span { letter-spacing: 0; font-size: 0.62rem; }
  .hero-split h1, .page-hero h1 { font-size: 3.15rem; }
  .btn { width: 100%; }
  .nav-cta-desktop { width: auto; }
  .button-row .btn { width: 100%; }
}
