/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Tipografía */
body {
  font-family: 'Jost', sans-serif;
  background-color: #F2F2F7;
}

/* Header */
.header {
  width: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #e0e0e0;
}

/* Contenedor */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;   
}

.header .container {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #0088FF;
}

.logo img {
  width: 24px;
}

/* Navegación */
.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  color: #6b6b6b;
  font-size: 15px;
  transition: 0.3s;
}

.nav a:hover {
  color: #0059FF;
}

/* Botón */
.btn-outline {
  padding: 8px 16px;
  border: 1.5px solid #0088FF;
  background: transparent;
  color: #0088FF;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #0059FF;
  color: white;
}


html {
  scroll-behavior: smooth;
}


.hamburger{
  display:none;
  font-size:28px;
  cursor:pointer;
  color:#0088FF;
  transition:.3s;
}


@media(max-width:768px){

.hamburger{
display:block;
z-index:1001;
}

/* NAV oculto animado */

.nav{

position:absolute;

top:70px;
left:0;

width:100%;

background:white;

flex-direction:column;
align-items:center;

gap:22px;

padding:0;

max-height:0;

overflow:hidden;

opacity:0;

transition:
max-height .4s ease,
opacity .3s ease,
padding .3s ease;

box-shadow:0 10px 25px rgba(0,0,0,.08);

}

/* NAV visible */

.nav.active{

max-height:300px;

opacity:1;

padding:25px 0;

}

.btn-outline{
display:none;
}

}


.nav a{

font-size:17px;

}



/* Banner */
.banner {
  background: #F2F2F7;
  padding: 80px 0 40px;
  text-align: center;
}

/* Contenido */
.banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

/* Título */
.banner h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  max-width: 900px;
}

/* Palabras destacadas */
.highlight {
  color: #0088FF;
}

/* Texto */
.banner p {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  line-height: 1.6;
}

/* Marca dentro del texto */
.brand {
  color: #0088FF;
  font-weight: 600;
}

/* Botón principal */
.btn-primary {
  margin-top: 10px;
  padding: 14px 28px;
  background: #0088FF;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #0059FF;
}

/* Imagen */
.banner-image {
  margin-top: 40px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.banner-image img {
  width: 90%;
  max-width: 1000px;
  border-radius: 12px;
}

@media (max-width: 768px) {

  .banner h1 {
    font-size: 28px;
  }

  .banner p {
    font-size: 16px;
  }

  .banner-image img {
    width: 100%;
  }

}

.banner-image img {
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sección */
.beneficios {
  background: #F8FBFB;
  padding: 80px 0;
  text-align: center;
}

/* Tag */
.section-tag {
  color: #0088FF;
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 600;
}

/* Título */
.beneficios h2 {
  font-size: 32px;
  margin: 10px 0 40px;
}

/* Grid */
.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Cards */
.card {
  background: #F2F2F7;
  padding: 30px 25px;
  border-radius: 16px;
  transition: 0.3s;
}

/* Icono */
.icon {
  width: 60px;
  height: 60px;
  background: #0088FF;
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
}

/* Título card */
.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* Texto */
.card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Hover */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {

  .beneficios-grid {
    grid-template-columns: 1fr;
  }

  .beneficios h2 {
    font-size: 24px;
  }

}

/* =========================
   HANDS-ON SECTION
========================= */

.hands-on {
  background: #F2F2F7;
  padding: 80px 0;
  text-align: center;
}

/* TITULOS */
.hands-on h2 {
  font-size: 32px;
  margin-top: 10px;
}

.hands-subtitle {
  max-width: 600px;
  margin: 10px 0 25px;
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

/* =========================
   LAYOUT SUPERIOR
========================= */

.hands-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin: 40px 0;
}

/* IZQUIERDA */
.hands-left {
  flex: 1;
  min-width: 0; /* evita bugs de overflow */
  text-align: left;
}

/* =========================
   BADGES
========================= */

.hands-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap; /* 🔥 SIEMPRE en una línea */
}

.badge {
  flex: 1;
  min-width: 130px;
  max-width: 180px;

  padding: 14px 18px;
  border-radius: 12px;
  color: white;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.badge strong {
  font-size: 18px;
}

.badge span {
  font-size: 13px;
  opacity: 0.9;
}

.badge.green {
  background: linear-gradient(135deg, #00C9A7, #00A389);
}

.badge.purple {
  background: linear-gradient(135deg, #7B61FF, #5A3DFF);
}

/* =========================
   FEATURES BOX
========================= */

.features-box {
  flex: 0 0 260px;
  background: #ffffff;
  padding: 20px;
  border-radius: 14px;
  text-align: left;

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid #eee;
}

.features-box h4 {
  font-size: 14px;
  color: #0088FF;
  margin-bottom: 12px;
}

.features-box ul {
  list-style: none;
  padding: 0;
}

.features-box li {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.features-box li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #0088FF;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 7px;
}

/* =========================
   IMAGEN
========================= */

.hands-image {
  margin: 30px 0;
  display: flex;
  justify-content: center;
}

.hands-image img {
  width: 100%;
  max-width: 950px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* =========================
   TEXTO
========================= */

.hands-text {
  max-width: 750px;
  margin: 20px auto;
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

/* =========================
   SEPARADOR
========================= */

.section-divider {
  height: 50px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

  .hands-on h2 {
    font-size: 26px;
  }

  .hands-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hands-left {
    width: 100%;
    text-align: center;
  }

  /* badges siguen en fila */
  .hands-buttons {
    justify-content: center;
  }

  .badge {
    min-width: 120px;
  }

  /* caja centrada correctamente */
  .features-box {
    width: 100%;
    max-width: 300px;
    max-height: 160px;
    margin: 20px auto 0;
  }

  .section-divider {
    height: 60px;
  }
}

/* =========================
   TESTIMONIOS
========================= */

.testimonios {
  background: #F8FBFB;
  padding: 80px 0;
  text-align: center;
}

/* =========================
   ALUMNOS
========================= */

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 40px 0;
}

.testimonio-card {
  background: white;
  padding: 25px;
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.testimonio-card:hover {
  transform: translateY(-5px);
}

.testimonio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.testimonio-header img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
}

.badge-small {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #E6F9F3;
  color: #00A389;
}

.testimonio-card h3 {
  font-size: 16px;
}

.role {
  font-size: 13px;
  color: #777;
}

.testimonio-card p {
  font-size: 14px;
  color: #555;
  margin-top: 10px;
  line-height: 1.5;
}

/* =========================
   DOCENTES
========================= */

.docentes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 40px 0;
}

.docente-card {
  background: white;
  padding: 25px;
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.docente-card:hover {
  transform: translateY(-5px);
} 

/* imagen cuadrada más compacta */
.docente-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
}

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

.docente-info {
  padding: 15px;
  text-align: left;
}

/* nombre + universidad */
.docente-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.docente-top img {
  width: 55px;
}

.docente-info span {
  font-size: 13px;
  color: #777;
}

/* linkedin + link */
.docente-bottom a {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 14px;
  color: #0088FF;
  text-decoration: none;
}

.docente-bottom img {
  width: 16px;
}

/* =========================
   TESTIMONIO DESTACADO
========================= */

.testimonio-highlight {
  position: relative;
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  max-width: 700px;
  margin: 40px auto 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.quote-icon {
  font-size: 100px;
  color: #0088FF;
  position: absolute;
  top: 10px;
  left: 20px;
  opacity: 0.3;
}

.testimonio-highlight p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
  margin-top: 25px;
}

/* footer estilo correcto */
.highlight-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.highlight-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.highlight-user img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.stars {
  font-size: 14px;
  color: #f5a623;
}

.highlight-uni {
  width: 60px;
  opacity: 0.8;
}

/* flechas */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #f2f2f7;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.arrow.left { left: -20px; }
.arrow.right { right: -20px; }

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

  .testimonios-grid,
  .docentes-grid {
    grid-template-columns: 1fr;
  }

  .arrow {
    display: none;
  }
}

/* =========================
FAQ
========================= */

.faq{
background:#F2F2F7;
padding:80px 0;
}

.faq h2{
margin:10px 0 40px;
text-align:center;
}

/* ITEM */

.faq-item{
max-width:900px;
margin:15px auto;
}

/* BOTON PREGUNTA */

.faq .section-tag{
display:block;
text-align:center;
}

.faq-question{
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 22px;
background:white;
border:none;
border-radius:12px;
cursor:pointer;
font-size:18px;
transition:.3s;
}

.faq-question:hover{
background:#eef6ff;
}

/* IZQUIERDA */

.faq-left{
display:flex;
gap:15px;
align-items:center;
}

/* ICONO + / - */

.faq-icon{
font-size:22px;
font-weight:bold;
color:#0088FF;
}

/* FLECHA */

.faq-arrow{
font-size:18px;
color:#888;
transition:.3s;
}

/* RESPUESTA */

.faq-answer{
max-height:0;
overflow:hidden;
background:white;
padding:0 22px;   
margin-top:5px;
border-radius:10px;
transition:.4s ease;
color:#555;

}

/* CUANDO ESTA ACTIVO */

.faq-item.active .faq-answer{
padding:18px 22px;
max-height:200px;
}

.faq-item.active .faq-icon{
content:"-";
}

.faq-item.active .faq-arrow{
transform:rotate(90deg);
}

/* =========================
CTA
========================= */

.cta {
background:#F3F6F8;
padding:100px 0;
}

.cta-box{
display:flex;
align-items:center;
justify-content:space-between;
gap:60px;
}

/* texto izquierdo */

.cta-left{
flex:1;
max-width:520px;
}

.cta-left h2{
font-size:52px;
font-weight:800;
line-height:1.1;
margin-bottom:20px;
color:#1A1A1A;
}

.cta-left p{
font-size:18px;
color:#666;
line-height:1.6;
}

/* formulario */

.cta-form{
flex:1;
max-width:420px;
background:white;
padding:35px;
border-radius:18px;

display:flex;
flex-direction:column;
gap:18px;

box-shadow:
0 15px 45px rgba(0,0,0,0.08);
}

.cta-form input,
.cta-form select{

padding:14px;
border-radius:10px;
border:1px solid #E3E7ED;

font-size:15px;
}

.cta-image{

width:100%;
height:160px;

object-fit:cover;

border-radius:12px;
margin-bottom:10px;

}
.cta-form button{
margin-top:10px;
}

.cta-buttons{

display:flex;
justify-content:center;

gap:15px;
margin-top:10px;

}

.cta-buttons button{

flex:1;
max-width:170px;

}

.btn-secondary{

background:#2EA3F2;
color:white;

border:none;
padding:14px 20px;

border-radius:10px;

cursor:pointer;

transition:.2s;

}

.btn-secondary:hover{

background:#1C8CD6;

}

.cta-terms{

font-size:12px;
color:#8A97A6;
line-height:1.5;

}

/* =========================
FOOTER
========================= */

.footer{
background:#0B84F3;
color:white;
padding:70px 0 25px;
}

.footer-grid{
display:grid;
grid-template-columns:1.2fr 1fr 1fr;
gap:60px;
align-items:start;
}

/* logo */

.footer .logo{
display:flex;
align-items:center;
gap:10px;
font-size:22px;
font-weight:700;
margin-bottom:20px;
}

/* texto */
.footer-logo-text{

color:white;
font-weight:700;
font-size:22px;

}

.footer p{
color:#EAF4FF;
line-height:1.7;
}

/* enlaces sociales */

.socials{
display:flex;
gap:20px;
margin-top:20px;
}

.socials a{
display:flex;
align-items:center;
justify-content:center;
transition:.2s;
}

.socials img{
width:26px;
height:26px;  
transition:.2s;
}



.socials a:hover img{
transform:scale(1.15);
}

/* copyright */

.footer-copy{
text-align:center;
margin-top:45px;
font-size:14px;
color:#D9ECFF;
}

.socials img{

width:22px;
height:22px;

}

.socials a{

width:42px;
height:42px;

display:flex;
align-items:center;
justify-content:center;

background:rgba(255,255,255,0.15);

border-radius:8px;

transition:.2s;

}

.socials a:hover{

background:white;

}

/* =========================
RESPONSIVE
========================= */

@media(max-width:768px){

.cta-box{
flex-direction:column;
text-align:center;
}

.cta-left{
max-width:100%;
}

.cta-form{
width:100%;
}

.footer-grid{
grid-template-columns:1fr;
text-align:center;
}

.socials{
justify-content:center;
}

}


@media(max-width:1024px){

.container{
width:92%;
}

.banner h1{
font-size:36px;
}

.cta-left h2{
font-size:38px;
}

.beneficios-grid{
grid-template-columns:repeat(1,1fr);
}

.testimonios-grid{
grid-template-columns:repeat(1,1fr);
}

.docentes-grid{
display: grid;
gap: 25px;
margin: 40px 0;
max-width: 350px;
align-items: center;
grid-template-columns:repeat(1,1fr);
}


.docente-card {
  background: white;
  padding: 25px;
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

}

@media(max-width:480px){

.banner{
padding:60px 0 20px;
}

.banner h1{
font-size:24px;
}

.banner p{
font-size:15px;
}

.section-tag{
font-size:14px;
}

h2{
font-size:22px;
}

.cta-left h2{
font-size:26px;
}

.cta-form{
padding:25px;
}

.features-box{
max-width:100%;
}

.testimonio-highlight{
padding:30px 20px;
}

.footer{
padding:50px 0 20px;
}

}