/* =========================================================
   LANDING ADMISIONES - CAL
   styles.css (compatible / responsive)
   Paleta: #0E621C #19B333 #2D189C #FAFAFA #9DA4AA #EFB000
========================================================= */

/* -------------------- VARIABLES -------------------- */
:root{
  --green-dark:#0E621C;
  --green-main:#19B333;
  --blue-main:#2D189C;

  --white:#FAFAFA;
  --gray:#9DA4AA;
  --yellow:#EFB000;

  --text:#1f2933;
  --card-bg:#ffffff;

  --radius:18px;
  --shadow:0 12px 30px rgba(0,0,0,.15);

  --container:1120px;
}

/* -------------------- RESET / BASE -------------------- */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Poppins,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.5;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:var(--container);width:92%;margin:0 auto}

/* Utilidades */
.center{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.link{color:var(--yellow);font-weight:800}
.dot{width:10px;height:10px;border-radius:999px;background:var(--yellow);display:inline-block}

/* -------------------- TOPBAR -------------------- */
.topbar{
  background:linear-gradient(90deg,var(--green-dark),var(--green-main));
  color:#fff;
  font-size:14px;
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  gap:12px;
}
.topbar__right{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.toplink{opacity:.95}
.toplink:hover{opacity:1;text-decoration:underline}

/* Pills */
.pill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-weight:900;
  letter-spacing:.2px;
  font-size:12px;
}
.pill--yellow{
  background:var(--yellow);
  color:#000;
}

/* -------------------- HEADER -------------------- */
.header{
  background:#fff;
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:0 4px 12px rgba(0,0,0,.06);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}
.brand{
  display:flex;
  gap:10px;
  align-items:center;
  min-width:220px;
}
.brand__logo{
  width:44px;
  height:44px;
  object-fit:contain;
}
.brand__name{
  font-weight:900;
  line-height:1.1;
}
.brand__tag{
  font-size:13px;
  color:#55606b;
}

.nav{
  display:flex;
  gap:18px;
  align-items:center;
  flex-wrap:wrap;
}
.nav a{
  font-weight:800;
  font-size:14px;
  color:#2b3642;
  opacity:.9;
}
.nav a:hover{
  opacity:1;
  color:var(--green-dark);
}

.header__cta{
  display:flex;
  gap:10px;
  align-items:center;
}

/* Burger */
.burger{
  display:none;
  width:46px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  align-items:center;
  justify-content:center;
  gap:5px;
  cursor:pointer;
}
.burger span{
  display:block;
  width:20px;
  height:2px;
  background:#222;
  border-radius:2px;
}

/* Mobile menu */
.mobile{
  background:#fff;
  border-top:1px solid rgba(0,0,0,.08);
}
.mobile__inner{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:16px 0 18px;
}
.mobile__inner a{
  font-weight:900;
  padding:10px 0;
}

/* -------------------- BUTTONS -------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 14px;
  border-radius:14px;
  font-weight:900;
  font-size:14px;
  border:0;
  cursor:pointer;
  transition:transform .08s ease, opacity .2s ease, background .2s ease, border-color .2s ease;
}
.btn:active{transform:translateY(1px)}
.btn--full{width:100%}

.btn--primary{
  background:var(--green-main);
  color:#fff;
}
.btn--primary:hover{background:var(--green-dark)}

.btn--secondary{
  background:var(--blue-main);
  color:#fff;
}
.btn--secondary:hover{opacity:.92}

.btn--ghost{
  background:transparent;
  border:2px solid var(--green-main);
  color:var(--green-main);
}
.btn--ghost:hover{
  border-color:var(--green-dark);
  color:var(--green-dark);
}

/* -------------------- HERO -------------------- */
.hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,var(--green-dark),var(--blue-main));
  color:#fff;
  padding:34px 0 48px;
}
.hero__bg{
  position:absolute;
  inset:0;
  background-image:url("../assets/hero.jpg");
  background-size:cover;
  background-position:center;
  opacity:.20;
  filter:saturate(1.1) contrast(1.05);
}
.hero__inner{
  position:relative;
  z-index:2;
  display:flex;
  gap:28px;
  align-items:center;          /* ✅ centra vertical */
  justify-content:space-between;
}
.hero__content{
  flex:1;
  min-width:280px;
  max-width:680px;            /* ✅ evita que se “aplane” */
}
.hero__card{
  width:420px;
  max-width:100%;
}

.hero h1{
  font-size:42px;
  line-height:1.1;
  margin:0 0 12px;
  letter-spacing:-.6px;
}
.accent-yellow{color:var(--yellow)}
.hero__lead{
  font-size:16px;
  opacity:.95;
  max-width:60ch;
  margin:0 0 14px;
}

/* -------------------- VIDEO HERO (más ancho y más alto) -------------------- */
.hero__video{
  margin: 16px 0 14px;
  width: 100%;
  max-width: 650px;          /* ✅ hasta el título y un poco más */
}
.video__wrap{
  position: relative;
  width: 100%;
  padding-top: 55%;          /* ✅ más alto (más visible) */
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}
.video__wrap iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

.hero__trust{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:10px;
  font-size:14px;
  opacity:.98;
}

/* Badges */
.hero__badges{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px;
  margin-top:12px;
  max-width:680px;
}
.badge{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  border-radius:16px;
  padding:12px 12px;
  backdrop-filter: blur(6px);
}
.badge__title{font-weight:900}
.badge__text{opacity:.92}

/* Form card */
.card{
  background:var(--card-bg);
  color:var(--text);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card__header{
  padding:18px 18px 10px;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.card__eyebrow{
  display:inline-block;
  color:var(--green-main);
  font-weight:900;
  font-size:12px;
  letter-spacing:.3px;
  text-transform:uppercase;
  margin-bottom:6px;
}
.card__title{
  margin:0;
  font-size:20px;
}
.card__subtitle{
  margin:8px 0 0;
  font-size:14px;
  color:#55606b;
}

/* -------------------- FORM -------------------- */
.form{ padding:16px 18px 18px; }
.form label{ display:block; margin:10px 0; }
.form label span{
  display:block;
  font-weight:900;
  font-size:13px;
  margin-bottom:6px;
  color:#22303c;
}
.form__row{ display:flex; gap:12px; }
.col{ flex:1; min-width:0; }

input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(157,164,170,.8);
  background:#fff;
  font:inherit;
  font-size:14px;
  color:var(--text);
}
textarea{resize:vertical}
input:focus,select:focus,textarea:focus{
  outline:none;
  border-color:var(--green-main);
  box-shadow:0 0 0 4px rgba(25,179,51,.18);
}

.check{
  display:flex !important;
  align-items:flex-start;
  gap:10px;
  margin:12px 0 14px !important;
}
.check input{width:auto;margin-top:3px}
.check span{
  font-size:13px !important;
  font-weight:800 !important;
  color:#2b3642 !important;
}

/* -------------------- SECTIONS -------------------- */
.section{
  padding:54px 0;
  background:var(--white);
}
.section--alt{ background:#fff; }

.section__head{
  max-width:760px;
  margin:0 auto 24px;
  text-align:center;
}
.section__head h2{
  margin:0 0 8px;
  font-size:30px;
  letter-spacing:-.3px;
}
.section__head p{ margin:0; color:#55606b; }

/* Grid */
.grid{ display:grid; gap:16px; }
.grid--3{ grid-template-columns:repeat(3, minmax(0,1fr)); }

.feature, .emphasis{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  padding:18px;
  box-shadow:0 8px 18px rgba(0,0,0,.05);
}
.feature__icon{
  display:inline-flex;
  background:rgba(25,179,51,.12);
  color:var(--green-dark);
  font-weight:900;
  padding:7px 10px;
  border-radius:12px;
  margin-bottom:10px;
}
.feature h3,.emphasis h3{ margin:0 0 8px; font-size:18px; }
.feature p,.emphasis p{ margin:0; color:#55606b; }

.emphasis__tag{
  display:inline-block;
  font-weight:900;
  font-size:12px;
  letter-spacing:.3px;
  color:var(--blue-main);
  background:rgba(45,24,156,.10);
  padding:6px 10px;
  border-radius:999px;
  margin-bottom:10px;
}

/* Levels */
.levels{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
}
.level{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  padding:18px;
}
.level h3{ margin:0 0 8px; color:var(--green-dark); }
.level ul{ margin:0; padding-left:18px; color:#55606b; }
.level li{ margin:6px 0; }

/* Steps */
.steps{
  list-style:none;
  padding:0;
  margin:18px 0 24px;
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
}
.step{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  padding:16px;
  display:flex;
  gap:12px;
}
.step__num{
  width:40px;height:40px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  font-weight:900;
  color:#000;
  background:var(--yellow);
}
.step__body h3{margin:0 0 6px}
.step__body p{margin:0;color:#55606b}

/* FAQ */
.faq{
  max-width:820px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:10px;
}
details{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  padding:14px 16px;
}
summary{
  cursor:pointer;
  font-weight:900;
  color:#22303c;
}
details p{ margin:10px 0 0; color:#55606b; }

/* -------------------- FOOTER -------------------- */
.footer{
  background:var(--green-dark);
  color:#fff;
  padding:28px 0 0;
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  padding-bottom:20px;
}
.footer__brand{
  display:flex;
  gap:10px;
  align-items:center;
}
.footer__brand img{
  width:44px;height:44px;object-fit:contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.2));
}
.footer__small{
  margin:10px 0 0;
  font-size:13px;
  opacity:.95;
}
.footer__small a{color:var(--yellow);font-weight:900}
.footer__links{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.footer__links a{color:#fff;opacity:.92;font-weight:900}
.footer__links a:hover{opacity:1;color:var(--yellow)}

.footer__bottom{
  border-top:1px solid rgba(255,255,255,.18);
  padding:12px 0;
  background:rgba(0,0,0,.08);
}
.footer__bottomInner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

/* -------------------- FAB WhatsApp -------------------- */
.fab{
  position:fixed;
  right:18px;
  bottom:18px;
  background:var(--green-main);
  color:#fff;
  padding:12px 14px;
  border-radius:999px;
  font-weight:900;
  box-shadow:0 16px 30px rgba(0,0,0,.18);
  z-index:60;
}
.fab:hover{background:var(--green-dark)}
.fab span{display:inline-block}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 980px){
  .header__cta{display:none}
  .burger{display:inline-flex}
  .nav{display:none}

  .hero__inner{flex-direction:column; align-items:stretch;}
  .hero__content{max-width:100%}
  .hero__card{width:100%}
  .hero h1{font-size:34px}

  .hero__badges{grid-template-columns:1fr}
  .grid--3{grid-template-columns:1fr}
  .levels{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr}

  .video__wrap{padding-top:56.25%;}
}

@media (max-width: 520px){
  .topbar__inner{flex-direction:column;align-items:flex-start}
  .form__row{flex-direction:column}
  .levels{grid-template-columns:1fr}
  .hero{padding:26px 0 34px}
  .hero h1{font-size:28px}
  .video__wrap{border-radius:16px;}
}
/* =====================================================
   VIDEO – NIVELES EDUCATIVOS
   ===================================================== */

.levels-video{
  display: flex;
  justify-content: center;
  margin: 28px 0 42px;   /* separación elegante */
}

.levels-video__wrap{
  position: relative;
  width: 100%;
  max-width: 600px;     /* ancho visual equilibrado */
  padding-top: 25%;     /* más alto, más visible */
  border-radius: 20px;
  overflow: hidden;

  background: #000;
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
  border: 1px solid rgba(0,0,0,0.08);
}

.levels-video__wrap iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Ajuste móvil */
@media (max-width: 768px){
  .levels-video{
    margin: 20px 0 32px;
  }

  .levels-video__wrap{
    max-width: 100%;
    padding-top: 56.25%; /* 16:9 en celular */
    border-radius: 16px;
  }
}
/* =====================================================
   IMAGENES – FORMACION INTEGRAL
   ===================================================== */

.feature__image{
  width: 100%;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}

.feature__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

/* efecto sutil al pasar el mouse */
.feature:hover .feature__image img{
  transform: scale(1.06);
}




