@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --color-bg-base: #0D0D0D;
  --color-bg-surface: #111111;
  --color-bg-card: rgba(22, 22, 22, 0.75);
  --color-primary: #C9A96E;
  --color-secondary: #d4b97e;
  --color-accent: #a07840;
  --color-white: #ffffff;
  --color-text-main: #F5F5F3;
  --color-text-muted: #888888;
  --color-border: rgba(255,255,255,0.08);
  --font-title: 'Cormorant Garamond', serif;
  --font-main: 'Montserrat', sans-serif;
  --spacing-lg: 4rem;
  --spacing-xl: 7rem;
  --container-max: 1280px;
  --shadow-gold: 0 0 25px rgba(201,169,110,0.2);
  --transition-fast: 0.25s ease;
  --transition-smooth: 0.45s cubic-bezier(0.25,0.8,0.25,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: radial-gradient(circle at top, rgba(201,169,110,0.05), transparent 30%),
  linear-gradient(180deg, #0a0a0a 0%, #0d0d0d 50%, #080808 100%);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--color-primary); color: #000; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 1.2rem; }
.text-center { text-align: center; }
.text-highlight { color: var(--color-secondary); }
.text-gradient {
  background: linear-gradient(135deg, var(--color-white), var(--color-secondary), var(--color-primary));
  -webkit-background-clip: text;
  color: transparent;
}

/* ══════════════════════════════════════════════ */
/* EFECTOS DE REVELADO (SCROLL ANIMATIONS)        */
/* ══════════════════════════════════════════════ */

/* 1. Elementos base ocultos */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 2. Direcciones iniciales (antes de aparecer) */
.reveal {
  transform: translateY(40px); /* Viene desde abajo */
}

.reveal-left {
  transform: translateX(-50px); /* Viene desde la izquierda */
}

.reveal-right {
  transform: translateX(50px); /* Viene desde la derecha */
}

.reveal-scale {
  transform: scale(0.9); /* Aparece creciendo desde el centro */
}

/* 3. Estado activo (cuando el JS añade la clase 'active') */
.reveal.active, 
.reveal-left.active, 
.reveal-right.active, 
.reveal-scale.active {
  opacity: 1;
  transform: translate(0) scale(1); /* Vuelven a su posición y tamaño original */
}

/* ══════════════════════════════════════════════ */

/* OTRAS ANIMACIONES BASE */
.fade-in-up { animation: fadeInUp 1s cubic-bezier(0.16,1,0.3,1) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(35px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseGlow { 0% { opacity: 0.4; transform: scale(0.98); } 100% { opacity: 1; transform: scale(1.02); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* HEADER */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; padding: 0.2rem 0; background: rgba(13,13,13,0.88); backdrop-filter: blur(16px); border-bottom: 1px solid var(--color-border); }
.header-wrap { display: flex; align-items: center; justify-content: space-between; height: 65px; }
.brand-logo-img { height: 44px; width: auto; object-fit: contain; }

/* NAV */
.mobile-menu-btn { display: none; background: transparent; border: none; color: var(--color-white); cursor: pointer; }
.main-nav { position: static; max-height: none !important; overflow: visible; background: transparent; box-shadow: none; }
.main-nav ul { display: flex; gap: 1.5rem; align-items: center; }
.nav-link { font-size: 0.85rem; font-weight: 600; color: var(--color-text-main); transition: color var(--transition-fast); }
.nav-link:hover { color: var(--color-primary); }
.back-home { font-size: 0.78rem !important; color: var(--color-primary) !important; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid rgba(201,169,110,0.4); padding: 5px 12px; border-radius: 4px; transition: var(--transition-smooth); }
.back-home:hover { background: rgba(201,169,110,0.1); border-color: var(--color-primary); }

/* BOTONES */
.btn-primary, .btn-secondary { display: inline-flex; justify-content: center; align-items: center; padding: 0.8rem 1.8rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; transition: var(--transition-smooth); cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, var(--color-secondary), var(--color-accent)); color: #0D0D0D; border: none; box-shadow: var(--shadow-gold); }
.btn-primary:hover { transform: translateY(-3px); filter: brightness(1.1); }
.btn-secondary { border: 1px solid rgba(201,169,110,0.4); background: rgba(255,255,255,0.02); color: var(--color-text-main); }
.btn-secondary:hover { transform: translateY(-3px); border-color: var(--color-primary); color: var(--color-primary); }
.btn-small { padding: 0.5rem 1.2rem; font-size: 0.75rem; }

/* HERO */
.hero-section { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-parallax { position: absolute; top: -5%; left: -5%; right: -5%; bottom: -5%; background-image: url('https://i.postimg.cc/qBFTBQxC/Gemini-Generated-Image-aee3keaee3keaee3.png'); background-size: cover; background-position: center center; background-attachment: fixed; filter: saturate(0.85) brightness(0.35) contrast(1.1); z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,0.45) 0%, rgba(13,13,13,0.72) 60%, rgba(13,13,13,0.97) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-subtitle { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1.2rem; }
.hero-title { font-family: var(--font-title); font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 600; line-height: 1.1; margin-bottom: 1.2rem; }
.hero-description { max-width: 700px; margin: 0 auto 2.5rem; font-size: 1.05rem; color: var(--color-text-muted); font-weight: 300; }
.hero-actions { display: flex; justify-content: center; gap: 1rem; }

/* SECCIONES */
section { padding: var(--spacing-lg) 0; }
.section-header { margin-bottom: 3rem; }
.section-kicker { color: var(--color-primary); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.section-title { font-family: var(--font-title); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; margin-bottom: 1rem; }
.section-desc { color: var(--color-text-muted); max-width: 600px; margin: 0 auto; }

/* ══════════════════════════════════════════════ */
/* TESTIMONIOS (CARRUSEL AUTOMÁTICO)              */
/* ══════════════════════════════════════════════ */
.testimonials-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #0d0d0d, #111);
  border-bottom: 1px solid var(--color-border);
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0 3rem;
  /* Máscaras para difuminar los bordes laterales y se vea más elegante */
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scrollTestimonials 55s linear infinite;
}

.carousel-group {
  display: flex;
  gap: 2rem;
}

/* Pausar animación si el usuario pone el mouse encima */
.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scrollTestimonials {
  0% { transform: translateX(0); }
  /* Se desplaza exactamente el ancho de un grupo entero más la separación */
  100% { transform: translateX(calc(-50% - 1rem)); } 
}

.testi-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.testi-card:hover {
  border-color: rgba(201,169,110,0.4);
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.testi-content {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  position: relative;
}

/* Comilla decorativa */
.testi-content::before {
  content: '"';
  font-family: var(--font-title);
  font-size: 4rem;
  color: rgba(201,169,110,0.15);
  position: absolute;
  top: -25px;
  left: -15px;
  line-height: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testi-author img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary);
}

.testi-author h4 {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.2rem 0;
}

.testi-author span {
  color: var(--color-primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
  .testi-card { 
    width: 320px; 
    padding: 2rem 1.5rem; 
  }
}

/* ABOUT */
.about-section { background: linear-gradient(to bottom, #0a0a0a, #111); padding: 8rem 0; position: relative; }
.about-container { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 5rem; align-items: center; }
.about-image-wrapper { position: relative; border-radius: 50%; width: 350px; height: 350px; margin: 0 auto; }
.about-glow { display: none !important; }
.about-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; position: relative; z-index: 2; border: 3px solid rgba(201,169,110,0.3); filter: grayscale(20%) contrast(1.1); transition: all 0.5s ease; box-shadow: 0 0 40px 10px rgba(201,169,110,0.4); animation: pulseShadow 4s infinite alternate; }
.about-img:hover { filter: grayscale(0%) contrast(1); transform: scale(1.05); border-color: var(--color-primary); box-shadow: 0 0 60px 15px rgba(201,169,110,0.6); }
@keyframes pulseShadow { 0% { box-shadow: 0 0 30px 5px rgba(201,169,110,0.2); } 100% { box-shadow: 0 0 60px 15px rgba(201,169,110,0.5); } }
.about-content { max-width: 600px; }
.about-text { color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 2rem; }
.about-text p { margin-bottom: 1.2rem; }
.left-title { text-align: left; }

/* GALLERY GRID */
.tap-hint { display: inline-block; background: rgba(201,169,110,0.1); border: 1px solid rgba(201,169,110,0.4); padding: 8px 20px; border-radius: 20px; color: var(--color-primary); font-size: 0.9rem; font-weight: 600; margin-top: 15px; animation: pulseGlow 2s infinite alternate; letter-spacing: 0.5px; }
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; max-width: 1000px; margin: 0 auto; }
.gallery-item { position: relative; overflow: hidden; border-radius: 12px; height: 320px; background: #111; cursor: pointer; border: 1px solid var(--color-border); }
.span-half { grid-column: span 3; } 
.span-third { grid-column: span 2; } 
.gallery-item figure, .gallery-item img { width: 100%; height: 100%; margin: 0; }
.gallery-item img { object-fit: cover; object-position: center 25%; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); filter: brightness(1.1); }
.glass-caption { position: absolute; bottom: 0; left: 0; width: 100%; padding: 1.5rem 1rem; background: linear-gradient(to top, rgba(0,0,0,0.95), transparent); z-index: 2; pointer-events: none; text-align: left; }
.glass-caption h3 { font-family: var(--font-title); font-size: 1.4rem; color: var(--color-white); text-transform: uppercase; margin-bottom: 0.2rem; }
.glass-caption p { font-size: 0.85rem; color: var(--color-primary); margin: 0; font-weight: 600; letter-spacing: 0.08em; }

/* ACORDEÓN */
.accordion-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.accordion-item { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.accordion-item.active { border-color: rgba(201,169,110,0.45); box-shadow: 0 0 20px rgba(201,169,110,0.1); }
.accordion-header { width: 100%; padding: 1.5rem 2rem; display: flex; align-items: center; background: transparent; border: none; color: var(--color-white); cursor: pointer; text-align: left; transition: background var(--transition-fast); }
.accordion-header:hover { background: rgba(255,255,255,0.03); }
.accordion-number { color: var(--color-primary); font-weight: 800; font-size: 1.2rem; margin-right: 1.5rem; }
.accordion-header h3 { font-size: 1.1rem; font-weight: 600; margin: 0; flex-grow: 1; }
.accordion-icon { font-size: 1.5rem; font-weight: 300; color: var(--color-primary); transition: transform 0.3s ease; }
.accordion-item.active .accordion-icon { transform: rotate(45deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.25,0.8,0.25,1); }
.accordion-content p { padding: 0 2rem 2rem 4.7rem; margin: 0; color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.7; }

/* PRECIOS */
.pricing-section { background: linear-gradient(180deg, #111, #0a0a0a); padding-bottom: 8rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1000px; margin: 0 auto; align-items: stretch; justify-content: center; }
.pricing-card { background: rgba(20,20,20,0.7); border: 1px solid var(--color-border); border-radius: 20px; padding: 3rem 2.5rem; text-align: center; position: relative; display: flex; flex-direction: column; transition: all 0.4s cubic-bezier(0.25,0.8,0.25,1); backdrop-filter: blur(10px); }
.pricing-card:hover { transform: translateY(-10px); border-color: rgba(201,169,110,0.35); box-shadow: 0 15px 30px rgba(0,0,0,0.6); }
.pricing-card h3 { font-family: var(--font-title); font-size: 1.6rem; font-weight: 400; margin-bottom: 0.5rem; color: var(--color-text-main); }
.price { font-size: 3.5rem; font-weight: 900; color: var(--color-primary); margin: 0.5rem 0 2rem; letter-spacing: -2px; }
.pricing-features { text-align: left; margin-bottom: 2.5rem; flex-grow: 1; padding: 0 1rem; list-style: none; }
.pricing-features li { padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--color-text-muted); font-size: 0.95rem; display: flex; align-items: center; gap: 12px; }
.pricing-features li::before { content: "✓"; color: var(--color-primary); font-weight: 900; font-size: 1.1rem; }
.pricing-card .btn-secondary { border: 1px solid var(--color-primary); width: 100%; margin-top: auto; }

.premium-card { background: linear-gradient(145deg, rgba(30,22,12,0.95), rgba(22,16,8,0.98)); border: 2px solid rgba(201,169,110,0.6); transform: scale(1.08); box-shadow: 0 20px 50px rgba(0,0,0,0.7), inset 0 0 30px rgba(201,169,110,0.08); z-index: 2; padding: 4rem 2.5rem; }
.premium-card:hover { transform: scale(1.1) translateY(-10px); border-color: var(--color-primary); }
.premium-card .price { color: var(--color-primary); text-shadow: 0 0 20px rgba(201,169,110,0.4); }
.premium-card h3 { font-size: 1.8rem; }
.popular-badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, var(--color-secondary), var(--color-accent)); color: #0D0D0D; padding: 0.5rem 1.5rem; border-radius: 30px; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; box-shadow: 0 5px 15px rgba(201,169,110,0.35); white-space: nowrap; }

/* SERVICIOS ADICIONALES */
.addons-container { margin-top: 5rem; padding-top: 4rem; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; }
.addons-title { font-family: var(--font-title); font-size: 2rem; color: var(--color-white); margin-bottom: 0.5rem; font-weight: 400; }
.addons-desc { color: var(--color-primary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2.5rem; }
.addons-grid { display: grid; grid-template-columns: repeat(3, 300px); gap: 1.5rem; max-width: 1000px; margin: 0 auto; justify-content: center; }
.addon-card { background: rgba(20,20,20,0.4); border: 1px solid rgba(255,255,255,0.03); border-radius: 16px; padding: 2rem 1.5rem; transition: var(--transition-fast); backdrop-filter: blur(5px); }
.addon-card:hover { border-color: rgba(201,169,110,0.3); background: rgba(30,30,30,0.6); transform: translateY(-5px); }
.addon-icon { font-size: 2.2rem; display: block; margin-bottom: 1rem; filter: drop-shadow(0 0 10px rgba(201,169,110,0.2)); }
.addon-card h4 { color: var(--color-white); font-size: 1.1rem; margin-bottom: 0.5rem; font-weight: 600; }
.addon-card p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.5; margin: 0; }

/* CONTACTO */
.contact-section { background: linear-gradient(180deg, rgba(17,17,17,1), rgba(10,10,10,1)); padding-bottom: 6rem; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.social-card { background: rgba(20,20,20,0.6); border: 1px solid var(--color-border); border-radius: 20px; padding: 2.5rem 1.5rem; text-align: center; transition: all 0.4s cubic-bezier(0.25,0.8,0.25,1); display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; text-decoration: none; }
.social-icon { font-size: 2.5rem; margin-bottom: 1rem; transition: transform 0.4s ease; filter: drop-shadow(0 0 10px rgba(201,169,110,0.25)); }
.social-card::before { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 0%; background: linear-gradient(to top, rgba(201,169,110,0.12), transparent); transition: height 0.4s ease; z-index: 0; }
.social-card:hover { transform: translateY(-10px); border-color: var(--color-primary); box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 20px rgba(201,169,110,0.15); }
.social-card:hover::before { height: 100%; }
.social-card:hover .social-icon { transform: scale(1.2) translateY(-5px); }
.social-card .contact-label, .social-card strong { position: relative; z-index: 1; }
.contact-label { display: block; color: var(--color-primary); font-size: 0.8rem; text-transform: uppercase; margin-bottom: 0.5rem; letter-spacing: 0.1em; }

/* FOOTER */
.site-footer { position: relative; background: #080808; border-top: 1px solid var(--color-border); padding-top: 4rem; overflow: hidden; }
.footer-content { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 2rem; padding-bottom: 3rem; max-width: 1100px; margin: 0 auto; }
.footer-brand { max-width: 450px; }
.footer-logo { height: 46px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.6; }
.footer-links h3 { color: var(--color-primary); font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1.2rem; border-bottom: 1px solid rgba(201,169,110,0.2); padding-bottom: 6px; display: inline-block; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links a { color: var(--color-text-muted); opacity: 0.85; font-size: 0.9rem; transition: all var(--transition-fast); display: inline-block; }
.footer-links a:hover { color: var(--color-primary); opacity: 1; transform: translateX(5px); }
.footer-bottom { position: relative; z-index: 1; padding: 1.5rem 0; text-align: center; border-top: 1px solid var(--color-border); }
.footer-bottom p { color: var(--color-text-muted); font-size: 0.85rem; margin: 0; }

/* ══════════════════════════════════════════════════════════
   VISOR DE GALERÍA (LIGHTBOX)
══════════════════════════════════════════════════════════ */
.visor-galeria {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.visor-galeria.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.visor-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(5, 9, 18, 0.95); /* Fondo oscuro elegante */
  backdrop-filter: blur(8px);
}

.visor-cerrar {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.2s ease, transform 0.2s ease;
}

.visor-cerrar:hover {
  color: var(--color-primary);
  transform: scale(1.1);
}

.visor-contador {
  position: absolute;
  top: 30px;
  left: 30px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  font-family: var(--font-ui);
  letter-spacing: 2px;
  z-index: 10000;
}

.visor-contenedor-img {
  position: relative;
  z-index: 10000;
  width: 90%;
  max-width: 1200px;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#visor-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border-radius: 4px;
  transition: opacity 0.3s ease;
  user-select: none;
}

/* Botones Anterior / Siguiente */
.visor-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.visor-nav:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #000;
}

.visor-prev { left: 30px; }
.visor-next { right: 30px; }

/* Loader sutil mientras carga la foto */
.visor-loader {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spinLoader 1s linear infinite;
}

@keyframes spinLoader {
  to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════ */
/* NUEVO MODAL PLANES DE PRECIOS                  */
/* ══════════════════════════════════════════════ */
.plan-modal { display: none; position: fixed; inset: 0; z-index: 10000; background: rgba(8,8,8,0.92); backdrop-filter: blur(12px); justify-content: center; align-items: center; padding: 1rem; }
.plan-modal.active { display: flex !important; animation: fadeIn 0.3s ease forwards; opacity: 1 !important; pointer-events: auto !important; }
.plan-modal-content { background: #111111; border: 1px solid rgba(201,169,110,0.2); border-radius: 12px; width: 100%; max-width: 750px; max-height: 90vh; overflow-y: auto; position: relative; padding: 2.5rem; box-shadow: 0 20px 50px rgba(0,0,0,0.9); }
.close-plan-modal { position: absolute; top: 15px; right: 20px; font-size: 2rem; color: #fff; font-weight: 300; cursor: pointer; transition: color 0.3s; z-index: 10005; }
.close-plan-modal:hover { color: var(--color-primary); }

.modal-header-info { display: flex; align-items: baseline; gap: 15px; margin-bottom: 1.5rem; }
.plan-modal-title { font-family: var(--font-title); font-size: 2.2rem; font-weight: 400; color: #fff; margin: 0; }
.plan-modal-price { font-size: 2rem; font-weight: 900; color: var(--color-primary); }

/* Galería de 3 fotos del modal */
.modal-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 2rem; }
.modal-gallery img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); }

/* Detalles de lista */
.plan-details h4 { color: var(--color-primary); font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; font-weight: 600; }
.plan-details ul { list-style: none; margin-bottom: 2rem; padding: 0; }
.plan-details li { color: #ccc; font-size: 0.95rem; margin-bottom: 0.8rem; display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.plan-details li::before { content: "•"; color: var(--color-primary); font-size: 1.2rem; line-height: 1; }

/* Caja de Términos */
.modal-terms-box { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05); padding: 1.5rem; border-radius: 8px; margin-bottom: 1.5rem; }
.modal-terms-box h4 { color: var(--color-primary); font-size: 0.9rem; text-transform: uppercase; margin-bottom: 1rem; font-weight: 600; }
.modal-terms-box p { color: #aaa; font-size: 0.85rem; margin-bottom: 0.8rem; line-height: 1.6; }
.modal-terms-box p:last-child { margin-bottom: 0; }
.modal-terms-box strong { color: #fff; }

/* RESPONSIVE */
@media (max-width: 992px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 3rem; padding: 0 1rem; }
  .addons-grid { grid-template-columns: 1fr; padding: 0 1rem; }
  .premium-card { transform: scale(1); padding: 3rem 2.5rem; }
  .premium-card:hover { transform: translateY(-10px); }
  .about-container { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .about-content { margin: 0 auto; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .about-image-wrapper { width: 250px; height: 250px; }
  .header-wrap { height: 55px; }
  .brand-logo-img { height: 36px; }
  .mobile-menu-btn { display: block; z-index: 2001; }
  
  /* ESTILOS DEL MENÚ MÓVIL CORREGIDOS */
  .main-nav { 
    position: fixed; 
    top: 0; 
    right: -100%; /* Oculto fuera de la pantalla */
    width: 80%; /* Ocupa el 80% del ancho */
    height: 100vh; 
    background: rgba(10, 10, 10, 0.98); 
    backdrop-filter: blur(15px); 
    box-shadow: -10px 0 30px rgba(0,0,0,0.8); 
    padding: 80px 20px 20px 20px; 
    max-height: 100vh !important; 
    overflow-y: auto; 
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); 
    z-index: 2000;
  }
  
  .main-nav.active { 
    right: 0; /* Entra en la pantalla */
  }
  
  .main-nav ul { 
    flex-direction: column; 
    gap: 1.5rem; 
    text-align: left; 
    padding: 0; 
  }
  
  .main-nav a { 
    display: inline-block; 
    padding: 5px 0; 
    font-size: 1.2rem; 
    border-bottom: none; 
  }

  /* Fondo oscuro cuando el menú está abierto */
  body.menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    pointer-events: auto;
  }
  
  .span-half, .span-third { grid-column: span 6; }
  .gallery-item { height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; text-align: center; gap: 3rem; }
  .footer-brand, .footer-logo { margin: 0 auto 1.5rem auto; }
  .footer-links ul { align-items: center; }
  .addons-grid { grid-template-columns: 1fr; gap: 1rem; }
  
  /* Ajustes del modal en móvil */
  .modal-header-info { flex-direction: column; gap: 5px; }
  .plan-modal-content { padding: 1.5rem; }
  .modal-gallery { grid-template-columns: 1fr; }
  .modal-gallery img { height: 200px; }
}
