/*
Theme Name:  Expoturismo Child
Theme URI:   https://expoturismouruguay.com.uy
Description: Astra Child Theme — Expoturismo Uruguay 2027
Author:      Expoturismo Uruguay
Author URI:  https://expoturismouruguay.com.uy
Template:    astra
Version:     1.1.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: expoturismo
*/

/* =========================================================
   Design tokens
   ========================================================= */
:root {
  --blue:        #0088FF;
  --blue-hero:   #2F80ED;
  --blue-deep:   #0A63C9;
  --violet:      #6155F5;
  --magenta:     #CB30E0;
  --orange:      #FF8D28;
  --yellow:      #FFCC00;
  --green:       #34C759;
  --green-dark:  #1E9E43;
  --teal:        #00C8B3;
  --cyan:        #00C0E8;
  --pink:        #FF2D55;
  --white:       #FFFFFF;
  --dark:        #1A1A2E;
  --text:        #4B4A5A;

  --font-body:    'Inter', system-ui, sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;

  --max-width: 1240px;
  --gutter:    clamp(20px, 5vw, 40px);
  --radius-pill: 9999px;
  --shadow-card: 0 8px 32px rgba(0, 60, 160, 0.14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* off-screen entrance offsets must never widen the page */
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--dark); line-height: 1.15; }
a { text-decoration: none; color: inherit; }
img, svg, video { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

section[id] { scroll-margin-top: 72px; }

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

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
}
.section-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .95rem; font-weight: 600; line-height: 1;
  border: 2px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background-color .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.btn-green { background: var(--green); border-color: var(--green); color: var(--white); }
.btn-green:hover { background: #2bb34e; border-color: #2bb34e; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(52,199,89,.4); }
.btn-outline-white { color: var(--white); border-color: var(--white); background: transparent; }
.btn-outline-white:hover { background: var(--white); color: var(--blue); transform: translateY(-2px); }
.btn-lg { padding: 16px 38px; font-size: 1.05rem; }
.btn:focus { outline: none; }
.btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

/* "Próximamente": visible but not clickable */
.btn-soon { cursor: default; opacity: .9; user-select: none; }
.btn-soon:hover { transform: none; box-shadow: none; }
.btn-outline-white.btn-soon:hover { background: transparent; color: var(--white); }
.btn-green.btn-soon:hover { background: var(--green); border-color: var(--green); }

/* =========================================================
   Entrance effects (slide / flip / zoom with blur) + parallax
   JS adds .is-animated when the element enters the viewport.
   ========================================================= */
[data-entrance] {
  opacity: 0;
  filter: blur(8px);
  transition:
    opacity .9s var(--ease) var(--d, 0s),
    transform .9s var(--ease) var(--d, 0s),
    filter .9s var(--ease) var(--d, 0s);
  will-change: opacity, transform;
}
[data-entrance="slideUp"]    { transform: translateY(60px); }
[data-entrance="slideDown"]  { transform: translateY(-60px); }
[data-entrance="slideLeft"]  { transform: translateX(-90px); }
[data-entrance="slideRight"] { transform: translateX(90px); }
[data-entrance="zoomIn"]     { transform: scale(.6); }
[data-entrance="flipUp"]     { transform: perspective(900px) rotateX(-75deg); transform-origin: 50% 100%; }
[data-entrance="flipRight"]  { transform: perspective(900px) rotateY(75deg);  transform-origin: 0 50%; }

[data-entrance].is-animated {
  opacity: 1;
  filter: none;
  transform: none;
}
/* Parallax uses the independent `translate` property so it never fights the entrance transform */
[data-parallax] { translate: 0 var(--py, 0px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-entrance] { opacity: 1; filter: none; transform: none; transition: none; }
  [data-parallax] { translate: none; }
}

/* =========================================================
   Header
   ========================================================= */
#expo-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: var(--blue-hero);
  padding: 16px 0;
  transition: padding .3s ease, box-shadow .3s ease;
}
#expo-header.scrolled { padding: 10px 0; box-shadow: 0 4px 20px rgba(0,0,0,.18); }
/* Logged-in editors: keep the fixed header below the WordPress admin bar */
body.admin-bar #expo-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar #expo-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar #expo-header { top: 0; } } /* admin bar scrolls away on small screens */

.header-inner {
  max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header-logo img { height: 48px; width: auto; transition: height .3s ease; }
#expo-header.scrolled .header-logo img { height: 40px; }

.header-nav { display: flex; align-items: center; gap: 12px; }
.header-nav .btn { padding: 10px 22px; font-size: .875rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 2px solid rgba(255,255,255,.75); border-radius: 12px;
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
#expo-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#expo-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
#expo-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero — flat blue centre for legible text; the colour pattern lives
   only at the edges and along the bottom (masked), at full strength.
   ========================================================= */
#expo-hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  background: var(--blue-hero);
  display: flex; flex-direction: column;
  padding: 112px var(--gutter) 0;
  text-align: center; color: var(--white);
}
.hero-pattern {
  position: absolute; inset: 0; z-index: 0;
  background: url('assets/images/banner_inicio_04.png') center bottom / cover no-repeat;
  /* transparent behind the text block, opaque towards edges and bottom */
  -webkit-mask-image: radial-gradient(ellipse 46% 40% at 50% 36%, transparent 0 68%, #000 100%);
          mask-image: radial-gradient(ellipse 46% 40% at 50% 36%, transparent 0 68%, #000 100%);
}
.hero-content {
  position: relative; z-index: 1;
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding-bottom: clamp(40px, 9vh, 90px);
}
.hero-date {
  display: inline-block;
  background: var(--yellow); color: var(--dark);
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(.95rem, 1.8vw, 1.25rem);
  padding: 8px 24px; border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px rgba(0, 40, 120, .25);
}
.hero-title {
  font-size: clamp(2.75rem, 8vw, 6.25rem);
  font-weight: 700; color: var(--white); letter-spacing: -.01em; text-wrap: balance;
}
.hero-venue {
  font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 500;
  max-width: 34ch; text-wrap: balance; color: var(--white);
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

.hero-travel {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: center;
  gap: clamp(20px, 7vw, 120px);
  margin-top: auto;
}
.hero-travel img {
  width: clamp(96px, 15vw, 210px); height: auto;
  filter: drop-shadow(0 14px 14px rgba(0, 30, 90, .4));
}

/* =========================================================
   Dates + Travel Sale tape
   ========================================================= */
#expo-dates { background: var(--blue); color: var(--white); padding: clamp(56px, 9vw, 100px) var(--gutter); overflow: hidden; }
.dates-tape { max-width: 1400px; margin: 0 auto calc(clamp(20px, 4vw, 48px) - min(9vw, 130px)); position: relative; z-index: 1; }
.dates-tape img { width: 100%; }
/* Tape zooms with the scroll (3x → 1.5x → 1x), same as the original site. JS sets --sc. */
[data-scrub-scale] { scale: var(--sc, 1); transform-origin: 50% 50%; will-change: scale; }
.dates-grid { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 4vw, 48px); align-items: start; }
.date-card { text-align: center; }
.date-day { font-family: var(--font-heading); font-size: clamp(1.1rem, 2.1vw, 1.6rem); font-weight: 700; line-height: 1.2; color: var(--yellow); white-space: nowrap; }
.date-desc { font-size: clamp(.9rem, 1.4vw, 1.05rem); line-height: 1.4; margin-top: 6px; color: var(--white); }
.dates-venue { margin-top: clamp(28px, 5vw, 48px); text-align: center; font-family: var(--font-heading); font-size: clamp(1.05rem, 2.2vw, 1.5rem); font-weight: 600; }
.dates-tagline { margin-top: 12px; text-align: center; font-size: clamp(1rem, 1.8vw, 1.2rem); color: rgba(255,255,255,.92); }

/* =========================================================
   Travel Sale pills (VENÍ / CONOCÉ / RESERVÁ / VIAJÁ)
   ========================================================= */
#expo-travel { background: var(--blue); color: var(--white); padding: 0 var(--gutter) clamp(56px, 9vw, 110px); }
.travel-inner { max-width: var(--max-width); margin: 0 auto; }
.travel-heading { color: var(--white); font-weight: 700; font-size: clamp(2rem, 6vw, 4.5rem); max-width: 14ch; }
.travel-heading span { color: var(--yellow); }
.travel-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(8px, 1.4vw, 0px); margin-top: clamp(32px, 6vw, 64px); }
.travel-pills img { height: clamp(52px, 8vw, 100px); width: auto; }
.travel-note { margin-top: 28px; text-align: center; }

/* =========================================================
   Video
   ========================================================= */
#expo-video { background: var(--blue); padding: clamp(40px, 7vw, 90px) var(--gutter); text-align: center; }
.video-inner { max-width: 1000px; margin: 0 auto; }
.video-label { font-size: .85rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 14px; }
.video-title { color: var(--white); font-size: clamp(1.8rem, 4.5vw, 3rem); margin-bottom: clamp(20px, 4vw, 40px); }
.video-frame { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; }

/* =========================================================
   ¡Viví la experiencia!
   ========================================================= */
#expo-vive {
  position: relative; overflow: hidden;
  background: var(--blue-hero) url('assets/images/Pre-comp-8.gif') center / cover no-repeat;
  color: var(--white);
  padding: clamp(56px, 9vw, 110px) var(--gutter);
}
.vive-inner { position: relative; max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.vive-copy h2 { color: var(--white); font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 700; margin-bottom: 20px; }
.vive-copy p { color: var(--white); margin-bottom: 16px; font-size: clamp(1rem, 1.6vw, 1.1rem); }
.vive-copy .btn { margin-top: 12px; }
.vive-art img { width: 100%; max-width: 620px; margin-inline: auto; filter: drop-shadow(0 20px 30px rgba(0,30,90,.25)); }

/* =========================================================
   Uruguay y el turismo
   ========================================================= */
#expo-turismo { background: var(--violet); padding: clamp(56px, 9vw, 110px) var(--gutter); overflow: hidden; }
.turismo-inner { max-width: 1100px; margin: 0 auto; }
.turismo-inner h2 { color: var(--white); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: clamp(28px, 5vw, 56px); }
.stat-pills { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.stat-pill {
  grid-column: span 3;
  display: flex; align-items: center; gap: 18px;
  border-radius: var(--radius-pill);
  padding: 14px 40px 14px 14px;
  color: var(--white);
  font-size: clamp(.95rem, 1.6vw, 1.15rem); line-height: 1.35;
  min-height: 92px;
}
.stat-pill:nth-child(3), .stat-pill:nth-child(4) { grid-column: span 3; }
.stat-pill:nth-child(5) { grid-column: 2 / span 4; }
.stat-badge {
  flex: none; display: grid; place-items: center;
  min-width: 72px; height: 72px; padding-inline: 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--white);
}
.pill-yellow { background: var(--yellow); color: var(--dark); font-weight: 500; } .pill-yellow .stat-badge { background: var(--blue); color: var(--white); }
.pill-cyan   { background: var(--cyan); }                       .pill-cyan .stat-badge { background: var(--magenta); }
.pill-violet { background: var(--magenta); }                    .pill-violet .stat-badge { background: var(--teal); }
.pill-orange { background: var(--orange); }                     .pill-orange .stat-badge { background: var(--blue); }
.pill-cyan2  { background: var(--cyan); }                       .pill-cyan2 .stat-badge { background: var(--pink); }

/* =========================================================
   Sé protagonista
   ========================================================= */
#expo-protagonista { position: relative; background: var(--white); padding: clamp(56px, 9vw, 110px) var(--gutter); overflow: hidden; }
.protagonista-inner { position: relative; max-width: var(--max-width); margin: 0 auto; text-align: center; }
.protagonista-plane { position: absolute; right: 0; top: -104px; width: clamp(56px, 6.5vw, 100px); }
.protagonista-inner h2 { color: var(--blue); font-size: clamp(1.9rem, 5vw, 3.4rem); font-weight: 500; margin-bottom: clamp(32px, 6vw, 64px); }
.protagonista-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 3vw, 40px); align-items: start; }
.protagonista-item { display: flex; flex-direction: column; align-items: center; }
/* Same-size icon box for every item: the SVGs have different proportions, so contain + centre keeps all labels on one line */
.protagonista-item img { width: min(100%, 190px); height: clamp(96px, 11vw, 150px); object-fit: contain; object-position: center; margin: 0 auto 18px; }
.protagonista-item p { color: var(--violet); font-size: clamp(.9rem, 1.4vw, 1.05rem); font-weight: 500; line-height: 1.4; max-width: 17ch; text-wrap: balance; }
.protagonista-cta { margin-top: clamp(32px, 6vw, 56px); }

/* =========================================================
   Planimetría
   ========================================================= */
#expo-plano { background: var(--white); padding: 0 var(--gutter) clamp(40px, 6vw, 72px); }
.plano-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: minmax(240px, 1fr) 2.2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.plano-copy h2 { color: var(--blue); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 500; margin-bottom: 24px; }
.plano-legend { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.plano-legend li { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 500; }
.plano-legend .dot { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; overflow: hidden; border: 1px solid rgba(0,0,0,.25); }
.plano-legend .dot i { flex: 1; }
.lg-pn { color: #0A8FB0; } .lg-a { color: var(--blue); } .lg-g { color: var(--green-dark); } .lg-e { color: #C77100; }

.plano-card { background: var(--white); border-radius: 20px; box-shadow: 0 12px 48px rgba(0,0,0,.1); padding: 20px; min-width: 0; }
.plano-hint { display: none; font-size: .8rem; color: var(--text); margin-bottom: 8px; }
.plano-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.floorplan { display: block; width: 100%; height: auto; }
.floorplan .fp-label { font-family: var(--font-body); font-size: 21px; font-weight: 600; fill: var(--dark); pointer-events: none; }
.floorplan .fp-label-lg { font-size: 30px; }
.floorplan .fp-note { font-family: var(--font-body); font-size: 24px; fill: #4A4A5A; }
.floorplan .fp-stand { cursor: pointer; outline: none; }
.floorplan .fp-stand rect:first-of-type { transition: filter .3s ease; }
.floorplan .fp-stand:hover rect:first-of-type, .floorplan .fp-stand:focus rect:first-of-type { filter: brightness(.9) saturate(1.2); }
.floorplan .fp-stand:focus rect:first-of-type { stroke: var(--blue); stroke-width: 4; }

/* =========================================================
   Créditos institucionales
   ========================================================= */
.credits-section { padding: clamp(48px, 7vw, 88px) var(--gutter) clamp(56px, 8vw, 96px); background: var(--white); border-top: 1px solid #E4ECF7; }
/* Two levels: organisers (Organiza + Produce) large on top, supporters (Apoya + Colabora) smaller below */
.credits-list { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; }
.credit { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 8px 16px; }
.credit dt { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.credit dd { display: flex; align-items: center; justify-content: center; width: 100%; }
.credit-logo { object-fit: contain; object-position: center; }

.credit-primary { order: 1; padding-block: 8px clamp(32px, 5vw, 56px); }
.credit-primary dd { height: clamp(96px, 11vw, 140px); }
.credit-primary .credit-logo { width: min(100%, 340px); height: 100%; }
.credit-primary:last-child { border-left: 1px solid #E4ECF7; } /* Produce (4th in the HTML, 2nd on screen) */

.credit-secondary { order: 2; padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid #E4ECF7; }
.credit-secondary dd { height: clamp(64px, 7vw, 88px); }
.credit-secondary .credit-logo { width: min(100%, 230px); height: 100%; }
.credit-secondary:nth-child(3) { border-left: 1px solid #E4ECF7; } /* Colabora */

/* The Elis artwork has a reflection and empty space below the mark: show only its upper 61% */
.credit-primary .credit-logo-elis { width: min(100%, 400px); height: auto; aspect-ratio: 800 / 150; object-fit: cover; object-position: top; }

/* =========================================================
   Contacto
   ========================================================= */
#expo-contact {
  position: relative; overflow: hidden;
  background: var(--blue) url('assets/images/Pre-comp-4.gif') center / cover no-repeat;
  color: var(--white); text-align: center;
  padding: clamp(180px, 19.8vw, 300px) var(--gutter) clamp(56px, 9vw, 110px); /* room for the mate above the title */
}
.contact-mate-wrap { position: absolute; top: clamp(24px, 3.2vw, 48px); left: 0; right: 0; display: flex; justify-content: center; pointer-events: none; }
.contact-mate { width: clamp(90px, 12vw, 160px); transform-origin: 50% 60%; }
/* After the entrance flip: gentle float + tilt (individual transform props) and a vertical coin-flip every few seconds */
.contact-mate.is-animated {
  animation: mate-float 4.5s ease-in-out infinite, mate-flip 9s ease-in-out 1.5s infinite;
}
@keyframes mate-float {
  0%, 100% { translate: 0 0;     rotate: -3deg; }
  50%      { translate: 0 -14px; rotate: 3deg; }
}
@keyframes mate-flip {
  0%, 62% { transform: perspective(700px) rotateX(0deg); }
  100%    { transform: perspective(700px) rotateX(360deg); }
}
@media (prefers-reduced-motion: reduce) { .contact-mate.is-animated { animation: none; } }
.contact-inner { position: relative; max-width: 680px; margin: 0 auto; }
.contact-title {
  display: inline-block; background: var(--orange); color: var(--white);
  font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 700;
  padding: 6px 48px 10px; border-radius: var(--radius-pill); margin-bottom: 28px;
}
.contact-line { font-size: clamp(1.05rem, 2.2vw, 1.5rem); font-weight: 500; }
.contact-line a:hover { text-decoration: underline; }
.contact-social { margin-top: 32px; }
.contact-social p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.4vw, 1.6rem); margin-bottom: 12px; }
.contact-social a { display: inline-flex; width: 52px; height: 52px; color: var(--yellow); transition: transform .3s ease; }
.contact-social a:hover { transform: scale(1.12) rotate(-6deg); }
.contact-social svg { width: 100%; height: 100%; }

.contact-form { margin-top: 48px; text-align: left; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.28); border-radius: 24px; padding: clamp(24px, 5vw, 44px); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; color: var(--white); font-size: .875rem; font-weight: 600; margin-bottom: 8px; }
.form-control {
  width: 100%; padding: 14px 18px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); border-radius: 12px;
  color: var(--white); font-family: var(--font-body); font-size: 1rem; outline: none;
  transition: border-color .3s ease, background .3s ease;
}
.form-control::placeholder { color: rgba(255,255,255,.7); }
.form-control:focus { border-color: var(--white); background: rgba(255,255,255,.26); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; margin-top: 8px; padding: 16px 32px; font-size: 1rem; }
.form-feedback-box { margin-bottom: 12px; font-size: .9rem; min-height: 24px; color: var(--white); }
.form-feedback.error { color: #FFD1D9; }
.form-feedback.success { color: #D6FFE0; }

/* =========================================================
   Footer
   ========================================================= */
#expo-footer { background: var(--dark); padding: 40px var(--gutter); }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-brand img { height: 40px; width: auto; }
.footer-copyright { font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-hashtag { font-size: .9rem; font-weight: 700; color: #6BB8FF; }

/* =========================================================
   Floating widgets: WhatsApp + "Recibir novedades"
   ========================================================= */
.float-whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  transition: transform .3s ease;
}
.float-whatsapp:hover { transform: scale(1.08); }
.float-whatsapp svg { width: 30px; height: 30px; }

.float-news {
  position: fixed; left: 20px; bottom: 20px; z-index: 900;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border: 0; border-radius: var(--radius-pill);
  background: var(--blue); color: var(--white);
  font: 600 .8rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(0,0,0,.28); cursor: pointer;
  transition: transform .3s ease, background .3s ease;
}
.float-news:hover { background: var(--blue-deep); transform: translateY(-2px); }
.float-news.is-hidden { display: none; }

/* Newsletter modal */
#expo-popup-overlay {
  position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
#expo-popup-overlay.active { opacity: 1; pointer-events: all; }
#expo-popup-modal {
  position: relative; width: 100%; max-width: 460px; max-height: calc(100svh - 40px); overflow-y: auto;
  background: var(--white); border-radius: 24px; padding: 48px 36px 36px; text-align: center;
  transform: translateY(20px) scale(.97); transition: transform .35s ease;
}
#expo-popup-overlay.active #expo-popup-modal { transform: none; }
.popup-close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; background: none; font-size: 1.4rem; line-height: 1; color: var(--text); border-radius: 50%; cursor: pointer; }
.popup-close:hover { background: rgba(0,0,0,.06); color: var(--dark); }
.popup-logo-wrap { background: var(--blue); border-radius: 16px; padding: 14px 22px; margin: 0 auto 22px; width: fit-content; }
.popup-logo { width: 140px; }
.popup-heading { color: var(--blue); font-size: 1.6rem; font-weight: 700; margin-bottom: 10px; }
.popup-text { font-size: .95rem; color: var(--text); margin-bottom: 22px; }
.popup-input { width: 100%; padding: 14px 18px; margin-bottom: 14px; border: 2px solid #D5E3F7; border-radius: 12px; font: 1rem var(--font-body); color: var(--dark); outline: none; }
.popup-input:focus { border-color: var(--blue); }
.popup-cta { width: 100%; white-space: normal; line-height: 1.3; }
.popup-dismiss { margin-top: 14px; border: 0; background: none; color: var(--text); font-size: .85rem; text-decoration: underline; cursor: pointer; }
.popup-msg { min-height: 22px; margin-bottom: 10px; font-size: .9rem; }
.popup-msg.error { color: #C4002D; }
.popup-step[hidden] { display: none; }

/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 1024px) {
  .vive-inner { grid-template-columns: 1fr; text-align: center; }
  .vive-art { order: -1; }
  .plano-inner { grid-template-columns: 1fr; }
  .plano-legend { flex-direction: row; flex-wrap: wrap; gap: 12px 28px; }
  .credits-list { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 768px) {
  #expo-header { padding: 12px 0; }
  .header-logo img { height: 38px; }
  .nav-toggle { display: inline-flex; }
  .header-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 10px;
    padding: 16px var(--gutter) 24px;
    background: var(--blue-hero); box-shadow: 0 12px 24px rgba(0,0,0,.2);
  }
  #expo-header.nav-open .header-nav { display: flex; }
  .header-nav .btn { width: 100%; padding: 14px 16px; font-size: .95rem; }

  [data-entrance="slideLeft"]  { transform: translateX(-40px); }
  [data-entrance="slideRight"] { transform: translateX(40px); }
  #expo-hero { padding-top: 92px; min-height: 0; }
  .hero-content { padding-bottom: 28px; gap: 14px; }
  .hero-travel { margin-top: 0; }
  .hero-pattern { -webkit-mask-image: radial-gradient(ellipse 90% 38% at 50% 40%, transparent 0 70%, #000 100%); mask-image: radial-gradient(ellipse 90% 38% at 50% 40%, transparent 0 70%, #000 100%); }
  .hero-buttons { width: 100%; flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .hero-travel { gap: 14px; }
  .hero-travel img { width: 27vw; }

  .dates-grid { grid-template-columns: 1fr; gap: 20px; }
  .date-day { white-space: normal; }
  .travel-heading { max-width: none; }
  .stat-pills { grid-template-columns: 1fr; }
  .stat-pill, .stat-pill:nth-child(n) { grid-column: auto; border-radius: 40px; padding: 14px 24px 14px 14px; }
  .stat-badge { min-width: 64px; height: 64px; font-size: 1.1rem; }
  .protagonista-grid { grid-template-columns: repeat(2, 1fr); }
  .protagonista-item:last-child { grid-column: 1 / -1; }
  .protagonista-plane { display: none; }

  .plano-card { padding: 14px; }
  .plano-hint { display: block; }
  .floorplan { min-width: 760px; }

  .contact-title { padding: 4px 28px 8px; }
  .float-whatsapp { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .float-news { left: 14px; bottom: 14px; padding: 11px 16px; }
}

@media (max-width: 480px) {
  .btn-lg { width: 100%; }
  .credit { padding-inline: 8px; }
  .credit-primary dd { height: 72px; }
  .credit-secondary dd { height: 54px; }
  .popup-logo { width: 120px; }
  #expo-popup-modal { padding: 44px 22px 28px; }
}
