/* ============================================================
   ESTILOS PRO - UNIVERSIDAD PEDAGÓGICA
   Archivo: assets/css/estilos.css
   Paleta: Blanco / Azul / Azul profundo
   ============================================================ */

:root{
  --azul:#0b63ce;
  --azul-2:#003f91;
  --azul-3:#071f4d;
  --celeste:#eaf4ff;
  --blanco:#ffffff;
  --gris:#64748b;
  --texto:#102033;
  --sombra:0 24px 70px rgba(0, 42, 120, .18);
  --radio:28px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:#f8fbff;
  color:var(--texto);
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}

.top-strip{
  background:linear-gradient(90deg,var(--azul-3),var(--azul));
  color:white;
  padding:9px 6%;
  display:flex;
  justify-content:center;
  gap:14px;
  font-size:.86rem;
  letter-spacing:.2px;
}
.top-strip span{opacity:.85}

.header{
  min-height:100vh;
  position:relative;
  overflow:hidden;
  background:var(--azul-3);
}

.navbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 6%;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(22px);
  border-bottom:1px solid rgba(11,99,206,.10);
  box-shadow:0 12px 35px rgba(0,31,84,.06);
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand-mark{
  width:46px;
  height:46px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--azul),var(--azul-3));
  color:white;
  font-weight:900;
  letter-spacing:.5px;
  box-shadow:0 12px 25px rgba(11,99,206,.30);
}
.brand b{display:block;font-size:1rem;color:var(--azul-3)}
.brand small{display:block;color:var(--gris);font-size:.76rem;margin-top:2px}
.nav-links{
  display:flex;
  gap:24px;
  align-items:center;
}
.nav-links a{
  color:#26445f;
  font-weight:700;
  font-size:.94rem;
  position:relative;
}
.nav-links a:after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:0;
  height:3px;
  background:var(--azul);
  border-radius:999px;
  transition:.25s ease;
}
.nav-links a:hover:after{width:100%}
.menu-toggle{
  display:none;
  background:white;
  color:var(--azul);
  border:1px solid rgba(11,99,206,.2);
  width:44px;
  height:44px;
  border-radius:14px;
  font-size:1.4rem;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  border-radius:999px;
  padding:14px 24px;
  font-weight:900;
  cursor:pointer;
  transition:.25s ease;
  letter-spacing:.1px;
}
.btn:hover{transform:translateY(-3px)}
.btn-primary{
  color:white;
  background:linear-gradient(135deg,var(--azul),var(--azul-2));
  box-shadow:0 16px 35px rgba(11,99,206,.32);
}
.btn-outline{
  color:white;
  border:1px solid rgba(255,255,255,.65);
  background:rgba(255,255,255,.13);
  backdrop-filter:blur(18px);
}
.btn-dark{
  color:white;
  background:var(--azul-3);
}
.btn-light{
  color:var(--azul-3);
  background:white;
  box-shadow:0 15px 34px rgba(255,255,255,.15);
}
.full{width:100%}

.hero{
  min-height:100vh;
  display:grid;
  grid-template-columns:1.1fr .55fr;
  gap:34px;
  align-items:center;
  padding:140px 6% 80px;
  position:relative;
}
.hero-bg-slider{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.06);
  transition:opacity 1.2s ease, transform 6s ease;
}
.hero-slide.active{
  opacity:.42;
  transform:scale(1);
}
.hero:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    radial-gradient(circle at 18% 25%,rgba(46,151,255,.44),transparent 35%),
    linear-gradient(90deg,rgba(7,31,77,.94),rgba(7,31,77,.74),rgba(7,31,77,.54));
}
.hero:after{
  content:"";
  position:absolute;
  width:700px;
  height:700px;
  right:-220px;
  bottom:-320px;
  background:radial-gradient(circle,rgba(255,255,255,.22),transparent 62%);
  z-index:1;
}
.hero-content,.hero-card{
  position:relative;
  z-index:2;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  font-weight:900;
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.9px;
  background:rgba(255,255,255,.16);
  color:white;
  margin-bottom:18px;
}
.eyebrow.blue{
  color:var(--azul);
  background:var(--celeste);
}
.eyebrow.white{
  color:white;
  background:rgba(255,255,255,.16);
}
.hero h1{
  color:white;
  font-size:clamp(2.6rem,6vw,6.5rem);
  line-height:.93;
  letter-spacing:-3px;
  max-width:950px;
}
.hero p{
  margin:26px 0;
  color:rgba(255,255,255,.88);
  max-width:700px;
  font-size:1.22rem;
  line-height:1.7;
}
.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.hero-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  max-width:720px;
  margin-top:34px;
}
.hero-stats article{
  padding:22px;
  border-radius:24px;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(16px);
}
.hero-stats strong{
  display:block;
  color:white;
  font-size:2rem;
}
.hero-stats span{
  color:rgba(255,255,255,.78);
  font-weight:700;
  font-size:.88rem;
}
.hero-card{
  padding:34px;
  border-radius:34px;
  background:rgba(255,255,255,.94);
  box-shadow:var(--sombra);
  border:1px solid rgba(255,255,255,.55);
  transform:translateY(25px);
}
.floating-badge{
  display:inline-block;
  color:white;
  background:linear-gradient(135deg,#26a6ff,var(--azul));
  padding:9px 14px;
  border-radius:999px;
  font-size:.78rem;
  font-weight:900;
  margin-bottom:16px;
}
.hero-card h3{font-size:1.7rem;color:var(--azul-3)}
.hero-card p{color:var(--gris);margin:10px 0 18px;font-size:1rem}
.hero-card ul{
  list-style:none;
  display:grid;
  gap:12px;
  margin-bottom:24px;
}
.hero-card li{
  padding:12px 14px;
  border-radius:16px;
  background:#f1f7ff;
  color:#214567;
  font-weight:800;
}
.hero-card li:before{
  content:"✓";
  color:var(--azul);
  font-weight:900;
  margin-right:8px;
}

.section{
  padding:92px 6%;
}
.section-title h2{
  font-size:clamp(2rem,4vw,4.3rem);
  line-height:1;
  color:var(--azul-3);
  letter-spacing:-1.8px;
}
.section-title p{
  color:var(--gris);
  margin-top:18px;
  font-size:1.08rem;
}
.center{text-align:center;max-width:880px;margin:0 auto 48px}

.intro-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:44px;
  align-items:center;
  background:white;
}
.intro-text{
  color:#475569;
  font-size:1.2rem;
  line-height:1.85;
  padding:34px;
  border-radius:var(--radio);
  background:linear-gradient(135deg,#f4f9ff,#ffffff);
  box-shadow:0 20px 60px rgba(2,44,96,.08);
}

.offer{background:linear-gradient(180deg,#ffffff,#eef7ff)}
.cards{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:28px;
}
.program-card{
  position:relative;
  padding:38px;
  border-radius:34px;
  background:white;
  box-shadow:var(--sombra);
  border:1px solid rgba(11,99,206,.10);
  overflow:hidden;
  transition:.28s ease;
}
.program-card:before{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  right:-90px;
  top:-90px;
  background:radial-gradient(circle,rgba(11,99,206,.20),transparent 65%);
}
.program-card:hover{transform:translateY(-8px)}
.program-card.featured{
  background:linear-gradient(135deg,var(--azul-3),var(--azul));
  color:white;
}
.program-card.featured h3,
.program-card.featured p,
.program-card.featured a{color:white}
.card-icon{
  width:72px;
  height:72px;
  display:grid;
  place-items:center;
  border-radius:24px;
  background:var(--celeste);
  font-size:2rem;
  margin-bottom:24px;
}
.program-card.featured .card-icon{background:rgba(255,255,255,.14)}
.program-card h3{
  color:var(--azul-3);
  font-size:1.75rem;
  margin-bottom:16px;
}
.program-card p{
  color:#516175;
  line-height:1.75;
  margin-bottom:24px;
}
.program-card a{
  color:var(--azul);
  font-weight:900;
}

.services{
  background:
    radial-gradient(circle at 20% 20%,rgba(255,255,255,.18),transparent 35%),
    linear-gradient(135deg,var(--azul-3),var(--azul-2));
  color:white;
}
.services .section-title h2{color:white}
.service-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin-top:34px;
}
.service-card{
  padding:28px;
  border-radius:28px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(16px);
  transition:.25s ease;
}
.service-card:hover{
  transform:translateY(-8px);
  background:rgba(255,255,255,.18);
}
.service-card span{
  font-size:2.2rem;
  display:block;
  margin-bottom:16px;
}
.service-card h3{
  font-size:1.28rem;
  margin-bottom:10px;
}
.service-card p{
  color:rgba(255,255,255,.82);
  line-height:1.65;
}

.gallery-section{
  background:white;
}
.gallery-widget{
  position:relative;
  max-width:1120px;
  margin:auto;
  min-height:540px;
  border-radius:38px;
  overflow:hidden;
  box-shadow:var(--sombra);
  background:var(--azul-3);
}
.gallery-track,.gallery-item{
  width:100%;
  height:540px;
}
.gallery-item{
  position:absolute;
  inset:0;
  opacity:0;
  transition:.8s ease;
}
.gallery-item.active{
  opacity:1;
}
.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.78;
}
.gallery-item div{
  position:absolute;
  left:38px;
  bottom:38px;
  right:38px;
  max-width:620px;
  padding:28px;
  border-radius:28px;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(18px);
}
.gallery-item h3{
  color:var(--azul-3);
  font-size:2rem;
}
.gallery-item p{
  color:#516175;
  margin-top:8px;
}
.gallery-btn{
  position:absolute;
  z-index:4;
  top:50%;
  transform:translateY(-50%);
  width:52px;
  height:52px;
  border-radius:50%;
  border:0;
  background:white;
  color:var(--azul);
  font-size:2rem;
  cursor:pointer;
  box-shadow:0 14px 30px rgba(0,0,0,.18);
}
.gallery-btn.prev{left:20px}
.gallery-btn.next{right:20px}
.gallery-dots{
  position:absolute;
  z-index:5;
  left:0;
  right:0;
  bottom:18px;
  display:flex;
  justify-content:center;
  gap:8px;
}
.gallery-dots button{
  width:10px;
  height:10px;
  border-radius:50%;
  border:0;
  background:rgba(255,255,255,.55);
}
.gallery-dots button.active{
  width:32px;
  border-radius:999px;
  background:white;
}

.eval-banner{
  display:grid;
  grid-template-columns:1.2fr .65fr;
  gap:32px;
  align-items:center;
  background:
    linear-gradient(135deg,rgba(7,31,77,.92),rgba(11,99,206,.88)),
    url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=1600&q=85') center/cover;
  color:white;
}
.eval-content h2{
  color:white;
  font-size:clamp(2rem,4vw,4.4rem);
  line-height:1;
  letter-spacing:-1.6px;
}
.eval-content p{
  color:rgba(255,255,255,.86);
  max-width:760px;
  line-height:1.75;
  margin:22px 0;
  font-size:1.08rem;
}
.eval-panel{
  padding:34px;
  border-radius:34px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.2);
  backdrop-filter:blur(18px);
}
.eval-panel h3{font-size:1.7rem;margin-bottom:18px}
.eval-panel ol{
  padding-left:20px;
  display:grid;
  gap:14px;
}
.eval-panel li{
  color:rgba(255,255,255,.88);
  font-weight:800;
}

.process{background:#f5faff}
.timeline{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.timeline-card{
  padding:32px;
  border-radius:30px;
  background:white;
  box-shadow:0 18px 55px rgba(0,42,120,.09);
  border:1px solid rgba(11,99,206,.08);
}
.timeline-card b{
  color:var(--azul);
  font-size:2.4rem;
}
.timeline-card h3{
  color:var(--azul-3);
  margin:14px 0 10px;
}
.timeline-card p{
  color:var(--gris);
  line-height:1.7;
}

.contact{
  background:white;
}
.contact-card{
  display:grid;
  grid-template-columns:.9fr 1fr;
  gap:36px;
  align-items:center;
  max-width:1120px;
  margin:auto;
  padding:42px;
  border-radius:38px;
  background:linear-gradient(135deg,#f3f9ff,#ffffff);
  box-shadow:var(--sombra);
}
.contact-card h2{
  font-size:clamp(2rem,4vw,3.5rem);
  line-height:1;
  color:var(--azul-3);
}
.contact-card p{
  color:var(--gris);
  margin-top:16px;
  line-height:1.7;
}
.contact-form{
  display:grid;
  gap:14px;
}
.contact-form input,
.contact-form select,
.contact-form textarea{
  width:100%;
  border:1px solid rgba(11,99,206,.17);
  background:white;
  border-radius:18px;
  padding:16px 18px;
  outline:none;
}
.contact-form textarea{min-height:120px;resize:vertical}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  border-color:var(--azul);
  box-shadow:0 0 0 4px rgba(11,99,206,.10);
}

.footer{
  background:var(--azul-3);
  color:white;
  padding:34px 6%;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
}
.footer p{color:rgba(255,255,255,.7);margin-top:4px}
.footer-links{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}
.footer-links a{
  color:rgba(255,255,255,.82);
  font-weight:800;
}

.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:.65s ease;
}
.reveal.visible{
  opacity:1;
  transform:none;
}

@media(max-width:1050px){
  .hero{grid-template-columns:1fr}
  .hero-card{max-width:620px}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .eval-banner{grid-template-columns:1fr}
}
@media(max-width:820px){
  .navbar{padding:14px 5%}
  .menu-toggle{display:block}
  .nav-login{display:none}
  .nav-links{
    position:absolute;
    top:76px;
    left:5%;
    right:5%;
    display:none;
    flex-direction:column;
    align-items:flex-start;
    background:white;
    padding:20px;
    border-radius:24px;
    box-shadow:var(--sombra);
  }
  .nav-links.active{display:flex}
  .hero{padding:130px 5% 70px}
  .hero h1{letter-spacing:-1.5px}
  .hero-stats{grid-template-columns:1fr}
  .intro-grid,.cards,.timeline,.contact-card{grid-template-columns:1fr}
  .service-grid{grid-template-columns:1fr}
  .gallery-widget,.gallery-track,.gallery-item{height:480px;min-height:480px}
  .gallery-item div{left:18px;right:18px;bottom:50px}
  .footer{flex-direction:column;text-align:center}
}
