/* ═══════════════════════════════════════════
   VILLARREAL DYC — main.css
   ═══════════════════════════════════════════ */

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

:root {
  --azul:        #1B3A6B;
  --azul-oscuro: #0D1F3C;
  --azul-deep:   #060F1E;
  --azul-borde:  rgba(100,160,255,0.12);
  --blanco:      #FFFFFF;
  --blanco-15:   rgba(255,255,255,0.15);
  --blanco-07:   rgba(255,255,255,0.07);
  --oro:         #C8A84B;
  --oro-claro:   #E8C96A;
  --texto:       #D8E4F0;
  --texto-muted: #7A99BB;
  --fd: 'Bebas Neue', sans-serif;
  --fc: 'Barlow Condensed', sans-serif;
  --fb: 'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--azul-deep);
  color: var(--texto);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 72px;
  background: rgba(6,15,30,0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--azul-borde);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-img {
  width: 46px; height: 46px; object-fit: contain; border-radius: 4px;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 10px rgba(100,160,255,0.3)) brightness(1.05);
}
.nav-nombre { display: flex; flex-direction: column; line-height: 1.1; }
.nav-nombre span:first-child { font-family: var(--fd); font-size: 20px; color: var(--blanco); letter-spacing: 1.5px; }
.nav-nombre span:last-child  { font-family: var(--fb); font-size: 10px; font-weight: 300; color: var(--oro-claro); letter-spacing: 3px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-family: var(--fc); font-size: 15px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--texto-muted); text-decoration: none;
  transition: color .2s; padding: 4px 0; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--oro-claro); transition: width .3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--oro-claro); }
.nav-links a:hover::after { width: 100%; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::before {
  content: '▾'; font-size: 10px; position: absolute;
  right: -13px; top: 50%; transform: translateY(-50%);
  color: var(--oro-claro); opacity: .7; transition: transform .2s;
}
.nav-dropdown.is-open > a::before { transform: translateY(-50%) rotate(180deg); }

.dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--azul-oscuro); border: 1px solid var(--azul-borde); border-radius: 8px;
  min-width: 170px; padding: 12px 0 8px; margin-top: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  pointer-events: none;
}
.dropdown-menu.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: all; }
.dropdown-menu a {
  display: block; padding: 10px 20px;
  font-family: var(--fc); font-size: 14px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--texto-muted); text-decoration: none;
  transition: color .2s, background .2s; white-space: nowrap;
}
.dropdown-menu a:hover { color: var(--oro-claro); background: rgba(200,168,75,.06); }
.dropdown-menu a::after { display: none !important; }

.nav-socio {
  font-family: var(--fc); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 9px 20px; background: var(--oro); color: var(--azul-deep);
  border: none; border-radius: 4px; cursor: pointer;
  text-decoration: none; transition: background .2s; white-space: nowrap; display: inline-block;
}
.nav-socio:hover { background: var(--oro-claro); }

/* Burger */
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--blanco); margin: 5px 0; }

/* ── PAGE WRAPPER ── */
.page-content { padding-top: 72px; }

/* ── FLOATING CTA ── */
.floating-cta {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 900;
  writing-mode: vertical-rl; text-orientation: mixed;
  background: var(--oro); color: var(--azul-deep);
  font-family: var(--fd); font-size: 18px; letter-spacing: 3px;
  padding: 22px 12px; border-radius: 8px 0 0 8px;
  cursor: pointer; text-decoration: none;
  box-shadow: -4px 0 24px rgba(200,168,75,.3);
  transition: background .2s, padding .2s;
  border: none; outline: none;
}
.floating-cta:hover { background: var(--oro-claro); padding-left: 18px; }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 901;
  display: flex; align-items: center;
  text-decoration: none;
  filter: drop-shadow(0 4px 16px rgba(37,211,102,.4));
  transition: filter .25s;
}
.whatsapp-float:hover { filter: drop-shadow(0 6px 28px rgba(37,211,102,.65)); }
.whatsapp-float:hover .wa-label { max-width: 200px; opacity: 1; padding: 0 14px 0 16px; }
.whatsapp-float:hover .wa-btn { background: #20c75a; transform: scale(1.06); }
.wa-label {
  background: #25d366; color: #fff;
  font-family: var(--fc); font-size: 13px; font-weight: 700; letter-spacing: .8px;
  white-space: nowrap; overflow: hidden;
  max-width: 0; opacity: 0;
  height: 56px; display: flex; align-items: center;
  border-radius: 28px 0 0 28px;
  transition: max-width .35s cubic-bezier(.4,0,.2,1),
              opacity .3s ease, padding .35s cubic-bezier(.4,0,.2,1);
}
.wa-btn {
  width: 56px; height: 56px; min-width: 56px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
  animation: wa-pulse 2.6s ease-out infinite;
}
.wa-btn:active { transform: scale(.91) !important; }
.wa-btn svg { width: 28px; height: 28px; fill: #fff; display: block; }
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  65%  { box-shadow: 0 0 0 13px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 520px) {
  .whatsapp-float { bottom: 20px; right: 16px; }
  .wa-label { display: none; }
}

/* ── GENERALS ── */
.section-wrap { padding: 100px 5% 80px; }

.section-label {
  font-family: var(--fc); font-size: 11px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase; color: var(--oro-claro);
  margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ''; display: inline-block; width: 32px; height: 2px; background: var(--oro-claro); }

.section-title {
  font-family: var(--fd); font-size: clamp(48px,7vw,80px);
  line-height: .95; color: var(--blanco); letter-spacing: 1px;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .10s; }
.reveal-d2 { transition-delay: .20s; }
.reveal-d3 { transition-delay: .30s; }
.reveal-d4 { transition-delay: .40s; }

/* ── HERO (index) ── */
.hero-section {
  position: relative; display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center; gap: 40px;
  padding: 140px 5% 80px;
  overflow: hidden; min-height: 100vh;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(27,58,107,.45) 0%, transparent 70%), var(--azul-deep);
  overflow: hidden;
}
.hero-bg::after {
  content: 'VILLARREAL'; position: absolute; bottom: -60px; right: -40px;
  font-family: var(--fd); font-size: clamp(100px,18vw,240px);
  color: rgba(100,160,255,.04); white-space: nowrap; pointer-events: none;
  user-select: none; letter-spacing: -4px; line-height: 1;
}
.hero-stars { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-stars span {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: rgba(255,255,255,.4); animation: twinkle 3s infinite alternate;
}
@keyframes twinkle { 0%{opacity:.2} 100%{opacity:.9} }
.hero-logo-col {
  display: flex; justify-content: center; align-items: center;
  position: relative; z-index: 0;
}
.hero-logo-grande {
  width: min(42vw, 460px); opacity: .7; pointer-events: none;
  mix-blend-mode: screen; filter: brightness(2.5) contrast(1.2) saturate(1.4);
  clip-path: ellipse(42% 50% at 50% 50%);
  display: block;
}
.hero-content { position: relative; z-index: 1; }
.hero-tagline {
  font-family: var(--fc); font-size: 13px; font-weight: 700;
  letter-spacing: 5px; text-transform: uppercase; color: var(--oro-claro);
  margin-bottom: 24px; display: flex; align-items: center; gap: 14px;
}
.hero-tagline::before { content: ''; display: inline-block; width: 48px; height: 2px; background: var(--oro-claro); }
.hero-title {
  font-family: var(--fd); font-size: clamp(60px,10vw,120px);
  line-height: .9; color: var(--blanco); letter-spacing: 2px; margin-bottom: 8px;
}
.hero-title .dorado { color: var(--oro-claro); }
.hero-subtitle {
  font-family: var(--fd); font-size: clamp(24px,4vw,48px);
  color: rgba(255,255,255,.2); letter-spacing: 4px; margin-bottom: 32px; line-height: 1;
}
.hero-desc {
  font-size: 17px; font-weight: 300; color: var(--texto-muted);
  max-width: 500px; line-height: 1.85; margin-bottom: 48px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 48px; margin-top: 72px; padding-top: 40px;
  border-top: 1px solid var(--blanco-07); flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--fd); font-size: 44px; color: var(--oro-claro); line-height: 1; }
.stat-label { font-family: var(--fc); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--texto-muted); }

/* ── BUTTONS ── */
.btn-primary {
  font-family: var(--fc); font-size: 14px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none;
  padding: 16px 36px; background: var(--oro); color: var(--azul-deep);
  border: none; border-radius: 4px; cursor: pointer;
  transition: background .2s, transform .15s; display: inline-block;
}
.btn-primary:hover { background: var(--oro-claro); transform: translateY(-2px); }
.btn-secondary {
  font-family: var(--fc); font-size: 14px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none;
  padding: 16px 36px; background: transparent; color: var(--blanco);
  border: 1px solid var(--blanco-15); border-radius: 4px; cursor: pointer;
  transition: border-color .2s, color .2s; display: inline-block;
}
.btn-secondary:hover { border-color: var(--oro-claro); color: var(--oro-claro); }

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  padding: 120px 5% 60px;
  background: var(--azul-oscuro);
  border-bottom: 1px solid var(--azul-borde);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: attr(data-title);
  position: absolute; right: -20px; bottom: -40px;
  font-family: var(--fd); font-size: clamp(80px,14vw,180px);
  color: rgba(100,160,255,.04); pointer-events: none;
  user-select: none; line-height: 1; letter-spacing: 2px;
}
.page-hero .section-label { margin-bottom: 12px; }
.page-hero p { font-size: 17px; font-weight: 300; color: var(--texto-muted); max-width: 600px; margin-top: 16px; line-height: 1.8; }

/* ── CARDS ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 24px; }
.card {
  background: var(--azul-oscuro); border: 1px solid var(--azul-borde);
  border-radius: 10px; padding: 28px;
  transition: border-color .2s, transform .2s; position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--oro); opacity: 0; transition: opacity .2s;
}
.card:hover { border-color: rgba(200,168,75,.35); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card-icon { font-size: 28px; margin-bottom: 16px; }
.card h4 {
  font-family: var(--fc); font-size: 20px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--blanco); margin-bottom: 8px;
}
.card p { font-size: 14px; font-weight: 300; color: var(--texto-muted); line-height: 1.7; margin-bottom: 20px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--fc); font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 4px;
  background: rgba(200,168,75,.12); color: var(--oro-claro);
}

/* ── INFO STRIP ── */
.info-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 1px; background: var(--azul-borde); border-radius: 10px;
  overflow: hidden; margin-bottom: 28px;
}
.strip-item { background: var(--azul-oscuro); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.strip-item-label { font-family: var(--fc); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--texto-muted); }
.strip-item-val { font-family: var(--fd); font-size: 26px; color: var(--oro-claro); line-height: 1; }

/* ── TABS ── */
.tabs-bar {
  display: inline-flex; gap: 5px;
  background: rgba(6,15,30,.6); padding: 5px; border-radius: 8px;
  border: 1px solid var(--azul-borde); margin-bottom: 40px;
}
.tab-btn {
  font-family: var(--fc); font-size: 14px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 11px 28px;
  border: none; border-radius: 6px; background: transparent;
  color: var(--texto-muted); cursor: pointer;
  transition: background .2s, color .2s; white-space: nowrap;
}
.tab-btn.active { background: var(--oro); color: var(--azul-deep); }
.tab-btn:not(.active):hover { color: var(--blanco); background: rgba(255,255,255,.05); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Sticky tabs (voley) */
.tabs-sticky {
  position: sticky; top: 72px; z-index: 50;
  background: rgba(6,15,30,.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--azul-borde);
  padding: 14px 5%;
  margin: 0 -5% 40px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.tabs-sticky .tabs-label {
  font-family: var(--fc); font-size: 12px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--texto-muted); white-space: nowrap;
}
.tabs-sticky .tabs-sep { width: 1px; height: 28px; background: var(--azul-borde); }

/* ── INSTAGRAM FEED ── */
.ig-feed-section { margin-top: 40px; }
.ig-feed-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
  padding-bottom: 18px; border-bottom: 1px solid var(--azul-borde);
}
.ig-feed-avatar {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--oro); flex-shrink: 0; background: var(--azul-deep);
  mix-blend-mode: screen; filter: brightness(1.1);
}
.ig-feed-avatar-red {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  border: 2px solid #cc0000; flex-shrink: 0;
}
.ig-feed-meta { flex: 1; }
.ig-feed-meta strong { display: block; font-family: var(--fc); font-size: 16px; font-weight: 700; letter-spacing: 1px; color: var(--blanco); }
.ig-feed-meta span { font-size: 13px; font-weight: 300; color: var(--texto-muted); }
.ig-feed-follow {
  font-family: var(--fc); font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 8px 18px; border-radius: 20px; text-decoration: none;
  border: 1px solid var(--azul-borde); color: var(--texto-muted);
  transition: border-color .2s, color .2s;
}
.ig-feed-follow:hover { border-color: var(--oro-claro); color: var(--oro-claro); }
.ig-feed-follow svg { width: 14px; height: 14px; fill: currentColor; vertical-align: -2px; margin-right: 4px; }
.ig-posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.ig-post-card {
  aspect-ratio: 1/1; border-radius: 8px; overflow: hidden;
  position: relative; cursor: pointer; background: var(--azul-oscuro);
  border: 1px solid var(--azul-borde); transition: transform .2s, border-color .2s;
  text-decoration: none; display: block;
}
.ig-post-card:hover { transform: scale(1.02); border-color: rgba(200,168,75,.35); }
.ig-post-card:hover .ig-post-overlay { opacity: 1; }
.ig-post-bg {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; position: relative; overflow: hidden;
}
.ig-post-num { font-family: var(--fd); font-size: clamp(28px,5vw,52px); color: rgba(255,255,255,.06); user-select: none; pointer-events: none; position: absolute; }
.ig-post-icon { font-size: 28px; position: relative; z-index: 1; }
.ig-post-overlay {
  position: absolute; inset: 0; background: rgba(6,15,30,.78);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  opacity: 0; transition: opacity .2s;
}
.ig-post-overlay-txt { font-family: var(--fc); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blanco); }
.ig-post-overlay svg { width: 22px; height: 22px; fill: var(--blanco); }
.ig-post-tag {
  position: absolute; bottom: 8px; left: 8px;
  font-family: var(--fc); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px; background: rgba(6,15,30,.75); color: var(--texto-muted);
}
.ig-post-bg.red-1 { background: linear-gradient(135deg,#8B0000,#cc0000); }
.ig-post-bg.red-2 { background: linear-gradient(135deg,#990000,#b30000); }
.ig-post-bg.red-3 { background: linear-gradient(135deg,#770000,#aa0000); }
.ig-post-bg.blue-1 { background: linear-gradient(135deg,#0D1F3C,#1B3A6B); }
.ig-post-bg.blue-2 { background: linear-gradient(135deg,#0a1830,#163360); }
.ig-post-bg.blue-3 { background: linear-gradient(135deg,#08152a,#122c55); }

/* ── FEATURE ITEMS ── */
.features-list { display: flex; flex-direction: column; gap: 14px; }
.feature-item {
  display: flex; align-items: flex-start; gap: 16px; padding: 18px;
  background: rgba(27,58,107,.25); border-radius: 8px;
  border: 1px solid var(--azul-borde); transition: border-color .2s;
}
.feature-item:hover { border-color: rgba(200,168,75,.25); }
.feature-icon {
  font-size: 22px; min-width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(200,168,75,.1); border-radius: 8px;
}
.feature-item h5 {
  font-family: var(--fc); font-size: 15px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase; color: var(--blanco); margin-bottom: 4px;
}
.feature-item p { font-size: 13px; font-weight: 300; color: var(--texto-muted); line-height: 1.6; margin: 0; }

/* ── PILETA PRIDE ── */
.pileta-pride {
  background: linear-gradient(135deg, rgba(27,58,107,.8) 0%, rgba(6,15,30,.9) 100%);
  border: 1px solid rgba(200,168,75,.3); border-left: 5px solid var(--oro);
  border-radius: 0 12px 12px 0; padding: 32px 36px; margin: 40px 0 0;
  position: relative; overflow: hidden;
}
.pileta-pride::before {
  content: '1°'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-family: var(--fd); font-size: 120px; color: rgba(200,168,75,.06); line-height: 1; pointer-events: none;
}
.pileta-pride h3 { font-family: var(--fd); font-size: clamp(22px,3vw,34px); color: var(--oro-claro); letter-spacing: 2px; margin-bottom: 10px; }
.pileta-pride p { font-size: 15px; font-weight: 300; color: rgba(216,228,240,.8); line-height: 1.8; max-width: 680px; margin: 0; }

/* ── BLOCKQUOTE ── */
.blockquote {
  border-left: 3px solid var(--oro); padding: 20px 28px; margin: 36px 0;
  background: rgba(200,168,75,.05); border-radius: 0 8px 8px 0;
}
.blockquote p { font-size: 18px; font-style: italic; color: rgba(255,255,255,.88); font-weight: 300; line-height: 1.7; margin: 0; }

/* ── TIMELINE ── */
.timeline { display: flex; flex-direction: column; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 20px; top: 24px; bottom: 24px;
  width: 2px; background: linear-gradient(to bottom, var(--oro), rgba(200,168,75,.1));
}
.timeline-item { display: flex; gap: 24px; padding: 0 0 36px; align-items: flex-start; position: relative; }
.timeline-dot {
  width: 42px; height: 42px; min-width: 42px; border-radius: 50%; background: var(--oro);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fd); font-size: 10.5px; color: var(--azul-deep); position: relative; z-index: 1;
}
.timeline-content h4 { font-family: var(--fc); font-size: 17px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--oro-claro); margin-bottom: 6px; }
.timeline-content p { font-size: 14px; font-weight: 300; color: var(--texto-muted); line-height: 1.7; margin: 0; }

/* ── FORM ── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: var(--fc); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--texto-muted); margin-bottom: 8px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--azul-borde);
  border-radius: 6px; padding: 14px 16px; color: var(--blanco);
  font-family: var(--fb); font-size: 14px; font-weight: 300;
  transition: border-color .2s; outline: none; -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--oro); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.18); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--azul-oscuro); color: var(--blanco); }
.form-submit {
  width: 100%; font-family: var(--fc); font-size: 15px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 16px; background: var(--oro); color: var(--azul-deep);
  border: none; border-radius: 6px; cursor: pointer; margin-top: 8px;
  transition: background .2s, transform .15s;
}
.form-submit:hover { background: var(--oro-claro); transform: translateY(-1px); }
.form-card { background: var(--azul-deep); border: 1px solid var(--azul-borde); border-radius: 12px; padding: 40px; }
.form-title { font-family: var(--fc); font-size: 22px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--blanco); margin-bottom: 28px; }

/* ── CREDENCIAL ── */
.credencial-wrapper { perspective: 1000px; width: 380px; max-width: 100%; cursor: pointer; }
.credencial-inner {
  position: relative; width: 100%; aspect-ratio: 85.6/54;
  transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(.4,0,.2,1); border-radius: 16px;
}
.credencial-wrapper.flipped .credencial-inner { transform: rotateY(180deg); }
.credencial-front, .credencial-back {
  position: absolute; inset: 0; border-radius: 16px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden;
}
.credencial-front {
  background: linear-gradient(135deg, #0A1628 0%, #1B3A6B 60%, #0D2448 100%);
  border: 1px solid rgba(200,168,75,.35);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.07);
  display: flex; flex-direction: column;
}
.cred-top-bar { background: var(--oro); padding: 7px 18px; display: flex; align-items: center; justify-content: space-between; }
.cred-top-bar span { font-family: var(--fd); font-size: 13px; letter-spacing: 2px; color: var(--azul-deep); }
.cred-top-bar .cred-year { font-family: var(--fc); font-size: 11px; font-weight: 700; color: rgba(6,15,30,.6); }
.cred-body { flex: 1; padding: 14px 18px; display: flex; gap: 14px; align-items: center; }
.cred-logo-wrap { width: 52px; height: 52px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: white; display: flex; align-items: center; justify-content: center; }
.cred-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.cred-club-name { font-family: var(--fd); font-size: 16px; color: var(--blanco); letter-spacing: 1px; line-height: 1; margin-bottom: 2px; }
.cred-club-sub { font-family: var(--fc); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--oro-claro); margin-bottom: 10px; }
.cred-member-name { font-family: var(--fc); font-size: 15px; font-weight: 700; color: var(--blanco); letter-spacing: .5px; }
.cred-member-num { font-family: var(--fc); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: var(--texto-muted); text-transform: uppercase; }
.cred-footer { padding: 0 18px 12px; display: flex; justify-content: space-between; align-items: flex-end; }
.cred-cat { font-family: var(--fc); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--oro-claro); background: rgba(200,168,75,.12); padding: 3px 8px; border-radius: 4px; border: 1px solid rgba(200,168,75,.2); }
.cred-valid { font-family: var(--fc); font-size: 10px; font-weight: 600; letter-spacing: 1px; color: var(--texto-muted); text-align: right; }
.cred-valid strong { display: block; color: var(--blanco); font-size: 12px; }
.cred-lines { position: absolute; right: 0; top: 0; bottom: 0; width: 60px; pointer-events: none; overflow: hidden; opacity: .08; }
.cred-lines::before { content: ''; position: absolute; right: -20px; top: -20px; width: 140px; height: 140px; border-radius: 50%; border: 30px solid var(--oro); }
.cred-lines::after { content: ''; position: absolute; right: 10px; bottom: -30px; width: 80px; height: 80px; border-radius: 50%; border: 20px solid var(--oro); }
.credencial-back {
  background: linear-gradient(135deg, #0D2448 0%, #1B3A6B 100%);
  border: 1px solid rgba(200,168,75,.35);
  transform: rotateY(180deg); display: flex; flex-direction: column; padding: 14px 18px; gap: 10px;
}
.cred-back-strip { height: 32px; background: rgba(0,0,0,.5); border-radius: 4px; margin: 0 -4px; }
.cred-qr-row { display: flex; align-items: center; gap: 14px; flex: 1; }
.cred-qr { width: 64px; height: 64px; flex-shrink: 0; background: white; border-radius: 6px; padding: 6px; display: grid; grid-template-columns: repeat(5,1fr); gap: 2px; }
.cred-qr-cell { background: #0A1628; border-radius: 1px; }
.cred-qr-cell.w { background: transparent; }
.cred-back-info p { font-family: var(--fc); font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--texto-muted); line-height: 1.9; }
.cred-back-info p strong { color: var(--oro-claro); }
.cred-back-bottom { display: flex; justify-content: space-between; align-items: center; }
.cred-back-logo { font-family: var(--fd); font-size: 14px; letter-spacing: 2px; color: rgba(255,255,255,.2); }
.cred-back-web { font-family: var(--fc); font-size: 10px; font-weight: 600; letter-spacing: 1px; color: rgba(200,168,75,.4); }
.cred-hint { font-family: var(--fc); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--texto-muted); margin-top: 12px; text-align: center; }
.credencial-display { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; margin-top: 16px; }
.credencial-teaser { font-family: var(--fc); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--oro-claro); margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.credencial-teaser::before { content: '★'; font-size: 14px; }
.credencial-desc h4 { font-family: var(--fd); font-size: 26px; color: var(--blanco); letter-spacing: 1px; margin-bottom: 10px; }
.credencial-desc p { font-size: 14px; font-weight: 300; color: var(--texto-muted); line-height: 1.8; margin-bottom: 16px; }
.credencial-desc ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.credencial-desc ul li { font-size: 13px; font-weight: 300; color: var(--texto-muted); display: flex; align-items: center; gap: 8px; }
.credencial-desc ul li::before { content: '✓'; color: var(--oro-claro); font-weight: 700; font-size: 12px; flex-shrink: 0; }

/* ── MODAL ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(6,15,30,.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--azul-oscuro); border: 1px solid rgba(200,168,75,.3); border-radius: 16px; padding: 48px; width: 100%; max-width: 460px; position: relative; }
.modal-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg,var(--oro),var(--oro-claro)); border-radius: 16px 16px 0 0; }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--texto-muted); font-size: 22px; cursor: pointer; line-height: 1; padding: 4px 8px; transition: color .2s; }
.modal-close:hover { color: var(--blanco); }
.login-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fc); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--oro-claro); background: rgba(200,168,75,.1); padding: 6px 14px; border-radius: 20px; margin-bottom: 24px; border: 1px solid rgba(200,168,75,.2); }
.login-badge::before { content: '●'; font-size: 8px; }
.login-title { font-family: var(--fd); font-size: 28px; color: var(--blanco); letter-spacing: 1px; margin-bottom: 6px; }
.login-sub { font-size: 13px; font-weight: 300; color: var(--texto-muted); margin-bottom: 32px; }
.login-btn { width: 100%; font-family: var(--fc); font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 16px; background: var(--oro); color: var(--azul-deep); border: none; border-radius: 6px; cursor: pointer; transition: background .2s, transform .15s; }
.login-btn:hover { background: var(--oro-claro); transform: translateY(-1px); }
.login-divider { text-align: center; font-family: var(--fc); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--texto-muted); margin: 20px 0; position: relative; }
.login-divider::before { content: ''; position: absolute; left: 0; top: 50%; width: 40%; height: 1px; background: var(--azul-borde); }
.login-divider::after  { content: ''; position: absolute; right: 0; top: 50%; width: 40%; height: 1px; background: var(--azul-borde); }
.login-secondary { width: 100%; font-family: var(--fc); font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 14px; background: transparent; color: var(--oro-claro); border: 1px solid rgba(200,168,75,.3); border-radius: 6px; cursor: pointer; transition: background .2s, border-color .2s; }
.login-secondary:hover { background: rgba(200,168,75,.06); border-color: var(--oro-claro); }
.coming-soon-overlay { position: absolute; inset: 0; border-radius: 14px; background: rgba(6,15,30,.75); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; z-index: 5; }
.coming-soon-badge { font-family: var(--fd); font-size: 32px; color: var(--oro-claro); letter-spacing: 3px; }
.coming-soon-txt { font-family: var(--fc); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--texto-muted); }
.coming-toggle { font-family: var(--fc); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--oro-claro); background: transparent; border: 1px solid rgba(200,168,75,.3); border-radius: 20px; padding: 8px 18px; cursor: pointer; transition: background .2s; margin-top: 4px; }
.coming-toggle:hover { background: rgba(200,168,75,.1); }

/* ── HORARIOS TABLE ── */
.horarios-titulo { font-family: var(--fc); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--oro-claro); margin: 36px 0 16px; }
.horarios-tabla { width: 100%; border-collapse: collapse; }
.horarios-tabla tr { border-bottom: 1px solid var(--azul-borde); }
.horarios-tabla tr:last-child { border-bottom: none; }
.horarios-tabla td { padding: 13px 0; font-size: 14px; font-weight: 300; color: var(--texto-muted); vertical-align: top; }
.horarios-tabla td:first-child { font-family: var(--fc); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--blanco); width: 40%; padding-right: 20px; }

/* ── FOOTER ── */
footer { background: var(--azul-oscuro); border-top: 1px solid var(--azul-borde); padding: 60px 5% 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; font-weight: 300; color: var(--texto-muted); line-height: 1.7; margin-top: 16px; max-width: 260px; }
.footer-col h4 { font-family: var(--fc); font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--texto-muted); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; font-weight: 300; color: rgba(216,228,240,.4); text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: var(--oro-claro); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--blanco-07); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; font-weight: 300; color: rgba(255,255,255,.2); }
.footer-bottom p span { color: var(--oro-claro); }

/* ── TOUCH — elimina delay 300ms en botones ── */
button, a, .btn-primary, .btn-secondary, .tab-btn,
.nav-socio, .login-btn, .form-submit, .floating-cta {
  touch-action: manipulation;
}

/* ── TOUCH — overlay visible en dispositivos sin hover ── */
@media (hover: none) {
  .ig-post-overlay { opacity: 1; background: rgba(6,15,30,.55); }
  .card:hover { transform: none; }
  .ig-post-card:hover { transform: none; }
  .btn-primary:hover { transform: none; }
}

/* ── TABLET (769px – 960px) ── */
@media (min-width: 769px) and (max-width: 960px) {
  .hero-section { padding: 110px 5% 60px; grid-template-columns: 1fr; }
  .hero-logo-col { display: none; }
  .hero-stats { gap: 28px; margin-top: 48px; }
  .section-title { font-size: clamp(40px,6vw,68px); }
  .modal-box { padding: 36px 30px; }
  .form-card { padding: 28px; }
  .credencial-display { flex-direction: column; gap: 28px; }
  .credencial-wrapper { max-width: 380px; }
  .tabs-bar { flex-wrap: wrap; width: 100%; display: flex; }
  .tab-btn { padding: 10px 20px; font-size: 13px; }
  .tabs-sticky { gap: 12px; padding: 12px 5%; }
  .info-strip { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── MÓVIL (≤ 960px) ── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(6,15,30,.98); padding: 24px 5%; border-bottom: 1px solid var(--azul-borde); gap: 12px; }
  .nav-dropdown > a::before { display: none; }
  .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: all; background: transparent; border: none; padding: 4px 0 0 16px; }
  .nav-burger { display: block; }
  .nav-socio { display: none; }
  .floating-cta { font-size: 14px; padding: 18px 10px; }
  .two-col { grid-template-columns: 1fr !important; gap: 40px !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-logo-col { display: none; }
  .hero-section { grid-template-columns: 1fr; }
  .page-hero { padding: 100px 5% 48px; }
  .form-card { padding: 28px 20px; }
}

/* ── MÓVIL PEQUEÑO (≤ 520px) ── */
@media (max-width: 520px) {
  .tab-btn { padding: 9px 14px; font-size: 12px; }
  .floating-cta { font-size: 12px; padding: 16px 9px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-section { padding: 100px 4% 56px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-primary,
  .hero-btns .btn-secondary { text-align: center; width: 100%; }
  .hero-stats { gap: 24px; }
  .modal-box { padding: 28px 18px; }
  .form-card { padding: 20px 16px; }
  .tabs-bar { display: flex; flex-wrap: wrap; width: 100%; }
  .info-strip { grid-template-columns: repeat(2,1fr); }
  .section-title { font-size: clamp(38px,10vw,64px); }
  .credencial-wrapper { width: 100%; }
  .horarios-tabla td { font-size: 13px; }
  .horarios-tabla td:first-child { width: 45%; font-size: 12px; }
  .ig-posts-grid { gap: 8px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
