/* ==========================================================================
   AMARRES Y ABUNDANCIA - ESTILOS PRINCIPALES
   Estética: Místico Celestial & Oro
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Paleta Celestial & Oro */
  --bg-dark: #070a12;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(22, 33, 61, 0.85);
  --bg-header: rgba(7, 10, 18, 0.92);
  
  --gold-100: #fff6d1;
  --gold-300: #f7df87;
  --gold-500: #d4af37;
  --gold-600: #b89223;
  --gold-700: #8c6a12;
  --gold-glow: rgba(212, 175, 55, 0.35);

  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-subtle: #94a3b8;

  --accent-love: #f43f5e;
  --accent-love-glow: rgba(244, 63, 94, 0.3);
  --accent-wealth: #10b981;
  --accent-wealth-glow: rgba(16, 185, 129, 0.3);
  --whatsapp-green: #25d366;
  --whatsapp-glow: rgba(37, 211, 102, 0.4);

  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --border-gold: 1px solid rgba(212, 175, 55, 0.25);
  --border-gold-hover: 1px solid rgba(212, 175, 55, 0.6);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(56, 189, 248, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(212, 175, 55, 0.04) 0%, transparent 45%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Tipografía Especial */
.font-serif {
  font-family: var(--font-serif);
}

.text-gold {
  color: var(--gold-300);
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fff3b0 0%, #d4af37 50%, #b89223 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Barra Superior Informativa */
.topbar {
  background: linear-gradient(90deg, #070a12, #172033, #070a12);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  color: var(--text-muted);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-300);
  font-weight: 500;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--whatsapp-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--whatsapp-green);
  animation: pulse-dot-anim 1.8s infinite;
}

@keyframes pulse-dot-anim {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px var(--whatsapp-green); }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Header & Navegación */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-gold);
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-300);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, #fff3b0 0%, #d4af37 50%, #b89223 100%);
  color: #080c16;
  box-shadow: 0 4px 18px var(--gold-glow);
  position: relative;
  overflow: hidden;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.55);
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(25deg);
  transition: 0.7s;
}

.btn-gold:hover::after {
  left: 120%;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #2fe675 0%, #25d366 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(37, 211, 102, 0.6);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-300);
  border: 1px solid var(--gold-500);
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.12);
  color: #ffffff;
  border-color: var(--gold-300);
}

/* Botón Hamburguesa */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--gold-300);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION (Con Soporte Video Background + Imagen Fallback)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img, .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(7, 10, 18, 0.6) 0%, 
    rgba(7, 10, 18, 0.8) 50%, 
    rgba(7, 10, 18, 0.98) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--gold-300);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.4rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-subtle);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

.guarantee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.guarantee-item svg {
  color: var(--gold-500);
}

/* ==========================================================================
   SECCIONES COMUNES
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   SERVICIOS DESTACADOS (Tarjetas de Misticismo)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border: var(--border-gold-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.2);
}

.service-image-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img {
  transform: scale(1.08);
}

.service-overlay-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(7, 10, 18, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--gold-300);
  backdrop-filter: blur(6px);
}

.service-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.service-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.service-features li svg {
  color: var(--gold-500);
  flex-shrink: 0;
}

.service-footer {
  margin-top: auto;
}

/* ==========================================================================
   SECCIÓN DE VIDEO / MENSAJE DEL GUÍA ESPIRITUAL
   ========================================================================== */
.video-section {
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.5), transparent);
}

.video-container {
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-card);
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  position: relative;
}

.video-player-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}

.video-poster-img, .video-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 10, 18, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
}

.video-play-overlay:hover {
  background: rgba(7, 10, 18, 0.25);
}

.play-btn-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff3b0, #d4af37);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080c16;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
  transition: var(--transition);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.play-btn-circle svg {
  width: 32px;
  height: 32px;
  transform: translateX(2px);
}

.video-caption {
  margin-top: 1.5rem;
  color: var(--text-main);
  font-size: 1.1rem;
  font-family: var(--font-serif);
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   PROCESO DE ATENCIÓN (3 Pasos)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-5px);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.4) 0%, rgba(212, 175, 55, 0.05) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.step-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   TESTIMONIOS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.test-stars {
  color: var(--gold-300);
  display: flex;
  gap: 4px;
  margin-bottom: 1rem;
}

.test-quote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.test-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #334155);
  border: 1px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  font-weight: 700;
  font-size: 1rem;
}

.test-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
}

.test-city {
  font-size: 0.82rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   PREGUNTAS FRECUENTES (FAQ Acordeón)
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(212, 175, 55, 0.45);
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--gold-300);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--gold-500);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 1.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding-bottom: 1.4rem;
}

/* ==========================================================================
   BANNER FINAL CTA
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(22, 33, 61, 0.9) 100%);
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #04060b;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
  color: var(--text-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 400px;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a:hover {
  color: var(--gold-300);
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  font-size: 0.78rem;
  line-height: 1.7;
  color: #64748b;
  text-align: center;
}

.footer-copy {
  margin-top: 1rem;
  color: #475569;
  text-align: center;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE LLAMADA (Ubicado Arriba de WhatsApp)
   ========================================================================== */
.call-float {
  position: fixed;
  bottom: 85px;
  right: 25px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #fff3b0 0%, #d4af37 50%, #b89223 100%);
  color: #080c16;
  padding: 10px 18px 10px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
  transition: var(--transition);
  text-decoration: none;
}

.call-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.7);
  color: #080c16;
}

.call-float-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-float-text {
  display: flex;
  flex-direction: column;
}

.call-float-title {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.1;
}

.call-float-status {
  font-size: 0.7rem;
  opacity: 0.9;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP (Móvil & Desktop)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  padding: 10px 18px 10px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.7);
  color: #ffffff;
}

.whatsapp-float-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float-text {
  display: flex;
  flex-direction: column;
}

.whatsapp-float-title {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.1;
}

.whatsapp-float-status {
  font-size: 0.7rem;
  opacity: 0.92;
}

/* ==========================================================================
   MODAL DE VIDEO
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 850px;
  background: var(--bg-card);
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-500);
  color: #080c16;
  border: none;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 991px) {
  .header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #070a12 !important;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background: rgba(7, 10, 18, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 2.5rem 2rem;
    gap: 1.2rem;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: var(--border-gold);
    z-index: 99999;
    overflow-y: auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu .nav-link {
    font-size: 1.15rem;
    padding: 0.8rem 1rem;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    color: var(--text-main);
  }

  .nav-menu .nav-link:hover {
    color: var(--gold-300);
    padding-left: 1.4rem;
  }

  .menu-toggle {
    display: flex;
    cursor: pointer;
    z-index: 1000000;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(15, 23, 42, 0.8);
    color: var(--gold-300);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .logo-img {
    height: 38px;
    max-width: 180px;
  }
  .nav-wrapper {
    padding: 0.6rem 0;
  }
  .header .nav-actions .btn-whatsapp span {
    display: none;
  }
  .header .nav-actions .btn-whatsapp {
    padding: 0.55rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
  }
  .topbar {
    text-align: center;
  }
    text-align: center;
  }
  .topbar .container {
    justify-content: center;
  }
  .topbar-right {
    display: none;
  }
  .hero {
    min-height: auto;
    padding: 3.5rem 0;
  }
  .hero-guarantees {
    flex-direction: column;
    gap: 0.8rem;
  }
  .whatsapp-float-text, .call-float-text {
    display: none; /* En móvil solo icono flotante */
  }
  .whatsapp-float {
    padding: 12px;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    justify-content: center;
  }
  .call-float {
    padding: 12px;
    bottom: 78px; /* Ubicado exactamente encima del botón de WhatsApp */
    right: 20px;
    width: 48px;
    height: 48px;
    justify-content: center;
  }
  .call-float-icon, .whatsapp-float-icon {
    width: 24px;
    height: 24px;
  }
}
