/* ==========================================================
   EDUCAPRO 2.0
   INDEX.CSS
   PARTE 1
========================================================== */

:root{

--azul:#0B2C5F;
--azul2:#154A95;
--dorado:#D4A017;
--gris:#6B7280;
--grisClaro:#F5F7FB;
--blanco:#FFFFFF;
--radio:22px;

--sombra1:0 10px 30px rgba(0,0,0,.08);
--sombra2:0 20px 60px rgba(0,0,0,.12);

}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{

font-family:'Inter',sans-serif;

background:#fff;

color:#1f2937;

line-height:1.6;

overflow-x:hidden;

}

img{

display:block;

max-width:100%;

}

a{

text-decoration:none;

}

/*=========================================================
HEADER
==========================================================*/

.header{

position:sticky;

top:0;

z-index:999;

background:#fff;

box-shadow:0 4px 18px rgba(0,0,0,.05);

}

.header-container{

max-width:1300px;

margin:auto;

display:flex;

justify-content:space-between;

align-items:center;

padding:10px 30px;

}

.header .logo{

height:80px;
width:auto;

}

.menu{

display:flex;

gap:35px;

}

.menu a{

font-weight:600;

color:#374151;

transition:.30s;

}

.menu a:hover{

color:var(--azul);

}

.menu{

    display:flex;

    align-items:center;

    gap:10px;

}

.menu a{

    padding:12px 18px;

    border-radius:14px;

    font-weight:600;

    color:#374151;

    transition:.35s ease;

}

.menu a:hover{

    background:#F3F6FB;

    color:var(--azul);

}

.menu .activo{

    background:linear-gradient(135deg,var(--azul),#1E5BBF);

    color:#fff;

    box-shadow:0 8px 22px rgba(11,44,95,.25);

}

/*=========================================================
HERO
==========================================================*/

.hero{

max-width:1300px;

margin:auto;

padding:20px 10px;

display:grid;

grid-template-columns:1.05fr .95fr;

gap:90px;

align-items:center;

min-height:20vh;

}

/*=========================================================
IZQUIERDA
==========================================================*/

.hero-left{

display:flex;

flex-direction:column;

justify-content:center;

}

.hero-badge{

display:inline-flex;

align-items:center;

gap:8px;

background:#EEF5FF;

color:var(--azul);

padding:12px 20px;

border-radius:50px;

font-size:17px;

font-weight:700;

width:max-content;

margin-bottom:28px;

}

.hero h1{

font-size:66px;

line-height:1.05;

margin-bottom:25px;

}

.hero h1 span{

color:var(--dorado);

display:block;

}

.hero p{

font-size:20px;

color:#6B7280;

max-width:620px;

margin-bottom:40px;

}

/*=========================================================
BOTONES
==========================================================*/

.hero-buttons{

display:flex;

gap:18px;

margin-bottom:45px;

}

.btn-primary{

background:var(--azul);

color:#fff;

padding:18px 34px;

border-radius:14px;

font-weight:700;

transition:.30s;

box-shadow:var(--sombra1);

}

.btn-primary:hover{

transform:translateY(-5px);

background:#123E82;

}

.btn-secondary{

padding:18px 34px;

border:2px solid var(--azul);

border-radius:14px;

font-weight:700;

color:var(--azul);

transition:.30s;

}

.btn-secondary:hover{

background:var(--azul);

color:#fff;

}
/* ===== MAIN ===== */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

/* ===== HERO ===== */
.hero img {
  width: 220px;
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 15px;
  color: #0b2c5f;
}

.hero p {
  font-size: 18px;
  color: #555;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

/* ===== ESTADÍSTICAS ===== */
.stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 32px;
  color: #0b2c5f;
}

.stat p {
  font-size: 14px;
  color: #666;
  letter-spacing: 1px;
}

.signo,
.porcentaje {
  color: #d4a017;
}

/* ===== BOTONES ===== */
.acciones {
  margin-top: 40px;
}

.acciones a {
  display: inline-block;
  padding: 14px 26px;
  background: #0b2c5f;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  margin: 10px;
  transition: 0.3s;
}

.acciones a:hover {
  background: #092c45;
  transform: translateY(-3px);
}

/* ===== FOOTER ===== */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px;
}

/* ===== TIPOGRAFÍA PREMIUM ===== */

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #1f2937;
  margin: 0;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #0b2c5f;
}

.grid-cursos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 280px));
  justify-content: center;
  gap: 40px;
  padding-bottom: 80px;
}
.card-curso {
  width: 280px;
  background: linear-gradient(145deg, #ffffff, #f8f9fc);
  padding: 40px 30px;
  border-radius: 22px;
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.07),
    0 5px 15px rgba(0,0,0,0.03);
  transition: all 0.35s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Línea elegante superior */
.card-curso::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0b2c5f, #1f5bbf);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card-curso h3 {
  font-size: 17px;
  font-weight: 600;
  color: #0b2c5f;
  line-height: 1.6;
  letter-spacing: 0.4px;
}

/* Hover más elegante */
.card-curso:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 30px 60px rgba(0,0,0,0.12),
    0 10px 20px rgba(0,0,0,0.05);
}

.card-curso:hover::before {
  transform: scaleX(1);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%230b2c5f' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 18px;
  padding-right: 45px;
}

.buscador {
  width: 100%;
  max-width: 720px;
  padding: 22px 28px;
  font-size: 20px;
  border-radius: 18px;
  border: none;
  margin: 0 auto 80px auto;
  display: block;
  outline: none;
  background: #ffffff;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.buscador::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.buscador:focus {
  transform: scale(1.02);
  box-shadow: 0 30px 70px rgba(11,44,95,0.15);
}

/*=============================
MODAL
=============================*/

.modal{

display:none;

position:fixed;

left:0;

top:0;

width:100%;

height:100%;

background:rgba(0,0,0,.55);

backdrop-filter:blur(7px);

z-index:9999;

overflow:auto;

}

.modal-box{

background:white;

width:92%;

max-width:760px;

margin:60px auto;

padding:40px;

border-radius:24px;

position:relative;

animation:abrirModal .30s;

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

}

@keyframes abrirModal{

from{

opacity:0;

transform:translateY(-30px) scale(.97);

}

to{

opacity:1;

transform:translateY(0) scale(1);

}

}

.cerrar-modal{

position:absolute;

right:22px;

top:18px;

border:none;

background:none;

font-size:28px;

cursor:pointer;

color:#666;

transition:.25s;

}

.cerrar-modal:hover{

color:#0B2C5F;

transform:rotate(90deg);

}

.modal-badge{

display:inline-block;

padding:8px 16px;

background:#EEF5FF;

color:#0B2C5F;

border-radius:50px;

font-weight:600;

margin-bottom:18px;

}

.modal-box h2{

font-size:34px;

color:#0B2C5F;

margin-bottom:15px;

}

.modal-box p{

line-height:1.7;

color:#666;

}

.modal-info{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:15px;

margin:35px 0;

}

.info-item{

background:#F7F9FC;

padding:18px;

border-radius:14px;

display:flex;

gap:14px;

align-items:center;

}

.icono{

font-size:28px;

}

.info-item strong{

display:block;

color:#0B2C5F;

}

.info-item span{

color:#666;

}

.modal-box h3{

margin-top:15px;

margin-bottom:15px;

color:#0B2C5F;

}

#temarioCurso{

padding-left:22px;

line-height:2;

}

.btn-whatsapp{

display:flex;

justify-content:center;

align-items:center;

width:100%;

margin-top:35px;

padding:18px 25px;

background:linear-gradient(135deg,#0B2C5F,#1E5BBF);

color:#fff;

font-size:18px;

font-weight:700;

border-radius:14px;

text-decoration:none;

box-shadow:0 12px 30px rgba(11,44,95,.25);

transition:.30s ease;

}

.btn-whatsapp:hover{

transform:translateY(-3px);

box-shadow:0 18px 40px rgba(11,44,95,.35);

background:linear-gradient(135deg,#154A95,#2A6BE8);

}

.btn-whatsapp:hover{

background:#123E82;

transform:translateY(-2px);

}

@media(max-width:768px){

.modal-box{

padding:25px;

}

.modal-info{

grid-template-columns:1fr;

}

.modal-box h2{

font-size:28px;

}

}
.precio-curso{

margin:30px 0;

padding:22px;

background:linear-gradient(135deg,#0B2C5F,#1E5BBF);

border-radius:18px;

text-align:center;

color:#fff;

box-shadow:0 15px 35px rgba(11,44,95,.20);

}

.texto-precio{

display:block;

font-size:15px;

letter-spacing:1px;

text-transform:uppercase;

opacity:.9;

margin-bottom:8px;

}

.precio-curso h2{

font-size:52px;

margin:0;

color:#FFD54A;

font-family:'Inter',sans-serif;

font-weight:800;

line-height:1;

}

.precio-curso small{

display:block;

margin-top:10px;

font-size:15px;

opacity:.95;

}