/* Corrida Rústica de Ibirité — landing */

:root {
  --navy: #0a1f3d;
  --navy-mid: #123056;
  --navy-deep: #061428;
  --lime: #c8e600;
  --lime-deep: #a8c400;
  --forest: #1f6b35;
  --mist: #e7f0e4;
  --fog: #f3f7f1;
  --ink: #101820;
  --muted: #5b6b78;
  --line: rgba(10, 31, 61, 0.12);
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(6, 20, 40, 0.18);
  --radius: 18px;
  --header-h: 76px;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(200, 230, 0, 0.12), transparent 55%),
    linear-gradient(180deg, var(--fog) 0%, var(--white) 28%, var(--mist) 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--lime);
  color: var(--navy);
  padding: 0.6rem 1rem;
  z-index: 1000;
  font-weight: 600;
}

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

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2.5rem, 760px);
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head h2,
.kit-copy h2,
.contact-copy h2,
.locutor-copy h2,
.euvou-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-wrap: balance;
}

.section-lead {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 1rem 1.7rem;
  font-size: 1.02rem;
}

.btn-lime {
  background: var(--lime);
  color: var(--navy-deep);
  box-shadow: 0 10px 28px rgba(200, 230, 0, 0.35);
}

.btn-lime:hover {
  background: #d7f12a;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(6, 20, 40, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

/* Header legível sobre hero claro */
.theme-light-hero .site-header:not(.is-scrolled) {
  background: rgba(247, 250, 246, 0.72);
  backdrop-filter: blur(10px);
}

.theme-light-hero .site-header:not(.is-scrolled) .nav a {
  color: var(--navy);
}

.theme-light-hero .site-header:not(.is-scrolled) .nav ul a:hover {
  color: var(--forest);
}

.theme-light-hero .site-header:not(.is-scrolled) .nav-toggle span {
  background: var(--navy);
}

.header-inner {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  width: 72px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav ul {
  display: flex;
  gap: 1.1rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav ul a:hover {
  color: var(--lime);
}

.btn-nav {
  padding: 0.65rem 1.15rem;
  font-size: 0.9rem;
}

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

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 1.5rem) 1.25rem 4rem;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #f7faf6;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.06);
  animation: hero-zoom 18s var(--ease) infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 20, 40, 0.72) 0%, rgba(6, 20, 40, 0.45) 42%, rgba(6, 20, 40, 0.82) 100%),
    linear-gradient(90deg, rgba(6, 20, 40, 0.55), transparent 55%);
}

/* Hero claro – fotos (marca d'água) */
.hero-fotos {
  color: var(--navy);
}

.hero-fotos .hero-bg {
  opacity: 0.28;
  filter: grayscale(0.1);
  animation: none;
  transform: scale(1.02);
}

.hero-fotos .hero-shade {
  background:
    linear-gradient(180deg, rgba(247, 250, 246, 0.55) 0%, rgba(247, 250, 246, 0.45) 45%, rgba(247, 250, 246, 0.65) 100%);
}

.hero-fotos .hero-logo-kordex {
  filter: none;
}

.hero-fotos h1 {
  color: var(--navy);
  text-shadow: none;
}

.hero-fotos .hero-tagline {
  color: var(--forest);
  text-shadow: none;
}

.hero-fotos .hero-lead {
  color: var(--muted);
}

.hero-fotos .btn-ghost {
  color: var(--navy);
  border-color: rgba(10, 31, 61, 0.28);
}

.hero-fotos .btn-ghost:hover {
  background: rgba(10, 31, 61, 0.05);
  border-color: var(--navy);
}

.hero-fotos .scroll-cue {
  border-color: rgba(10, 31, 61, 0.35);
}

.hero-fotos .scroll-cue span {
  background: var(--forest);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.hero-logo {
  width: min(72vw, 360px);
  max-width: 100%;
  height: auto;
  margin: 0 auto 1.2rem;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
}

.hero-logo-kordex {
  width: min(70vw, 280px);
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4));
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-tagline {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--lime);
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-lead {
  margin: 1rem auto 0;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.scroll-cue span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: var(--lime);
  animation: cue 1.6s var(--ease) infinite;
}

@keyframes hero-zoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}

@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* Info */
.section-info {
  background:
    linear-gradient(180deg, transparent, rgba(31, 107, 53, 0.04)),
    radial-gradient(700px 280px at 90% 0%, rgba(200, 230, 0, 0.16), transparent 60%);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.info-block {
  padding: 1.25rem 1.2rem;
  border-top: 3px solid var(--lime);
  background: rgba(255, 255, 255, 0.72);
}

.info-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.info-block strong {
  display: block;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.25;
}

.info-block span:last-child {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.modalities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.modality {
  position: relative;
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.modality::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(200, 230, 0, 0.12);
}

.modality-dist {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--lime);
  letter-spacing: 0.02em;
}

.modality h3 {
  margin: 0.55rem 0 0.5rem;
  font-size: 1.25rem;
}

.modality p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  z-index: 1;
}

/* Schedule */
.section-schedule {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy-mid) 55%, #184a2a);
  color: var(--white);
}

.section-schedule .eyebrow {
  color: var(--lime);
}

.section-schedule h2,
.section-schedule .section-lead {
  color: var(--white);
}

.section-schedule .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.timeline time {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: var(--lime);
}

.timeline span {
  font-size: 1.05rem;
}

/* Kit */
.kit-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.kit-visual {
  background:
    radial-gradient(circle at 50% 20%, rgba(200, 230, 0, 0.25), transparent 50%),
    linear-gradient(160deg, var(--navy), #16325a);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  place-items: center;
}

.kit-visual img {
  width: min(100%, 460px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.35));
  animation: float-y 4.5s ease-in-out infinite;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.kit-options {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 1.25rem;
}

.kit-option {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
}

.kit-option h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--navy);
}

.kit-option p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--forest);
  letter-spacing: 0.02em;
}

.kit-notes {
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.45rem;
}

.kit-notes li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.kit-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--lime-deep);
}

/* Route */
.map-frame {
  border: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
  aspect-ratio: 16 / 9;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Gallery carousel */
.section-gallery {
  padding-bottom: 2rem;
  overflow: hidden;
}

.gallery-carousel {
  position: relative;
  margin-top: 0.25rem;
}

.gallery-viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  padding-inline: 1.25rem;
}

.gallery-viewport.is-dragging {
  cursor: grabbing;
}

.gallery-track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  will-change: transform;
}

.gallery-slide {
  margin: 0;
  flex: 0 0 clamp(220px, 22vw, 300px);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  pointer-events: none;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 980px) {
  .gallery-slide {
    flex-basis: clamp(200px, 42vw, 280px);
  }
}

@media (max-width: 640px) {
  .gallery-slide {
    flex-basis: min(72vw, 260px);
  }
}

/* Rules */
.accordion {
  display: grid;
  gap: 0.7rem;
}

.accordion details {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.2rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--forest);
}

.accordion details[open] summary::after {
  content: "–";
}

.accordion-body {
  padding: 0 1.2rem 1.2rem;
  color: var(--muted);
}

.accordion-body ul {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.accordion-body li {
  padding-left: 0.9rem;
  position: relative;
}

.accordion-body li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--lime-deep);
}

.rules-note {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Sponsors */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

.sponsors-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--white);
  filter: grayscale(0.15);
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
}

.sponsors-grid img:hover {
  transform: translateY(-3px);
  filter: none;
}

/* Staff */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.staff-card {
  text-align: center;
}

.staff-card img {
  width: min(100%, 280px);
  aspect-ratio: 1;
  object-fit: cover;
  margin-inline: auto;
  border-radius: 50%;
  border: 4px solid var(--lime);
  box-shadow: var(--shadow);
}

.staff-card h3 {
  margin: 1rem 0 0.2rem;
  color: var(--navy);
}

.staff-card p {
  margin: 0;
  color: var(--muted);
}

/* Contact */
.section-contact {
  background:
    linear-gradient(180deg, rgba(10, 31, 61, 0.03), transparent),
    var(--fog);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  color: var(--muted);
}

.contact-list a {
  font-weight: 600;
  color: var(--navy);
}

.contact-list a:hover {
  color: var(--forest);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  background: var(--fog);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--lime-deep);
  box-shadow: 0 0 0 3px rgba(200, 230, 0, 0.25);
}

.form-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.92rem;
  color: var(--forest);
}

/* Locutor */
.section-locutor {
  background:
    radial-gradient(700px 320px at 10% 20%, rgba(200, 230, 0, 0.14), transparent 55%),
    linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, #16325a);
  color: var(--white);
}

.section-locutor .eyebrow {
  color: var(--lime);
}

.section-locutor h2,
.section-locutor .section-lead {
  color: var(--white);
}

.section-locutor .section-lead {
  color: rgba(255, 255, 255, 0.8);
}

.locutor-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.locutor-visual {
  display: grid;
  place-items: center;
}

.locutor-visual img {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

.locutor-role {
  margin: 1.25rem 0 0;
  display: inline-block;
  padding: 0.55rem 0.9rem;
  background: var(--lime);
  color: var(--navy-deep);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.locutor-role:hover {
  background: #d7f12a;
  transform: translateY(-2px);
}

/* EU VOU */
.section-euvou {
  background:
    linear-gradient(180deg, rgba(10, 31, 61, 0.04), transparent),
    var(--fog);
}

.euvou-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.euvou-visual {
  display: grid;
  place-items: center;
}

.euvou-visual img {
  width: min(100%, 320px);
  height: auto;
  box-shadow: var(--shadow);
}

.euvou-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(10, 31, 61, 0.28);
}

.btn-ghost-dark:hover {
  background: rgba(10, 31, 61, 0.05);
  border-color: var(--navy);
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
  text-align: center;
}

.footer-inner {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

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

.footer-inner p {
  margin: 0;
  font-size: 0.92rem;
}

.footer-credit a {
  color: var(--lime);
  font-weight: 600;
}

.float-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  background: var(--lime);
  color: var(--navy-deep);
  font-weight: 800;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.float-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 980px) {
  .info-grid,
  .modalities,
  .staff-grid {
    grid-template-columns: 1fr 1fr;
  }

  .kit-layout,
  .contact-layout,
  .locutor-layout,
  .euvou-layout {
    grid-template-columns: 1fr;
  }

  .sponsors-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    gap: 1rem;
    padding: 1.2rem 1.25rem 1.4rem;
    background: rgba(6, 20, 40, 0.96);
    backdrop-filter: blur(12px);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav ul {
    flex-direction: column;
    gap: 0.85rem;
  }

  .btn-nav {
    width: fit-content;
  }

  .brand img {
    width: 62px;
  }

  .hero-logo {
    width: min(78vw, 280px);
    height: auto;
  }
}

@media (max-width: 640px) {
  .container,
  .container.narrow {
    width: min(100% - 1.6rem, var(--max));
  }

  .info-grid,
  .modalities,
  .staff-grid,
  .sponsors-grid {
    grid-template-columns: 1fr;
  }

  .sponsors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline li {
    grid-template-columns: 4.6rem 1fr;
  }

  .contact-list li {
    flex-direction: column;
    gap: 0.2rem;
  }

  .map-frame {
    aspect-ratio: 4 / 5;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .float-cta {
    left: 1rem;
    right: 1rem;
    text-align: center;
  }

  .euvou-actions {
    flex-direction: column;
  }

  .euvou-actions .btn {
    width: 100%;
  }
}

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

  .reveal,
  .hero-bg,
  .kit-visual img,
  .scroll-cue span,
  .btn,
  .float-cta {
    animation: none !important;
    transition: none !important;
  }

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