/* ═══════════════════════════════════════════════════════════
   SativaMarte — Galería Cósmica Elegante
   styles.css
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg-primary:    #0b0c10;
  --bg-deep:       #080a14;
  --bg-card:       rgba(15, 17, 28, 0.75);
  --text-primary:  #f4f4f6;
  --text-muted:    #a0a5b5;
  --gold:          #d4af37;
  --silver:        #e0e6ed;
  --accent:        #c9a96e;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --glass-bg:      rgba(8, 10, 20, 0.72);
  --font-display:  'Cinzel', serif;
  --font-body:     'Inter', sans-serif;
  --radius:        12px;
  --transition:    0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-scale:    1;
  
  /* Colores Neón Fluorescente */
  --neon-green:    #39ff14;
  --neon-cyan:     #00f3ff;
  --neon-purple:   #b026ff;
}

/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: calc(16px * var(--font-scale));
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

::selection {
  background: rgba(57, 255, 20, 0.35); /* Verde neón para selección */
  color: #fff;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; transition: color var(--transition), text-shadow var(--transition); }
a:hover { color: var(--silver); }

/* ─── Starfield Background ─────────────────────────────── */
.starfield {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 30% 20%, #12152a 0%, var(--bg-deep) 50%, var(--bg-primary) 100%);
  overflow: hidden;
}

.stars-layer {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
}

.stars-layer-1 {
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.7) 50%, transparent 50%),
    radial-gradient(1px 1px at 30% 65%, rgba(255,255,255,0.5) 50%, transparent 50%),
    radial-gradient(1px 1px at 55% 15%, rgba(255,255,255,0.6) 50%, transparent 50%),
    radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,0.4) 50%, transparent 50%),
    radial-gradient(1px 1px at 85% 40%, rgba(255,255,255,0.55) 50%, transparent 50%),
    radial-gradient(1px 1px at 45% 90%, rgba(255,255,255,0.45) 50%, transparent 50%);
  background-size: 550px 550px;
  animation: twinkle 8s ease-in-out infinite alternate;
}

.stars-layer-2 {
  background-image:
    radial-gradient(1.5px 1.5px at 15% 45%, rgba(212,175,55,0.5) 50%, transparent 50%),
    radial-gradient(1px 1px at 60% 30%, rgba(255,255,255,0.35) 50%, transparent 50%),
    radial-gradient(1px 1px at 80% 70%, rgba(255,255,255,0.4) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 25% 85%, rgba(224,230,237,0.3) 50%, transparent 50%);
  background-size: 700px 700px;
  animation: twinkle 12s ease-in-out infinite alternate-reverse;
}

.stars-layer-3 {
  background-image:
    radial-gradient(2px 2px at 40% 50%, rgba(255,255,255,0.25) 50%, transparent 50%),
    radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 5% 75%, rgba(212,175,55,0.35) 50%, transparent 50%),
    radial-gradient(1px 1px at 75% 55%, rgba(255,255,255,0.2) 50%, transparent 50%);
  background-size: 900px 900px;
  animation: drift 60s linear infinite;
}

.stars-layer-4 {
  background-image:
    radial-gradient(1px 1px at 20% 35%, rgba(255,255,255,0.45) 50%, transparent 50%),
    radial-gradient(1px 1px at 50% 80%, rgba(255,255,255,0.35) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 88% 22%, rgba(224,230,237,0.4) 50%, transparent 50%),
    radial-gradient(1px 1px at 65% 12%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 12% 58%, rgba(212,175,55,0.25) 50%, transparent 50%);
  background-size: 480px 480px;
  animation: twinkle 10s ease-in-out infinite alternate;
  opacity: 0.7;
}

.nebula-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}

.nebula-glow-1 {
  width: 500px; height: 500px;
  top: 10%; left: -5%;
  background: radial-gradient(circle, #4a1a6b, transparent 70%);
  animation: nebulaPulse 15s ease-in-out infinite alternate;
}

.nebula-glow-2 {
  width: 400px; height: 400px;
  bottom: 5%; right: -5%;
  background: radial-gradient(circle, #1a3a6b, transparent 70%);
  animation: nebulaPulse 20s ease-in-out infinite alternate-reverse;
}

@keyframes twinkle {
  0%   { opacity: 0.5; }
  100% { opacity: 1; }
}

@keyframes drift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-100px, -50px); }
}

@keyframes nebulaPulse {
  0%   { opacity: 0.1; transform: scale(1); }
  100% { opacity: 0.2; transform: scale(1.15); }
}

/* ─── Cometas de fondo ─────────────────────────────────── */
.comet {
  position: absolute;
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}

.comet::after {
  content: '';
  position: absolute;
  right: 0; top: -1px;
  width: 3px; height: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(255,255,255,0.5);
}

.comet-bg-1 {
  top: 18%; left: -80px;
  transform: rotate(-25deg);
  animation: cometFly 14s ease-in 0s infinite;
}

.comet-bg-2 {
  top: 55%; left: -80px;
  transform: rotate(-18deg);
  animation: cometFly 20s ease-in 7s infinite;
}

.comet-bg-3 {
  top: 78%; left: -80px;
  transform: rotate(-30deg);
  animation: cometFly 18s ease-in 12s infinite;
}

@keyframes cometFly {
  0%   { opacity: 0; transform: translateX(0) rotate(-25deg); }
  5%   { opacity: 0.7; }
  25%  { opacity: 0.5; }
  40%  { opacity: 0; transform: translateX(110vw) rotate(-25deg); }
  100% { opacity: 0; transform: translateX(110vw) rotate(-25deg); }
}

/* ─── Navbar ───────────────────────────────────────────── */
.glass-nav {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 0;
  transition: background var(--transition);
}

/* Marca: Siempre encendida Verde Neón Fluorescente */
.brand-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-green) !important;
  text-shadow: 0 0 5px var(--neon-green), 0 0 15px var(--neon-green), 0 0 25px var(--neon-green);
  transition: all var(--transition);
}
.brand-logo:hover {
  text-shadow: 0 0 8px var(--neon-green), 0 0 20px var(--neon-green), 0 0 35px var(--neon-green);
}

/* Menú Textos: Celeste Neón apagado -> Verde Neón Fluorescente en HOVER o CLICK */
.navbar-nav .nav-link {
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 5px rgba(0, 243, 255, 0.4);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem !important;
  transition: all var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: var(--neon-green) !important;
  text-shadow: 0 0 5px var(--neon-green), 0 0 15px var(--neon-green);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1.5px;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  transition: all var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

/* Iconos Nav (Accesibilidad, Idioma y Carrito): Siempre encendidos Celeste Fluorescente Neón */
.btn-nav-icon {
  background: transparent;
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 243, 255, 0.4), inset 0 0 8px rgba(0, 243, 255, 0.2);
  text-shadow: 0 0 6px var(--neon-cyan);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all var(--transition);
  padding: 0;
}

.btn-nav-icon:hover {
  background: rgba(0, 243, 255, 0.1);
  box-shadow: 0 0 12px rgba(0, 243, 255, 0.8), inset 0 0 12px rgba(0, 243, 255, 0.5);
  text-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
}

.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--neon-cyan);
  color: var(--bg-deep);
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 0 8px var(--neon-cyan);
}

.cart-badge:empty,
.cart-badge[data-count="0"] {
  display: none;
}

/* Accesibilidad dropdown */
.accesibilidad-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  min-width: 280px;
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.15);
}

.accesibilidad-panel .dropdown-header {
  color: var(--neon-cyan);
  text-shadow: 0 0 5px var(--neon-cyan);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
}

.acc-item {
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.acc-item:last-child { border-bottom: none; }

.acc-item i {
  color: var(--neon-purple);
  font-size: 1.1rem;
  text-shadow: 0 0 5px rgba(176, 38, 255, 0.5);
}

.btn-lectura {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 0.25rem 1rem;
  transition: all var(--transition);
}
.btn-lectura:hover, .btn-lectura.leyendo {
  background: var(--gold);
  color: var(--bg-deep);
  box-shadow: 0 0 10px var(--gold);
}

/* Toggles estilo Neón */
.form-check-input {
  cursor: pointer;
  background-color: transparent;
  border-color: var(--border-subtle);
  transition: all 0.3s;
}
.form-check-input:checked {
  background-color: var(--neon-green);
  border-color: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
}

/* ─── Máscara Foco TDAH ─── */
.tdah-mask {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.85);
  mask-image: linear-gradient(to bottom, black 0%, black calc(var(--mouse-y, 50vh) - 60px), transparent calc(var(--mouse-y, 50vh) - 60px), transparent calc(var(--mouse-y, 50vh) + 60px), black calc(var(--mouse-y, 50vh) + 60px), black 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black calc(var(--mouse-y, 50vh) - 60px), transparent calc(var(--mouse-y, 50vh) - 60px), transparent calc(var(--mouse-y, 50vh) + 60px), black calc(var(--mouse-y, 50vh) + 60px), black 100%);
}

/* ─── Hero ─────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  position: relative;
  padding: 5rem 1rem 3rem;
}

.hero-content { position: relative; z-index: 2; }

/* Stage general ampliado para ocupar el área destacada */
.hero-logo-stage {
  position: relative;
  width: min(650px, 90vw);
  height: min(650px, 90vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Órbitas de constelación: Quedan detrás del logo (z-index: 1) */
.constellation-orbit {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.orbit-outer {
  animation: orbitSpin 90s linear infinite;
}

.orbit-inner {
  inset: 10%;
  animation: orbitSpin 60s linear infinite reverse;
}

.constellation-svg {
  width: 100%;
  height: 100%;
}

.c-star {
  fill: rgba(255, 255, 255, 0.85);
  animation: starPulse 3s ease-in-out infinite alternate;
}

.c-line {
  fill: none;
  stroke: rgba(212, 175, 55, 0.35);
  stroke-width: 0.8;
  stroke-linejoin: round;
}

.c-line-inner {
  stroke: rgba(180, 140, 220, 0.3);
  stroke-width: 0.6;
}

/* Contenedor del Logo (Híbrido) */
.hero-logo-wrap {
  position: relative;
  z-index: 10;
  width: 85%;
  max-width: 450px; /* Tamaño adaptado para que la imagen original se posicione centrada */
  animation: logoFloat 6s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 1. Imagen original de la Mano y el Pincel (PNG): Posicionada exactamente al centro de la bóveda */
.hero-hand-png {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  height: 48%;
  width: auto;
  z-index: 5;
  pointer-events: none; /* Evita que bloquee el hover de las estrellas */
  mix-blend-mode: screen; /* Ignora el negro si lo tuviera */
  
  /* TRUCO MAGIA CSS PARA BORRAR EL CUADRICULADO FALSO:
     1. invert(1): Vuelve los cuadros blancos/grises en negros/oscuros.
     2. contrast(3.5): Mata los grises restantes y los fuerza a negro puro para que desaparezcan.
     3. hue-rotate(160deg): Devuelve el color de la línea (ahora verde) a su morado original.
     4. brightness(1.2): Le da el brillo base. */
  filter: invert(1) contrast(3.5) hue-rotate(160deg) brightness(1.2);
  
  /* Máscara suave para difuminar bordes duros de la imagen si los tiene */
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 75%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 75%);
  
  transition: filter 0.4s ease, transform 0.4s ease;
}

/* 2. Capa SVG Neón superpuesta solo para el Marco, Estrellas y Textos */
.neon-logo-svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Estado base tenue para SVG */
.neon-line {
  fill: none;
  stroke: rgba(255,255,255,0.7);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.4s ease, filter 0.4s ease;
}

.neon-star {
  fill: rgba(255,255,255,0.8);
  transition: fill 0.4s ease, filter 0.4s ease;
}

.neon-script-text {
  font-family: 'Cinzel', cursive, serif;
  font-size: 38px;
  font-weight: 700;
  fill: rgba(255,255,255,0.9);
  letter-spacing: 2px;
  transition: fill 0.4s ease, filter 0.4s ease;
}

.neon-sans-text {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  fill: rgba(160,165,181,0.8);
  letter-spacing: 5px;
  transition: fill 0.4s ease, filter 0.4s ease;
}

/* ════════════ EFECTO LETRERO NEÓN COMPLETO EN HOVER ════════════ */

/* Hover: La imagen PNG de la mano enciende su color morado/púrpura neón */
.hero-logo-wrap:hover .hero-hand-png {
  filter: invert(1) contrast(3.5) hue-rotate(160deg) brightness(1.5) 
          drop-shadow(0 0 10px var(--neon-purple)) 
          drop-shadow(0 0 25px var(--neon-purple));
  transform: translateX(-50%) scale(1.02);
}

/* Hover: El Marco SVG se vuelve Verde Neón */
.hero-logo-wrap:hover .neon-line {
  stroke: var(--neon-green);
  stroke-width: 3;
  filter: drop-shadow(0 0 8px var(--neon-green)) 
          drop-shadow(0 0 20px var(--neon-green))
          drop-shadow(0 0 35px var(--neon-green));
}

/* Hover: Las Estrellas SVG se vuelven Celeste Neón */
.hero-logo-wrap:hover .neon-star {
  fill: var(--neon-cyan);
  filter: drop-shadow(0 0 8px var(--neon-cyan)) 
          drop-shadow(0 0 22px var(--neon-cyan))
          drop-shadow(0 0 35px #ffffff);
}

/* Hover: Textos Sativamarte brillan integrados al neón */
.hero-logo-wrap:hover .neon-script-text {
  fill: #ffffff;
  filter: drop-shadow(0 0 8px #ffffff) 
          drop-shadow(0 0 20px var(--neon-cyan))
          drop-shadow(0 0 35px var(--neon-green));
}

.hero-logo-wrap:hover .neon-sans-text {
  fill: var(--neon-green);
  filter: drop-shadow(0 0 8px var(--neon-green));
}

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

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes starPulse {
  0%   { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Cometas del hero */
.hero-logo-stage .comet {
  z-index: 2;
}

.hero-logo-stage .comet-1 {
  top: 8%; left: 10%;
  width: 50px;
  transform: rotate(-40deg);
  animation: heroComet 8s ease-in-out 0s infinite;
}

.hero-logo-stage .comet-2 {
  bottom: 12%; right: 8%;
  width: 40px;
  transform: rotate(140deg);
  animation: heroComet 10s ease-in-out 4s infinite;
}

@keyframes heroComet {
  0%, 100% { opacity: 0; transform: translate(0, 0) rotate(-40deg); }
  20%      { opacity: 0.6; }
  50%      { opacity: 0.3; transform: translate(30px, 20px) rotate(-40deg); }
  80%      { opacity: 0; transform: translate(60px, 40px) rotate(-40deg); }
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50%      { opacity: 1; transform: scaleY(1); }
}

/* ─── Buttons ──────────────────────────────────────────── */
.btn-cosmic {
  background: linear-gradient(135deg, var(--gold) 0%, #b8942f 100%);
  color: var(--bg-primary);
  border: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all var(--transition);
}

.btn-cosmic:hover {
  background: linear-gradient(135deg, #e8c547 0%, var(--gold) 100%);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.25);
}

.btn-cosmic-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all var(--transition);
}

.btn-cosmic-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  border-color: var(--gold);
}

/* ─── Sections ─────────────────────────────────────────── */
.section-pad {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  background: rgba(8, 10, 20, 0.5);
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 1rem;
  font-weight: 300;
}

.lead-text {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--silver);
  line-height: 1.8;
}

.body-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.text-gold { color: var(--gold) !important; }

/* ─── Carousel ─────────────────────────────────────────── */
.carousel-cosmic {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.carousel-cosmic .carousel-item {
  position: relative;
  cursor: pointer;
}

.carousel-cosmic .carousel-item img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: brightness(0.85);
  transition: filter var(--transition);
}

.carousel-cosmic .carousel-item:hover img {
  filter: brightness(1);
}

.carousel-caption-cosmic {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(8,10,20,0.95) 0%, transparent 100%);
}

.carousel-caption-cosmic h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.carousel-caption-cosmic p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.carousel-cosmic .carousel-indicators [data-bs-target] {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  opacity: 0.4;
  transition: all var(--transition);
}

.carousel-cosmic .carousel-indicators .active {
  background: var(--gold);
  opacity: 1;
  transform: scale(1.3);
}

/* ─── Gallery Grid ─────────────────────────────────────── */
.btn-filter {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  transition: all var(--transition);
}

.btn-filter:hover,
.btn-filter.active {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
  color: var(--gold);
}

.obra-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
}

.obra-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.obra-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.obra-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.obra-card:hover .obra-card-img img {
  transform: scale(1.05);
}

.obra-card-body {
  padding: 1.25rem;
}

.obra-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.obra-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.obra-card-price {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* ─── Modal Obra ───────────────────────────────────────── */
.modal-obra .modal-content {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-primary);
}

.obra-frame {
  border: 1px solid var(--border-subtle);
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  background: var(--bg-deep);
  padding: 8px;
}

.obra-frame img {
  border-radius: calc(var(--radius) - 6px);
}

.obra-meta-item {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.obra-meta-item strong {
  color: var(--silver);
  font-weight: 500;
}

.obra-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

/* ─── Quién Soy ────────────────────────────────────────── */
.artist-portrait {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.artist-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius);
  pointer-events: none;
}

.artist-portrait img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: brightness(0.9) saturate(0.85);
}

.exhibitions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.exhibitions-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.exhibitions-list li i {
  color: var(--gold);
  font-size: 0.65rem;
  margin-top: 0.45rem;
  flex-shrink: 0;
}

/* ─── Talleres ─────────────────────────────────────────── */
.card-taller {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.card-taller:hover {
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.taller-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
}

.card-taller .card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.taller-details {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.taller-details li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.taller-details li i { color: var(--gold); }

/* ─── Contact Form ─────────────────────────────────────── */
.form-cosmic {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: calc(var(--radius) - 4px);
  padding: 0.75rem 1rem;
  transition: border-color var(--transition);
}

.form-cosmic:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--gold);
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.form-cosmic::placeholder { color: rgba(160, 165, 181, 0.5); }

.form-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.form-select.form-cosmic option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.alert-cosmic {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  border-radius: var(--radius);
}

/* ─── Footer ───────────────────────────────────────────── */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  background: rgba(8, 10, 20, 0.6);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.25rem;
}

.footer-copy,
.footer-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* REDES SOCIALES: Neón Celeste Fluorescente Permanente */
.social-links a {
  background: transparent;
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 243, 255, 0.4), inset 0 0 8px rgba(0, 243, 255, 0.2);
  text-shadow: 0 0 6px var(--neon-cyan);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
}

.social-links a:hover {
  background: rgba(0, 243, 255, 0.1);
  box-shadow: 0 0 12px rgba(0, 243, 255, 0.8), inset 0 0 12px rgba(0, 243, 255, 0.5);
  text-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
}

/* ─── Offcanvas Carrito ────────────────────────────────── */
.offcanvas-carrito {
  background: var(--bg-deep);
  border-left: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 380px !important;
}

.carrito-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
}

.carrito-item-img {
  width: 64px; height: 64px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.carrito-item-info { flex: 1; min-width: 0; }

.carrito-item-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carrito-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.carrito-item-price {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

.btn-remove-item {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 0.25rem;
  transition: color var(--transition);
  flex-shrink: 0;
}

.btn-remove-item:hover { color: #e74c3c; }

.carrito-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.carrito-qty button {
  width: 24px; height: 24px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-primary);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all var(--transition);
}

.carrito-qty button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.carrito-qty span {
  font-size: 0.8rem;
  min-width: 1.2rem;
  text-align: center;
}

/* ════════════ REGLAS DE ACCESIBILIDAD ACTIVAS (BODY CLASSES) ════════════ */

body.animaciones-pausadas * {
  animation-play-state: paused !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

body.sitio-minimalista-activo .starfield {
  background: #000 !important;
}

body.sitio-minimalista-activo .stars-layer,
body.sitio-minimalista-activo .nebula-glow,
body.sitio-minimalista-activo .comet,
body.sitio-minimalista-activo .constellation-orbit {
  display: none !important;
}

body.sitio-minimalista-activo {
  background: #000 !important;
  color: #fff !important;
}

body.sitio-minimalista-activo .glass-nav {
  background: #000 !important;
  backdrop-filter: none !important;
}

body.sitio-minimalista-activo .section-alt {
  background: #000 !important;
}

body.sitio-minimalista-activo .obra-card,
body.sitio-minimalista-activo .card-taller,
body.sitio-minimalista-activo .carousel-cosmic,
body.sitio-minimalista-activo .modal-obra .modal-content,
body.sitio-minimalista-activo .offcanvas-carrito {
  background: #111 !important;
  border-color: #fff !important;
  box-shadow: none !important;
}

body.espaciado-activo * {
  line-height: 2 !important;
  letter-spacing: 0.1em !important;
  word-spacing: 0.15em !important;
}

body.alto-contraste-activo {
  background: #000 !important;
  color: #ffff00 !important;
}
body.alto-contraste-activo * {
  background-color: #000 !important;
  color: #ffff00 !important;
  border-color: #fff !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
body.alto-contraste-activo img {
  filter: contrast(1.5) grayscale(1) !important;
}
body.alto-contraste-activo .starfield {
  display: none !important;
}

body.tipografia-facil-activa * {
  font-family: 'Comic Sans MS', 'Arial', sans-serif !important;
}

body.foco-tdah-activo .tdah-mask {
  display: block;
}

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero-logo-stage { width: min(480px, 90vw); height: min(480px, 90vw); }
  .carousel-cosmic .carousel-item img { height: 280px; }
  .section-pad { padding: 4rem 0; }
  
  .hero-logo-hand { width: 75%; height: 65%; top: 12%; left: 12.5%; } 
}

@media (max-width: 575.98px) {
  .hero-logo-stage { width: min(340px, 92vw); height: min(340px, 92vw); }
  .hero-subtitle { font-size: 0.85rem; letter-spacing: 0.12em; }
  .offcanvas-carrito { width: 100% !important; }
  
  .hero-logo-hand { width: 85%; height: 70%; top: 10%; left: 7.5%; } 
}

/* ─── Toast notification ───────────────────────────────── */
.toast-cosmic {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  border: 1px solid var(--gold);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
  backdrop-filter: blur(12px);
}

.toast-cosmic.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}