/* ============================
   VANT — Landing WIND V1
   Mobile-first · Dark premium
   ============================ */

:root {
  --black: #0a0a0a;
  --black-soft: #141414;
  --black-deep: #050505;
  --white: #ffffff;
  --grey: #888888;
  --grey-light: #cccccc;
  --grey-dark: #2a2a2a;
  --red: #c8102e;
  --red-glow: #ff3344;
  --green-wsp: #25D366;
  --container: 1200px;
  --radius: 4px;
  --transition: 0.3s ease;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: 70px; /* sticky CTA spacer */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ============================ TYPOGRAPHY ============================ */

.eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--grey);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow.light { color: rgba(255,255,255,0.8); }

.section-title {
  font-size: clamp(26px, 6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
}
.italic { font-style: italic; font-weight: 300; opacity: 0.85; }

/* ============================ ANNOUNCEMENT BAR ============================ */

.announce {
  background: linear-gradient(90deg, #c8102e 0%, #ff3344 50%, #c8102e 100%);
  background-size: 200% auto;
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 8px 12px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 101;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.announce-pulse {
  width: 8px; height: 8px; background: var(--white); border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ============================ NAV ============================ */

.nav {
  position: sticky;
  top: 33px; /* under announce */
  left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 22px; }
.nav-cta {
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-cta:hover, .nav-cta:active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ============================ HERO VIDEO ============================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}
.hero-video {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 100px;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0.85) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 30%, transparent 60%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}
.hero-content-center {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  animation: fadeUp 1.2s ease-out;
}
.hero-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--red-glow);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 51, 68, 0.35);
  border-radius: 100px;
  background: rgba(200, 16, 46, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-title-center {
  font-size: clamp(36px, 8vw, 92px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin-bottom: 24px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.6);
}
.hero-title-center strong {
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub-center {
  font-size: clamp(14px, 3.5vw, 19px);
  color: var(--grey-light);
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}
.hero-ctas { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.hero-ctas-center { justify-content: center; }
.hero-trust {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
}
.trust-item { display: flex; flex-direction: column; align-items: center; }
.trust-num { font-size: 22px; font-weight: 800; color: var(--white); line-height: 1; }
.trust-label { font-size: 10px; color: var(--grey-light); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }
.trust-divider { width: 1px; height: 30px; background: rgba(255,255,255,0.2); }

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 100%; height: 50%;
  background: var(--white);
  animation: scroll 2s ease-in-out infinite;
}
@keyframes scroll { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================ BUTTONS ============================ */

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover, .btn-primary:active {
  background: var(--red-glow);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 51, 68, 0.3);
}
.btn-full { width: 100%; display: block; padding: 16px 28px; }
.btn-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-light);
  letter-spacing: 0.05em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all var(--transition);
}
.btn-link:hover, .btn-link:active { color: var(--white); border-color: var(--white); }
.btn-mini {
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius);
  letter-spacing: 0.04em;
  transition: all var(--transition);
}
.btn-mini-primary { background: var(--white); color: var(--black); }
.btn-mini-ghost { background: transparent; color: var(--grey-light); border: 1px solid rgba(255,255,255,0.2); }

/* ============================ FEATURES ============================ */

.features { padding: 80px 0; background: var(--black); }
.section-head { text-align: center; margin-bottom: 50px; }
.features-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--black-soft) 0%, var(--black) 100%);
  transition: all var(--transition);
}
.feature:hover { border-color: rgba(255, 51, 68, 0.3); transform: translateY(-4px); }
.feature-icon {
  width: 52px; height: 52px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--white);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.feature p { font-size: 14px; color: var(--grey-light); line-height: 1.6; }
.features-cta { text-align: center; margin-top: 40px; }

/* ============================ LIFESTYLE ============================ */

.lifestyle { position: relative; min-height: 480px; overflow: hidden; }
.lifestyle-image { position: absolute; inset: 0; z-index: 1; }
.lifestyle-image img { width: 100%; height: 100%; object-fit: cover; }
.lifestyle-overlay {
  position: relative; z-index: 2;
  min-height: 480px;
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.85) 100%);
  text-align: center;
}
.discipline-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.discipline-list li {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  background: rgba(0,0,0,0.3);
}

/* ============================ ATLETA / MATEO ============================ */

.atleta { padding: 80px 0; background: var(--black-deep); }
.atleta-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.atleta-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  max-width: 400px;
  margin: 0 auto;
}
.atleta-image img { width: 100%; height: 100%; object-fit: cover; }
.atleta-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}
.atleta-content .section-title { margin-bottom: 20px; }
.atleta-content p { color: var(--grey-light); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }

/* ============================ SPECS ============================ */

.specs { padding: 80px 0; background: var(--black-soft); }
.specs-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.specs-image img { border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.08); width: 100%; }
.specs-content .section-title { margin-bottom: 24px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.spec-table tr { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 14px 0; font-size: 14px; }
.spec-table td:first-child { color: var(--grey); font-weight: 500; width: 45%; }
.spec-table td:last-child { color: var(--white); font-weight: 500; text-align: right; }

/* ============================ RESERVA ============================ */

.reserva {
  padding: 80px 0;
  background:
    radial-gradient(ellipse at center top, rgba(200, 16, 46, 0.18) 0%, transparent 60%),
    var(--black);
  position: relative;
}
.reserva-card {
  max-width: 540px;
  margin: 0 auto;
  background: var(--black-soft);
  padding: 36px 24px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.reserva-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--red-glow) 50%, transparent 100%);
}
.reserva-title {
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.reserva-title strong { color: var(--red-glow); font-weight: 900; }
.reserva-sub { font-size: 14px; color: var(--grey-light); margin-bottom: 28px; line-height: 1.6; }
.reserva-form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.form-row { width: 100%; }

input[type="text"], input[type="email"], select {
  width: 100%;
  padding: 16px 16px;
  font-family: inherit;
  font-size: 16px; /* 16px evita zoom en iOS */
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
input:focus, select:focus { border-color: var(--white); }
input::placeholder { color: var(--grey); }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
select option { background: var(--black); color: var(--white); }

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--grey-light);
  line-height: 1.5;
  cursor: pointer;
  padding: 4px 0;
}
.form-consent input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--red-glow);
  cursor: pointer;
  flex-shrink: 0;
}
.form-consent a { color: var(--white); text-decoration: underline; }
.form-disclaimer {
  font-size: 11px;
  color: var(--grey);
  margin-top: 10px;
  line-height: 1.5;
  text-align: center;
}

.reserva-success { text-align: center; padding: 16px 0; }
.success-icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  background: var(--red-glow);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700;
  animation: pop 0.5s ease;
}
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
.reserva-success h3 { font-size: 20px; margin-bottom: 10px; font-weight: 700; }
.reserva-success p { color: var(--grey-light); margin-bottom: 8px; font-size: 14px; }
.success-cta a { color: var(--red-glow); border-bottom: 1px solid; }
.success-share { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); }
.success-share p { font-size: 13px; margin-bottom: 12px; color: var(--grey); }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--green-wsp);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }

.reserva-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 540px;
  margin: 36px auto 0;
}
.stat { text-align: center; padding: 16px; background: rgba(255,255,255,0.02); border-radius: var(--radius); }
.stat strong { display: block; font-size: 28px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.stat span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }

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

.faq { padding: 80px 0; background: var(--black); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 4px 0;
}
.faq-item summary {
  padding: 18px 32px 18px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--grey);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { content: '−'; color: var(--red-glow); }
.faq-item summary:hover { color: var(--red-glow); }
.faq-item p {
  padding: 0 0 20px 0;
  color: var(--grey-light);
  font-size: 14px;
  line-height: 1.7;
}
.faq-item p strong { color: var(--white); font-weight: 700; }
.faq-cta { text-align: center; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); }
.faq-cta p { color: var(--grey); margin-bottom: 8px; font-size: 14px; }

/* ============================ STORY ============================ */

.story { padding: 80px 0; text-align: center; background: var(--black-deep); }
.story .section-title { max-width: 800px; margin: 0 auto 30px; }
.story-text { max-width: 600px; margin: 0 auto 30px; font-size: 15px; color: var(--grey-light); line-height: 1.8; }
.story-cta { margin-top: 30px; }

/* ============================ FOOTER ============================ */

.footer { background: var(--black); border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 50px 0 100px; }
.footer-top {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-logo { height: 24px; margin-bottom: 14px; }
.footer-brand p { color: var(--grey); font-size: 13px; line-height: 1.7; }
.footer-links h4 {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 12px;
}
.footer-links a {
  display: block;
  color: var(--grey-light);
  font-size: 13px;
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  text-align: center; padding-top: 24px;
  font-size: 11px; color: var(--grey);
}
.footer-mini { margin-top: 6px; opacity: 0.7; }

/* ============================ STICKY MOBILE CTA ============================ */

.sticky-cta {
  position: fixed;
  bottom: calc(12px + var(--safe-bottom));
  left: 12px;
  right: 12px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  color: var(--black);
  padding: 14px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
  animation: slideUp 0.6s ease-out 1s both;
  transition: all var(--transition);
}
.sticky-cta:hover, .sticky-cta:active {
  background: var(--red-glow);
  color: var(--white);
  transform: scale(1.02);
}
.sticky-cta-text { letter-spacing: 0.04em; text-transform: uppercase; font-size: 13px; }
.sticky-cta-stock {
  background: var(--black);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.sticky-cta:hover .sticky-cta-stock { background: rgba(0,0,0,0.3); }
@keyframes slideUp { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: translateY(0); } }

/* ============================ WHATSAPP FLOATING ============================ */

.wsp-float {
  position: fixed;
  bottom: calc(80px + var(--safe-bottom));
  right: 16px;
  z-index: 89;
  width: 48px; height: 48px;
  background: var(--green-wsp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  transition: all var(--transition);
  animation: slideUp 0.6s ease-out 1.5s both;
}
.wsp-float svg { width: 24px; height: 24px; }
.wsp-float:hover, .wsp-float:active { transform: scale(1.1); }

/* ============================ COOKIES BANNER ============================ */

.cookies {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(80px + var(--safe-bottom));
  z-index: 95;
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: slideUp 0.6s ease-out;
  max-width: 480px;
  margin: 0 auto;
}
.cookies p { font-size: 12px; color: var(--grey-light); line-height: 1.5; margin-bottom: 12px; }
.cookies a { color: var(--white); text-decoration: underline; }
.cookies-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* ============================ EXIT INTENT POPUP ============================ */

.popup {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.popup[hidden] { display: none !important; }

/* Respetar atributo hidden en todos los elementos display:flex */
[hidden] { display: none !important; }
.popup-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); }
.popup-content {
  position: relative;
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 32px 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  animation: popupIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes popupIn { from { opacity: 0; transform: scale(0.85) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.popup-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  font-size: 24px;
  color: var(--grey);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}
.popup-close:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.popup-content h3 { font-size: 24px; margin: 12px 0; font-weight: 800; }
.popup-content p { color: var(--grey-light); font-size: 14px; margin-bottom: 20px; }
.popup-content p strong { color: var(--red-glow); }
.popup-form { display: flex; flex-direction: column; gap: 10px; }
.popup-mini { font-size: 11px; color: var(--grey); margin-top: 12px; }

/* ============================ MODAL LEGAL ============================ */

.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none !important; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); }
.modal-content {
  position: relative;
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 32px 24px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  animation: popupIn 0.3s ease;
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  font-size: 24px;
  color: var(--grey);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  z-index: 2;
  transition: all var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.modal-content h2 { font-size: 24px; margin-bottom: 4px; font-weight: 800; }
.modal-content h3 { font-size: 15px; margin-top: 20px; margin-bottom: 8px; font-weight: 700; color: var(--white); }
.modal-content p { font-size: 13px; color: var(--grey-light); line-height: 1.7; margin-bottom: 8px; }
.modal-content a { color: var(--red-glow); text-decoration: underline; }
.modal-meta { font-size: 11px; color: var(--grey); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }

/* ============================ TABLET (≥640px) ============================ */

@media (min-width: 640px) {
  .container { padding: 0 32px; }
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .reserva-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr; gap: 40px; text-align: left; }
  .reserva-card { padding: 48px 36px; }
  .features, .specs, .reserva, .story, .faq, .atleta { padding: 100px 0; }
  .hero-trust { gap: 32px; padding: 16px 32px; }
  .trust-num { font-size: 26px; }
}

/* ============================ DESKTOP (≥900px) ============================ */

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .wsp-float { bottom: 24px; }
  .cookies { right: 24px; left: auto; bottom: 24px; max-width: 380px; }
  .nav-cta { padding: 10px 20px; font-size: 13px; }
  .features-grid { gap: 32px; }
  .feature { padding: 48px 32px; }
  .lifestyle, .lifestyle-overlay { min-height: 600px; }
  .lifestyle-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
    text-align: left;
  }
  .lifestyle-overlay .container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
  .discipline-list { justify-content: flex-start; }
  .atleta-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .atleta-image { max-width: none; }
  .specs-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .container { padding: 0 40px; }
  .features, .specs, .reserva, .story, .faq, .atleta { padding: 120px 0; }
}

/* ============================ DESKTOP LARGE (≥1200px) ============================ */

@media (min-width: 1200px) {
  .hero-title-center { font-size: 76px; }
}

/* ============================ ACCESSIBILITY ============================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg-video { display: none; }
  .hero-video { background: var(--black) url('assets/hero_producto.jpg') center/cover no-repeat; }
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--red-glow);
  outline-offset: 2px;
}
