/* Ajustes compartidos para teléfonos y pantallas estrechas. */
@media (max-width: 1000px) {
  .site-header .menu-toggle { min-width: 44px; min-height: 44px; }
  .site-header nav a { min-height: 44px; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .numbers strong { font-size: 40px; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .story-grid > *, .split > *, .latest-winner > *,
  .contact-page > *, .presenter-organizer > * { min-width: 0; }
  h1, h2 { overflow-wrap: break-word; text-wrap: balance; }
  h2 { font-size: clamp(36px, 10.5vw, 44px); line-height: 1.12; }
  .desktop-break { display: none; }
  .eyebrow { line-height: 1.6; }
  .hero h1 { font-size: clamp(36px, 10vw, 48px); line-height: 1.08; }
  .hero .hero-copy { padding-block: 38px; }
  .hero { min-height: 600px; }
  .hero-date { font-size: clamp(19px, 5.5vw, 23px); }
  .hero-partners { gap: 16px; }
  .hero-partner { min-width: 0; }
  .hero-partner > a, .hero-partner > div { width: 118px; max-width: 100%; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; padding-top: 0; }
  .numbers > div, .numbers > div:first-child, .numbers > div:nth-child(3) { padding: 0; border: 0; }
  .numbers strong { font-size: clamp(36px, 10vw, 46px); font-variant-numeric: lining-nums tabular-nums; }
  .numbers span { display: block; max-width: 145px; margin: 8px auto 0; font-size: 12px; line-height: 1.5; text-wrap: balance; }
  .concurso-video h2 { font-size: clamp(34px, 9.5vw, 42px); line-height: 1.15; }
  .concurso-video .section-intro > p:last-child { max-width: 36ch; margin-inline: auto; font-size: 15px; line-height: 1.7; text-wrap: pretty; }
  .photo-break p:last-child { font-size: clamp(34px, 10vw, 42px); text-wrap: balance; }
  .section-intro > p:last-child { line-height: 1.8; }
  .best-section .history-button { max-width: 100%; font-size: 13px; }
  .venue-photo { height: auto; aspect-ratio: 4 / 3; }
  .archive-intro h1 { font-size: clamp(38px, 11vw, 48px); line-height: 1.12; }
  .latest-winner h2, .allies-section h2 { font-size: clamp(36px, 10vw, 44px); }
  .bos-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bos-gallery-button { aspect-ratio: 1; }
  .bos-gallery-button:first-child { aspect-ratio: 3 / 2; }
  .bos-gallery-button img, .bos-gallery-button:first-child img { height: 100%; }
  .photo-dialog { max-height: calc(100svh - 24px); padding: 66px 12px 16px; }
  .photo-dialog > img { max-height: 65svh; }
  .photo-dialog-tools button { min-width: 44px; min-height: 44px; padding: 8px 12px; }
  .photo-dialog figcaption { margin: 14px 4px 0; line-height: 1.6; }
  .contact-page { min-height: 0; }
  .contact-image { min-height: 340px; }
  .contact-image > div > p:last-child { font-size: clamp(27px, 8vw, 34px); text-wrap: balance; }
  .contact-form-wrap { padding: 40px 20px 50px; }
  .contact-form-wrap h1 { font-size: clamp(36px, 10.5vw, 44px); line-height: 1.12; }
  .contact-form-wrap input:not([type=checkbox]):not([type=hidden]), .contact-form-wrap textarea { font-size: 16px; }
  .expo-privacy-check label { font-size: 12px; line-height: 1.7; }
  .expo-privacy-check input[type=checkbox] { width: 20px; height: 20px; margin-top: 2px; }
  .expo-original-footer a { overflow-wrap: anywhere; }
}

@media (max-width: 600px) {
  .experience-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .expo-experience-image { aspect-ratio: 3 / 2; }
  .expo-experience-content { padding: 24px; }
  .expo-card-title { font-size: 19px; }
  .expo-card-text { font-size: 15px; line-height: 1.75; }
}

@media (max-width: 380px) {
  .expo-original-footer .col-lg-5 > .row { grid-template-columns: 1fr; gap: 18px; }
  .hero-partners { gap: 12px; }
}

/* En pantallas táctiles evitamos que el hover quede activado al desplazarse. */
@media (hover: none) {
  .expo-experience-photo-card:hover { transform: none; background: #fff; }
  .expo-experience-photo-card:hover .expo-experience-content { background: #fff; }
  .expo-experience-photo-card:hover .expo-card-title { color: var(--green); }
  .expo-experience-photo-card:hover .expo-card-text { color: var(--muted); }
}
