/* ===== RESET Y FUENTES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(180deg, 
    #0A1128 0%,
    #0F1A3A 8%,
    #162A5A 20%,
    #2C3E6E 35%,
    #5B7B9E 50%,
    #9BB7D4 65%,
    #D6E4F0 80%,
    #FFFFFF 100%
  );
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #1A2C3E;
  line-height: 1.5;
  scroll-behavior: smooth;
  min-height: 100vh;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

h1, h2, h3, h4, .logo, .hero-badge, .tag {
  font-family: 'Playfair Display', serif;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== ALERTA PARA MENORES (CENTRADA) ===== */
.age-alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  width: auto;
  min-width: 280px;
  max-width: 380px;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 16px 20px;
  border-left: 4px solid #FFD700;
  border-right: 4px solid #FFD700;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: fadeInCenter 0.35s ease-out;
}

.age-alert-content {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.age-alert-content i {
  color: #FFD700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.age-alert-content span {
  color: #f0f0f0;
  font-size: 0.75rem;
  line-height: 1.4;
  flex: 1;
}

.close-alert {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ddd;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 6px 10px;
  transition: 0.2s;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.close-alert:hover {
  color: white;
  background: rgba(255, 80, 80, 0.5);
  transform: scale(1.05);
}

@keyframes fadeInCenter {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ===== NAVBAR CON HAMBURGUESA ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 17, 40, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 215, 150, 0.2);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #F7F3E0;
  text-decoration: none;
}

.logo span {
  color: #D4AF37;
  font-weight: 800;
}

/* Bandera de Costa Rica */
.costa-rica-flag-real {
  width: 40px;
  height: 26px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.flag-stripes {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.stripe {
  width: 100%;
  flex: 1;
}

.stripe.blue { background-color: #002277; flex: 1; }
.stripe.white { background-color: #FFFFFF; flex: 0.8; }
.stripe.red { background-color: #D42A2A; flex: 1.2; }
.stripe.white:last-of-type { flex: 0.8; }
.stripe.blue:last-of-type { flex: 1; }

/* Menú de navegación desktop */
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #E8E6F0;
  font-weight: 500;
  transition: 0.2s;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: #D4AF37;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-whatsapp {
  background: #25D366;
  padding: 8px 18px;
  border-radius: 40px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  transition: 0.2s;
}

.nav-whatsapp:hover {
  background: #1da15a;
  transform: scale(1.02);
}

/* Botón hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1002;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #F7F3E0;
  border-radius: 3px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-wa {
  display: none;
}

/* Responsive navbar */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(10, 17, 40, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: 0.3s ease;
    z-index: 1001;
    padding: 80px 20px;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    font-size: 1.1rem;
  }
  
  .nav-right {
    display: none;
  }
  
  .mobile-wa {
    display: flex;
    background: #25D366;
    padding: 10px 20px;
    border-radius: 40px;
    color: white;
    text-decoration: none;
    margin-top: 20px;
  }
}

/* ===== HERO CON IMAGEN DE FONDO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 20px 100px;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/fondo1.jpeg'); /* CAMBIA ESTA RUTA POR TU IMAGEN */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 0;
}

.hero-bg-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  background: rgba(212, 175, 55, 0.18);
  backdrop-filter: blur(4px);
  display: inline-block;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #F0D99D;
  margin-bottom: 24px;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.6rem;
  }
}

.highlight {
  background: linear-gradient(135deg, #E4C580, #F7E5B5);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: 1rem;
  color: #E8EFF9;
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.2rem;
  }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .hero-stats {
    gap: 48px;
  }
}

.stat {
  color: #CFDFF5;
  font-size: 0.8rem;
  text-align: center;
}

.stat span {
  font-weight: 800;
  font-size: 1.2rem;
  color: #F2D98B;
  display: block;
}

@media (min-width: 768px) {
  .stat span {
    font-size: 1.4rem;
  }
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #25D366;
  padding: 12px 24px;
  border-radius: 60px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.2s;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .btn-primary {
    padding: 14px 32px;
    font-size: 1rem;
  }
}

.btn-primary:hover {
  background: #20b256;
  transform: translateY(-3px);
}

.btn-secondary {
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  border: 2px solid #D4AF37;
  padding: 10px 22px;
  border-radius: 60px;
  text-decoration: none;
  color: #F7EEDB;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.2s;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .btn-secondary {
    padding: 12px 28px;
    font-size: 1rem;
  }
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: #E9C468;
}

.hero-nota {
  font-size: 0.75rem;
  color: #C9D9F0;
}

@media (min-width: 768px) {
  .hero-nota {
    font-size: 0.85rem;
  }
}

/* ===== SERVICES (con colores corregidos) ===== */
.services {
  padding: 60px 0;
  background: transparent;
}

@media (min-width: 768px) {
  .services {
    padding: 100px 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.tag-light-bg {
  background: rgba(212, 175, 55, 0.25);
  color: #F3D78C;
  padding: 4px 14px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 16px;
}

/* TÍTULO: "¿En qué puedo" en blanco, "orientarte" en dorado sólido */
.section-header h2 {
  font-size: 2rem;
  color: #FFFFFF;  /* Blanco sólido */
  margin-bottom: 12px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
}

/* "orientarte" en dorado sólido (no degradado) */
.accent-gold {
  color: #D4AF37;  /* Dorado sólido */
  font-weight: 800;
}

.subtitle-dark {
  color: #1A2C3E;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 500;
  background: rgba(255,255,255,0.3);
  padding: 8px 16px;
  border-radius: 40px;
  display: inline-block;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
  }
}

.service-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 32px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255,255,240,0.6);
}

@media (min-width: 768px) {
  .service-card {
    padding: 40px 28px;
  }
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 45px -12px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.95);
  border-color: #EAD9A0;
}

.card-icon {
  font-size: 2.5rem;
  color: #D4AF37;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: #0A1927;
}

.service-card p {
  color: #3A4A5E;
  margin-bottom: 28px;
  font-size: 0.9rem;
}

.card-link {
  text-decoration: none;
  font-weight: 700;
  color: #25D366;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}

/* ===== SECCIÓN DEL MAESTRO ===== */
.maestro-section {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
  .maestro-section {
    padding: 100px 0;
  }
}

.maestro-container {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 40px;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .maestro-container {
    flex-direction: row;
    gap: 60px;
    padding: 0 32px;
  }
}

.maestro-text {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .maestro-text {
    text-align: left;
  }
}

.maestro-text .tag {
  background: rgba(212, 175, 55, 0.3);
  color: #8B6914;
  padding: 4px 14px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 16px;
}

.maestro-text h2 {
  font-size: 2rem;
  margin: 12px 0 16px;
  color: #0A1A2F;
  font-weight: 800;
}

@media (min-width: 768px) {
  .maestro-text h2 {
    font-size: 2.8rem;
  }
}

.maestro-text h2 .accent {
  color: #A0781C;
  font-weight: 800;
}

.maestro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(160, 120, 28, 0.15);
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: #6B4E0E;
  font-weight: 600;
}

.maestro-descripcion {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1A2C3E;
  margin-bottom: 28px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .maestro-descripcion {
    font-size: 1.05rem;
  }
}

.maestro-cualidades {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

@media (min-width: 480px) {
  .maestro-cualidades {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cualidad {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #1E3A5F;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.5);
  padding: 8px 12px;
  border-radius: 40px;
}

.cualidad i {
  color: #A0781C;
  font-size: 1rem;
  width: 20px;
}

.btn-maestro {
  background: linear-gradient(135deg, #B8860B, #8B6914);
  padding: 12px 24px;
  border-radius: 60px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.2s;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .btn-maestro {
    padding: 14px 32px;
    font-size: 1rem;
  }
}

.btn-maestro:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #D4AF37, #A0781C);
}

.maestro-image {
  flex: 0.9;
  display: flex;
  justify-content: center;
  width: 100%;
}

.maestro-card {
  background: linear-gradient(145deg, rgba(139, 105, 20, 0.15), rgba(10, 17, 40, 0.25));
  backdrop-filter: blur(12px);
  border-radius: 40px;
  padding: 25px 20px;
  text-align: center;
  border: 2px solid rgba(184, 134, 11, 0.5);
  width: 100%;
  max-width: 320px;
  transition: 0.3s;
}

@media (min-width: 768px) {
  .maestro-card {
    max-width: 380px;
    padding: 30px 25px;
  }
}

.maestro-card:hover {
  transform: translateY(-5px);
  border-color: #B8860B;
}

.maestro-foto {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #B8860B;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
  .maestro-foto {
    width: 180px;
    height: 180px;
  }
}

.maestro-placeholder-text p {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 10px 0 5px;
  color: #0A1A2F;
}

.maestro-placeholder-text span {
  font-size: 0.7rem;
  color: #2C4A6E;
  font-weight: 500;
}

@media (min-width: 768px) {
  .maestro-placeholder-text p {
    font-size: 1.3rem;
  }
  .maestro-placeholder-text span {
    font-size: 0.8rem;
  }
}

/* ===== ANCESTRAL SECTION ===== */
.ancestral {
  background: rgba(14, 22, 37, 0.5);
  backdrop-filter: blur(2px);
  position: relative;
  padding: 60px 20px;
  color: white;
  margin: 30px 0;
}

@media (min-width: 768px) {
  .ancestral {
    padding: 90px 40px;
  }
}

.ancestral-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 40%, rgba(212,175,55,0.1), transparent 70%);
  pointer-events: none;
}

.ancestral-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .ancestral-content {
    flex-direction: row;
    gap: 60px;
  }
}

.ancestral-text {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .ancestral-text {
    text-align: left;
  }
}

.small-gold {
  color: #E9C888;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
}

.ancestral-text h2 {
  font-size: 1.8rem;
  margin: 12px 0 20px;
  color: #FEF7E0;
}

@media (min-width: 768px) {
  .ancestral-text h2 {
    font-size: 2.3rem;
  }
}

.glow-text {
  color: #F5D78A;
}

.ancestral-text p {
  color: #E0E8F5;
  font-size: 0.9rem;
}

.ancestral-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 32px 0 24px;
}

@media (min-width: 480px) {
  .ancestral-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ancestral-item {
  background: rgba(255,255,240,0.1);
  backdrop-filter: blur(4px);
  padding: 8px 12px;
  border-radius: 60px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ancestral-footer {
  margin: 20px 0 24px;
  font-size: 0.8rem;
  opacity: 0.85;
}

.btn-outline-light {
  border: 2px solid #E9C27C;
  padding: 10px 20px;
  border-radius: 60px;
  text-decoration: none;
  color: #F5E7C8;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
  font-size: 0.9rem;
}

.btn-outline-light:hover {
  background: #E9C27C;
  color: #0A1120;
}

.ancestral-image {
  flex: 0.8;
  display: flex;
  justify-content: center;
  width: 100%;
}
/* Tarjeta flotante con imagen de fondo */
.floating-card {
  background-image: url('img/fondop.jpeg'); /* Cambia por tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

.floating-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 32px;
  z-index: -1;
}
.floating-card {
 
  backdrop-filter: blur(16px);
  border-radius: 32px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid rgba(212,175,55,0.4);
  width: 100%;
  max-width: 300px;
}

@media (min-width: 768px) {
  .floating-card {
    padding: 40px 30px;
    max-width: 350px;
  }
}

.floating-card i {
  font-size: 2.5rem;
  color: #E9C27C;
  margin-bottom: 16px;
}

.floating-card p {
  color: #F2E6C9;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.floating-card small {
  color: #D4AF37;
  font-size: 0.7rem;
}

/* ===== BENEFITS CON IMAGEN DE FONDO ===== */
.benefits {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
/* En la sección .benefits, el título */
.benefits .section-header h2 {
  font-size: 2rem;
  color: #FFFFFF;  /* "Dar el primer paso" en blanco */
  margin-bottom: 12px;
}

.benefits .section-header h2 .accent {
  color: #D4AF37;  /* "marca la diferencia" en dorado sólido */
  font-weight: 800;
}
@media (min-width: 768px) {
  .benefits {
    padding: 100px 0;
  }
}

.benefits-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/fondo1.jpeg'); /* CAMBIA ESTA RUTA POR TU IMAGEN */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: 0;
}

.benefits-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.benefits .container {
  position: relative;
  z-index: 2;
}

.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .benefits-grid {
    flex-direction: row;
    gap: 40px;
    padding: 0;
  }
}

.benefit {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  padding: 25px 20px;
  text-align: center;
  flex: 1;
  transition: 0.2s;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
  .benefit {
    padding: 32px 28px;
  }
}

.benefit-icon {
  font-size: 2rem;
  color: #D4AF37;
  margin-bottom: 20px;
}

.benefit h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #0A1927;
}

.benefit p {
  color: #4A5B6E;
  font-size: 0.85rem;
}

/* ===== TESTIMONIOS EN CARRUSEL ===== */
.testimonials {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  padding: 60px 0;
}

@media (min-width: 768px) {
  .testimonials {
    padding: 100px 0;
  }
}

.testimonials .section-header h2 {
  font-size: 2rem;
  color: #FFFFFF;  /* "Personas que ya" en blanco */
  margin-bottom: 12px;
}

.testimonials .section-header h2 .glow {
  color: #D4AF37;  /* "consultaron" en dorado sólido */
  font-weight: 800;
}
.tag-light {
  background: rgba(212, 175, 55, 0.25);
  color: #F3D78C;
  padding: 4px 14px;
  border-radius: 40px;
  font-size: 0.75rem;
  display: inline-block;
  margin-bottom: 16px;
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  overflow: hidden;
  padding: 0 40px;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.4s ease-in-out;
}

.testimonial-card {
  min-width: calc(50% - 15px);
  flex-shrink: 0;
  background: rgba(255,255,250,0.1);
  backdrop-filter: blur(8px);
  border-radius: 32px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  overflow: hidden;
}

@media (max-width: 768px) {
  .testimonial-card {
    min-width: 100%;
  }
}

.testimonial-content {
  padding: 25px 20px;
}

.quote-icon {
  color: #D4AF37;
  font-size: 1.5rem;
  margin-bottom: 16px;
  opacity: 0.7;
}

.testimonial-content p {
  color: #E2E8F0;
  font-style: italic;
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.testimonial-photo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #D4AF37;
}

.testimonial-author {
  color: #F3D78C;
  font-weight: 600;
  font-size: 0.85rem;
}

.carousel-btn {
  background: rgba(212, 175, 55, 0.3);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
  color: white;
  font-size: 1.2rem;
  position: absolute;
  z-index: 10;
}

.carousel-btn:hover:not(:disabled) {
  background: #D4AF37;
  transform: scale(1.05);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

.testimonial-cta {
  text-align: center;
  margin-top: 30px;
}

.btn-primary-outline {
  border: 2px solid #D4AF37;
  background: transparent;
  padding: 10px 24px;
  border-radius: 60px;
  text-decoration: none;
  color: #F7EEDB;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.2s;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .btn-primary-outline {
    padding: 12px 32px;
    font-size: 1rem;
  }
}

.btn-primary-outline:hover {
  background: #D4AF37;
  color: #0F172A;
}

/* ===== FINAL CTA (con dorado más fuerte) ===== */
.final-cta {
  background: rgba(233, 240, 249, 0.6);
  backdrop-filter: blur(4px);
  padding: 60px 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .final-cta {
    padding: 90px 20px;
  }
}

.cta-text h2 {
  font-size: 1.6rem;
  color: #0A1927;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .cta-text h2 {
    font-size: 2.2rem;
  }
}

.highlight-strong {
  background: linear-gradient(135deg, #D4AF37, #B8860B);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 800;
  text-shadow: none;
}

.btn-large-wa {
  background: #25D366;
  padding: 14px 28px;
  border-radius: 60px;
  text-decoration: none;
  color: white;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin: 28px 0 20px;
  transition: 0.2s;
  box-shadow: 0 8px 18px rgba(37,211,102,0.3);
}

@media (min-width: 768px) {
  .btn-large-wa {
    padding: 16px 40px;
    font-size: 1.2rem;
  }
}

.btn-large-wa:hover {
  transform: scale(1.02);
  background: #1b9e54;
}

.small-note {
  font-size: 0.65rem;
  color: #6F7D8C;
}

/* ===== FOOTER ===== */
.footer {
  background: rgba(10, 15, 28, 0.95);
  backdrop-filter: blur(8px);
  padding: 40px 20px 20px;
  color: #BCC9E0;
}

@media (min-width: 768px) {
  .footer {
    padding: 60px 40px 20px;
  }
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 40px;
  }
}

.footer-brand h3 {
  font-size: 1.4rem;
  color: #F7F3E0;
}

.footer-brand span {
  color: #D4AF37;
}

.footer-flag {
  margin-top: 12px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

@media (min-width: 768px) {
  .footer-flag {
    justify-content: flex-start;
  }
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-links {
    gap: 30px;
  }
}

.footer-links a {
  color: #C9D5E8;
  text-decoration: none;
  transition: 0.2s;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: #E9C27C;
}

.footer-contact a {
  color: #25D366;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.footer-contact p {
  font-size: 0.75rem;
  margin-top: 8px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.65rem;
  border-top: 1px solid #1F2A3E;
  padding-top: 20px;
}

/* ===== BOTÓN FLOTANTE ===== */
.float-wa {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: 0.2s;
  z-index: 100;
  text-decoration: none;
}

@media (min-width: 768px) {
  .float-wa {
    width: 58px;
    height: 58px;
    font-size: 2rem;
    bottom: 28px;
    right: 28px;
  }
}

.float-wa:hover .tooltip-text {
  opacity: 1;
  transform: translateX(0);
}

.tooltip-text {
  position: absolute;
  right: 60px;
  background: #1F2A3E;
  color: white;
  padding: 5px 12px;
  border-radius: 40px;
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
}

@media (min-width: 768px) {
  .tooltip-text {
    right: 70px;
    padding: 6px 14px;
    font-size: 0.8rem;
  }
}

.float-wa:hover {
  background: #1a9e54;
  transform: scale(1.08);
}
/* Hero - textos más compactos */
.hero-description {
  margin-bottom: 20px;  /* Reducido de 32px */
  line-height: 1.4;     /* Reducido de 1.6 */
}

.hero-description br {
  display: none;  /* Elimina los <br><br> para que no haya tanto espacio */
}

.hero-stats {
  margin-bottom: 20px;  /* Reducido de 36px */
}

.hero-buttons {
  margin-bottom: 15px;  /* Reducido de 30px */
}
/* Estilos esenciales para el carrusel */
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  margin: 40px 0;
  padding: 0 40px;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.4s ease-in-out;
  will-change: transform;
}

.testimonial-card {
  flex-shrink: 0;
  background: rgba(255,255,250,0.1);
  backdrop-filter: blur(8px);
  border-radius: 32px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  overflow: hidden;
  box-sizing: border-box;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(212, 175, 55, 0.3);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: white;
  font-size: 1.2rem;
  z-index: 10;
}

.carousel-btn:hover:not(:disabled) {
  background: #D4AF37;
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

@media (max-width: 768px) {
  .carousel-container {
    padding: 0 30px;
  }
  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}