/* ==========================================================================
   MAESTRA MARÍA CLARIDAD BLANCO - SITIO WEB OFICIAL ESPIRITUAL
   Estilo: Astrológico Moderno, Místico y de Lujo (Dark Mode Crimson & Gold)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;1,400&display=swap');

:root {
  --bg-black: #080406;
  --bg-gradient: linear-gradient(180deg, #0a0407 0%, #16040a 50%, #080306 100%);
  --bg-card: rgba(22, 8, 14, 0.78);
  --bg-card-hover: rgba(36, 12, 22, 0.92);
  
  --red-neon: #ff1a4a;
  --red-crimson: #e60033;
  --red-dark: #6e0018;
  --red-glow: rgba(255, 26, 74, 0.45);
  
  --gold-light: #f7e099;
  --gold-primary: #dfb259;
  --gold-dark: #a1782a;
  --gold-gradient: linear-gradient(135deg, #f7e099 0%, #dfb259 50%, #9e7529 100%);
  --gold-glow: rgba(223, 178, 89, 0.35);

  --whatsapp-green: #25D366;
  --whatsapp-glow: rgba(37, 211, 102, 0.4);
  
  --text-main: #fcf6f8;
  --text-muted: #cdb6be;
  --text-gold: #f3d489;
  
  --border-gold: 1px solid rgba(223, 178, 89, 0.3);
  --border-red: 1px solid rgba(255, 26, 74, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --font-heading: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;
  --font-accent: 'Playfair Display', serif;
  
  --shadow-glow-red: 0 0 25px rgba(255, 26, 74, 0.35);
  --shadow-glow-gold: 0 0 25px rgba(223, 178, 89, 0.3);
  --transition: all 0.3s ease;
}

/* --- RESET & BASIC STYLING --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-black);
  background-image: radial-gradient(circle at 50% 20%, #20050d 0%, #080406 80%);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Canvas for Particle Starfield */
#starsCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* General Layout Containers */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-main);
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-red-neon {
  color: var(--red-neon);
  text-shadow: 0 0 12px var(--red-glow);
}

.subtitle-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  border: 1px solid rgba(223, 178, 89, 0.4);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(223, 178, 89, 0.08);
  margin-bottom: 14px;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-description {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto;
  font-weight: 300;
}

/* --- BUTTONS & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: relative;
  overflow: hidden;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.7);
}

.btn-red-neon {
  background: linear-gradient(135deg, #ff1a4a 0%, #a80024 100%);
  color: #ffffff;
  border: 1px solid #ff6685;
  box-shadow: 0 0 20px rgba(255, 26, 74, 0.5);
  animation: pulseGlowRed 2.5s infinite;
}

.btn-red-neon:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px rgba(255, 26, 74, 0.8);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0d0407;
  font-weight: 800;
  box-shadow: 0 0 18px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--gold-glow);
}

.btn-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Keyframe Animations */
@keyframes pulseGlowRed {
  0% { box-shadow: 0 0 15px rgba(255, 26, 74, 0.4); }
  50% { box-shadow: 0 0 30px rgba(255, 26, 74, 0.7); }
  100% { box-shadow: 0 0 15px rgba(255, 26, 74, 0.4); }
}

@keyframes pulseGlowGreen {
  0% { box-shadow: 0 0 15px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 0 30px rgba(37, 211, 102, 0.8); }
  100% { box-shadow: 0 0 15px rgba(37, 211, 102, 0.4); }
}

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

/* --- TOP ALERT BANNER (COMPACTO Y COMPACTO) --- */
.top-banner {
  background: linear-gradient(90deg, #590013 0%, #900022 50%, #590013 100%);
  color: #ffffff;
  text-align: center;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1001;
  border-bottom: 1px solid rgba(223, 178, 89, 0.4);
}

.top-banner span {
  color: var(--gold-light);
  font-weight: 700;
}

/* --- HEADER & NAVIGATION (HEADER SLIM Y MODERNO) --- */
header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 4, 6, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 178, 89, 0.2);
  transition: var(--transition);
}

header.scrolled {
  background: rgba(6, 3, 5, 0.98);
  border-bottom-color: rgba(223, 178, 89, 0.35);
  box-shadow: 0 8px 25px rgba(0,0,0,0.85);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0; /* Header más delgado y compacto */
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #3d0514 0%, #120308 100%);
  color: var(--gold-light);
  font-size: 1.1rem;
  box-shadow: 0 0 10px var(--gold-glow);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.62rem;
  color: var(--gold-primary);
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-primary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Botón compacto en Header */
.header-wa-btn {
  padding: 7px 16px !important;
  font-size: 0.78rem !important;
  border-radius: 20px !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold-primary);
  font-size: 1.6rem;
  cursor: pointer;
}

/* --- SECTION 1: HERO SECTION --- */
.hero-section {
  padding: 60px 0 90px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 26, 74, 0.12);
  border: 1px solid rgba(255, 26, 74, 0.4);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  color: var(--red-neon);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badge .heart-icon {
  animation: pulseGlowRed 1.5s infinite;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  color: var(--text-gold);
  margin-bottom: 18px;
  font-style: italic;
  line-height: 1.4;
}

.hero-text {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 30px;
  font-weight: 300;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.hero-feature-item {
  background: rgba(22, 8, 14, 0.65);
  border: var(--border-gold);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.hero-feature-item .icon {
  font-size: 1.3rem;
  margin-bottom: 2px;
}

.hero-feature-item p {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* MARCOS E IMÁGENES CON ESQUINAS ELEGANTES MEJORADAS */
.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 20px; /* Esquinas pulidas redondeadas */
  overflow: hidden;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 35px var(--red-glow), 0 0 25px var(--gold-glow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-img-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 45px var(--red-glow), 0 0 35px var(--gold-glow);
}

.hero-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-img-wrapper:hover img {
  transform: scale(1.03);
}

.hero-floating-card {
  position: absolute;
  bottom: -15px;
  left: -15px;
  background: rgba(14, 4, 8, 0.94);
  backdrop-filter: blur(12px);
  border: var(--border-gold);
  border-radius: 16px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.8);
  animation: floatAnim 4s ease-in-out infinite;
}

.hero-floating-card .gold-icon {
  font-size: 1.8rem;
  color: var(--gold-primary);
}

.hero-floating-card h4 {
  font-size: 0.88rem;
  color: var(--gold-light);
}

.hero-floating-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- SECTION 2: SOBRE LA MAESTRA --- */
.about-section {
  background: linear-gradient(180deg, rgba(8,4,6,0) 0%, rgba(26,5,12,0.6) 50%, rgba(8,4,6,0) 100%);
  border-top: 1px solid rgba(223, 178, 89, 0.12);
  border-bottom: 1px solid rgba(223, 178, 89, 0.12);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img-box {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: 20px; /* Esquinas pulidas y refinadas */
  overflow: hidden;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 35px rgba(0,0,0,0.9), 0 0 25px var(--gold-glow);
  transition: transform 0.4s ease;
}

.about-img-frame:hover {
  transform: translateY(-4px);
}

.about-img-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--gold-gradient);
  color: #090306;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 900;
  box-shadow: 0 0 20px var(--gold-glow);
}

.about-experience-badge span.num {
  font-size: 1.6rem;
  line-height: 1;
}

.about-experience-badge span.txt {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 0.98rem;
}

.about-quotes {
  border-left: 3px solid var(--red-neon);
  padding-left: 18px;
  margin: 22px 0;
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--text-gold);
  font-size: 1.1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(223, 178, 89, 0.2);
}

.stat-box h3 {
  color: var(--gold-primary);
  font-size: 1.6rem;
  font-weight: 800;
}

.stat-box p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- SECTION 3: SERVICIOS ESPIRITUALES --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: var(--border-gold);
  border-radius: 18px; /* Esquinas curvas impecables */
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--gold-primary);
  box-shadow: 0 12px 30px rgba(0,0,0,0.85), 0 0 20px rgba(223, 178, 89, 0.25);
}

.service-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  border-radius: 18px 18px 0 0;
}

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

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(10, 4, 7, 0.88);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--red-neon);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(223, 178, 89, 0.15);
  padding-top: 12px;
}

.service-link {
  color: var(--gold-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--gold-light);
  gap: 8px;
}

/* --- SECTION 4: PASOS DEL PROCESO --- */
.process-section {
  background: radial-gradient(circle at 50% 50%, #1d050d 0%, #080406 70%);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(223,178,89,0.1) 0%, rgba(223,178,89,0.8) 50%, rgba(223,178,89,0.1) 100%);
  z-index: 1;
}

.step-card {
  background: var(--bg-card);
  border: var(--border-gold);
  border-radius: 16px;
  padding: 25px 18px;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--red-neon);
  box-shadow: 0 10px 25px rgba(255, 26, 74, 0.2);
}

.step-number {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  background: radial-gradient(circle, #3d0514 0%, #0c0407 100%);
  border: 2px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold-light);
  box-shadow: 0 0 18px var(--gold-glow);
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text-gold);
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- SECTION 5: TEST & DIAGNÓSTICO INTERACTIVO --- */
.widget-section {
  padding: 70px 0;
}

.widget-container {
  background: linear-gradient(135deg, rgba(26, 8, 16, 0.95) 0%, rgba(12, 4, 8, 0.98) 100%);
  border: 2px solid var(--gold-primary);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 0 45px rgba(0,0,0,0.9), 0 0 25px var(--gold-glow);
  position: relative;
  overflow: hidden;
}

.widget-container::before {
  content: '🔮';
  position: absolute;
  top: -30px;
  right: -30px;
  font-size: 13rem;
  opacity: 0.04;
  pointer-events: none;
}

.widget-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.form-control {
  background: rgba(8, 4, 6, 0.8);
  border: 1px solid rgba(223, 178, 89, 0.4);
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--red-neon);
  box-shadow: 0 0 15px var(--red-glow);
}

.widget-action {
  grid-column: span 3;
  text-align: center;
  margin-top: 10px;
}

.diagnostic-result {
  grid-column: span 3;
  margin-top: 22px;
  padding: 25px;
  background: rgba(14, 4, 8, 0.92);
  border: 1px solid var(--gold-primary);
  border-radius: 16px;
  display: none;
  animation: fadeIn 0.5s ease;
}

.diagnostic-result.active {
  display: block;
}

.diagnostic-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.diagnostic-header .icon {
  font-size: 2rem;
}

.diagnostic-header h3 {
  color: var(--gold-light);
  font-size: 1.2rem;
}

.diagnostic-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.diagnostic-cta {
  text-align: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- SECTION 6: TESTIMONIOS Y CASOS DE ÉXITO --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testimonial-card {
  background: var(--bg-card);
  border: var(--border-gold);
  border-radius: 16px;
  padding: 25px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.7);
}

.stars {
  color: #ffca28;
  font-size: 1rem;
  margin-bottom: 12px;
}

.testimonial-quote {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--text-main);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(223, 178, 89, 0.15);
  padding-top: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #090306;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.user-info h4 {
  font-size: 0.9rem;
  color: var(--gold-light);
}

.user-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- SECTION 7: PREGUNTAS FRECUENTES (FAQ) --- */
.faq-section {
  background: linear-gradient(180deg, rgba(8,4,6,0) 0%, rgba(20,5,10,0.5) 100%);
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--bg-card);
  border: var(--border-gold);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--red-neon);
  box-shadow: 0 0 18px rgba(255, 26, 74, 0.2);
}

.faq-header {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  text-transform: none;
}

.faq-toggle-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  color: var(--red-neon);
  border-color: var(--red-neon);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
  padding: 0 22px;
}

.faq-item.active .faq-body {
  max-height: 500px;
  padding: 0 22px 22px 22px;
  transition: max-height 0.4s ease-in-out;
}

.faq-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- SECTION 8: FINAL CTA & CONTACT BANNER CON IMAGEN REAL --- */
.contact-cta-section {
  padding: 70px 0;
}

.contact-card-wrap {
  background: linear-gradient(135deg, #38000f 0%, #16040a 60%, #070305 100%);
  border: 2px solid var(--red-neon);
  border-radius: 20px;
  padding: 50px 35px;
  text-align: center;
  box-shadow: var(--shadow-glow-red);
  position: relative;
  overflow: hidden;
}

.contact-grid-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.contact-text-side h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.contact-text-side p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.contact-phone-display {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,0,0,0.65);
  border: 1px solid var(--gold-primary);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  margin-bottom: 25px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold-light);
}

.contact-img-side {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 30px var(--red-glow);
}

.contact-img-side img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- FOOTER --- */
footer {
  background: #040203;
  border-top: 1px solid rgba(223, 178, 89, 0.2);
  padding: 50px 0 25px;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 35px;
  margin-bottom: 35px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 12px;
  max-width: 380px;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- FLOATING WHATSAPP BUTTON --- */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff;
  padding: 10px 20px 10px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 5px 22px rgba(37, 211, 102, 0.6);
  animation: pulseGlowGreen 2s infinite;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.9);
}

.floating-whatsapp svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .contact-grid-content {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }

  .hero-content, .about-content {
    margin: 0 auto;
  }

  .hero-features {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before {
    display: none;
  }

  .widget-form {
    grid-template-columns: 1fr;
  }

  .widget-action, .diagnostic-result {
    grid-column: span 1;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(8, 4, 6, 0.98);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--gold-primary);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .widget-container {
    padding: 22px;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    padding: 12px;
    border-radius: 50%;
  }
}
