/* ============================================
   VARIABLES PREMIUM - VERDE MÍSTICO & ESPIRITUAL
   (TODOS los tonos dorados reemplazados por verdes)
============================================ */
:root {
  --bg-deep: #05070f;
  --bg-elevated: #0c1122;
  --bg-card: #11162b;
  --border-glow: rgba(60, 180, 100, 0.3);
  --emerald-dim: #2d6a4f;
  --emerald-bright: #52b788;
  --mystic-green: #1b4332;
  --jade-light: #74c69d;
  --night-green: #081c15;
  --text-luxury: #f3f0e6;
  --text-mystic: #cbc3e0;
  --shadow-premium: 0 25px 40px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(60, 180, 100, 0.2);
  --glow-green: 0 0 12px rgba(60, 180, 100, 0.5);
  --transition-smooth: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-mystic);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Fondo místico con degradado verde profundo */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(27, 67, 50, 0.35), rgba(5, 7, 15, 0.96));
  pointer-events: none;
  z-index: -2;
}

/* Estrellas dinámicas sutiles */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(2px 2px at 15px 40px, rgba(100, 200, 130, 0.6), rgba(0,0,0,0)),
                    radial-gradient(1px 1px at 70px 150px, #b7efc5, rgba(0,0,0,0));
  background-size: 250px 250px, 180px 180px;
  background-repeat: repeat;
  opacity: 0.3;
  animation: starFloat 70s linear infinite;
}

@keyframes starFloat {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 300px 300px, 200px 200px; }
}

/* ============================================
     ALERTA DE EDAD - GLASS PREMIUM VERDE
============================================ */
.age-alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000;
  width: 90%;
  max-width: 460px;
  background: rgba(12, 17, 34, 0.92);
  backdrop-filter: blur(20px);
  border-radius: 40px;
  border: 1px solid var(--emerald-bright);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 15px rgba(60, 180, 100, 0.4);
  padding: 18px 24px;
  animation: fadeScale 0.35s ease;
}

.age-alert-content {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.age-alert-content i {
  color: var(--emerald-bright);
  font-size: 1.7rem;
  filter: drop-shadow(0 0 3px #52b788);
}

.age-alert-content span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-luxury);
}

.close-alert {
  background: rgba(60, 180, 100, 0.2);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--emerald-bright);
  font-size: 1rem;
  transition: 0.2s;
  cursor: pointer;
}

.close-alert:hover {
  background: var(--emerald-bright);
  color: #0c1122;
  transform: rotate(90deg);
}

@keyframes fadeScale {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.9);}
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1);}
}

/* ============================================
     NAVBAR LUXURY VERDE
============================================ */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(5, 7, 15, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(60, 180, 100, 0.4);
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}



.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 700;
  background: linear-gradient(135deg, #74c69d, #2d6a4f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--emerald-bright);
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 2.3rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--text-mystic);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--emerald-bright);
  text-shadow: 0 0 6px rgba(60, 180, 100, 0.5);
}

.btn-outline-green {
  border: 1.5px solid var(--emerald-bright);
  padding: 8px 22px;
  border-radius: 40px;
  background: rgba(60, 180, 100, 0.05);
}

.btn-outline-green:hover {
  background: rgba(60, 180, 100, 0.2);
  transform: translateY(-2px);
}

/* ============================================
     HERO MÍSTICO VERDE
============================================ */
.hero-split {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: url('images/fondo.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: blur(2px);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  padding: 3rem 1.5rem;
}

.badge-mystic {
  background: rgba(60, 180, 100, 0.12);
  backdrop-filter: blur(4px);
  padding: 6px 20px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--emerald-bright);
  border: 1px solid var(--emerald-bright);
  display: inline-block;
}

.hero-title-serif {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 700;
  background: linear-gradient(to right, #fff, #74c69d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 20px 0 8px;
}

.hero-subtitle-green {
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--emerald-bright);
  margin-bottom: 30px;
}

.description-text {
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto 12px;
  color: #cbd2e6;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.feature-badge {
  background: rgba(17, 22, 43, 0.7);
  padding: 10px 20px;
  border-radius: 60px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(60, 180, 100, 0.5);
  backdrop-filter: blur(4px);
}

.hero-btns {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-main-green {
  background: linear-gradient(135deg, #2d6a4f, #1b4332);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  color: #f3f0e6;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 5px 20px rgba(45, 106, 79, 0.4);
}

.btn-main-green:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #40916c, #2d6a4f);
  box-shadow: 0 12px 28px rgba(60, 180, 100, 0.5);
}

.btn-link-mystic {
  text-decoration: none;
  color: var(--emerald-bright);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid transparent;
  transition: 0.2s;
}

.btn-link-mystic:hover {
  gap: 12px;
  border-bottom-color: var(--emerald-bright);
}

/* ============================================
     ABOUT SECCIÓN
============================================ */
.about-section {
  padding: 90px 24px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center;
  flex-wrap: wrap;
}

.about-image {
  flex: 1;
  min-width: 260px;
}

.img-glow-frame {
  border-radius: 32px;
  background: linear-gradient(145deg, #2d6a4f, #081c15);
  padding: 6px;
  box-shadow: var(--shadow-premium);
}

.maestra-img-directa {
  width: 100%;
  border-radius: 28px;
  display: block;
  transition: 0.4s;
}

.about-content {
  flex: 1.3;
}

.about-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  color: var(--emerald-bright);
  margin-bottom: 20px;
}

.about-text {
  color: #cfd6e8;
  margin-bottom: 18px;
  line-height: 1.6;
}

.about-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.area-tag {
  background: rgba(60, 180, 100, 0.1);
  padding: 6px 18px;
  border-radius: 40px;
  font-size: 0.85rem;
  border: 1px solid rgba(60, 180, 100, 0.4);
}

.about-whatsapp-btn {
  background: #25D366;
  color: #000;
  display: inline-flex;
  gap: 12px;
  padding: 12px 28px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.about-whatsapp-btn:hover {
  background: #20b859;
  transform: scale(1.02);
}

/* ============================================
     SERVICIOS - TARJETAS ESPIRITUALES VERDES
============================================ */
.services-clean {
  padding: 60px 20px;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(17, 22, 43, 0.5);
  backdrop-filter: blur(4px);
  border-radius: 48px;
  padding: 40px 30px;
  border: 1px solid rgba(60, 180, 100, 0.25);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.6rem;
  color: var(--text-luxury);
}

.section-header p {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-top: 12px;
}

.modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.modern-card {
  background-size: cover;
  background-position: center;
  border-radius: 32px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid rgba(60, 180, 100, 0.25);
}

.modern-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #05070fcc, #11162baa);
  z-index: 1;
}

.card-overlay {
  position: relative;
  z-index: 2;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
}

.modern-card h3 {
  font-size: 1.8rem;
  color: var(--emerald-bright);
  margin-bottom: 12px;
}

.modern-card p {
  color: #e2e2f0;
}

.modern-card:hover {
  transform: translateY(-8px);
  border-color: var(--emerald-bright);
  box-shadow: 0 20px 35px -12px black;
}

/* ============================================
     CONFIANZA - SELLOS VERDES
============================================ */
.trust-section {
  position: relative;
  padding: 70px 20px;
}

.trust-background {
  position: absolute;
  inset: 0;
  background-image: url('images/fondo.jpeg');
  opacity: 0.07;
  background-size: cover;
  z-index: 0;
}

.trust-container {
  position: relative;
  max-width: 1100px;
  margin: auto;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.trust-card {
  background: rgba(17, 22, 43, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 40px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(60, 180, 100, 0.3);
  transition: 0.3s;
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 30px -10px black;
}

.trust-icon {
  width: 80px;
  height: 80px;
  background: #0c1122;
  border-radius: 50%;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  color: var(--emerald-bright);
}

.pulse-icon {
  animation: softPulse 2s infinite;
}

@keyframes softPulse {
  0% { box-shadow: 0 0 0 0 rgba(60, 180, 100, 0.5);}
  70% { box-shadow: 0 0 0 12px rgba(60, 180, 100, 0);}
  100% { box-shadow: 0 0 0 0 rgba(60, 180, 100, 0);}
}

.trust-card h3 {
  color: var(--text-luxury);
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.trust-card p {
  color: var(--text-mystic);
  line-height: 1.7;
  margin-bottom: 25px;
}

.trust-badge {
  margin-top: 20px;
  padding: 6px 16px;
  background: rgba(60, 180, 100, 0.15);
  display: inline-block;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================================
     TESTIMONIOS CARRUSEL LUXE VERDE
============================================ */
.testimonial-section {
  padding: 80px 20px;
  text-align: center;
}

.testimonial-section h2 {
  color: var(--emerald-bright);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.testimonial-subtitle {
  color: #94a3b8;
  font-size: 1rem;
  margin-bottom: 40px;
}

.testimonial-carousel {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 1200px;
  margin: auto;
}

.testimonial-wrapper {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 15px 5px;
  width: 100%;
  scrollbar-width: thin;
}

.t-card {
  background: rgba(17, 22, 43, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 28px;
  padding: 28px;
  min-width: 300px;
  border: 1px solid rgba(60, 180, 100, 0.25);
  position: relative;
  text-align: left;
}

.t-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--emerald-bright);
  margin-bottom: 18px;
}

.t-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.t-author {
  font-weight: 600;
  color: var(--emerald-bright);
  margin-top: 12px;
}

.t-location {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.carousel-btn {
  background: rgba(60, 180, 100, 0.2);
  border: 1px solid var(--emerald-bright);
  width: 48px;
  height: 48px;
  border-radius: 60px;
  cursor: pointer;
  color: var(--emerald-bright);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.carousel-btn:hover {
  background: var(--emerald-bright);
  color: #0c1122;
  transform: scale(1.05);
}

.testimonial-disclaimer {
  max-width: 700px;
  margin: 40px auto 0;
  background: rgba(60, 180, 100, 0.08);
  padding: 14px;
  border-radius: 60px;
  font-size: 0.8rem;
  border-left: 4px solid var(--emerald-bright);
}

/* ============================================
     FOOTER + WHATSAPP FLOAT
============================================ */
.final-cta {
  text-align: center;
  padding: 90px 20px;
  background: #02030c;
  border-top: 1px solid rgba(60, 180, 100, 0.25);
}

.final-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-luxury);
}

.final-cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #94a3b8;
}

.btn-whatsapp-big {
  background: #25D366;
  display: inline-block;
  padding: 16px 44px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: bold;
  color: #0c1122;
  margin-top: 20px;
  transition: 0.3s;
}

.btn-whatsapp-big:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.float-pulse {
  position: fixed;
  bottom: 30px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: black;
  text-decoration: none;
  box-shadow: 0 0 0 0 #25D366aa;
  animation: pulse-green 2s infinite;
  z-index: 1000;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);}
  70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);}
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);}
}

/* ============================================
     RESPONSIVE (MOBILE FIRST PERFECTO)
============================================ */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .navbar-right {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 75%;
    height: calc(100vh - 70px);
    background: rgba(5, 7, 15, 0.95);
    backdrop-filter: blur(20px);
    transition: 0.3s;
    padding: 28px;
    z-index: 999;
  }
  
  .navbar-right.active {
    left: 0;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .hero-title-serif {
    font-size: 2.8rem;
  }
  
  .hero-subtitle-green {
    font-size: 1.2rem;
  }
  
  .description-text {
    font-size: 0.9rem;
  }
  
  .feature-badge {
    padding: 5px 12px;
    font-size: 0.75rem;
  }
  
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
  
  .about-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .about-subtitle {
    font-size: 2rem;
    text-align: center;
  }
  
  .about-text {
    text-align: center;
  }
  
  .about-areas {
    justify-content: center;
  }
  
  .modern-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .modern-card {
    min-height: 350px;
  }
  
  .trust-container {
    gap: 25px;
  }
  
  .testimonial-wrapper {
    gap: 16px;
  }
  
  .t-card {
    min-width: 85%;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .final-cta h2 {
    font-size: 1.8rem;
  }
  
  .float-pulse {
    width: 50px;
    height: 50px;
    font-size: 26px;
    bottom: 20px;
    right: 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ============================================
     MEJORA BANDERA CHILE - CÍRCULO PERFECTO
     (Agregar al final del archivo CSS)
============================================ */

/* Arreglo del círculo de la bandera */
.logo .flag-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2.5px solid var(--emerald-bright);
  box-shadow: 0 0 15px rgba(60, 180, 100, 0.5);
  background-color: #ffffff;
  transition: all 0.3s ease;
}

/* Efecto hover para la bandera */
.logo .flag-icon:hover {
  transform: scale(1.08);
  box-shadow: 0 0 22px rgba(60, 180, 100, 0.8);
  border-color: var(--jade-light);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
  .logo .flag-icon {
    width: 36px;
    height: 36px;
    border-width: 2px;
  }
}

/* Mejora del espaciado del logo */
.logo {
  gap: 12px;
}
/* ============================================
     BANDERA CHILE - CÍRCULO PERFECTO (SIN RECORTES)
============================================ */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* La imagen de la bandera */
.logo .flag-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2.5px solid var(--emerald-bright);
  box-shadow: 0 0 12px rgba(60, 180, 100, 0.5);
  background-color: transparent;
  transition: all 0.3s ease;
}

.logo .flag-icon:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(60, 180, 100, 0.8);
  border-color: var(--jade-light);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
  .logo .flag-icon {
    width: 36px;
    height: 36px;
    border-width: 2px;
  }
}

/* Estilos para fotos reales */
.t-photo {
  width: 85px;
  height: 85px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  border: 3px solid white;
  transition: all 0.3s;
}

.t-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.t-card:hover .t-photo {
  transform: scale(1.05);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
  border-color: #d4a373;
}