:root {
  --primary: #2c3e50;
  --secondary: #3498db;
  --accent: #e74c3c;
  --light: #ecf0f1;
  --dark: #2c3e50;
  --text: #34495e;
  --highlight: #f39c12;
  --section-bg: #f9fafb;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.15);

  --primary: #3a5a7a;
  --primary-light: #4a6fa5;
  --secondary: #6b8cbc;
  --accent: #e76f51;
  --accent-light: #ff9b7b;
  --light: #f8f9fa;
  --dark: #2c3e50;
  --text: #4a5568;
  --text-light: #718096;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-accent: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-light) 100%
  );
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;

  --particle-count: 80; /* número de partículas */
  --particle-speed: 0.2; /* velocidad base */
  --particle-color-primary: #aaff64;
  --particle-color-secondary: #8892b0;
  --particle-color-accent: #d4af37d7;
  --particle-line: rgba(100, 255, 218, 0.15);
  --particle-glow: rgba(162, 255, 100, 0.6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: var(--dark);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero section mejorada */
/* Hero full-screen responsive */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  overflow: hidden;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

/* Fondo animado y overlay */
/* .hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
} */

.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(135deg, rgba(0, 0, 0, 0.644), rgba(0,0,0,0.7)); */
  background: linear-gradient(
    135deg,
    #0f2027f6 0%,
    #011218ec 50%,
    #2c643a94 100%
  );
  z-index: 0;

  /* 🔹 Desvanecido inferior más sutil y profesional */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.603) 75%,
    /* mantiene la parte visible */ rgba(0, 0, 0, 0.486) 85%,
    /* empieza el fade */ rgba(0, 0, 0, 0.4) 93%,
    /* suaviza transición */ rgba(0, 0, 0, 0) 100% /* totalmente transparente */
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 75%,
    rgba(0, 0, 0, 0.8) 85%,
    rgba(0, 0, 0, 0.4) 93%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-size: cover;
  mask-size: cover;
  pointer-events: none;
}

/* Hero Section */
.hero {
  /* background: linear-gradient(135deg, var(--dark), var(--primary)); */
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c6451 100%);
  color: white;
  /* padding: 180px 0 100px; */
  margin-top: 70px;
  position: relative;
  text-align: center;
  overflow: hidden;
  /* Desvanecimiento superior/inferior para empalmar secciones */
  /* -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 100%,
    rgba(0, 0, 0, 0.925) 90%,
    #00000071 100%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgb(0, 0, 0) 00%,
    #000000 75%,
    transparent 100%
  );
  pointer-events: none; */

  /* 🔹 Desvanecido inferior más sutil y profesional */
}

/* Video de fondo */
.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0; /* fondo */

  /* Aquí el truco: aplicar máscara SOLO al pseudo-elemento */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.938) 10%,
    #000 10%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;

  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.9) 10%,
    #000 70%,
    transparent 100%
  );
  mask-repeat: no-repeat;
  mask-size: cover;

  z-index: 0; /* se mantiene debajo del contenido */
}

/* Canvas de partículas */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* encima del video, debajo del overlay */
  opacity: 0.8;

  pointer-events: none;
}

/* Overlay degradado / máscara */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0; /* encima del video y partículas, debajo del contenido */
  background: linear-gradient(rgba(11, 17, 32, 0.897), rgba(11, 17, 32, 0.938));
  /* Se puede mantener la máscara si quieres efecto suave en top/bottom */

  /* Aquí el truco: aplicar máscara SOLO al pseudo-elemento */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.9) 10%,
    #000 70%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;

  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.9) 10%,
    #000 70%,
    transparent 100%
  );
  mask-repeat: no-repeat;
  mask-size: cover;

  z-index: 0; /* se mantiene debajo del contenido */
}
/* 🔹 Capa para el desvanecimiento */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(11, 17, 32, 0.85), rgba(11, 17, 32, 0.95)),
    url("fondo.jpg") center/cover no-repeat;

  /* Aquí el truco: aplicar máscara SOLO al pseudo-elemento */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.9) 10%,
    #000 70%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;

  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.9) 10%,
    #000 70%,
    transparent 100%
  );
  mask-repeat: no-repeat;
  mask-size: cover;

  z-index: 0; /* se mantiene debajo del contenido */
}

/* Contenido principal */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
  animation: fadeInUp 1.5s ease-out;
}
.typing-text {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(
    90deg,
    #f9d976 0%,
    #f39f86 25%,
    #f6e58d 50%,
    #f9d976 75%,
    #f39f86 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 6s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(249, 217, 118, 0.3);
}

/* Animación del degradado */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* En pantallas pequeñas */
@media (max-width: 768px) {
  /* .typing-text {
    font-size: 20rem;
  } */
}

/* Indicador de scroll */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.9rem;
  color: #fff;
  opacity: 0.7;
  z-index: 3;
  animation: fadeIn 2s ease-in;
}


.scroll-indicator i {
  display: block;
  font-size: 1.5rem;
  margin-top: 5px;
  animation: bounce 2s infinite;
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* Responsividad */
@media (max-width: 768px) {
  /* .typing-text { font-size: 1.9rem; } */
  .subtitle,
  .hero-description {
    font-size: 1rem;
    padding: 0 1rem;
  }
  .btn.btn-primary {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}

.cta-section {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.free-tag {
  background: var(--highlight);
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: white;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  font-size: 1.2rem;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.animate-btn {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}


/* Ajustes para versión móvil */
@media (max-width: 768px) {
  /* Texto principal */

  /* Etiqueta superior */
  .free-tag {
    background: var(--highlight);
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  /* Botón principal */
  .btn {
    display: inline-block;
    width: 85%; /* más ancho en móvil */
    max-width: 300px; /* límite visual */
    padding: 15px 0; /* más alto, cómodo de tocar */
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    /* font-size: 2.2rem; */
    border: 2px solid transparent;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    box-shadow: 0 4px 18px rgba(52, 152, 219, 0.35);
  }
  .btn.btn-primary {
    font-size: 1.2rem; /* tamaño mayor del texto */
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(52, 152, 219, 0.45);
  }
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: white;
  /* padding-top: 80px; ❌ quitar */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: var(--dark);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  color: var(--dark);
}



.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--text);
}

.btn-center-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
  width: 100%;
}

.btn-pdf {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  background-color: #0066cc;
  color: white;
  border: none;
}

.btn-pdf:hover {
  background-color: #004a99;
}

.btn-outline {
  background: transparent;
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-outline:hover {
  background: var(--secondary);
  color: white;
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 5px;
}

.logo p {
  font-size: 0.8rem;
  color: var(--text);
}

.nav ul {
  display: flex;
  list-style: none;
}

.nav li {
  margin-left: 30px;
}

.nav a {
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--secondary);
}

.nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--secondary);
  bottom: -5px;
  left: 0;
  transition: width 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

/* Indicador de scroll */
.scroll-indicator {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 250, 250, 0.425);
  z-index: 5;
  opacity: 0.8;
  transition: opacity 0.1;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator p {
  margin-bottom: -45px;
  font-size: 0.8rem;
}

.scroll-indicator i {
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  margin-top: -120px;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}



/* ------------------------------- */

.logo {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.5rem;
  color: #2b7c94;
  margin: 0;
  transition: opacity 0.3s ease;
}

/* Estilos del menú móvil */
.mobile-menu {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #2b7c94;
  margin-left: auto;
}

/* Versión móvil */
@media (max-width: 768px) {
  .hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
  }
  .mobile-menu {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
  }

  .nav.show {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
  }

  /* Oculta el logo cuando el menú está abierto */
  .nav.show ~ .logo .logo-name,
  .nav.show ~ .logo .logo-description {
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
  }

  /* Asegura que el contenedor mantenga su altura */
  .logo {
    height: auto;
    transition: height 0.3s ease;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  /* max-width: 700px; */
  margin: 0 auto;
  text-align: center;

  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: white;
  line-height: 1.3;
}

.hero-content .subtitle {
}

.location {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.location span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cta-section {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.free-tag {
  background: var(--highlight);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Animacion para cualquier scroll-item*/

/* Animacion para cualquier scroll-item*/

.scroll-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.scroll-item.visible {
  opacity: 1;
  transform: translateY(0px);
}

/* Contenedor del texto animado */
.typing-container {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}


/* Texto animado */
.typing-text {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 3vw, 1rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0;
  margin-bottom: 10px;
  position: relative;
}

.typing-text::after {
  content: "|";
  position: absolute;
  right: 5px;
  animation: blink 0.7s infinite;
  color: var(--accent);
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Resto del contenido hero */
.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 15px;
  line-height: 1.3;
}

.subtitle {
  font-size: 1.1rem;
  margin-bottom: 10px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-description {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.pdf-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  overflow-y: auto; /* Permite scroll en el modal */
}

.pdf-modal-content {
  position: relative;
  margin: 5% auto;
  width: 95%;
  max-width: 600px;
  max-height: 99vh; /* Altura máxima */
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto; /* Scroll interno si el contenido es muy largo */
}

#pdfCanvas {
  max-width: 100%;
  max-height: 99vh; /* Ajusta según necesidad */
  margin-bottom: 1rem;
}

/* Resto del CSS se mantiene igual */
.pdf-close {
  position: absolute;
  top: 8px;
  right: 17px;
  font-size: 37px;
  font-weight: bold;
  color: #07bcc9;
  cursor: pointer;
}

.pdf-controls {
  margin-top: 10px;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.pdf-controls button {
  padding: 6px 12px;
  font-size: 18px;
  cursor: pointer;
}


.pdf-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  /* color: #0f0;  */
  color: #07bcc9;
  font-weight: bold;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid rgb(0, 247, 255); /* Verde brillante */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Línea decorativa debajo del título */
.about-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #6ee7b7, #3b82f6);
  border-radius: 2px;
  margin: 0.8rem auto 1.5rem auto; /* centrada y con espacio */
}

/* Versión móvil */
@media (max-width: 768px) {
  .about-divider {
    width: 62px;
    height: 1.5px;
    margin: 0.6rem auto 1.2rem auto;
  }
}


/* Clase para bloquear el scroll del body */
.body-scroll-lock {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 100px 0 80px;
  }

  /* .typing-wrapper {
    min-height: 100px;
    margin-bottom: -5px;
  } */

  /* .typing-text {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  } */

  /* Ajuste específico para móvil */
  @media (max-width: 768px) {
    .subtitle {
      max-width: 90%;
      width: 90%;
      margin-left: auto;
      margin-right: auto;
      text-align: center;
      font-size: 1.05rem; /* opcional, ligeramente más legible */
      line-height: 1.8; /* más aire entre líneas */
    }

    .hero-content {
      padding: 0 1rem; /* asegura espacio lateral */
    }
  }
}

.hero-profile-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  border: 3px solid rgba(255, 255, 255, 0.5);
}

.hero-profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



/* 📱 Móvil */
@media (max-width: 768px) {
  .hero-header {
    padding: 80px 20px 50px;
  }

  .hero-profile-img {
    width: 100px;
    height: 100px;
  }

  .hero-profile h1 {
    font-size: 1.8rem;
  }

  .hero-profile h2 {
    font-size: 1.1rem;
  }
}
/* Team Section */
.team-section {
  /* padding: 80px 0; */
  background: var(--section-bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid var(--secondary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-card i {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.team-card p {
  font-size: 0.9rem;
  color: var(--text);
}

/* Specialties Section */
.specialties-section {
  padding: 80px 0;
  background: white;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.specialty-card {
  background: var(--section-bg);
  padding: 25px;
  border-radius: 8px;
  transition: transform 0.3s;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.specialty-card:hover {
  transform: translateY(-5px);
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.specialty-card i {
  /* color: var(--highlight); */
  font-size: 1.2rem;
  margin-top: 3px;
}


.specialty-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.specialty-card p {
  font-size: 0.9rem;
  color: var(--text);
}

/* Problems Section */
.problems-section {
  padding: 20px 0;
  background: var(--section-bg);
}

.problems-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.problems-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problem-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s;
}

.problem-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.problem-item i {
  font-size: 1.5rem;
  /* color: var(--secondary); */
  min-width: 40px;
}

.problem-item p {
  font-size: 0.95rem;
}

/* ****************problems-image************* */

.problems-image {
  text-align: center;
  margin-top: 40px;
}

.problems-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  max-height: 400px;
}

.problems-image-2 {
  text-align: center;
  margin-top: 40px;
}

.problems-image-2 img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  max-height: 550px;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.service-card {
  background: var(--section-bg);
  padding: 30px 25px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;
  border-left: 4px solid var(--secondary);
}


.service-card:hover {
  transform: translateY(-10px);
  background: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card i {
  font-size: 2.2rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text);
}

/* Spaces Section */
.spaces-section {
  padding: 80px 0;
  background: var(--section-bg);
}

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.space-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.space-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.space-card i {
  font-size: 1.3rem;
  color: var(--highlight);
  margin-top: 3px;
}

.space-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.space-card p {
  font-size: 0.9rem;
  color: var(--text);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: rgb(90, 24, 24);
}


.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.phone-number {
  margin-top: 20px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.phone-number i {
  color: var(--highlight);
}

/* Contact Section */
/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: white;
  display: flex;
  justify-content: center; /* centra horizontalmente */
}

.container {
  width: 100%;
  max-width: 900px; /* centrado con ancho controlado */
  margin: 0 auto;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.contact-info {
  background: var(--section-bg);
  padding: 40px;
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: left; /* mantiene los textos alineados a la izquierda */
}

/* Título */
.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--dark);
  position: relative;
  padding-bottom: 15px;
  text-align: center; /* solo centramos el título */
}

.contact-info h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--secondary);
}

/* Cada método de contacto */
.contact-method {
  display: flex;
  align-items: flex-start; /* ícono a la izquierda */
  gap: 20px;
  margin-bottom: 25px;
}

/* Íconos */
.contact-method i {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-top: 5px;
  min-width: 30px; /* mantiene la alineación constante */
  text-align: center;
}

/* Texto */
.contact-method h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark);
}

.contact-method p {
  font-size: 0.95rem;
  color: var(--text);
}

/* --- Responsivo móvil --- */
@media (max-width: 768px) {
  .contact-section {
    padding: 60px 1rem;
  }

  .contact-info {
    padding: 30px 20px;
    max-width: 100%;
  }

  .contact-method {
    gap: 15px;
  }

  .contact-method i {
    font-size: 1.3rem;
  }
}

.contact-form {
  background: var(--section-bg);
  padding: 40px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: white;
}

.footer-about p {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 10px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-contact p {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}


.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.7;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.social-links a:hover {
  background: var(--secondary);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
  transition: transform 0.3s;
  z-index: 999;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    margin-top: -10px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav.active {
    display: block;
  }

  .nav ul {
    flex-direction: column;
  }

  .nav li {
    margin: 0 0 15px 0;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .problems-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .btn-large {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Estilos generales */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.2rem;
}
.section-description {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text);
  font-size: 1.1rem;
}

/* Header Fix */
.header {
  height: 99px;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* position: fixed; */
  width: 100%;
  top: 0;
  z-index: 999;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  padding: 15px 0;
  transition: all 0.3s ease;
  left: 0;
  z-index: 999;
  transition: top 0.3s ease-in-out;
}


/* Asegurar que el contenido no quede detrás del header */
body {
  /* padding-top: 80px; */
}

/* Logo adjustments */
.logo {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.5rem;
  color: #2b7c94;
  margin: 0;
  transition: all 0.3s ease;
}

.logo-description {
  font-size: 0.8rem;
  color: #666;
  margin: -2px 0 0 0;
  transition: all 0.3s ease;
}

/* Mobile menu adjustments */
@media (max-width: 768px) {
  .mobile-menu {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
  }

  .nav.show {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
  }

  /* Oculta el logo cuando el menú está abierto */
  .nav.show ~ .logo .logo-name,
  .nav.show ~ .logo .logo-description {
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
  }
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--dark);
  font-size: 1.5rem;
}

.logo p {
  font-size: 0.8rem;
  color: var(--text);
}

.nav ul {
  display: flex;
  list-style: none;
}

.nav li {
  margin-left: 30px;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav a:hover {
  color: var(--secondary);
}


.nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--secondary);
  bottom: -5px;
  left: 0;
  transition: width 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

/* Hero */
/* .hero {
  background: linear-gradient(135deg, var(--dark), var(--secondary));
  color: white;
  text-align: center;
  padding: 180px 0 100px;
  margin-top: 70px;
} */

.hero-content h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.hero-content .year {
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: var(--highlight);
}

.hero-content .author {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Info Section */
.info-section {
  padding: 80px 0;
  background: white;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.info-card {
  background: var(--light);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid var(--secondary);
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-card .icon {
  width: 70px;
  height: 70px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.info-card h3 {
  color: var(--dark);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.update-date {
  text-align: center;
  margin-top: 50px;
  color: var(--text);
  font-size: 0.9rem;
}

.update-date strong {
  color: var(--dark);
}

/* Approach Section */
.approach-section {
  padding: 80px 0;
  background: var(--light);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.approach-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.approach-card:hover {
  transform: translateY(-10px);
}

.approach-card h3 {
  color: var(--secondary);
  margin-bottom: 15px;
  font-size: 1.3rem;
  text-align: center;
}

.approach-card i {
  font-size: 2.2rem;
  color: var(--secondary);
  display: block;
  text-align: center;
  margin-bottom: 15px;
}

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
  background: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.benefit-item {
  display: flex;
  align-items: center;
  background: var(--light);
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s;
}

.benefit-item:hover {
  transform: translateY(-5px);
}


.benefit-item i {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-right: 15px;
  min-width: 40px;
}

/* Schedule Section */
.schedule-section {
  padding: 80px 0;
  background: var(--light);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.time-block {
  background: white;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}

.time-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--secondary);
}

.time-block:hover {
  transform: translateY(-10px);
}

.time-block h3 {
  color: var(--dark);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.time-block p {
  color: var(--text);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.time-block i {
  font-size: 2rem;
  color: var(--highlight);
}

/* Plans Section */
.plans-section {
  padding: 80px 0;
  background: white;
  margin-top: 0px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.plan-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  position: relative;
}

.plan-card.featured {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


.popular-badge {
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--accent);
  color: white;
  padding: 5px 30px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
  z-index: 1;
}

.plan-header {
  background: var(--dark);

  color: white;
  padding: 25px;
  text-align: center;
}

.plan-header h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--highlight);
}

.plan-content {
  padding: 25px;
}

.plan-content ul {
  list-style: none;
  margin-bottom: 25px;
}

.plan-content li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.plan-content li i {
  color: var(--secondary);
  margin-right: 10px;
  font-size: 0.9rem;
}

.note {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
  font-style: italic;
}

.plan-card .btn {
  display: block;
  width: 100%;
}

.payment-info {
  text-align: center;
  margin-top: 50px;
  padding: 20px;
  background: var(--light);
  border-radius: 10px;
}

.plan-header-gratis {
  background: linear-gradient(135deg, #91d18b, #c1e1a6b4);
}

.plan-header-standard {
  background: linear-gradient(135deg, #6cb8e6, #9dd9f3);
}

.plan-header-mind {
  background: linear-gradient(135deg, #d46cba, #e69db3);
}

.plan-header-evolut {
  background: linear-gradient(135deg, #a177e8, #c7b5ff);
}

.plan-title {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: white; /* Color dentro del header */
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

.li-destacado {
  display: flex;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  padding: 10px 0;
  list-style: none;
  margin-bottom: 1rem;
  border-bottom: 1px solid #ddd;
}

.plan-saving {
  font-size: 0.9rem;
  font-weight: 600;
  background: #fff;
  color: #a177e8;
  padding: 5px 10px;
  border-radius: 20px;
  margin-top: 8px;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Badge animado para ahorro */
.discount-badge.animated-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #ff6a00, #ff4d4f);
  color: white;
  font-size: 0.65rem; /* reducido */
  font-weight: 600; /* más ligero */
  padding: 3px 9px; /* reducido */
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0 2px 10px rgba(255, 77, 79, 0.3);
  z-index: 10;
  text-transform: uppercase;
  animation: badgeFadeIn 1s ease-out forwards, badgePulse 2.5s infinite 1.2s;
  opacity: 0;
}

.discount-badge.animated-badge i {
  font-size: 0.85rem;
}

/* Entrada suave */
@keyframes badgeFadeIn {
  from {
    transform: translateY(-20px) scale(0.7);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Pulsación suave */
@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 77, 79, 0.3);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(255, 77, 79, 0.5);
  }
}

.popular-badge.animated-badge {
  position: absolute;
  top: 15px;
  right: -30px;
  background: linear-gradient(135deg, #ff4d4f, #ff6a00);
  color: white;
  padding: 5px 30px;
  font-size: 0.75rem;
  font-weight: 500;
  transform: rotate(45deg);
  z-index: 1;
  animation: fadeBounce 2s ease-in-out infinite;
  box-shadow: 0 4px 10px rgba(255, 77, 79, 0.2);
  letter-spacing: 1px;
  font-family: "Montserrat", sans-serif;
}

/* Animación */
@keyframes fadeBounce {
  0%,
  100% {
    transform: rotate(45deg) scale(1);
    opacity: 1;
  }
  50% {
    transform: rotate(45deg) scale(1.08);
    opacity: 0.9;
  }
}

/* Testimonials */
.testimonials-section {
  padding: 80px 0;
  background: var(--light);
}

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial blockquote {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial .author {
  font-weight: 600;
  color: var(--dark);
  font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
  padding: 50px 0;
  background: white;
}

.contact-section-cita {
  padding: 20px 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

.contact-info {
  padding: 30px;
  background: var(--light);
  border-radius: 10px;
}

.contact-info h3 {
  color: var(--dark);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-item i {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-right: 15px;
  width: 25px;
}

.mt-4 {
  margin-top: 40px;
}

.contact-form {
  padding: 30px;
  background: var(--light);
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer-logo p {
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  transition: background 0.3s;
}

.footer-social a:hover {
  background: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}


/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
  transition: transform 0.3s;
  z-index: 999;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-logo {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: white;
    line-height: 1.3;
  }

  .hero {
    padding: 100px 0 90px;
  }

  .nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-content h2 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    grid-column: span 1;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 95px 0 100px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-card.featured {
    transform: scale(1);
  }
}

/*Seccion consult*/

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}

h1,
h2,
h3 {
  margin: 0;
}

/* =======================
   Hero Section
======================= */
.hero-section {
  background: linear-gradient(to right, #3b82f6, #6366f1);
  color: white;
  padding: 3rem 1rem 4rem;
  text-align: center;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

.hero-content h1 {
  font-size: 2.5rem;
  /* margin-bottom: 0.5rem; */
}

.hero-text {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 1.1rem;
}

.hero-icons {
  margin-top: 1rem;
}

.hero-icons a {
  margin: 0 0.5rem;
  color: white;
  font-size: 1.5rem;
  transition: transform 0.2s;
}

.hero-icons a:hover {
  transform: scale(1.2);
}

.hero-divider {
  height: 2px;
  background-color: white;
  margin: 2rem auto;
  width: 80px;
  border-radius: 4px;
}

.hero-cta {
  font-size: 1.5rem;
  margin-top: 1rem;
}


/* =======================
   Booking Header
======================= */
.booking-header {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.header-pattern {
  height: 8px;
  width: 80px;
  background: linear-gradient(to right, #6366f1, #3b82f6);
  margin: 0 auto 1rem;
  border-radius: 8px;
}

#typing-text {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.3rem, 4vw, 2.5rem);
  line-height: 1.4;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  min-height: 1.4em;
  padding-right: 15px;
  margin-top: -29px;
  position: relative;
  white-space: nowrap;
  overflow: hidden; /* clave */
  text-overflow: ellipsis; /* por si acaso */
}

#typing-text::after {
  content: "|";
  position: absolute;
  right: -10px;
  animation: blink 0.7s infinite;
  color: var(--accent);
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* =======================
   Calendar Section
======================= */
.booking-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;

  text-align: center;
  width: 100%;
  margin: 0 auto 2rem auto;
  font-size: 2.5rem;
  font-weight: 680;
  color: #222;
  display: block;
}

.section-title h2 {
  /* display: flex; */
  /* align-items: center; */
  /* gap: 0.5rem; */
  color: #374151;
}

/* Título */
.section-title-2 {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 2rem;
}

.section-title-2 h5 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(90deg, #0a141d, #140d1a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

.current-month {
  font-weight: bold;
  font-size: 1.1rem;
  color: #6366f1;
  margin-top: 20px;
}

.navigation-buttons {
  text-align: center;
  margin: 1rem 0;
}

.nav-button {
  border: none;
  background: #e5e7eb;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.nav-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.calendar-grid {
  display: grid;
  gap: 0.25rem;
}

.calendar-header,
.calendar-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.15rem;
  text-align: center;
}

.calendar-header div {
  font-weight: bold;
  padding-bottom: 0.5rem;
  color: #374151;
}

.calendar-day {
  padding: 0.75rem;
  background: #f3f4f6;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.calendar-day.today {
  border: 2px solid #6366f1;
}

.calendar-day.selected {
  background: #6366f1;
  color: white;
}

.calendar-day.disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

.calendar-day.other-month {
  background: transparent;
  color: #d1d5db;
}

/* =======================
   Time Slots
======================= */
.time-slots-title {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
}

.time-slot {
  padding: 0.75rem;
  background: #f3f4f6;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
}

.time-slot.selected {
  background: #10b981;
  color: white;
}

.time-slot.disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

/* =======================
   Summary
======================= */
.booking-summary {
  margin-top: 2rem;
  padding: 1rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}

.detail-label {
  font-weight: bold;
}

.change-selection {
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.9rem;
}

.change-selection:hover {
  text-decoration: underline;
}


/* =======================
   Formulario
======================= */
.booking-form {
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

input,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
}

input:focus,
select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* .btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 80px;
  font-size: 1rem;
  cursor: pointer;
} */

.btn-outline {
  background: white;
  border: 1px solid #3b82f6;
  color: #3b82f6;
}

/* .btn-primary {
  background: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background: #2563eb;
} */

.btn-regresar {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 80px;
  font-size: 1rem;
  cursor: pointer;
}

.btn-regresar-outline {
  background: white;
  border: 1px solid #3b82f6;
  color: #3b82f6;
}

.btn-regresar-primary {
  background: #3b82f6;
  color: white;
}

.btn-regresar-primary:hover {
  background: #2563eb;
}

.btn-pro {
  display: inline-block;
  padding: 12px 30px;
  background: rgb(12, 161, 57);
  /* background-image: linear-gradient(60deg, rgba(24, 16, 20, 0.021), rgba(17, 23, 24, 0), rgba(17, 17, 12, 0), rgb(255, 15, 15)); */

  /* background-color: var(--accent-2); */
  color: white;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--accent);
  font-family: "Montserrat", sans-serif;
  margin-top: 80px;
  animation: animate 2.1s infinite;
  margin-left: 340px;
}

.btn-pro {
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  text-align: center;
  border: 2px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
  transition: all 0.3s ease;
  margin-top: 2px;
}

.btn-pro:hover {
  background-color: var(--primary);
  color: #fff;
}

#notes {
  width: 100%;
  padding: 1.7rem 0.8rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: vertical;
}

/*btn-regresar*/

@media (min-width: 768px) {
  .grupo-opciones {
    display: none;
    padding: 0.9rem 0.8rem;
    margin-left: 15px;
    margin-bottom: 10px;
  }

  .form-actions {
    position: relative;
  }

  #backButton {
    position: absolute;
    top: -1.2rem;
    left: 0;
    z-index: 10;
    background-color: #f0f4f8;
    color: #057d86a9;
    border: none;
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  #backButton:hover {
    background-color: #dbeafe;
    transform: translateY(-2px);
  }

  #backButton .back-icon {
    font-size: 1.2rem;
    color: inherit;
  }
}

/*Preguntas Frecuentes*/

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}


.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 10px 0;
  color: var(--text-dark);
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  margin-top: 10px;
}

.faq-answer p {
  margin: 0;
  color: var(--text-light);
}

.iti--allow-dropdown {
  width: 100%;
  padding: 0px;
}

/*Estilo de Proyecto*/

.faq-answer .faq-intro {
  margin-bottom: 1rem; /* aumenta el espacio inferior del <p> */
  line-height: 1.6;
}

.faq-answer ul.styled-list {
  list-style-type: disc;
  margin-left: 1.5rem;
  padding-left: 0;
}

.faq-answer ul.styled-list li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.interes-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.interes-btn {
  border: 2px solid #2b7c94;
  background: transparent;
  padding: 10px 20px;
  border-radius: 25px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  color: #2b7c94;
  transition: all 0.3s ease;
  /* padding: 0.6rem 1.2rem; */
  font-size: 0.9rem;
  /* padding: 0.6rem 1.2rem; */
}

.interes-btn.selected {
  background-color: #2b7c94;
  color: #fff;
}

/* Accordion toggle styling */

.accordion-item {
  margin-left: -20px;
}

.accordion-toggle {
  width: 97%;
  background-color: #20252ed5;

  border: none;
  font-weight: bold;
  font-size: 1rem;

  cursor: pointer;
  margin: 2.7rem 0 0.7rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.accordion-toggle {
  min-height: 48px;
  padding: 1rem 0.5rem;
  box-sizing: border-box;
  /* background-color: #eeadad; */
  background: linear-gradient(135deg, #bd98b477, #e69db3);
  border-radius: 8px;
  display: flex;
  margin-left: 18px;
  align-items: center;
  justify-content: flex-start;
  /* padding: 1rem; */
}

.accordion-toggle::before {
  content: "+";
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.accordion-toggle.active::before {
  content: "\2212"; /* minus sign */
}

.grupo-opciones {
  display: none;
  padding: 0.9rem 0.8rem;
  margin-left: 15px;
}
/* .grupo-opciones.show {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: center;
} */

.grupo-opciones.show {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem; /* igual que .interes-buttons */
  justify-content: center;
  margin-left: 24px;
}


@media (max-width: 480px) {
  /* Estilos para acordeón */

  .grupo-opciones.show {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem 0rem; /* igual que .interes-buttons */
    justify-content: center;
    margin-left: 24px;
  }

  .accordion-toggle {
    width: 99%;
    padding: 10px 20px;
    text-align: left;
    background-color: #f8f9fa;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Estilo para botones seleccionados */
  .interes-btn.selected {
    background-color: #2b7c94;
    color: white;
    border-color: #2b7c94;
  }

  .interes-btn {
    transition: all 0.3s ease;
    margin: 3px;
    align-items: center;
    justify-content: center;
  }

  .form-actions {
    position: relative;
  }

  .interes-btn {
    gap: 5rem;
  }

  .interes-btn {
    padding: 0.8rem 1.2rem;

    text-align: left;

    transition: all 0.2s ease;
  }

  #backButton {
    position: absolute;
    top: -1.2rem;
    left: 0;
    z-index: 10;
    background-color: #f0f4f8;
    color: #057d86a9;
    border: none;
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 5px;
  }

  #backButton:hover {
    background-color: #dbeafe;
    transform: translateY(-2px);
  }

  #backButton .back-icon {
    font-size: 1.2rem;
    color: inherit;
  }
}

.btnprograma,
.btnimg {
  padding: 0.7rem 1.2rem;
  font-size: 0.85rem;
}

.booking-form .form-group {
  margin-bottom: 1.5rem;
}

.interes-buttons {
  /* gap: 1.5rem; */
}

.accordion-toggle {
  width: 95%;
  margin-left: 18px;
  align-items: center;
  justify-content: flex-start;
  /* padding: 1rem; */
}

.btn-regresar {
  margin-top: 80px;
  align-items: center;
  margin-left: 90px;
}

.faq-section-01 {
  padding: 50px;
}

.faq-cta-btn {
  text-align: center;
  margin-top: 50px;
}

.faq-cta-btn p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--dark);
}

/* Responsive */
@media (max-width: 768px) {
  .faq-question {
    padding: 15px 20px;
  }

  .faq-question span {
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-answer.open {
    padding: 0 20px 20px;
  }

  #backButton {
    position: absolute;
    top: -1.2rem;
    left: 0;
    z-index: 10;
    background-color: #f0f4f8;
    color: #057d86a9;
    border: none;
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  #backButton:hover {
    background-color: #dbeafe;
    transform: translateY(-2px);
  }

  #backButton .back-icon {
    font-size: 1.2rem;
    color: inherit;
  }
}

@keyframes animate {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.animate-btn {
  animation: animate 1.5s ease-in-out infinite;
}

.whatsapp-float {
  position: fixed;
  bottom: -100px; /* Inicialmente oculto */
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.5s ease;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
}

.whatsapp-float.visible {
  bottom: 30px;
  opacity: 1;
  visibility: visible;
  animation: animate 2s infinite; /* Aplicamos la animación */
}


.whatsapp-float:hover {
  animation: none; /* Detenemos la animación al hacer hover */
  transform: scale(1.1) translateY(0); /* Reset para el hover */
  background: #128c7e;
}

/* Animación proporcionada */
@keyframes animate {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Responsive para móviles */
@media (max-width: 768px) {
  #typing-text {
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    line-height: 1.4;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    min-height: 1.4em;
    padding-right: 15px;
    margin-top: 9px;
    position: relative;
    white-space: nowrap;
    overflow: hidden; /* clave */
    text-overflow: ellipsis; /* por si acaso */
  }

  #typing-text::after {
    content: "|";
    position: absolute;
    right: -10px;
    animation: blink 0.7s infinite;
    color: var(--accent);
  }

  @keyframes blink {
    0%,
    100% {
      opacity: 1;
    }
    50% {
      opacity: 0;
    }
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    right: 20px;
  }

  .whatsapp-float.visible {
    bottom: 20px;
  }
}

.scroll-top-btn {
  position: fixed;
  bottom: 40px;
  left: 30px; /* 👈 Cambiado de right a left */
  background-color: #2b7c94;
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
}

/* *********compartir-btn********** */

#shareReservaBtn {
  text-align: center;
  margin-bottom: 20px;
}
/* 
.share-container {
  text-align: center;
  margin-bottom: 20px;
} */
/* 
.compartir-btn {
  font-size: 0.9rem;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 25px;
  border: 2px solid #2b7c94;
  background: transparent;
  color: #2b7c94;
  transition: background 0.3s ease, color 0.3s ease;
} */

.compartir-btn:hover {
  background: #2b7c94;
  color: white;
}

.compartir-btn {
  margin-top: 10px;
  font-size: 0.9rem;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.share-container {
  text-align: center;
  margin-bottom: 20px;
}

.compartir-btn {
  font-size: 0.9rem;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 25px;
  border: 2px solid #2b7c94;
  background: transparent;
  color: #2b7c94;
  transition: background 0.3s ease, color 0.3s ease;
}

.compartir-btn:hover {
  background: #2b7c94;
  color: white;
}


/* Specialties Section - Mejorada */
.specialties-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
  position: relative;
  overflow: hidden;
}

.specialties-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="%23eef2f5" d="M0,0 L100,0 L100,100 L0,100 Z" opacity="0.2"/></svg>');
  background-size: cover;
  z-index: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--secondary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto 25px;
  line-height: 1.6;
}
/* 
.divider {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto;
    position: relative;
}

.divider::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 4px;
    background: var(--highlight);
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
} */

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.specialty-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.specialty-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.1);
}


.card-icon {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px auto 20px;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.card-content {
  padding: 0 25px 25px;
  text-align: center;
  flex-grow: 1;
}

.card-content h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 15px;
  font-weight: 600;
}

.card-content p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: var(--light);
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.card-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.specialty-card:hover .card-link {
  background: var(--secondary);
  color: white;
}

.specialty-card:hover .card-link i {
  transform: translateX(3px);
}

.section-footer {
  text-align: center;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.section-footer p {
  margin-bottom: 20px;
  color: var(--text);
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .specialties-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  /* .specialties-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    } */

    .section-title h2 {
        line-height: 1.3;
}
.problems-section .section-subtitle {
  margin-top: 2.5rem;
}

.cards-container .card h3 {
  text-align: center;
}
.section-padding .section-title {
  margin-bottom: 2.5rem; /* 🔹 aumenta separación: puedes usar 3rem si deseas más aire */
}


  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  
}

@media (max-width: 576px) {
  .hero-section,
  .main-content,
  .banner-section {
    padding-top: 100px; /* Ajusta según la altura real del header */
  }

  .specialties-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: fadeIn 0.3s ease;
}

.close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 
//////////////////////////////////////////////////////////////////////////// */

.profile {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.profile-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.3);
  margin: 0 auto 25px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 70px;
  color: var(--primary);
  box-shadow: var(--shadow);
  transition: transform 0.5s ease;
}

.profile-img:hover {
  transform: scale(1.05);
}

.profile h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: white;
}


.profile h2 {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 30px;
  opacity: 0.9;
  color: white;
}

.tagline {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
  opacity: 0.9;
  position: relative;
  padding: 20px 0;
}

.tagline::before,
.tagline::after {
  content: '"';
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.5);
  position: absolute;
}

.tagline::before {
  top: 0;
  left: -20px;
}

.tagline::after {
  bottom: 0;
  right: -20px;
}

/* Cards */

/* Cards */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-accent);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: white;
  font-size: 32px;
  transition: transform 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.1);
}

.card h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.card p {
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Sobre Mí */
.about-section {
  background-color: #f5f7fa;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--gradient);
  border-radius: 50%;
  opacity: 0.05;
}

/* Hero Header Premium */
.hero-header {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 140px 20px 100px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

/* Fondo con imagen tenue o textura */
.hero-header-bg {
  content: "";
  position: absolute;
  inset: 0;
  background: url('header-bg.jpg') center/cover no-repeat;
  opacity: 0.08;
  mix-blend-mode: overlay;
  z-index: 0;
}

/* Contenedor principal */
.hero-header-container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Perfil */
.hero-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}


/* Icono */
.hero-profile-img i {
  font-size: 3.5rem;
  color: var(--highlight, #ffd166);
  margin-bottom: 1rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Nombre */
.hero-profile h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #00bcd4, #ffd166);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Profesión */
.hero-profile h2 {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

/* Frase */
.hero-tagline {
  font-size: 1.1rem;
  max-width: 700px;
  margin-top: 0.5rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

/* --- 🌐 Estilos Responsive --- */
@media (max-width: 768px) {
  .hero-header {
    padding: 100px 20px 80px;
  }

  .hero-profile h1 {
    font-size: 1.9rem;
  }

  .hero-profile h2 {
    font-size: 1.1rem;
  }

  .hero-tagline {
    font-size: 1rem;
    max-width: 90%;
  }

  .hero-profile-img i {
    font-size: 2.8rem;
  }
}

@media (max-width: 480px) {
  .hero-header {
    padding: 80px 15px 60px;
  }

  .hero-profile h1 {
    font-size: 1.7rem;
  }

  .hero-profile h2 {
    font-size: 1rem;
  }

  .hero-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-profile-img i {
    font-size: 2.5rem;
  }
}


.about-text h2 {
  font-size: 2.4rem;
  margin-bottom: 30px;
  color: var(--dark);
   text-align: center;
  width: 100%;
  display: block;
  margin: 0 auto 2rem auto; /* centrado + separación inferior */
  
}


.about-text p {
  margin-bottom: 25px;
  color: var(--text);
  font-size: 1.1rem;
}

.about-highlights {
  background: white;
  border-radius: var(--radius);
  padding: 45px 35px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.about-highlights::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--gradient);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  transition: var(--transition);
  padding: 15px;
  border-radius: 10px;
}

.highlight-item:hover {
  background: rgba(58, 90, 122, 0.03);
  transform: translateX(5px);
}

.highlight-item:last-child {
  margin-bottom: 0;
}

.highlight-icon {
  background: var(--gradient);
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 22px;
  flex-shrink: 0;
  font-size: 22px;
  transition: var(--transition);
}

.highlight-item:hover .highlight-icon {
  transform: scale(1.1);
  background: var(--gradient-accent);
}

.highlight-content h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.highlight-content p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Problemas */
.problems-section {
  background-color: #f0f4f8;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.problem-item:hover {
  transform: translateX(10px);
}

.problem-item {
  display: flex;
  flex-direction: column; /* 🔹 coloca el icono arriba y texto debajo */
  align-items: center;    /* 🔹 centra todo horizontalmente */
  text-align: center;     /* 🔹 centra texto dentro */
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.problem-icon {
  background: var(--primary-light);
  /* background: var(--gradient-accent); */
  
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 1rem; /* 🔹 espacio debajo del icono */
}

.problem-content h3 {
  color: var(--dark);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.problem-content p {
  color: var(--text-light);
}

/* Enfoque */
.approach-section-2 {
  background: var(--gradient);
  color: white;
  position: relative;
  overflow: hidden;
}


.approach-section-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: center;
}

.approach-section-2 .section-title h2 {
  color: white;
}

.approach-section-2 .section-title-2 h2::after {
  background: white;
}

.approach-content-2 {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.pillar {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 25px;
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.pillar:hover {
  transform: translateY(-10px);
}

.pillar i {
  font-size: 50px;
  margin-bottom: 25px;
  color: white;
}

.pillar h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: white;
}

.pillar p {
  color: rgba(255, 255, 255, 0.8);
}

/* 🔹 Contenedor del botón */


.faq-cta-btn p {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.2rem;
}

/* 🔹 Estilo del botón */
.btn-ctn.btn-outline {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-ctn.btn-outline:hover {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* 📱 Móvil */
@media (max-width: 768px) {
  .faq-cta-btn {
    padding: 1.5rem 1rem;
    margin-top: 2rem;
  }

  .faq-cta-btn p {
    font-size: 1rem;
  }

  .btn-ctn.btn-outline {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
  }
}


/* CTA */
.cta-section {
  text-align: center;

  position: relative;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 25px;
  color: var(--dark);
}



.cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 25px;
  color: var(--dark);
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: var(--text-light);
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-1 {
  animation-delay: 0.2s;
}


.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}


/* Responsive */
@media (max-width: 992px) {
  .profile h1 {
    font-size: 2.4rem;
  }

  .profile h2 {
    font-size: 1.4rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  /* .section-padding {
    padding: 80px 0;
  } */
}

@media (max-width: 768px) {

  .approach-content-2 {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
  position: relative;
  z-index: 2;

}
.approach-content-2 p {
  margin-top: 2rem; /* agrega más espacio arriba */
}

 .profile h1 {
    font-size: 2rem;
  }

  .profile h2 {
    font-size: 1.3rem;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .problem-item {
    flex-direction: column;
    text-align: center;
  }

  .problem-icon {
    margin-right: 0;
    margin-bottom: 20px;
    
  }

  

  .cta-content h2 {
    font-size: 2.2rem;
  }

  .cta-content p {
    font-size: 1.1rem;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .profile-img {
    width: 130px;
    height: 130px;
    font-size: 60px;
  }

  /* .section-padding {
    padding: 60px 0;
  } */

  .card {
    padding: 30px 20px;
  }
}


#sfcrgax9zz2rfflxa8xddqk2k48p9ka998j,
#sfcrgax9zz2rfflxa8xddqk2k48p9ka998j * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}


