/* ============================================
   Airport Media — Styles
   aeropuertodecarrasco.com.uy/airport-media
   ============================================ */

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

:root {
  --navy:    #0b2540;
  --blue:    #1E519F;
  --orange:  #FE5000;
  --white:   #ffffff;
  --light:   #f3f7fb;
  --muted:   #6b7a8d;
  --border:  #dbe4ee;
  --r-card:  14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ── NAV ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(11,37,64,0.90) 0%, rgba(11,37,64,0.55) 65%, rgba(11,37,64,0) 100%);
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
#nav.scrolled {
  background: rgba(11,37,64,0.96);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  transition: height 0.35s ease;
}
#nav.shrunk .nav-inner {
  height: 56px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-text {
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav-logo-text span {
  font-weight: 700;
  color: var(--orange);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.1);
}
.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease !important;
  text-decoration: none;
  display: inline-block;
}
.nav-cta:hover {
  background: #e04500 !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(254,80,0,0.4) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(11,37,64,0.97);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 999;
  padding: 16px 32px 24px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background-color: var(--navy);
  /* background-image set via inline style from WordPress Customizer */
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 32px 0;
}

/* Hero photo overlay */
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
  pointer-events: none;
}

/* Runway lines animation */
.runway-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.runway-line {
  position: absolute;
  width: 1px;
  height: 200%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.04) 40%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.04) 60%, transparent);
  animation: runway-drift linear infinite;
  transform-origin: 50% 0;
}
@keyframes runway-drift {
  0%   { transform: translateY(-60%) rotate(25deg); }
  100% { transform: translateY(20%) rotate(25deg); }
}

/* Big decorative number */
.hero-deco-number {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  font-size: clamp(160px, 22vw, 320px);
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 860px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  opacity: 0;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-block;
  animation: badge-pulse 2.4s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero-headline {
  margin-top: 24px;
  font-size: clamp(40px, 6.5vw, 84px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.hero-word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin: 0 4px;
}
.hero-word {
  display: inline-block;
  transform: translateY(100%);
}
.hero-sub {
  margin-top: 24px;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
}
.hero-buttons {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
}
.btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  border: none;
  cursor: pointer;
}
.btn-orange:hover {
  background: #e04500;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(254,80,0,0.40);
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
  cursor: pointer;
}
.btn-outline-white:hover {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
}
.hero-divider {
  width: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
  margin: 56px auto 0;
}

/* Hero stat strip */
#hero-stats-wrap {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.hero-stat-strip {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stat-item {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
}
.hero-stat-item:last-child { border-right: none; }
.hero-stat-number {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 13px;
  color: #6b7a8d;
  margin-top: 8px;
  line-height: 1.4;
  font-weight: 400;
}

/* ── FORMAT SELECTOR ── */
#formatos {
  background: var(--light);
  padding: 100px 32px;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.formats-container {
  max-width: 1280px;
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 540px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(11,37,64,0.12);
}
.formats-left {
  background: var(--white);
  border-right: 1px solid var(--border);
}
.format-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 28px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.2s ease;
  overflow: hidden;
}
.format-item:last-child { border-bottom: none; }
.format-item:hover { background: var(--light); }
.format-item.active { background: var(--light); }
.format-active-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: 50% 50%;
  border-radius: 0 2px 2px 0;
  transition: none;
}
.format-item.active .format-active-bar {
  transform: scaleY(1);
}
.format-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.08em;
  margin-top: 3px;
  flex-shrink: 0;
  width: 26px;
}
.format-item-text {}
.format-item-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  transition: color 0.2s ease;
}
.format-item.active .format-item-name { color: var(--blue); }
.format-item-teaser {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.4;
}
.format-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  margin-top: 6px;
  margin-left: auto;
  transition: background 0.25s ease, transform 0.25s ease;
}
.format-item.active .format-dot {
  background: var(--orange);
  transform: scale(1.3);
}

.formats-right {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.format-detail {
  padding: 40px 52px 52px 48px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
}

/* Format photo */
.format-photo-wrap {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  flex-shrink: 0;
  background: var(--light);
}
.format-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.format-deco-num {
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-size: clamp(100px, 16vw, 200px);
  font-weight: 700;
  color: rgba(11,37,64,0.04);
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.format-detail-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.format-detail-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.format-detail-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 28px;
}
.format-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.format-spec-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(30,81,159,0.08);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(30,81,159,0.15);
}
.format-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.format-cta:hover { gap: 12px; }
.format-cta svg {
  transition: transform 0.2s ease;
}
.format-cta:hover svg { transform: translateX(4px); }

/* ── STATS BAND ── */
#estadisticas {
  background: #ffffff;
  position: relative;
  padding: 80px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.stat-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 28px 36px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 16px rgba(11,37,64,0.07);
  border: 1px solid rgba(11,37,64,0.07);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(11,37,64,0.13);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: #FE5000;
  border-radius: 16px 16px 0 0;
}
.stat-number {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  color: #0b2540;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-number-accent {
  color: #FE5000;
}
.stat-label {
  font-size: 14px;
  color: #6b7a8d;
  margin-top: 12px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
}

/* ── VIDEO SECTION ── */
#video-section {
  position: relative;
  background: #071b30;
  padding: 100px 0 100px;
  overflow: hidden;
}
.vs-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.vs-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.vs-blob-1 {
  width: 500px; height: 500px;
  background: rgba(254,80,0,0.08);
  top: -100px; left: -150px;
}
.vs-blob-2 {
  width: 400px; height: 400px;
  background: rgba(30,81,159,0.12);
  bottom: -80px; right: -100px;
}
.vs-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 72px;
  align-items: center;
}
/* copy */
.vs-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FE5000;
  margin-bottom: 20px;
}
.vs-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: #FE5000;
  border-radius: 2px;
}
.vs-title {
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 32px;
  letter-spacing: -0.02em;
}
.vs-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 40px;
}
.vs-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}
.vs-point-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: rgba(254,80,0,0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.vs-cta {
  display: inline-block;
  background: #FE5000;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.vs-cta:hover {
  background: #e04500;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(254,80,0,0.35);
}
/* video col */
.vs-video-col {
  position: relative;
}
.vs-frame-accent {
  position: absolute;
  top: -16px; right: -16px;
  width: 60%; height: 60%;
  border-top: 2px solid rgba(254,80,0,0.35);
  border-right: 2px solid rgba(254,80,0,0.35);
  border-radius: 0 16px 0 0;
  pointer-events: none;
  z-index: 0;
}
.vs-video-shell {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(254,80,0,0.08);
  aspect-ratio: 16/9;
}
.vs-play-overlay {
  position: relative;
  width: 100%; height: 100%;
  cursor: pointer;
}
.vs-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.vs-play-overlay:hover .vs-thumb {
  transform: scale(1.04);
}
.vs-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,27,48,0.55) 0%, rgba(7,27,48,0.25) 100%);
}
.vs-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  background: rgba(254,80,0,0.92);
  border: none; border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 32px rgba(254,80,0,0.45);
}
.vs-play-overlay:hover .vs-play-btn {
  background: #FE5000;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 40px rgba(254,80,0,0.6);
}
.vs-play-label {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.vs-iframe-wrap {
  position: absolute;
  inset: 0;
}
.vs-iframe-wrap iframe {
  width: 100%; height: 100%;
  border: none; display: block;
}
.vs-caption {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}
.vs-caption-dot {
  width: 6px; height: 6px;
  background: #FE5000;
  border-radius: 50%;
  flex-shrink: 0;
}
/* responsive */
@media (max-width: 900px) {
  .vs-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 24px;
  }
  #video-section { padding: 72px 0; }
  .vs-frame-accent { display: none; }
}

/* ── QUOTE STRIP ── */
#quote-strip {
  height: 380px;
  background-color: var(--navy);
  background-image: url('../img/quote-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
#quote-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11,37,64,0.72);
  pointer-events: none;
}
.quote-strip-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 0 40px;
}
.quote-strip-text {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.45;
  letter-spacing: -0.015em;
  font-style: italic;
}
.quote-strip-attribution {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}

/* ── MAPA INTERACTIVO ── */
#mapa-interactivo {
  background: #ffffff;
  padding: 80px 0 100px;
  overflow: hidden;
  position: relative;
}
.mi-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 24px;
}
.mi-header {
  text-align: center;
  margin-bottom: 56px;
}
.mi-header .section-label { display: inline-block; margin-bottom: 12px; }
.mi-header .section-title { color: #0b2540; }
.mi-header p {
  color: #6b7a8d;
  font-size: 16px;
  max-width: 540px;
  margin: 12px auto 0;
}
/* horizontal: image left, panel right */
.mi-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.mi-map-col { position: relative; }
.mi-map-wrap {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.mi-map-img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
/* SVG overlay */
.mi-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.mi-zone {
  pointer-events: all;
  cursor: pointer;
}
.mi-zone .zone-fill {
  fill: #FE5000;
  fill-opacity: 0;
  transition: fill-opacity 0.3s ease;
}
.mi-zone .zone-border {
  fill: none;
  stroke: #FE5000;
  stroke-width: 3;
  stroke-opacity: 0;
  transition: stroke-opacity 0.3s ease;
  stroke-dasharray: 8 5;
}
.mi-zone:hover .zone-fill    { fill-opacity: 0.13; }
.mi-zone:hover .zone-border  { stroke-opacity: 0.7; }
.mi-zone.active .zone-fill   { fill-opacity: 0.22; }
.mi-zone.active .zone-border { stroke-opacity: 1; }
/* pulse dots */
.mi-dot { pointer-events: all; cursor: pointer; }
.mi-dot circle.dot-core {
  fill: #FE5000;
  filter: drop-shadow(0 0 5px rgba(254,80,0,0.9));
}
.mi-dot circle.dot-pulse {
  fill: none;
  stroke: #FE5000;
  stroke-width: 2;
  opacity: 0;
}
.mi-dot text {
  fill: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  dominant-baseline: central;
  text-anchor: middle;
  pointer-events: none;
}
/* legend */
.mi-legend {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.mi-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #6b7a8d;
}
.mi-legend-dot {
  width: 10px; height: 10px;
  background: #FE5000;
  border-radius: 50%;
}
.mi-legend-box {
  width: 18px; height: 11px;
  background: rgba(254,80,0,0.2);
  border: 1.5px solid #FE5000;
  border-radius: 2px;
}
/* info panel */
.mi-panel {
  position: sticky;
  top: 100px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid #dbe4ee;
  box-shadow: 0 4px 24px rgba(11,37,64,0.10);
}
.mi-panel-default {
  padding: 36px 28px;
  text-align: center;
}
.mi-panel-default-icon {
  width: 60px; height: 60px;
  background: #f3f7fb;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.mi-panel-default h3 {
  font-size: 17px; font-weight: 700;
  color: #0b2540; margin-bottom: 10px;
}
.mi-panel-default p {
  font-size: 13px; color: #6b7a8d; line-height: 1.6;
}
.mi-panel-content { display: none; }
.mi-panel-content.visible { display: block; }
.mi-panel-top {
  padding: 24px 24px 18px;
  border-bottom: 1px solid #f0f3f7;
}
.mi-panel-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #FE5000; margin-bottom: 10px;
}
.mi-panel-badge-dot {
  width: 20px; height: 20px;
  background: #FE5000; border-radius: 50%;
  color: #fff; font-size: 10px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.mi-panel-title {
  font-size: 20px; font-weight: 700;
  color: #0b2540; line-height: 1.2; margin: 0 0 8px;
}
.mi-panel-desc {
  font-size: 13px; color: #6b7a8d; line-height: 1.6; margin: 0;
}
.mi-panel-body { padding: 18px 24px 24px; }
.mi-panel-formats {
  list-style: none;
  display: flex; flex-direction: column; gap: 9px;
  margin: 0 0 18px;
}
.mi-panel-formats li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 500; color: #0b2540;
}
.mi-panel-formats li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  background: #FE5000; border-radius: 50%;
}
.mi-panel-stat {
  background: #f3f7fb; border-radius: 10px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.mi-panel-stat-num {
  font-size: 26px; font-weight: 700;
  color: #FE5000; line-height: 1; white-space: nowrap;
}
.mi-panel-stat-label {
  font-size: 12px; color: #6b7a8d; line-height: 1.4;
}
.mi-panel-cta {
  display: block; width: 100%;
  background: #FE5000; color: #ffffff;
  font-size: 14px; font-weight: 600;
  padding: 12px 20px; border-radius: 10px;
  text-align: center; text-decoration: none;
  border: none; cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mi-panel-cta:hover { background: #e04500; transform: translateY(-1px); }
/* responsive */
@media (max-width: 1024px) {
  .mi-layout { grid-template-columns: 1fr; gap: 28px; }
  .mi-panel { position: static; }
}
@media (max-width: 640px) {
  #mapa-interactivo { padding: 72px 0; }
  .mi-inner { padding: 0 20px; }
}

/* ── WHY ── */
#por-que {
  background: var(--white);
  padding: 100px 32px;
}
.why-grid {
  max-width: 1280px;
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  padding: 44px 36px;
  border-radius: var(--r-card);
  background: var(--light);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(40px);
}
.why-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.why-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.why-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── TESTIMONIALS MARQUEE ── */
#clientes-testimonios {
  background: var(--light);
  padding: 100px 0;
  overflow: hidden;
}
.testimonials-header {
  text-align: center;
  padding: 0 32px;
  margin-bottom: 56px;
}
.marquee-outer {
  overflow: hidden;
  cursor: grab;
}
.marquee-outer:active { cursor: grabbing; }
.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
}
.testimonial-card {
  width: 380px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: 0 8px 32px rgba(11,37,64,0.07);
  padding: 36px 32px;
  border: 1px solid var(--border);
}
.testimonial-quote-mark {
  font-size: 60px;
  font-weight: 700;
  color: var(--orange);
  line-height: 0.6;
  margin-bottom: 20px;
  display: block;
  font-family: Georgia, serif;
}
.testimonial-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.testimonial-role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ── BRANDS ── */
#marcas {
  background: var(--white);
  padding: 80px 32px;
  border-top: 1px solid var(--border);
}
.brands-header {
  text-align: center;
  margin-bottom: 52px;
}
.brands-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

/* ── BRAND LOGO ITEMS ── */
.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  border-right: 1px solid var(--border);
  background: transparent;
  transition: transform 0.2s ease;
  cursor: default;
  opacity: 0;
}
.brand-logo-item:last-of-type { border-right: none; }
.brand-logo-item:hover { transform: translateY(-2px); }
.brand-logo-item img {
  width: 100%;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.brand-logo-item:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}
.brand-text-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  border-right: 1px solid var(--border);
  background: transparent;
  transition: transform 0.2s ease;
  cursor: default;
  opacity: 0;
}
.brand-text-item:last-child { border-right: none; }
.brand-text-item:hover { transform: translateY(-2px); }
.brand-text-item .brand-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #b0bec5;
  transition: color 0.3s ease;
  text-align: center;
}
.brand-text-item:hover .brand-name { color: var(--navy); }

/* ── CONTACTO ── */
#contacto {
  background-color: var(--navy);
  background-image: url('../img/contact-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 100px 32px;
}
#contacto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11,37,64,0.90);
  pointer-events: none;
}
.contact-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact-left-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.contact-left-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.contact-left-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 44px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 3px;
}
.contact-detail-value {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}
.contact-detail-value a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-detail-value a:hover { color: var(--orange); }
.contact-form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
}
.contact-form-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
  letter-spacing: -0.015em;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.form-input, .form-textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--navy);
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  resize: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,81,159,0.10);
}
.form-textarea { height: 110px; }
.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--orange);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  margin-top: 8px;
}
.form-submit:hover {
  background: #e04500;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(254,80,0,0.35);
}
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-success-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.form-success-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── FOOTER ── */
#footer {
  background: #071b30;
  padding: 72px 32px 32px;
}
.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 260px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  text-decoration: none;
}
.footer-social a:hover { background: var(--orange); }
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col-links a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ── WHATSAPP FLOAT ── */
#wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: box-shadow 0.3s ease;
}
#wa-float:hover {
  box-shadow: 0 8px 32px rgba(37,211,102,0.60);
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .formats-container {
    grid-template-columns: 1fr;
  }
  .formats-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .format-item { border-bottom: 1px solid var(--border); }
  .why-grid { grid-template-columns: 1fr; gap: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stat-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-stat-item:nth-child(2) { border-right: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .brands-grid { flex-wrap: wrap; height: auto; gap: 0; }
  .brand-logo-item, .brand-text-item { border-right: none; border-bottom: 1px solid var(--border); padding: 16px 24px; flex: 1 1 30%; }
  .format-detail { padding: 28px 36px 40px 32px; }
  .format-photo-wrap { height: 180px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #hero { padding-top: 96px; }
  .hero-stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .formats-left { grid-template-columns: 1fr; }
  .format-detail { padding: 24px 24px 32px; }
  .format-photo-wrap { height: 160px; }
  .brands-grid { flex-wrap: wrap; height: auto; }
  .brand-logo-item, .brand-text-item { flex: 1 1 45%; border-right: none; padding: 14px 20px; }
  .hero-deco-number { display: none; }
  #quote-strip { height: auto; padding: 60px 24px; }
  .quote-strip-text { font-size: 18px; }
}

@media (max-width: 480px) {
  .hero-stat-strip { grid-template-columns: 1fr 1fr; }
  .hero-stat-item { padding: 20px 16px; }
  #formatos, #por-que, #marcas, #contacto { padding: 72px 20px; }
  #estadisticas { padding: 60px 20px; }
  .contact-form-card { padding: 32px 24px; }
  .format-photo-wrap { height: 140px; }
}
