/* ══════════════════════════════════════════════════════════
   VARIABLES GLOBALES
══════════════════════════════════════════════════════════ */
:root {
  --purple: #3B00E0;
  --purple-dark: #2A009E;
  --purple-dark2: #21007f;
  --purple-light: #6B3FFF;
  --accent: #00D4FF;
  --success: #00C57A;
  --white: #FAFAFA;
  --off-white: #F0EEF8;
  --dark: #0D0B1A;
  --dark-mid: #1A1730;
  --gray-100: #E8E6F4;
  --gray-300: #B0ADCC;
  --gray-600: #6B6888;
  --gray-text: #475569;
}

/* ══════════════════════════════════════════════════════════
   RESET Y BASE
══════════════════════════════════════════════════════════ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, 
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: var(--dark);
  scroll-behavior: smooth;
  padding-top: 65px;
}

/* ══════════════════════════════════════════════════════════
   ANIMACIONES
══════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  0% { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

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

/* ══════════════════════════════════════════════════════════
   UTILIDADES
══════════════════════════════════════════════════════════ */
.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container { 
    padding: 0 32px; 
  }
}

section { 
  padding: 80px 0; 
}

.text-accent { 
  color: var(--purple); 
  position: relative; 
  font-weight: 800; 
}

/* ══════════════════════════════════════════════════════════
   BARRA SOCIAL FIJA
══════════════════════════════════════════════════════════ */
.social-bar {
  position: fixed; 
  right: 0; 
  top: 50%; 
  transform: translateY(-50%);
  z-index: 1100; 
  display: flex; 
  flex-direction: column; 
  background: var(--purple);
  border-radius: 12px 0 0 12px; 
  overflow: hidden; 
  box-shadow: 0 4px 20px rgba(59, 0, 224, 0.25);
}

.social-bar__link {
  display: flex; 
  align-items: center; 
  justify-content: center;
  width: 46px; 
  height: 46px; 
  color: #fff; 
  transition: background 0.25s, transform 0.25s;
}

.social-bar__link svg { 
  width: 20px; 
  height: 20px; 
}

.social-bar__link:hover { 
  background: var(--purple-dark); 
  transform: scale(1.05); 
}

/* ══════════════════════════════════════════════════════════
   NAVBAR Y MENÚ
══════════════════════════════════════════════════════════ */
.navbar {
  background: rgba(255, 255, 255, 0.98); 
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; 
  border-bottom: 1px solid var(--gray-100);
}

.nav-container {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 14px 20px; 
  max-width: 1400px; 
  width: 100%; 
  margin: 0 auto;
}

@media (min-width: 768px) { 
  .nav-container { 
    padding: 14px 32px; 
  } 
}

/* Logo Setup */
.logo { 
  display: flex; 
  align-items: baseline; 
  position: relative; 
  width: 80px; 
}

.logo img {
  position: absolute;
  top: -25px;
  left: 0;
  width: 75px;
  z-index: 1010; 
  border-radius: 4px; 
}

/* Enlaces de Texto */
.nav-links { 
  display: flex; 
  gap: 24px; 
  align-items: center; 
  margin-left: auto; 
  margin-right: 16px; /* Ajustado para que quede pegado a los botones */
}

.nav-links a { 
  text-decoration: none; 
  font-weight: 500; 
  color: var(--gray-600); 
  font-size: 0.95rem; 
  transition: 0.2s; 
  white-space: nowrap;
}

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

/* Menú Desplegable (Dropdown) */
.dropdown { 
  position: relative; 
  display: inline-block; 
}

.dropdown-toggle {
  white-space: nowrap; 
}

.dropdown-toggle i { 
  font-size: 0.7em; 
  margin-left: 4px; 
  transition: 0.2s; 
  color: var(--purple);
}

.dropdown-content {
  display: none; 
  position: absolute; 
  background-color: white; 
  min-width: 200px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
  border-radius: 12px; 
  border: 1px solid var(--gray-100);
  top: 100%; 
  left: -20px; 
  padding: 8px 0; 
  z-index: 1000;
}

.dropdown:hover .dropdown-content { 
  display: flex; 
  flex-direction: column; 
}

.dropdown:hover .dropdown-toggle i { 
  transform: rotate(180deg); 
  color: var(--purple); 
}

.dropdown-content a { 
  padding: 12px 20px; 
  display: block; 
}

.dropdown-content a:hover { 
  background-color: var(--off-white); 
  color: var(--purple); 
  padding-left: 24px; 
}

/* Botones Navbar */
.nav-actions { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
}

.nav-buttons { 
  display: flex; 
  gap: 12px; 
  align-items: center; 
}

.btn-nav-primary, 
.btn-nav-outline {
  padding: 10px 22px; 
  border-radius: 50px; 
  font-weight: 600; 
  font-size: 0.9rem;
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  text-decoration: none; 
  transition: 0.2s;
  white-space: nowrap; 
}

.btn-nav-primary { 
  background: var(--purple); 
  color: white !important; 
  box-shadow: 0 4px 12px rgba(59, 0, 224, 0.2); 
}

.btn-nav-primary:hover { 
  background: var(--purple-dark); 
  transform: translateY(-2px); 
}

.btn-nav-outline { 
  border: 1.5px solid var(--gray-300); 
  color: var(--dark) !important; 
}

.btn-nav-outline:hover { 
  border-color: var(--purple); 
  color: var(--purple) !important; 
  background: rgba(59, 0, 224, 0.05); 
}

.mobile-toggle { 
  display: none; 
  background: none; 
  border: none; 
  font-size: 1.6rem; 
  color: var(--dark); 
  cursor: pointer; 
  transition: 0.3s; 
}

.mobile-toggle:hover { 
  color: var(--purple); 
}

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero { 
  background: linear-gradient(135deg, var(--off-white) 0%, #ffffff 100%); 
  padding: 70px 0 60px; 
  position: relative; 
}

.hero-grid { 
  display: flex; 
  flex-wrap: wrap; 
  align-items: center; 
  justify-content: space-between; 
  gap: 40px; 
}

.hero-content { 
  flex: 1.2; 
}

.hero-badge { 
  background: rgba(59, 0, 224, 0.1); 
  display: inline-block; 
  padding: 6px 16px; 
  border-radius: 60px; 
  color: var(--purple); 
  font-weight: 600; 
  font-size: 0.85rem; 
  margin-bottom: 24px; 
}

.hero h1 { 
  font-size: 3.5rem; 
  font-weight: 800; 
  line-height: 1.2; 
  letter-spacing: -0.02em; 
  margin-bottom: 20px; 
}

.hero p { 
  font-size: 1.2rem; 
  color: var(--gray-text); 
  max-width: 550px; 
  margin-bottom: 32px; 
  line-height: 1.5; 
}

.hero-stats { 
  display: flex; 
  gap: 32px; 
  margin-bottom: 32px; 
}

.stat-item { 
  display: flex; 
  flex-direction: column; 
}

.stat-number { 
  font-size: 2rem; 
  font-weight: 800; 
  color: var(--purple); 
}

.stat-label { 
  font-size: 0.85rem; 
  color: var(--gray-600); 
}

.hero-buttons { 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap; 
}

.btn-primary, 
.btn-outline, 
.btn-card, 
.btn-secundario {
  padding: 14px 28px; 
  border-radius: 50px; 
  font-weight: 600; 
  font-size: 1rem; 
  cursor: pointer; 
  transition: 0.2s; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px;
}

.btn-primary, 
.btn-secundario { 
  background: var(--purple); 
  color: white; 
  border: none; 
  box-shadow: 0 8px 20px rgba(59, 0, 224, 0.3); 
}

.btn-primary:hover, 
.btn-secundario:hover { 
  background: var(--purple-dark); 
  transform: translateY(-2px); 
}

.btn-outline { 
  background: transparent; 
  border: 1.5px solid var(--gray-300); 
  color: var(--dark); 
}

.btn-outline:hover { 
  border-color: var(--purple); 
  color: var(--purple); 
  background: rgba(59, 0, 224, 0.05); 
}

.hero-image { 
  flex: 0.9; 
  width: 100%; 
  border-radius: 40px; 
  box-shadow: 0 25px 40px -12px rgba(13, 11, 26, 0.15); 
  animation: float 5s infinite ease-in-out; 
  overflow: hidden; /* Esto asegura que la imagen respete los bordes redondos */
  position: relative;
  aspect-ratio: 4 / 3; /* Mantiene una proporción rectangular perfecta siempre */
}

/* La imagen en sí */
.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Recorta y adapta la imagen sin deformarla */
  display: block;
}

/* Ajuste específico para que no quede gigante en celular */
@media (max-width: 768px) {
  .hero-image {
    aspect-ratio: 16 / 9; /* En celular la hacemos un poco más panorámica para ahorrar espacio */
    margin-top: 20px;
  }
}

/* ══════════════════════════════════════════════════════════
   SERVICIOS
══════════════════════════════════════════════════════════ */
.section-title { 
  text-align: center; 
  margin-bottom: 48px; 
}

.section-title h2 { 
  font-size: 2.5rem; 
  font-weight: 800; 
  margin-bottom: 12px; 
}

.section-title p { 
  color: var(--gray-600); 
  max-width: 600px; 
  margin: 0 auto; 
}

.cards-grid { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 32px; 
  justify-content: center; 
}

.service-card {
  background: white; 
  border-radius: 32px; 
  padding: 32px 28px; 
  flex: 1; 
  min-width: 280px; 
  max-width: 350px; 
  transition: all 0.3s ease; 
  border: 1px solid var(--gray-100); 
  text-align: center;
}

.service-card:hover { 
  transform: translateY(-12px); 
  box-shadow: 0 25px 40px -12px rgba(59, 0, 224, 0.15); 
}

.card-icon { 
  font-size: 3rem; 
  color: var(--purple); 
  margin-bottom: 20px; 
}

.service-card h3 { 
  font-size: 1.5rem; 
  font-weight: 800; 
  margin-bottom: 12px; 
}

.price { 
  font-size: 2.2rem; 
  font-weight: 800; 
  margin: 16px 0; 
}

.price small { 
  font-size: 1rem; 
  font-weight: 500; 
  color: var(--gray-600); 
}

.card-desc { 
  color: var(--gray-text); 
  margin-bottom: 24px; 
  font-size: 0.9rem; 
}

.btn-card { 
  background: none; 
  border: 1px solid var(--purple); 
  color: var(--purple); 
  padding: 10px 20px; 
  width: 100%; 
}

.btn-card:hover { 
  background: var(--purple); 
  color: white; 
}

/* ══════════════════════════════════════════════════════════
   CTA, BADGE & FOOTER
══════════════════════════════════════════════════════════ */
.cta-results {
  background: linear-gradient(120deg, var(--dark), var(--dark-mid)); 
  border-radius: 48px; 
  padding: 48px 40px; 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: space-between; 
  align-items: center; 
  gap: 30px; 
  margin-bottom: 40px;
}

.cta-text h3 { 
  color: white; 
  font-size: 1.8rem; 
  font-weight: 700; 
}

.cta-text p { 
  color: var(--gray-300); 
  margin-top: 8px; 
}

.result-group { 
  display: flex; 
  gap: 20px; 
  flex-wrap: wrap; 
}

.result-input { 
  background: rgba(255, 255, 255, 0.08); 
  border: 1px solid rgba(255, 255, 255, 0.15); 
  padding: 14px 20px; 
  border-radius: 60px; 
  width: 100%; 
  max-width: 300px; 
  color: white; 
}

.result-input::placeholder { 
  color: var(--gray-300); 
}

.mexican-badge { 
  background: var(--off-white); 
  border-radius: 28px; 
  padding: 32px; 
  text-align: center; 
  margin: 30px 0 20px; 
  border-left: 8px solid var(--purple); 
}

/* ══════════════════════════════════════════════════════════
   NUEVO FOOTER
══════════════════════════════════════════════════════════ */
footer { 
  background: var(--purple-dark2); 
  color: var(--gray-300); 
  padding: 60px 0 30px 0; /* Un poco más de aire arriba */
  margin-top: 40px; 
}

.footer-grid { 
  display: flex; 
  justify-content: space-between; 
  flex-wrap: wrap; 
  gap: 40px; 
}

/* Ajustes del Logo y Horarios */
.footer-info {
  display: flex;
  flex-direction: column;
}

.footer-logo-img { 
  max-width: 100px; /* Controla que el logo no se desborde */
  height: auto; 
  display: block; 
}

.footer-schedule {
  margin-top: 28px;
  padding: 20px;
  border-radius: 16px;
}

.footer-schedule h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.footer-schedule p {
  color: var(--gray-300);
  font-size: 0.9rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-schedule i {
  color: var(--accent); /* Un toque de color cyan en los relojitos */
}

/* Enlaces del Footer */
.footer-links { 
  display: flex; 
  gap: 60px; 
  flex-wrap: wrap; 
}

.footer-links h4 { 
  color: white; 
  margin-bottom: 16px; 
  font-size: 1.1rem;
}

.footer-links a { 
  color: var(--gray-300); 
  text-decoration: none; 
  line-height: 2.2; /* Un poco más de espacio para que sean fáciles de tocar en celular */
  transition: color 0.2s; 
}

.footer-links a:hover { 
  color: var(--accent); 
}

/* Destacar resultados y citas en el footer */
.footer-cta {
  color: var(--accent) !important;
  font-weight: 600;
}

.footer-cta:hover {
  color: white !important;
}

.footer-bottom {
  margin-top: 50px; 
  text-align: center; 
  border-top: 1px solid #fff; 
  padding-top: 24px;
  font-size: 0.85rem;
}
@media (max-width: 1100px) {
  .footer-brand { 
    order: 1; /* Se queda primero a la izquierda */
  }
  .footer-links { 
    order: 2; /* Lo forzamos a ser el segundo elemento (arriba a la derecha) */
    flex: 1; 
    justify-content: flex-end; 
  }
  .footer-schedule { 
    order: 3; /* Lo mandamos al final */
    flex: 100%; /* Le decimos que ocupe todo el ancho para que baje de línea */
    max-width: 100%;
    margin-top: 10px; 
  }
}

/* 2. Ajuste Celular: Todo apilado en una columna vertical limpia */
@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    gap: 32px;
  }
  
  /* Centramos el Logo y su descripción */
  .footer-brand { 
    order: 1; 
    max-width: 100%; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  /* Centramos la caja de Horarios y ajustamos la línea decorativa */
  .footer-schedule { 
    order: 2; 
    margin-top: 0; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-left: none; /* Quitamos la línea de la izquierda... */
    width: 100%;
  }
  
  /* Aseguramos que el ícono de reloj y el texto se peguen y se centren */
  .footer-schedule p {
    justify-content: center;
    width: 100%;
  }
  
  /* Los menús se mantienen intactos en dos columnas */
  .footer-links { 
    order: 3; 
    flex-direction: row; 
    flex-wrap: wrap; 
    gap: 40px; /* Aumentamos un poquito el gap para que respiren entre las dos columnas */
    justify-content: center; /* Centra todo el bloque de columnas */
    width: 100%;
  }
  
  .footer-links > div {
    flex: 0 1 auto; /* Le quitamos el flex: 1 para que no se estiren a los bordes */
    min-width: 140px; /* Un ancho mínimo para mantener la forma */
    text-align: left; /* Mantenemos la lectura limpia hacia la izquierda */
  }
}
@media (max-width: 450px) {
  .footer-links {
    flex-direction: column; /* Obliga a que se apilen en una sola lista */
    width: fit-content; /* La caja se abraza al texto más largo ("Servicios y Accesos") */
    margin: 0 auto; /* Centra esa caja exacta en medio de la pantalla */
    gap: 30px;
  }
  
  .footer-links > div {
    min-width: auto; /* Quitamos el ancho mínimo que tenían antes */
    width: 100%;
    text-align: left; /* Garantiza que todo el texto nazca desde la misma línea izquierda */
  }
}

/* ══════════════════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════════════════ */
.modal { 
  display: none; 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background-color: rgba(13, 11, 26, 0.7); 
  backdrop-filter: blur(6px); 
  z-index: 2000; 
  align-items: center; 
  justify-content: center; 
}

.modal-content { 
  background: white; 
  max-width: 500px; 
  width: 90%; 
  border-radius: 40px; 
  padding: 32px; 
  animation: fadeUp 0.3s; 
}

.modal-content h3 { 
  font-size: 1.8rem; 
  margin-bottom: 20px; 
}

.modal-content input, 
.modal-content select { 
  width: 100%; 
  padding: 14px; 
  margin: 10px 0; 
  border-radius: 30px; 
  border: 1px solid var(--gray-100); 
}

.btn-confirmar-modal { 
  background: var(--purple); 
  border: none; 
  padding: 14px; 
  border-radius: 50px; 
  color: white; 
  font-weight: bold; 
  margin-top: 16px; 
  width: 100%; 
  cursor: pointer; 
}

.close-modal { 
  float: right; 
  font-size: 28px; 
  cursor: pointer; 
}

/* ══════════════════════════════════════════════════════════
   MEDIA QUERIES (RESPONSIVE)
══════════════════════════════════════════════════════════ */

/* Compresión Laptops Pequeñas */
@media (max-width: 1150px) {
  .nav-links { 
    gap: 14px; 
  }
  .nav-buttons { 
    gap: 8px; 
  }
  .btn-nav-primary, 
  .btn-nav-outline { 
    padding: 8px 16px; 
    font-size: 0.85rem; 
  }
  .logo { 
    font-size: 1.4rem; 
  }
}

/* Compresión Tablets */
@media (max-width: 950px) {
  .nav-container { 
    padding: 14px 10px; 
  }
  .nav-links { 
    gap: 11px; 
  }
  .logo { 
    font-size: 1.15rem; 
  }
  .nav-buttons { 
    gap: 6px; 
  }
  .btn-nav-primary, 
  .btn-nav-outline { 
    padding: 8px 10px; 
    font-size: 0.75rem; 
  }
}

/* Menú Hamburguesa en Móviles/Tablets Verticales */
@media (max-width: 768px) {
  
  .mobile-toggle { 
    display: block; 
    position: relative;
    z-index: 1100 !important; 
  }
  
  /* Contenedor principal con el degradado y líneas tenues */
  .nav-links {
    position: fixed; 
    top: 0; 
    right: -320px; 
    width: 280px; 
    max-width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, #bda9f4 0%, #cfc9e7 100%);
    flex-direction: column; 
    align-items: flex-start; 
    padding: 80px 0 0 0; /* Sin padding lateral para que las líneas crucen todo */
    box-shadow: -5px 0 25px rgba(0,0,0,0.15); 
    display: flex !important; 
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    z-index: 1050 !important; 
    margin: 0; 
    border-top: 1px solid rgba(255, 255, 255, 0.10);
  }
  
  .nav-links.active { 
    right: 0; 
  }

  /* El encabezado superior del menú */
  .menu-header {
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    padding: 20px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    width: 100%;
    font-size: 1.1rem;
    margin: 0;
  }

  .menu-header span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.50);
    margin-top: 4px;
    font-weight: normal;
    text-transform: none; 
  }

  /* Estilo visual de los enlaces (Mayúsculas, bold, línea debajo) */
  .nav-links > a, 
  .dropdown-toggle { 
    width: 100%;
    padding: 20px 32px;
    color: #fff !important;
    text-transform: uppercase;
    font-weight: bold !important;
    font-size: 1rem;
    border-bottom: 1px solid rgb(255 255 255 / 58%);
    text-decoration: none;
    display: flex;
    justify-content: space-between; /* Avienta la flechita a la derecha */
    align-items: center;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown:hover .dropdown-content { 
    display: none !important; 
  }
  
  /* El submenú con un fondo ligeramente oscurecido */
  .dropdown-content { 
    position: static; 
    box-shadow: none; 
    border: none; 
    padding: 0; 
    margin: 0; 
    display: none; 
    background: rgba(0, 0, 0, 0.15); 
    width: 100%;
    border-radius: 0px; 
  }
  
  .dropdown.active .dropdown-content { 
    display: flex !important; 
    flex-direction: column; 
  }

  /* Enlaces dentro de Servicios */
  .dropdown-content a {
    width: 100%;
    padding: 16px 32px 16px 45px; /* Mayor sangría izquierda para identar */
    color: rgba(255, 255, 255, 0.70);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: block;
  }
  
  .social-bar { 
    display: none; 
  }

  /* El resto de tus reglas generales para hero, cta, etc. */
  .hero h1 { 
    font-size: 2.3rem; 
  }
  
  .hero-grid { 
    flex-direction: column; 
    text-align: center; 
  }
  
  .hero p { 
    margin: 0 auto 32px; 
  }
  
  .hero-stats { 
    justify-content: center; 
  }
  
  .hero-buttons { 
    justify-content: center; 
  }
  
  .cta-results { 
    padding: 32px 20px; 
    text-align: center; 
    justify-content: center; 
  }
  
  .result-group { 
    width: 100%; 
    justify-content: center; 
  }
  
  .result-input { 
    max-width: 100%; 
  }
}

/* Compresión Celulares Muy Pequeños */
@media (max-width: 500px) {
  .btn-nav-primary .btn-text, 
  .btn-nav-outline .btn-text { 
    display: none; 
  }
  
  .btn-nav-primary, 
  .btn-nav-outline { 
    padding: 10px 14px; 
    border-radius: 12px; 
  }
  
  .btn-nav-primary i, 
  .btn-nav-outline i { 
    font-size: 1.1rem; 
    margin: 0; 
  }
}
/* ══════════════════════════════════════════════════════════
   PÁGINAS INTERNAS (ACERCA DE, ETC.)
══════════════════════════════════════════════════════════ */

.internal-section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--off-white);
}

/* 1. Encabezado Dividido Moderno */
.page-header-v2 {
  background-color: var(--white);
  padding: 100px 0 40px 0;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--gray-100);
}

.header-v2-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.header-v2-content {
  flex: 1;
  z-index: 2;
}

.breadcrumbs {
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 500;
}

.breadcrumbs a {
  text-decoration: none;
  color: var(--purple);
  transition: 0.2s;
}

.breadcrumbs span {
  margin: 0 8px;
  color: var(--gray-300);
}

.header-v2-content h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.header-v2-content p {
  font-size: 1.2rem;
  color: var(--gray-text);
  max-width: 480px;
  line-height: 1.5;
}

.header-v2-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.visual-mask {
  width: 100%;
  max-width: 550px;
  height: 400px;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.visual-mask::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--white) 0%, transparent 40%);
}

.visual-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 2. Sección Quiénes Somos */
.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: center;
}

.about-text {
  flex: 1.2;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 24px;
  font-weight: 800;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-text);
  margin-bottom: 20px;
}

.about-image {
  flex: 0.8;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 40px -12px rgba(13, 11, 26, 0.15);
}

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

/* 3. Tarjetas de Misión y Visión */
.mv-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: -20px; 
}

.mv-card {
  flex: 1;
  min-width: 300px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px rgba(59, 0, 224, 0.1);
  border-color: var(--purple-light);
}

.mv-icon {
  font-size: 2.5rem;
  color: var(--purple);
  margin-bottom: 24px;
  background: rgba(59, 0, 224, 0.05);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
}

.mv-card h3 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 16px;
  font-weight: 800;
}

.mv-card p {
  color: var(--gray-text);
  line-height: 1.6;
  font-size: 1.05rem;
}
.eyebrow-text {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--purple);
  font-weight: 800;
  margin-bottom: 12px;
}
/* ══════════════════════════════════════════════════════════
   AJUSTES RESPONSIVOS DE PÁGINAS INTERNAS
══════════════════════════════════════════════════════════ */

@media (max-width: 950px) {
  .header-v2-content h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .page-header-v2 {
    padding: 120px 20px 40px 20px;
    text-align: center;
  }
  
  .header-v2-grid {
    flex-direction: column;
  }
  
  .header-v2-content p {
    margin: 0 auto;
  }
  
  .header-v2-visual {
    width: 100%;
    margin-top: 30px;
  }
  
  .visual-mask {
    max-width: 100%;
    height: auto;
  }
  
  .visual-mask::after {
    background: none;
  }

  .about-grid {
    flex-direction: column;
    gap: 30px;
  }
}
/* ══════════════════════════════════════════════════════════
   SECCIÓN DE HORARIOS Y TABLAS
══════════════════════════════════════════════════════════ */

.holidays-wrapper {
  background: var(--white);
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--gray-100);
}

.holidays-title {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 32px;
  font-weight: 800;
  text-align: center;
}

.table-responsive {
  width: 100%;
  overflow-x: auto; /* Permite scroll horizontal en celulares si no cabe */
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.modern-table th {
  padding: 18px 24px;
  background-color: var(--off-white);
  color: var(--dark);
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 2px solid var(--gray-100);
}

.modern-table th:first-child {
  border-radius: 12px 0 0 0;
}

.modern-table th:last-child {
  border-radius: 0 12px 0 0;
}

.modern-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-text);
  font-weight: 500;
  font-size: 0.95rem;
  vertical-align: middle;
}

.modern-table tr:hover td {
  background-color: rgba(240, 238, 248, 0.5); /* Efecto hover súper sutil */
}

/* Píldoras de estado para los horarios */
.status-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
}

.status-badge.closed {
  background-color: #ffe4e6;
  color: #e11d48;
}

.status-badge.half {
  background-color: #fef3c7;
  color: #d97706;
}

.holidays-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

.holidays-note i {
  color: var(--purple);
  font-size: 1.2rem;
  margin-top: 2px;
}

.holidays-note p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Ajustes responsivos para la tabla en móviles */
@media (max-width: 768px) {
  .holidays-wrapper {
    padding: 24px 16px;
  }
  
  .modern-table th, 
  .modern-table td {
    padding: 14px 12px;
    font-size: 0.85rem;
  }
  
  .status-badge {
    padding: 4px 10px;
    font-size: 0.75rem;
    white-space: nowrap;
  }
}
/* ══════════════════════════════════════════════════════════
   PESTAÑAS DE SERVICIOS (TABS)
══════════════════════════════════════════════════════════ */

.tabs-header {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
  scroll-margin-top: 120px;
}
.tab-btn {
  background-color: var(--white);
  border: 1px solid var(--gray-100);
  color: var(--gray-text);
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tab-btn i {
  font-size: 1.2rem;
  color: var(--gray-300);
  transition: color 0.3s ease;
}

.tab-btn:hover {
  border-color: var(--purple-light);
  color: var(--purple);
}

.tab-btn:hover i {
  color: var(--purple);
}

.tab-btn.active {
  background-color: var(--purple);
  color: var(--white);
  border-color: var(--purple);
  box-shadow: 0 8px 20px rgba(59, 0, 224, 0.25);
}

.tab-btn.active i {
  color: var(--white);
}

.tab-content {
  display: none; /* Ocultamos todas por defecto */
  background: var(--white);
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--gray-100);
  animation: fadeUp 0.4s ease forwards;
}

.tab-content.active {
  display: block; /* Solo mostramos la activa */
}

/* Listas Limpias para los servicios */
.clean-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.clean-list li {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--gray-text);
  line-height: 1.5;
}

.clean-list li i {
  color: var(--success);
  margin-top: 4px;
  font-size: 1.1rem;
}

.small-note {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-top: 12px;
  font-style: italic;
}

/* Ajustes Responsivos para Pestañas */
@media (max-width: 768px) {
  .tabs-header {
    flex-direction: column;
    padding: 0 20px;
    scroll-margin-top: 100px;
  }
  
  .tab-btn {
    width: 100%;
    justify-content: center;
  }
  
  .tab-content {
    padding: 32px 24px;
    border-radius: 24px;
  }
}
.service-text h2 {
  font-size: 2.2rem !important;
  color: var(--dark) !important;
  margin-bottom: 24px !important; /* ¡Aquí está la magia del espacio! */
  font-weight: 800 !important;
  font-family: 'Inter', sans-serif !important;
}
.service-text p {
  margin-bottom: 16px !important;
  line-height: 1.6 !important;
  color: var(--gray-text) !important;
}
/* ══════════════════════════════════════════════════════════
   PÁGINA DE CONTACTO
══════════════════════════════════════════════════════════ */

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h2 {
  font-size: 2.5rem !important;
  color: var(--dark) !important;
  font-weight: 800 !important;
  margin-bottom: 16px !important;
  font-family: 'Inter', sans-serif !important;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  padding: 24px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--gray-100);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateX(8px);
  border-color: var(--purple-light);
}

a.info-card {
  text-decoration: none; /* Quita el subrayado */
  color: inherit; /* Evita que el texto se vuelva azul de link */
  display: flex;
}

/* Evitamos que el hover en el título cambie su color si la tarjeta es un enlace */
a.info-card:hover h4 {
  color: var(--purple);
  transition: color 0.3s ease;
}

.info-icon {
  background: rgba(59, 0, 224, 0.05);
  color: var(--purple);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.3rem;
}

.info-details h4 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 6px;
  font-weight: 700;
}

.info-details p {
  color: var(--gray-text);
  font-size: 1rem;
  margin: 0 !important;
}

/* Formulario Moderno */
.contact-form-wrapper {
  flex: 1.2;
  min-width: 300px;
  background: var(--white);
  padding: 48px;
  border-radius: 32px;
  box-shadow: 0 20px 40px rgba(13, 11, 26, 0.05);
  border: 1px solid var(--gray-100);
}

.modern-form .form-group {
  margin-bottom: 24px;
}

.modern-form label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.modern-form input,
.modern-form textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid var(--gray-100);
  background: var(--off-white);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  transition: all 0.3s ease;
}

.modern-form input:focus,
.modern-form textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(59, 0, 224, 0.1);
}

.modern-form input::placeholder,
.modern-form textarea::placeholder {
  color: var(--gray-300);
}

.modern-form textarea {
  resize: vertical;
  min-height: 150px;
}

/* Ajustes Responsivos para Contacto */
@media (max-width: 768px) {
  .contact-grid {
    gap: 40px;
  }
  
  .contact-form-wrapper {
    padding: 32px 24px;
  }
}
/* ══════════════════════════════════════════════════════════
   TARJETAS DE PROMOCIONES Y PRECIOS
══════════════════════════════════════════════════════════ */

/* Alerta superior */
.promo-alert {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #fef2f2;
  border-left: 6px solid #e11d48;
  padding: 24px 32px;
  border-radius: 16px;
  margin-bottom: 48px;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.1);
}

.promo-alert-icon {
  font-size: 2.5rem;
  color: #e11d48;
}

.promo-alert-text h4 {
  color: #be123c;
  font-size: 1.2rem;
  margin-bottom: 4px;
  font-weight: 800;
}

.promo-alert-text p {
  color: var(--dark);
  font-size: 1.05rem;
  margin: 0;
}

/* Cuadrícula de Tarjetas */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.promo-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(59, 0, 224, 0.1);
  border-color: var(--purple-light);
}

/* Paquetes que ocupan dos columnas (Para QS 24 y QS 32) */
.promo-card-large {
  grid-column: 1 / -1; 
}

.promo-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.promo-header {
  border-bottom: 2px dashed var(--gray-100);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.promo-header h3 {
  font-size: 1.4rem !important;
  color: var(--dark) !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin-bottom: 12px !important;
}

.promo-price {
  font-size: 2.5rem;
  color: var(--purple);
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.promo-price span {
  font-size: 1rem;
  color: var(--gray-600);
  font-weight: 600;
}

/* Lista de estudios dentro de la tarjeta */
.promo-includes {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1; /* Empuja el contenido para igualar alturas */
}

.promo-includes li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-text);
  margin-bottom: 12px;
  line-height: 1.4;
}

.promo-includes li i {
  color: var(--success);
  margin-top: 3px;
  font-size: 0.9rem;
}

.promo-includes li strong {
  color: var(--dark);
}

/* Ajustes Responsivos */
@media (max-width: 768px) {
  .promo-columns {
    grid-template-columns: 1fr; /* Rompe a una columna en celular */
  }
  .promo-alert {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}
/* ══════════════════════════════════════════════════════════
   BARRA DE DESCARGA DE CATÁLOGO PDF
══════════════════════════════════════════════════════════ */

.download-catalog-bar {
  background-color: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 24px;
  padding: 24px 32px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.download-text {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pdf-icon {
  font-size: 2.4rem;
  color: #e11d48; /* Rojo corporativo sutil para PDF */
}

.download-text h3 {
  font-size: 1.25rem !important;
  color: var(--dark) !important;
  font-weight: 700 !important;
  margin-bottom: 4px !important;
  font-family: 'Inter', sans-serif !important;
}

.download-text p {
  font-size: 0.95rem !important;
  color: var(--gray-text) !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

.download-btn {
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Optimización para dispositivos móviles */
@media (max-width: 768px) {
  .download-catalog-bar {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 20px;
  }

  .download-text {
    flex-direction: column;
    gap: 12px;
  }

  .download-btn {
    width: 100%;
    justify-content: center;
  }
}