@charset "UTF-8";

:root {
  /* Fondos claros base arena/blanco */
  --bg-primary:   #FBF7F3;
  --bg-secondary: #F4ECE4;
  --bg-surface:   #FFFFFF;

  /* Accentos principales (paleta de marca Hidalgo — sin cambios) */
  --accent-wine:        #8B1A3A;
  --accent-wine-bright: #A8203E;
  --accent-wine-dark:   #5C1128;
  --accent-sand:        #A9854E;   /* arena más oscura para contraste sobre fondo claro */
  --accent-sand-light:  #C4A576;
  --accent-gold:        #9A6F2E;   /* dorado más profundo, legible sobre claro */

  /* Aliases de compatibilidad — los var() del CSS original apuntan a estos */
  --accent-cyan:    #A9854E;   /* arena reemplaza cyan   */
  --accent-pink:    #A8203E;   /* vino brillante          */
  --accent-purple:  #8B1A3A;   /* vino oscuro reemplaza purple */

  /* Glassmorphism sobre fondo claro */
  --glass-bg:    rgba(255, 255, 255, 0.55);
  --glass-border: rgba(139,  26,  58, 0.16);
  --glass-hover: rgba(255, 255, 255, 0.78);

  /* Texto oscuro sobre fondo claro */
  --text-primary:   #2A0A12;
  --text-secondary: rgba(42, 10, 18, 0.72);
  --text-muted:     rgba(42, 10, 18, 0.45);
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }

body.futuristic-mode {
  background: var(--bg-primary) !important;
  color: var(--text-primary) !important;
  font-family: Fuente-Regular, 'Segoe UI', system-ui, sans-serif !important;
  overflow-x: hidden;
}

body.futuristic-mode::-webkit-scrollbar { width: 6px; }
body.futuristic-mode::-webkit-scrollbar-track { background: var(--bg-primary); }
body.futuristic-mode::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-wine), var(--accent-sand));
  border-radius: 3px;
}

/* ===== HERO — fondo transparente para que se vea el mapa ===== */
.futuristic-gradient-bg {
  position: relative;
  background: transparent;
}

/* ===== GLASS ===== */
.futuristic-glass {
  background:  var(--glass-bg) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 16px !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.futuristic-glass:hover {
  background: var(--glass-hover) !important;
  border-color: rgba(139, 26, 58, 0.3) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139, 26, 58, 0.12);
}

.futuristic-glass-card {
  background:  var(--glass-bg) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 20px !important;
  padding: 32px !important;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.futuristic-glass-card:hover {
  border-color: rgba(139, 26, 58, 0.32) !important;
  box-shadow: 0 0 48px rgba(139, 26, 58, 0.07) !important;
}

/* ===== TEXTO DESTACADO — dorado sólido, sin animación ===== */
.futuristic-glow-text {
  color: var(--accent-gold);
  text-shadow: 0 0 18px rgba(188, 149, 91, 0.25);
  display: inline-block;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* glow cálido vino/arena — color explícito para romper cualquier herencia */
.futuristic-neon-cyan {
  color: var(--text-primary) !important;
  text-shadow:
    0 0 8px  rgba(196, 165, 118, 0.35),
    0 0 24px rgba(139,  26,  58, 0.18);
}

/* ===== SECCIONES ===== */
.futuristic-section {
  padding: 100px 20px;
  position: relative;
}

/* ===== HERO ===== */
.futuristic-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
}

/* fade suave hacia el fondo de la siguiente sección */
.futuristic-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 130px;
  pointer-events: none;
  z-index: 0;
}

/* cuadrícula gubernamental vino */
.futuristic-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 26, 58, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 26, 58, 0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* glow principal vino */
.futuristic-hero-radial {
  position: absolute;
  width: 650px; height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 26, 58, 0.10) 0%, transparent 70%);
  top: 18%; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: pulseGlow 9s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { transform: translateX(-50%) scale(1);   opacity: 0.5; }
  50%       { transform: translateX(-50%) scale(1.25); opacity: 1;   }
}

/* glow secundario arena */
.futuristic-hero-radial-2 {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 26, 58, 0.06) 0%, transparent 70%);
  bottom: 10%; right: 10%;
  pointer-events: none;
  animation: pulseGlow2 11s ease-in-out infinite;
}
@keyframes pulseGlow2 {
  0%, 100% { transform: scale(1);   opacity: 0.35; }
  50%       { transform: scale(1.35); opacity: 0.75; }
}

/* logo escudo vino glow */
.futuristic-hero-logo {
  width: 100px; height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 22px rgba(139, 26, 58, 0.35));
}

/* decorador horizontal debajo del título (línea oficial) */
.futuristic-hero-title {
  font-family: Fuente-Bold, 'Segoe UI', sans-serif;
  font-size: clamp(2rem, 6vw, 5rem);
  text-align: center;
  line-height: 1.1;
  letter-spacing: 3px;
  position: relative;
  z-index: 1;
}
.futuristic-hero-title::after {
  content: '';
  display: block;
  width: 180px; height: 2px;
  margin: 20px auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-wine),
    var(--accent-sand),
    var(--accent-wine),
    transparent
  );
  border-radius: 2px;
}

.futuristic-hero-title-line       { display: block; }
.futuristic-hero-title-line-small {
  display: block;
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  opacity: 0.95;
  margin-top: 4px;
}

.futuristic-hero-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  text-align: center;
  max-width: 680px;
  margin-top: 28px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* logos del gobierno en el hero */
.futuristic-hero-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 64px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.futuristic-hero-logos img {
  height: auto;
  transition: all 0.4s;
  filter: brightness(0.92) saturate(0.85);
}
.futuristic-hero-logos img:hover {
  filter: brightness(1.08) saturate(1);
  transform: translateY(-4px);
}
.futuristic-hero-logos .logo-pueblo  { max-height: 140px; }
.futuristic-hero-logos .logo-hidalgo { max-height: 100px; }

/* ===== SECCIÓN BIENVENIDA ===== */
.futuristic-welcome {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}
.futuristic-welcome h2 {
  font-family: Fuente-Bold;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 24px;
  color: var(--accent-gold);
  text-shadow:
    0 0 8px  rgba(196, 165, 118, 0.3),
    0 0 24px rgba(139,  26,  58, 0.15);
}
.futuristic-welcome p {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  line-height: 1.85;
  color: var(--text-secondary);
}

/* ===== LAYOUT SPLIT ===== */
.futuristic-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  padding: 0 20px;
}
@media (max-width: 900px) {
  .futuristic-split { grid-template-columns: 1fr; gap: 40px; }
}

.futuristic-split-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.futuristic-split-image img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  border-radius: 14px;
  filter: drop-shadow(0 0 30px rgba(139, 26, 58, 0.10));
  transition: all 0.5s;
}
.futuristic-split-image img:hover {
  transform: scale(1.025);
  filter: drop-shadow(0 0 44px rgba(139, 26, 58, 0.18));
}

.futuristic-split-content {
  position: relative;
}
.futuristic-split-content h3 {
  font-family: Fuente-Bold;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.futuristic-split-content p {
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  line-height: 1.85;
  color: var(--text-secondary);
}
.futuristic-split-content .accent {
  color: var(--accent-sand);
  font-family: Fuente-Bold;
}

/* borde lateral decorativo en split */
.futuristic-split-content::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 15%; bottom: 15%;
  width: 3px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--accent-wine),
    var(--accent-sand),
    transparent
  );
  border-radius: 2px;
  opacity: 0.6;
}

/* ===== CABECERA DE SECCIÓN ===== */
.futuristic-cards-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.futuristic-section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}
.futuristic-section-header h2 {
  font-family: Fuente-Bold;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--accent-gold);
  text-shadow: 0 0 18px rgba(188, 149, 91, 0.22);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.futuristic-section-header::after {
  content: '';
  display: block;
  width: 90px; height: 3px;
  margin: 16px auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-wine),
    var(--accent-sand),
    transparent
  );
  border-radius: 2px;
}
.futuristic-section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 0;
}

.futuristic-section-cta-wrap {
  text-align: center;
  margin-bottom: 40px;
}

/* ===== BOTÓN PRIMARIO ===== */
.futuristic-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 44px;
  border-radius: 50px;
  font-family: Fuente-Bold, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, var(--accent-wine), var(--accent-wine-dark));
  border: 1px solid rgba(139, 26, 58, 0.28);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 0 0 rgba(139, 26, 58, 0);
}
.futuristic-btn-primary::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 50px; padding: 1px;
  background: linear-gradient(135deg, var(--accent-wine), var(--accent-sand), var(--accent-sand-light));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity 0.4s;
}
.futuristic-btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(139,26,58,0.18), rgba(196,165,118,0.10));
  opacity: 0;
  transition: opacity 0.4s;
}
.futuristic-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 32px rgba(139, 26, 58, 0.18),
    0 8px 28px rgba(139, 26, 58, 0.18);
  border-color: rgba(139, 26, 58, 0.45);
  color: #fff !important;
  text-decoration: none !important;
}
.futuristic-btn-primary:hover::after { opacity: 1; }
.futuristic-btn-primary .btn-icon {
  font-size: 1.2rem;
  transition: transform 0.4s;
}
.futuristic-btn-primary:hover .btn-icon { transform: translateX(4px); }

/* ===== GRID DE TARJETAS (scroll horizontal) ===== */
.futuristic-cards-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 30px 4px 40px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.futuristic-cards-grid::-webkit-scrollbar { display: none; }

/* ===== TARJETA ===== */
.futuristic-card {
  min-width: 300px; max-width: 300px;
  padding: 36px 28px;
  background: linear-gradient(
    160deg,
    rgba(196, 165, 118, 0.05) 0%,
    rgba(139,  26,  58, 0.03) 100%
  );
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(139, 26, 58, 0.16);
  border-radius: 24px;
  transition: all 0.55s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: default;
  position: relative;
  overflow: visible;
  flex-shrink: 0;
}
.futuristic-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 24px; padding: 1px;
  background: linear-gradient(
    160deg,
    transparent 20%,
    rgba(139, 26, 58, 0.18) 50%,
    transparent 80%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.55s;
}
.futuristic-card:hover::before { opacity: 1; }
.futuristic-card:hover {
  border-color: rgba(139, 26, 58, 0.32);
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 24px 60px rgba(92, 17, 40, 0.14),
    0 0  60px rgba(139, 26, 58, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  background: linear-gradient(
    160deg,
    rgba(196, 165, 118, 0.08) 0%,
    rgba(139,  26,  58, 0.04) 100%
  );
}

/* ícono de tarjeta */
.futuristic-card-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: linear-gradient(
    135deg,
    rgba(196, 165, 118, 0.10),
    rgba(139,  26,  58, 0.08)
  );
  border: 1px solid rgba(139, 26, 58, 0.12);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  animation: iconFloat 4s ease-in-out infinite;
}
.futuristic-card:hover .futuristic-card-icon {
  background: linear-gradient(
    135deg,
    rgba(196, 165, 118, 0.20),
    rgba(139,  26,  58, 0.14)
  );
  border-color: rgba(139, 26, 58, 0.35);
  box-shadow:
    0 0 32px rgba(139, 26, 58, 0.12),
    inset 0 0 20px rgba(196, 165, 118, 0.06);
  animation-duration: 2s;
}
.futuristic-card-icon i {
  font-size: 28px;
  background: linear-gradient(135deg, var(--accent-sand), var(--accent-wine-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.5s;
}
.futuristic-card:hover .futuristic-card-icon i {
  transform: scale(1.15);
  background: linear-gradient(135deg, var(--accent-sand-light), var(--accent-wine));
  -webkit-background-clip: text;
  background-clip: text;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-6px); }
}

.futuristic-card h4 {
  font-family: Fuente-Bold;
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 14px;
  transition: color 0.3s;
}
.futuristic-card:hover h4 { color: var(--accent-wine); }

.futuristic-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.futuristic-card:hover p { color: rgba(42, 10, 18, 0.9); }

/* ===== FLECHAS DE CARRUSEL ===== */
.futuristic-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 10px;
}
.futuristic-arrow-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: linear-gradient(
    135deg,
    rgba(196, 165, 118, 0.06),
    rgba(139,  26,  58, 0.06)
  );
  border: 1px solid rgba(139, 26, 58, 0.15);
  color: var(--text-primary);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  outline: none;
  padding: 0; line-height: 1;
}
.futuristic-arrow-btn::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 50%; padding: 1px;
  background: linear-gradient(135deg, var(--accent-wine), var(--accent-sand));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.futuristic-arrow-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(196, 165, 118, 0.16),
    rgba(139,  26,  58, 0.12)
  );
  border-color: rgba(139, 26, 58, 0.32);
  box-shadow: 0 0 32px rgba(139, 26, 58, 0.12);
  transform: scale(1.08);
  color: var(--accent-wine);
}
.futuristic-arrow-btn:hover::before { opacity: 1; }
.futuristic-arrow-btn:active        { transform: scale(0.95); }

/* ===== CTA PILLS ===== */
.futuristic-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 38px;
  border-radius: 50px;
  font-family: Fuente-Bold;
  font-size: 1rem;
  color: #fff !important;
  background: linear-gradient(
    135deg,
    var(--accent-wine),
    var(--accent-wine-dark)
  );
  border: none;
  cursor: pointer;
  transition: all 0.4s;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}
.futuristic-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(245, 237, 232, 0.10) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.futuristic-cta:hover::before  { transform: translateX(100%); }
.futuristic-cta:hover {
  box-shadow: 0 0 34px rgba(139, 26, 58, 0.35);
  transform: translateY(-2px);
  color: #fff !important;
}

/* variante arena */
.futuristic-cta-cyan {
  background: linear-gradient(
    135deg,
    var(--accent-wine-bright),
    var(--accent-wine)
  );
}
.futuristic-cta-cyan:hover {
  box-shadow: 0 0 34px rgba(139, 26, 58, 0.35);
}

/* ===== BOTÓN FLOTANTE CREAR CUENTA ===== */
.futuristic-register-btn {
  background: linear-gradient(
    135deg,
    rgba(196, 165, 118, 0.12),
    rgba(139,  26,  58, 0.14)
  ) !important;
  border: 1px solid rgba(139, 26, 58, 0.28) !important;
  color: var(--text-primary) !important;
  font-family: Fuente-Bold !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 12px !important;
  padding: 12px 24px !important;
  transition: all 0.4s !important;
}
.futuristic-register-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(196, 165, 118, 0.22),
    rgba(139,  26,  58, 0.26)
  ) !important;
  border-color: rgba(139, 26, 58, 0.45) !important;
  box-shadow: 0 0 22px rgba(139, 26, 58, 0.12) !important;
}

/* ===== PARTICLES ===== */
#particles-js {
  position: relative;
  width: 100%; height: 100%;
}
#particles-js canvas {
  background: transparent !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .futuristic-section  { padding: 60px 16px; }
  .futuristic-hero     { min-height: 90vh; padding: 20px 16px; }
  .futuristic-hero-logos { gap: 20px; }
  .futuristic-hero-logos .logo-pueblo  { max-height: 50px; }
  .futuristic-hero-logos .logo-hidalgo { max-height: 40px; }
  .futuristic-card     { min-width: 260px; max-width: 260px; padding: 24px 20px; }
  .futuristic-split    { gap: 30px; }
  .futuristic-split-content::before { display: none; }
}

/* ===== MODAL BANNERS ===== */
body.futuristic-mode .ContainerModal {
  background-color: rgba(42, 10, 18, 0.55) !important;
  backdrop-filter: blur(10px);
}
body.futuristic-mode .owl-theme .owl-nav [class*=owl-] {
  background: var(--glass-bg) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--glass-border) !important;
}
body.futuristic-mode .owl-theme .owl-dots .owl-dot span {
  background: rgba(245, 237, 232, 0.2) !important;
}
body.futuristic-mode .owl-theme .owl-dots .owl-dot.active span {
  background: var(--accent-wine) !important;
}

/* ===== NAVBAR EN MODO FUTURISTA ===== */
body.futuristic-mode nav.fondo_blanco,
body.futuristic-mode .navbar {
  display: none !important;
  backdrop-filter: blur(30px) !important;
  -webkit-backdrop-filter: blur(30px) !important;
  border-bottom: 1px solid rgba(139, 26, 58, 0.18) !important;
  box-shadow: none !important;
}
body.futuristic-mode .navbar .navbar-nav .nav-link {
  color: var(--text-secondary) !important;
  transition: all 0.3s;
}
body.futuristic-mode .navbar .navbar-nav .nav-link:hover {
  color: var(--accent-sand) !important;
  text-shadow: 0 0 10px rgba(196, 165, 118, 0.3);
}
/* pill CTAs en modo futurista */
body.futuristic-mode .navbar .nav-cta--ghost {
  border-color: rgba(196, 165, 118, 0.40) !important;
  color: var(--accent-sand) !important;
}
body.futuristic-mode .navbar .nav-cta--ghost:hover {
  background-color: rgba(196, 165, 118, 0.12) !important;
  color: var(--accent-sand-light) !important;
}
body.futuristic-mode .navbar .nav-cta--solid {
  background-color: var(--accent-wine) !important;
  border-color: var(--accent-wine) !important;
  color: #fff !important;
}
body.futuristic-mode .navbar .nav-cta--solid:hover {
  background-color: var(--accent-wine-bright) !important;
  color: #fff !important;
}

body.futuristic-mode .mostrar_en_movil,
body.futuristic-mode .logo_container {
  filter: brightness(1.15);
}
body.futuristic-mode .navbar .navbar-toggler .icon-menu {
  color: var(--text-primary) !important;
}

@media (max-width: 1100px) {
  body.futuristic-mode .reparandoMenu {
    background: rgba(251, 247, 243, 0.98) !important;
    border-bottom: 1px solid rgba(139, 26, 58, 0.18) !important;
  }
}

/* ===== MAPA INTERACTIVO ===== */
.futuristic-map-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px 100px;
}
.futuristic-map-container {
  position: relative;
  padding: 20px !important;
  overflow: visible;        /* era hidden — causaba clipping del mapa */
}
.futuristic-map-container:hover {
  border-color: rgba(139, 26, 58, 0.28) !important;
  box-shadow: 0 0 64px rgba(139, 26, 58, 0.08) !important;
}
.futuristic-map-svg {
  width: 100%;
  max-width: 720px;         /* limita ancho y por tanto alto (SVG ~1:1) */
  margin: 0 auto;
  overflow: visible;
  display: block;
}
.futuristic-map-svg svg {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto;
}
.futuristic-map-path {
  fill: rgba(139, 26, 58, 0.07);
  stroke: rgba(139, 26, 58, 0.28);
  stroke-width: 0.8;
  transition: all 0.3s ease;
  vector-effect: non-scaling-stroke;
}
.futuristic-map-path:hover {
  fill: rgba(139, 26, 58, 0.18);
  stroke: var(--accent-wine-bright);
  stroke-width: 1.2;
  filter: drop-shadow(0 0 8px rgba(139, 26, 58, 0.35));
}
.futuristic-map-path-active {
  fill:        rgba(139, 26, 58, 0.24) !important;
  stroke:      var(--accent-wine-bright) !important;
  stroke-width: 1.5 !important;
  filter: drop-shadow(0 0 14px rgba(139, 26, 58, 0.55)) !important;
}
.futuristic-map-tooltip {
  display: none;
  position: absolute;
  background: var(--accent-wine);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 26, 58, 0.35);
  border-radius: 8px;
  padding: 6px 14px;
  font-family: Fuente-Bold, sans-serif;
  font-size: 0.85rem;
  color: #FBF7F3;
  pointer-events: none;
  z-index: 100;
  white-space: nowrap;
  box-shadow: 0 0 22px rgba(139, 26, 58, 0.18);
}
.futuristic-map-tooltip::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 8px; padding: 1px;
  background: linear-gradient(135deg, var(--accent-wine), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
@media (max-width: 768px) {
  .futuristic-map-svg       { max-width: 100%; }
  .futuristic-map-container { padding: 12px !important; }
}

/* ===== VISIBILIDAD DE HEADINGS — override de cualquier color heredado ===== */
body.futuristic-mode .futuristic-split-content h3,
body.futuristic-mode .futuristic-neon-cyan {
  color: var(--text-primary) !important;
}

/* ===================================================
   PARALLAX ABOUT — .mpp-section
   =================================================== */

:root {
  --parallax-y: 0px;
}

/* ── Sección contenedor ── */
.mpp-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 40px 100px;
  overflow: hidden;
}

/* ── Capa profunda: números gigantes de fondo ── */
.mpp-layer-deep {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transform: translateY(calc(var(--parallax-y) * -0.32));
}

.mpp-big-num {
  font-family: Fuente-Bold, sans-serif;
  font-size: clamp(7rem, 20vw, 18rem);
  line-height: 0.9;
  letter-spacing: -6px;
  color: rgba(139, 26, 58, 0.22);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  user-select: none;
}
.mpp-big-num--right { align-items: flex-end; }
.mpp-big-num small {
  font-size: clamp(0.65rem, 1.2vw, 1rem);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(154, 111, 46, 0.6);
  font-family: Fuente-Regular, sans-serif;
  margin-top: 4px;
}

/* ── Capa media: texto principal ── */
.mpp-layer-mid {
  position: relative;
  z-index: 1;
  max-width: 780px;
  text-align: center;
  will-change: transform;
  transform: translateY(calc(var(--parallax-y) * 0.10));
}

/* línea decorativa sobre el overline */
.mpp-layer-mid::before {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-wine), var(--accent-sand));
  margin: 0 auto 24px;
  border-radius: 2px;
}

.mpp-overline {
  font-size: clamp(0.6rem, 1vw, 0.75rem);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-sand);
  opacity: 0.75;
  margin-bottom: 20px;
}

.mpp-title {
  font-family: Fuente-Bold, sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 28px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.mpp-body {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  line-height: 1.9;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 64px;
}
.mpp-body strong {
  color: var(--accent-sand);
  font-family: Fuente-Bold;
}

/* ── Capa frontal: chips de servicios ── */
.mpp-layer-top {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 760px;
  will-change: transform;
  transform: translateY(calc(var(--parallax-y) * 0.05));
}

.mpp-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: 50px;
  background: rgba(139, 26, 58, 0.08);
  border: 1px solid rgba(196, 165, 118, 0.16);
  color: var(--text-secondary);
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: default;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
  /* animación flotante con stagger */
  animation: mppFloat 4s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.25s);
}
.mpp-chip:hover {
  background: rgba(139, 26, 58, 0.20);
  border-color: rgba(196, 165, 118, 0.40);
  color: var(--text-primary);
  transform: translateY(-5px) !important;
  animation-play-state: paused;
}
.mpp-chip i {
  font-size: 1rem;
  color: var(--accent-sand);
  flex-shrink: 0;
}

@keyframes mppFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .mpp-section   { padding: 100px 20px 80px; }
  /* números decorativos gigantes: se encimaban con el texto en móvil → ocultar */
  .mpp-layer-deep { display: none; }
  .mpp-layer-top { gap: 10px; }
  /* reduce parallax en móvil para evitar saltos */
  .mpp-layer-mid  { transform: translateY(calc(var(--parallax-y) * -0.02)); }
  .mpp-layer-top  { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mpp-layer-deep,
  .mpp-layer-mid,
  .mpp-layer-top { transform: none !important; will-change: auto; }
  .mpp-chip { animation: none; }
}

/* ===================================================
   PARALLAX CTA — REGISTRO / LOGIN  (.mpp-cta-section)
   =================================================== */
.mpp-cta-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 40px 120px;
  overflow: hidden;
}

/* Capa profunda — palabra gigante de fondo */
.mpp-cta-deep {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transform: translateY(calc(var(--parallax-y) * -0.20));
}
.mpp-cta-bgword {
  font-family: Fuente-Bold, sans-serif;
  font-size: clamp(8rem, 28vw, 26rem);
  line-height: 0.9;
  letter-spacing: -8px;
  color: rgba(139, 26, 58, 0.16);
  user-select: none;
  white-space: nowrap;
}

/* Glows decorativos vino */
.mpp-cta-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.mpp-cta-glow--a {
  width: 520px; height: 520px;
  top: -8%; left: -6%;
  background: radial-gradient(circle, rgba(139, 26, 58, 0.12) 0%, transparent 70%);
  transform: translateY(calc(var(--parallax-y) * -0.10));
}
.mpp-cta-glow--b {
  width: 460px; height: 460px;
  bottom: -10%; right: -4%;
  background: radial-gradient(circle, rgba(92, 17, 40, 0.14) 0%, transparent 70%);
  transform: translateY(calc(var(--parallax-y) * 0.08));
}

/* Capa de contenido */
.mpp-cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: center;
  will-change: transform;
  transform: translateY(calc(var(--parallax-y) * 0.06));
}
.mpp-cta-title {
  font-family: Fuente-Bold, sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 28px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}
.mpp-cta-body {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  line-height: 1.9;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Botones */
.mpp-cta-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.mpp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  border-radius: 50px;
  font-family: Fuente-Bold, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.4px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s, background 0.3s, border-color 0.3s;
}
.mpp-cta-btn .icon { font-size: 1.05rem; }

.mpp-cta-btn--primary {
  color: #2A0A12 !important;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-sand-light));
  border: 1px solid var(--accent-sand-light);
  box-shadow: 0 6px 24px rgba(188, 149, 91, 0.28);
}
.mpp-cta-btn--primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 34px rgba(222, 201, 154, 0.45);
}

.mpp-cta-btn--ghost {
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent-wine-bright), var(--accent-wine-dark));
  border: 1px solid var(--accent-wine-bright);
  box-shadow: 0 6px 24px rgba(139, 26, 58, 0.28);
}
.mpp-cta-btn--ghost:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 34px rgba(168, 32, 62, 0.45);
}

@media (max-width: 768px) {
  .mpp-cta-section { padding: 100px 20px 90px; }
  .mpp-cta-deep    { transform: translateY(calc(var(--parallax-y) * -0.08)); }
  .mpp-cta-content { transform: none; }
  .mpp-cta-actions { flex-direction: column; align-items: stretch; }
  .mpp-cta-btn     { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .mpp-cta-deep,
  .mpp-cta-glow,
  .mpp-cta-content { transform: none !important; will-change: auto; }
}

/* ===================================================
   MENÚ HAMBURGUESA — Menu_nuevo_outside
   =================================================== */

/* ── Contenedor principal ── */
.Menu_nuevo_outside {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9100;
}

/* ── Botón hamburguesa ── */
.mno-trigger {
  position: relative;
  z-index: 9101;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1.5px solid rgba(196, 165, 118, 0.65);
  background: #5C1128;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.30);
}
.mno-trigger:hover {
  background: #8B1A3A;
  border-color: rgba(196, 165, 118, 0.85);
  box-shadow: 0 0 30px rgba(139, 26, 58, 0.40);
}
.mno-trigger:focus-visible {
  outline: 3px solid var(--accent-sand);
  outline-offset: 3px;
}

/* Las 3 líneas del hamburger */
.mno-trigger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #F4ECE4;
  border-radius: 2px;
  transition:
    transform  0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity    0.25s ease,
    width      0.3s ease;
  transform-origin: center;
}

/* Animación → X al abrir */
.mno-is-open .mno-trigger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mno-is-open .mno-trigger span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.mno-is-open .mno-trigger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── Overlay full-screen ── */
.mno-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(251, 247, 243, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  /* oculto por defecto */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mno-is-open .mno-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* ── Navegación centrada ── */
.mno-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 40px 20px;
  text-align: center;
}

/* Logo dentro del menú */
.mno-brand {
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.4s ease 0.05s, transform 0.4s ease 0.05s;
}
.mno-is-open .mno-brand {
  opacity: 1;
  transform: translateY(0);
}
.mno-logo {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 0 16px rgba(196, 165, 118, 0.25));
}

/* ── Links principales ── */
.mno-link {
  font-family: Fuente-Bold, 'Segoe UI', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-primary) !important;
  text-decoration: none !important;
  position: relative;
  line-height: 1;
  /* animación de entrada — desplazado hacia abajo */
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity   0.4s ease,
    transform 0.4s ease,
    color     0.25s ease;
}
/* Stagger de entrada */
.mno-is-open .mno-link:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:0.10s; }
.mno-is-open .mno-link:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:0.16s; }
.mno-is-open .mno-link:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:0.22s; }

/* Línea decorativa al hover */
.mno-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-wine), var(--accent-sand));
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.mno-link:hover {
  color: var(--accent-sand) !important;
}
.mno-link:hover::after { transform: scaleX(1); }

/* ── CTA destacado ── */
.mno-link-cta {
  display: inline-block;
  padding: 16px 56px;
  border-radius: 50px;
  background: var(--accent-wine);
  color: #fff !important;
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 2px;
  box-shadow: 0 0 32px rgba(139, 26, 58, 0.35);
  transition:
    background  0.25s ease,
    box-shadow  0.25s ease,
    opacity     0.4s ease,
    transform   0.4s ease !important;
}
.mno-link-cta::after { display: none !important; }
.mno-link-cta:hover {
  background: var(--accent-wine-bright) !important;
  color: #fff !important;
  box-shadow: 0 0 44px rgba(139, 26, 58, 0.50);
}


/* ── Responsive ── */
@media (max-width: 480px) {
  .Menu_nuevo_outside { top: 14px; right: 14px; }
  .mno-trigger { width: 46px; height: 46px; border-radius: 12px; }
  .mno-nav { gap: 22px; }
}

/* ===== MAPA FONDO ESTÁTICO ===== */

/* Contenedor fijo — vive detrás de todo */
.futuristic-map-world-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Tamaño: cubre el viewport sin deformarse */
.futuristic-map-world-bg #mapa-hidalgo-container,
.futuristic-map-world-bg #mapa-auth-bg {
  width: max(100vh, 100vw);
  height: max(100vh, 100vw);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.futuristic-map-world-bg svg {
  width: 100% !important;
  height: 100% !important;
}

/* Paths del mapa de fondo — visibles pero no dominantes, tono vino/negro */
.futuristic-map-world-bg .futuristic-map-path {
  fill:   rgba(92, 17, 40, 0.10) !important;
  stroke: rgba(139, 26, 58, 0.20) !important;
  stroke-width: 0.6;
  vector-effect: non-scaling-stroke;
  transition: none !important;
  cursor: default !important;
  filter: none !important;
}
/* Desactiva hover/active del fondo */
.futuristic-map-world-bg .futuristic-map-path:hover,
.futuristic-map-world-bg .futuristic-map-path-active {
  fill:   rgba(92, 17, 40, 0.10) !important;
  stroke: rgba(139, 26, 58, 0.20) !important;
  filter: none !important;
}

/* Capa de contenido — flota sobre el mapa */
.futuristic-content-layer {
  position: relative;
  z-index: 1;
}

/* Sección CTA de estadísticas — permite ver el mapa detrás */
.futuristic-map-cta-section {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  /* sin background — el mapa se ve a través */
}

/* ===== ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
  .futuristic-gradient-bg,
  .futuristic-glow-text,
  .futuristic-section-header h2,
  .futuristic-hero-radial,
  .futuristic-hero-radial-2,
  .futuristic-card-icon {
    animation: none !important;
  }
  .futuristic-card:hover,
  .futuristic-split-image img:hover,
  .futuristic-btn-primary:hover,
  .futuristic-cta:hover {
    transform: none !important;
  }
}
