:root {
  --primary: #0077b6;
  --secondary: #009688;
  --light: #f9f9f9;
  --dark: #333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary);
  padding: 10px 20px;
  color: white;
}

.navbar .logo {
  font-weight: bold;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar .nav-links li a {
  color: white;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
}


/* Secciones */
section {
  padding: 60px 20px;
  background: var(--light);
}

h2 {
  color: var(--primary);
  margin-bottom: 20px;
}

.grid {
  display: flex;
  gap: 20px;
}

.card {
  background: white;
  padding: 20px;
  border: 1px solid #ddd;
  flex: 1;
  border-radius: 8px;
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 40px 20px;
}

footer .btn {
  background: var(--secondary);
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .grid {
    flex-direction: column;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }
}

.proceso {
  background: var(--light);
  padding: 60px 20px;
  text-align: center;
}

.proceso h2 {
  color: var(--primary);
  margin-bottom: 40px;
}

.pasos {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.paso {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  flex: 1 1 calc(25% - 20px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.paso:hover {
  transform: translateY(-5px);
}

.numero {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  background: var(--secondary);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paso h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.paso p {
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .pasos {
    flex-direction: column;
  }

  .paso {
    flex: 1 1 100%;
  }
}
.testimonios {
  background: var(--light);
  padding: 60px 20px;
  text-align: center;
}

.testimonios h2 {
  color: var(--primary);
  margin-bottom: 10px;
}

.testimonios .intro {
  margin-bottom: 40px;
  font-size: 1rem;
  color: var(--dark);
}

.grid-testimonios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonio {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.testimonio:hover {
  transform: translateY(-5px);
}

.testimonio h3 {
  margin-bottom: 5px;
  color: var(--primary);
}

.testimonio .rol {
  font-size: 0.9rem;
  color: var(--secondary);
  display: block;
  margin-bottom: 10px;
}

.estrellas {
  color: #f5b301;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.beneficios {
  background: var(--light);
  padding: 60px 20px;
  text-align: center;
}

.beneficios h2 {
  color: var(--primary);
  margin-bottom: 10px;
}

.beneficios .intro {
  font-size: 1rem;
  margin-bottom: 40px;
  color: var(--dark);
}

.grid-beneficios {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas fijas */
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .grid-beneficios {
    grid-template-columns: 1fr;
  }
}


.beneficio {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.beneficio:hover {
  transform: translateY(-5px);
}

.icono {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--secondary);
}

.beneficio h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.beneficio p {
  font-size: 0.95rem;
  color: var(--dark);
}
.cta {
  background: var(--primary);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.cta-content h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1rem;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.whatsapp {
  background: var(--secondary);
  color: white;
}

.consulta {
  background: white;
  color: var(--primary);
  border: 2px solid white;
}

.consulta:hover {
  background: var(--light);
  color: var(--primary);
}

.whatsapp:hover {
  background: #00796b;
}

/* Responsive */
@media (max-width: 600px) {
  .cta-content h2 {
    font-size: 1.4rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
.contacto {
  background: var(--light);
  padding: 60px 20px;
}

.contacto h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 10px;
}

.contacto .intro {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1rem;
  color: var(--dark);
}

.contenedor-contacto {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.info-contacto {
  flex: 1 1 300px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.info-contacto ul {
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

.info-contacto li {
  margin-bottom: 10px;
}

.formulario-consulta {
  flex: 1 1 300px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.formulario-consulta label {
  margin-top: 15px;
  font-weight: bold;
}

.formulario-consulta input,
.formulario-consulta select,
.formulario-consulta textarea {
  margin-top: 5px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 0.95rem;
}

.formulario-consulta textarea {
  resize: vertical;
  min-height: 100px;
}

.formulario-consulta button {
  margin-top: 20px;
  padding: 12px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.formulario-consulta button:hover {
  background: var(--secondary);
}

:root {
  --primary: #0077b6;
  --secondary: #009688;
  --light: #f9f9f9;
  --dark: #333;
}

/* Hero */
.hero-unico {
  background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)),
              url('imagenes/docente.png') center/cover no-repeat;
  padding: 100px 20px;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.contenido-hero {
  background: rgba(0, 0, 0, 0.1);
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.contenido-hero h1 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.contenido-hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.contenido-hero .btn {
  background: var(--secondary);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 40px;
}

.contenido-hero .btn:hover {
  background: #00796b;
}

.contenido-nosotros {
  background: rgba(255, 255, 255, 0.2);
  padding: 30px;
  border-radius: 10px;
}

.contenido-nosotros h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contenido-nosotros p {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .contenido-hero {
    padding: 20px;
  }

  .contenido-hero h1,
  .contenido-nosotros h2 {
    font-size: 1.5rem;
  }

  .contenido-hero p,
  .contenido-nosotros p {
    font-size: 1rem;
  }
}
.filosofia {
  background: var(--light);
  padding: 60px 20px;
  text-align: center;
}

.contenido-filosofia {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.contenido-filosofia h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 20px;
}

.contenido-filosofia p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--dark);
}

.contenido-filosofia ul {
  list-style: none;
  padding-left: 0;
  text-align: left;
}

.contenido-filosofia li {
  font-size: 1rem;
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
  color: var(--dark);
}

.contenido-filosofia li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}
.servicios {
  padding: 60px 20px;
  background: var(--light);
  text-align: center;
}

.servicios h2 {
  color: var(--primary);
  margin-bottom: 40px;
}

.contenedor-servicios {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.servicio {
  flex: 1 1 400px;
  padding: 30px;
  border-radius: 10px;
  color: var(--dark);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.servicio h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.servicio p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.servicio ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
  text-align: left;
}

.servicio ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.servicio ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.servicio .btn.solicitar {
  background: var(--secondary);
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
}

.servicio .btn.solicitar:hover {
  background: #00796b;
}

/* Colores diferenciados */
.educacion {
  background: #e0f2ff;
}

.consultoria {
  background: #e0f7e9;
}

/* Responsive */
@media (max-width: 768px) {
  .contenedor-servicios {
    flex-direction: column;
  }
}
html {
  scroll-behavior: smooth;
}
.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px; /* espacio entre logo y texto */
  font-weight: bold;
  color: white;
}

.navbar .logo img {
  height: 40px; /* ajusta el tamaño del logo */
  width: auto;
}
.imagen-filosofia {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto 30px;
  display: block;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.imagen-servicio {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 20px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.boton-flotante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--secondary);
  color: white;
  padding: 12px 16px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: background-color 0.3s ease;
}

.boton-flotante:hover {
  background-color: #00796b;
}

.boton-flotante i {
  font-size: 1.2rem;
}
/* Reglas móviles con mayor especificidad */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    cursor: pointer;
    z-index: 10021;
  }

  /* IMPORTANTE: usar .navbar .nav-links para superar la especificidad global */
  .navbar .nav-links {
    display: none;
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 20px;
    z-index: 10020;
  }

  .navbar .nav-links.active {
    display: flex;
  }

  .navbar .nav-links li {
    margin: 10px 0;
    text-align: right;
  }

  .navbar .nav-links li a {
    color: white;
    font-size: 1.1rem;
    padding: 10px;
    display: block;
  }
}

/* Reducir prioridad de overlays para no bloquear toques */
#cookie-banner { z-index: 9000 !important; }
.boton-flotante { z-index: 9000; }

/* Opcional: ocultar el botón flotante si el menú está abierto */
@media (max-width: 768px) {
  .navbar .nav-links.active ~ .boton-flotante { display: none; }
}


