/* ==========================================================================
   Slow Wine Latam Week 2026 — Página 1
   ========================================================================== */

@font-face {
  font-family: 'Handy Casual Condensed';
  src: url('../assets/fonts/HandyCasualCondensed-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bebas Neue';
  src: url('../assets/fonts/BebasNeueRegular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bebas Neue';
  src: url('../assets/fonts/BebasNeueBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #99c8cc;
  --white: #ffffff;
  --black: #000000;
  --orange: #ffa629;
  --purple: #9747ff;
  --green: #618f49;
  --green-dark: #305514;

  --font-display: 'Handy Casual Condensed', 'Comic Sans MS', cursive;
  --font-hand: 'Handy Casual Condensed', 'Comic Sans MS', cursive;
  --font-menu: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-poppins: 'Poppins', sans-serif;

  --canvas: 1024px;
}

/* Todos los encabezados de este page template deben usar Handy Casual
   Condensed, sin excepción: esta regla usa !important para ganarle a
   cualquier fuente de encabezados que el theme/Elementor de slowinelatam.com
   inyecte por wp_head() (p. ej. EdmunTexture), que en este template no debe
   cargarse ni aplicarse nunca. */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-hand) !important;
  font-weight: 400;
}

/* Tope global de peso de fuente: nada por encima de 500 en todo el sitio
   (pedido explícito), incluye <strong>/<b> que el navegador pondría en
   bold (700) por defecto si no se los overridea. */
strong, b { font-weight: 500; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg) !important; /* refuerzo: gana aunque el theme/WP inyecte su propio body{background} */
  color: var(--white);
  font-family: var(--font-hand);
  overflow-x: hidden;
}

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

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

section, header { position: relative; }

.tag {
  display: inline-block;
  font-family: var(--font-hand);
  color: var(--white);
  font-weight: 400;
  padding: .35em .7em .4em;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  transform: rotate(-1deg);
  white-space: nowrap;
}
.tag-green { background: var(--green); }
.tag-orange { background: var(--orange); }

mark.mk-orange, mark.mk-green {
  color: var(--white);
  background: none;
  padding: 0 .15em;
  font-family: inherit;
  border-radius: 6px 60px 6px 60px/60px 6px 60px 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
mark.mk-orange { background-color: var(--orange); }
mark.mk-green { background-color: var(--green); }

/* highlighted underline phrases inside paragraphs */
.hl {
  position: relative;
  white-space: normal;
}
.hl::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -.1em;
  height: .16em;
  background: var(--orange);
  border-radius: 3px;
  transform: rotate(-.6deg);
}

.hl-word {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: .12em;
  text-underline-offset: .18em;
}
.hl-word--green { text-decoration-color: var(--green); }

/* ==========================================================================
   Hero topbar (ir a slowinelatam.com + menú + idiomas — antes un <header> aparte)
   ========================================================================== */

.hero-topbar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.hero-top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(16px, 3vw, 32px);
}
.hero-topbar-menu {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: clamp(16px, 2.4vw, 28px);
}
.hero-gotosite { white-space: nowrap; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-menu);
  font-size: 15px;
  letter-spacing: .04em;
  padding: .35em .9em;
  cursor: pointer;
}
.lang-switch {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-family: var(--font-menu);
  font-size: 20px;
  letter-spacing: .03em;
  line-height: 1.15;
  text-shadow: 1.5px 1.5px 0 rgba(0,0,0,.55);
  padding-left: clamp(8px, 1.6vw, 16px);
  border-left: 1px solid rgba(255,255,255,.5);
  white-space: nowrap;
}
.lang-switch .active {
  font-weight: 500;
  color: var(--orange);
  text-decoration: underline;
}

.nav-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 8px 20px;
  font-family: var(--font-menu);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: .03em;
  text-shadow: 1.5px 1.5px 0 rgba(0,0,0,.55);
  text-align: right;
}
.nav-row a:hover { opacity: .8; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 10px clamp(20px, 4vw, 56px) 40px;
  display: grid;
  grid-template-columns: minmax(300px, 50%) 1fr;
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
  gap: clamp(20px, 4vw, 40px);
}
.hero-map {
  grid-column: 1;
  grid-row: 1 / 4;
  height: 90vh;
  background-image: url('../assets/images/mapa-latam.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
@supports (background-image: -webkit-image-set(url('../assets/images/mapa-latam.webp') 1x)) or (background-image: image-set(url('../assets/images/mapa-latam.webp') 1x)) {
  .hero-map { background-image: url('../assets/images/mapa-latam.webp'); }
}
.hero-topbar { grid-column: 2; grid-row: 1; }
.hero-content {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-title {
  margin: 0 0 clamp(20px, 3vw, 36px);
}
.hero-title img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
}
.btn-pill {
  display: inline-block;
  font-family: var(--font-hand);
  text-align: center;
  line-height: 1.25;
  padding: .55em 1.5em .6em;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}
.btn-pill--dark {
  background: var(--green);
  color: var(--white);
  font-size: clamp(24px, 2.24vw, 29px);
}
.hero-btn-word { font-size: 1.15em; font-weight: 400; }

.hero-logos {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  margin-top: -90px;
  margin-bottom: 40px;
}
.hero-logos-label {
  font-family: var(--font-hand);
  font-size: clamp(18px, 2vw, 22px);
  margin: 0 0 8px;
  text-shadow: 1px 1px 0 rgba(0,0,0,.4);
}
.hero-logos-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-slowfood, .logo-slowwinelatam {
  width: auto;
  height: clamp(58px, 7.3vw, 78px);
}

/* ==========================================================================
   About / ¿Qué es la Slow Wine Latam Week?
   ========================================================================== */

.about {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}
.about-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.about-heading h2 {
  font-family: var(--font-display) !important;
  font-weight: 400;
  font-size: clamp(31px, 3.1vw, 38px);
  margin: 0;
  text-shadow: 1.5px 1.5px 0 rgba(0,0,0,.5);
}
.about-heading .tag { font-size: clamp(22px, 2.24vw, 28px); }
#sumate-top .tag { font-size: clamp(22px, 2.24vw, 28px); }

.sumate-dropdown {
  position: relative;
}
.sumate-toggle {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  border: none;
  cursor: pointer;
}
.sumate-caret {
  display: inline-block;
  transition: transform .2s ease;
  font-size: .8em;
}
.sumate-toggle[aria-expanded="true"] .sumate-caret { transform: rotate(180deg); }
.sumate-menu {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--green-dark);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  z-index: 20;
  transform: rotate(0deg);
}
.sumate-dropdown:not(.is-open) .sumate-menu { display: none; }
#sumate-top .sumate-menu { left: auto; right: 0; }
.sumate-menu li a {
  display: block;
  padding: .5em 1.1em;
  font-family: var(--font-hand);
  font-size: 20px;
  white-space: nowrap;
}
.sumate-menu li a:hover { background: rgba(255,255,255,.12); }

.about-text p {
  font-size: clamp(22px, 2.17vw, 28px);
  line-height: 1.4;
  margin: 0 0 1.3em;
}
.about-text .small-print {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.4;
  margin-top: 2em;
}

.about-side { text-align: center; }
.icons-row {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
  margin-bottom: 20px;
}
.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-hand);
  font-size: 21px;
  text-shadow: 1px 1px 0 rgba(0,0,0,.4);
}
.icon-item img { width: clamp(53px, 5.6vw, 73px); }
.about-map { max-width: 532px; margin: 0 auto; }

/* ==========================================================================
   FAQ overview
   ========================================================================== */

.faq-overview {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px clamp(20px, 4vw, 56px) 60px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  column-gap: clamp(24px, 5vw, 60px);
}
.faq-left h3 {
  font-family: var(--font-display) !important;
  font-weight: 400;
  font-size: clamp(27px, 2.8vw, 32px);
  margin: 1.1em 0 .35em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  text-shadow: 1.5px 1.5px 0 rgba(0,0,0,.5);
}
.faq-left h3:first-child { margin-top: 0; }
.faq-left h3 .tag { font-size: clamp(20px, 1.96vw, 25px); }
.faq-left p {
  font-size: clamp(21px, 1.96vw, 24px);
  line-height: 1.4;
  margin: 0 0 .6em;
}

.faq-links {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 34px);
  padding-top: clamp(8px, 2vw, 20px);
}
.faq-links a {
  font-family: var(--font-hand);
  font-size: clamp(22px, 2.38vw, 28px);
  text-align: right;
  line-height: 1.3;
}
.faq-link-hl {
  position: relative;
  display: inline-block;
  transition: background-color .15s ease, color .15s ease;
  border-radius: 4px 30px 4px 30px/30px 4px 30px 4px;
  padding: 0 .12em;
}
.faq-link-hl::after {
  content: '';
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -.16em;
  height: .1em;
  border-radius: 3px;
}
.faq-link-hl--purple::after { background: var(--purple); }
.faq-link-hl--orange::after { background: var(--orange); }
.faq-link-hl--white::after { background: var(--white); }
.faq-link-hl--mixed::after {
  background: linear-gradient(90deg, var(--purple) 0 50%, var(--orange) 50% 100%);
}
.faq-links a:hover .faq-link-hl--purple { background-color: var(--purple); }
.faq-links a:hover .faq-link-hl--orange { background-color: var(--orange); }
.faq-links a:hover .faq-link-hl--white { background-color: var(--white); color: var(--black); }
.faq-links a:hover .faq-link-hl--mixed { background-color: var(--green); }

.social-callout {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(21px, 2.38vw, 28px);
  line-height: 1.6;
  max-width: 880px;
  margin: clamp(40px, 6vw, 70px) auto 0;
  padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 48px);
  color: var(--white);
  border: 3px solid var(--white);
  border-radius: 40px 140px 40px 140px / 140px 40px 140px 40px;
  transform: rotate(-1deg);
}
.social-callout .handles {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .3em .4em;
  margin-top: .3em;
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: 1.1em;
}
.social-callout .handles a {
  display: inline-block;
  background: var(--green-dark);
  color: var(--white);
  padding: .25em .9em .3em;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  transform: rotate(1deg);
}
.social-callout .handles a:hover {
  opacity: .85;
}

/* ==========================================================================
   How to / detalle por perfil
   ========================================================================== */

.how-to {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px clamp(20px, 4vw, 56px) 60px;
}
.how-to-item {
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(255,255,255,.35);
  padding-bottom: 16px;
}
.how-to-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
.how-to-toggle:hover h3,
.how-to-toggle:focus-visible h3 { opacity: .85; }
.how-to-toggle:focus-visible { outline: 2px dashed var(--white); outline-offset: 4px; }

.how-to-item h3 {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: clamp(27px, 3.1vw, 34px);
  margin: 0;
  line-height: 1.25;
  text-shadow: 1.5px 1.5px 0 rgba(0,0,0,.5);
}

.how-to-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  position: relative;
}
.how-to-icon::before,
.how-to-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s ease;
}
.how-to-icon::before {
  width: 28px;
  height: 4px;
  transform: translate(-50%, -50%);
}
.how-to-icon::after {
  width: 4px;
  height: 28px;
  transform: translate(-50%, -50%);
}
.how-to-toggle[aria-expanded="true"] .how-to-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.how-to-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.how-to-toggle[aria-expanded="true"] + .how-to-panel {
  grid-template-rows: 1fr;
}
.how-to-panel-inner {
  overflow: hidden;
  min-height: 0;
}
.how-to-item ol {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  padding-top: 18px;
}
.how-to-item li {
  counter-increment: step;
  position: relative;
  padding-left: 1.6em;
  font-size: clamp(21px, 2.1vw, 24px);
  line-height: 1.45;
  margin-bottom: .55em;
}
.how-to-item li::before {
  content: counter(step) '.';
  position: absolute;
  left: 0;
  font-weight: 500;
}
.footnote {
  font-size: clamp(20px, 1.96vw, 24px);
  text-align: center;
  padding: 0 10px 6px;
  margin: 0 0 30px;
  border-bottom: 2px solid var(--green);
  padding-bottom: 20px;
}

/* ==========================================================================
   Mapa / participantes
   ========================================================================== */

.map-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px clamp(20px, 4vw, 56px) 70px;
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  column-gap: clamp(24px, 5vw, 60px);
  row-gap: 20px;
}
.map-heading { grid-column: 1; }
.kicker {
  display: block;
  font-family: var(--font-hand);
  font-size: clamp(25px, 2.8vw, 34px);
  text-shadow: 1px 1px 0 rgba(0,0,0,.4);
}
.map-heading h2 {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: clamp(34px, 4.48vw, 53px);
  margin: 4px 0 0;
  line-height: 1.15;
}
.map-heading mark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: .82em;
  background: var(--orange);
  color: var(--white);
  padding: .05em .18em;
  border-radius: 6px 40px 6px 40px/40px 6px 40px 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.legend {
  grid-column: 1;
  font-size: clamp(21px, 2.24vw, 27px);
  line-height: 1.5;
  margin: 0;
}
.legend-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  object-fit: contain;
}

.map-embed {
  grid-column: 1;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.4);
}

.map-side {
  grid-column: 2;
  grid-row: 1 / 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 10px;
  padding-top: clamp(30px, 4vw, 60px);
}
.ver-label {
  font-family: var(--font-hand);
  font-size: 22px;
  margin: 0 0 -4px;
}
.map-side .tag {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.9vw, 36px);
}
.map-side .tag-orange { margin-bottom: -6px; }
.filter-caption {
  font-size: clamp(21px, 2.24vw, 26px);
  margin: 4px 0 0;
}
.tag-cta {
  font-family: var(--font-hand) !important;
  font-weight: 400 !important;
  font-size: clamp(28px, 3.22vw, 36px) !important;
  margin-top: 26px;
}
.registro-text, .contacto-text {
  font-size: clamp(21px, 2.1vw, 25px);
  line-height: 1.4;
  margin: 18px 0 0;
  max-width: 22em;
}
.registro-text a, .contacto-text a {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: .15em;
}

/* ==========================================================================
   Participantes (cargados en vivo desde Google Sheets, ver js/participantes.js)
   ========================================================================== */

.participantes {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px clamp(20px, 4vw, 56px) 70px;
}
.participantes-heading { margin-bottom: 30px; }
.participantes-heading h2 {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: clamp(34px, 4.48vw, 53px);
  margin: 4px 0 0;
  line-height: 1.15;
}
.participantes-subtitle {
  font-family: var(--font-hand);
  font-size: clamp(20px, 2.4vw, 28px);
  margin: 10px 0 0;
}

.participantes-status {
  font-size: clamp(20px, 2vw, 24px);
  text-align: center;
  padding: 30px 10px;
  margin: 0;
}
.participantes-status a {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: .15em;
}

.participantes-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 3vw, 28px);
  margin: 0 0 30px;
}
.participantes-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-hand);
  font-size: 18px;
}
.participantes-filter select {
  font-family: var(--font-hand);
  font-size: 16px;
  color: var(--black);
  background: var(--white);
  border: none;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  padding: .35em 1.6em .4em .9em;
  cursor: pointer;
}

.participantes-group + .participantes-group { margin-top: 50px; }
.participantes-subtitle {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 32px);
  margin: 0 0 16px;
  text-shadow: 1px 1px 0 rgba(0,0,0,.4);
}

.participantes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.participante-card {
  background: rgba(255,255,255,.94);
  color: var(--black);
  border-radius: 20px 6px 20px 6px / 6px 20px 6px 20px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.participante-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.participante-top h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  margin: 0;
  text-shadow: none;
}
.participante-pais {
  font-size: 13px !important;
  padding: .25em .6em .3em;
  transform: rotate(-1deg);
}
.participante-ubicacion {
  font-size: 14px;
  opacity: .7;
  margin: 0;
}
.participante-toggle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.08);
  color: var(--black);
  cursor: pointer;
}
.participante-toggle-caret {
  display: inline-block;
  font-size: 13px;
  transition: transform .2s ease;
}
.participante-toggle[aria-expanded="true"] .participante-toggle-caret { transform: rotate(180deg); }
.participante-details[hidden] { display: none; }
.participante-desc {
  font-size: 15px;
  line-height: 1.45;
  margin: 4px 0 0;
}
.participante-cert {
  font-size: 13px;
  line-height: 1.4;
  opacity: .85;
  margin: 4px 0 0;
}
.participante-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.participante-links a {
  font-family: var(--font-hand);
  font-size: 13px;
  letter-spacing: .02em;
  padding: .3em .8em .35em;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  background: var(--green-dark);
  color: var(--white);
}
.participante-links a:hover { opacity: .85; }

.participante-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  font-family: var(--font-hand);
}
.participante-page-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--black);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.participante-page-btn:hover:not(:disabled) { background: var(--orange); color: var(--white); }
.participante-page-btn:disabled { opacity: .4; cursor: default; }
.participante-page-info { font-size: 16px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    text-align: center;
  }
  .hero-topbar { grid-column: 1; grid-row: 1; align-items: center; margin-bottom: 6px; }
  .hero-topbar-menu { flex-direction: column; align-items: center; }
  .lang-switch { align-items: center; }
  .nav-toggle { display: block; }
  .nav-row {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin-top: 12px;
  }
  .nav-row.is-open { display: flex; }
  .hero-content { grid-column: 1; grid-row: 2; margin-top: 16px; }
  .hero-map { grid-column: 1; grid-row: 3; height: auto; aspect-ratio: 626 / 792; width: 100%; max-width: 420px; margin: 0 auto; }
  .hero-logos { grid-column: 1; grid-row: 4; justify-content: center; align-self: auto; margin-top: 20px; }

  .about, .faq-overview, .map-section {
    grid-template-columns: 1fr;
  }
  .about-side { margin-top: 30px; }
  .faq-links { align-items: flex-start; margin-top: 30px; }
  .faq-links a { text-align: left; }
  .map-side { grid-column: 1; grid-row: auto; align-items: flex-start; text-align: left; width: 100%; padding-top: 10px; }
  .map-heading, .legend, .map-embed { grid-column: 1; width: 100%; }
}

@media (max-width: 560px) {
  .icons-row { flex-wrap: wrap; row-gap: 16px; }
}

/* ==========================================================================
   Página Sponsor / Partner (page-sponsor.php + sponsor.html)
   ========================================================================== */
/* Mapa de fondo, una sola vez y centrado, sobre el celeste de siempre —
   el background-image en sí va inline en <body style="..."> (la ruta difiere
   entre el preview estático y la plantilla PHP), acá solo el resto.
   Todo con !important porque la regla global body{background:var(--bg)!important}
   (más arriba en este archivo) es un shorthand que si no, resetea a "initial"
   (con su propio !important) el repeat/position/size/attachment de CUALQUIER
   otra regla no-important sobre body, dejando solo el celeste sólido visible. */
.sponsor-body {
  position: relative;
  background-color: var(--bg) !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}
/* Velo celeste parejo sobre TODA la página (mapa + fondo sólido), no solo
   detrás del formulario — sobre el celeste sólido no se nota (mismo color
   encima de sí mismo), y sobre el mapa lo atenúa para que el texto se lea. */
.sponsor-body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--bg);
  opacity: .90;
  z-index: 0;
  pointer-events: none;
}
.sponsor-body > main,
.sponsor-body > section {
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  /* background-attachment:fixed es costoso/con glitches en mobile Safari */
  .sponsor-body { background-attachment: scroll !important; }
}

.sponsor-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px clamp(20px, 4vw, 56px) 70px;
}
.sponsor-card {
  padding: clamp(24px, 5vw, 56px) clamp(20px, 4vw, 48px);
}
.sponsor-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: clamp(30px, 6vw, 60px);
}
.sponsor-back {
  font-family: var(--font-menu);
  font-size: 20px;
  letter-spacing: .03em;
  text-shadow: 1.5px 1.5px 0 rgba(0,0,0,.55);
}
.sponsor-back:hover { opacity: .8; }

.sponsor-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 48px);
  margin-bottom: clamp(28px, 5vw, 48px);
}
.sponsor-top-text { flex: 1 1 420px; text-align: left; }
.sponsor-top-text h1 {
  font-family: var(--font-hand);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  margin: 0 0 .6em;
}
.sponsor-top-text p {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.5;
  margin: 0 0 .6em;
}
.sponsor-top-text a { text-decoration: underline; }
.sponsor-top-illustration { flex: 0 0 auto; max-width: min(190px, 40vw); }
.sponsor-top-illustration img { width: 100%; height: auto; }
@media (max-width: 560px) {
  .sponsor-top { justify-content: center; text-align: center; }
  .sponsor-top-text { text-align: center; }
}

.sponsor-status {
  max-width: 640px;
  margin: 0 auto 24px;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 20px;
  padding: .8em 1.2em;
  border-radius: 14px;
}
.sponsor-status--ok { background: var(--green); color: var(--white); }
.sponsor-status--error { background: var(--orange); color: var(--white); }

.sponsor-form {
  margin: 0 auto;
  display: grid;
  gap: 20px;
}
.sponsor-note {
  max-width: 640px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 17px;
  line-height: 1.4;
  opacity: .9;
}
.sponsor-divider {
  display: block;
  max-width: min(320px, 70%);
  margin: 28px auto 0;
}
.sponsor-divider img { width: 100%; height: auto; }
.sponsor-field { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.sponsor-field label { font-family: var(--font-hand); font-size: 19px; }
.sponsor-field input,
.sponsor-field textarea {
  font-family: var(--font-hand);
  font-size: 18px;
  color: var(--black);
  background: var(--white);
  border: none;
  border-radius: 14px;
  padding: .6em .9em;
}
.sponsor-field textarea { resize: vertical; min-height: 110px; }
.sponsor-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.sponsor-submit-row { text-align: center; margin-top: 10px; }
.sponsor-submit {
  font-family: var(--font-hand);
  background: var(--orange);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: clamp(22px, 2.4vw, 28px);
  padding: .55em 1.8em .6em;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}
.sponsor-submit:hover { opacity: .9; }
.sponsor-submit:disabled { opacity: .6; cursor: default; }

@media (max-width: 560px) {
  .sponsor-topbar { justify-content: center; text-align: center; }
}
