
/* =========================================================
RESET
========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins', sans-serif;
    background:#fff;
    color:#111;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

/* =========================================================
GLOBAL
========================================================= */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.section{
    padding:90px 0;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:3rem;
    color:#111;
    margin-bottom:15px;
    line-height:1.2;
}

.section-title p{
    color:#666;
    font-size:1.1rem;
    line-height:1.7;
}

/* =========================================================
BUTTONS
========================================================= */

.btn-primary{
    background:linear-gradient(135deg,#ff0000,#c40000);
    color:#fff;
    padding:18px 35px;
    border-radius:60px;
    text-decoration:none;
    font-weight:700;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    transition:0.3s;
    box-shadow:0 10px 25px rgba(213,0,0,0.25);
}

.btn-primary:hover{
    transform:translateY(-4px);
    background:#ff0000;
    color:#fff000;
}

.btn-secondary{
    border:2px solid #fff;
    color:#fff;
    padding:18px 35px;
    border-radius:60px;
    text-decoration:none;
    font-weight:700;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    transition:0.3s;
}

.btn-secondary:hover{
    background:#0f0;
    color:#111;
}

/* =========================================================
HERO
========================================================= */

.hero{
    min-height:100vh;
    background:
    linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.72)),
    url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=2071&auto=format&fit=crop');
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    padding:80px 0;
}

.hero-wrapper{
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    gap:60px;
    align-items:center;
}

.logo{
    width:230px;
    margin-bottom:25px;
}

.hero-content h1{
    font-size:3.7rem;
    line-height:1.1;
    color:#fff;
    margin-bottom:25px;
    font-weight:800;
    text-shadow:0 5px 25px rgba(0,0,0,0.45);
}

.hero-content h1 span{
    color:#ffe600;
}

.hero-content p{
    color:#fff;
    font-size:1.15rem;
    line-height:1.8;
    margin-bottom:35px;
    max-width:650px;
}

.hero-buttons{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

/* =========================================================
FORMULARIO HERO
========================================================= */

.form-box{
    background:#fff;
    padding:40px;
    border-radius:30px;
    box-shadow:0 20px 60px rgba(0,0,0,0.25);
}

.form-box h3{
    text-align:center;
    margin-bottom:30px;
    font-size:2rem;
    color:#111;
}

.form-group{
    margin-bottom:18px;
}

.form-group input,
.form-group select{
    width:100%;
    padding:18px 20px;
    border-radius:16px;
    border:2px solid #efefef;
    background:#fafafa;
    font-size:1rem;
    font-family:'Poppins', sans-serif;
    color:#111;
    transition:0.3s;
    appearance:none;
}

.form-group input:focus,
.form-group select:focus{
    outline:none;
    border-color:#d50000;
    background:#fff;
    box-shadow:0 0 0 4px rgba(213,0,0,0.1);
}

.form-group select{
    color:#666;
    cursor:pointer;
    background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 5.646a.5.5 0 0 1 .708 0L8 11.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E")
    no-repeat right 18px center,
    #fafafa;
}

.form-group select option{
    color:#111;
}

.submit-btn{
    width:100%;
    padding:20px;
    border:none;
    border-radius:60px;
    background:linear-gradient(135deg,#ff0000,#c40000);
    color:#fff;
    font-size:1rem;
    font-weight:700;
    cursor:pointer;
    transition:0.3s;
    box-shadow:0 12px 25px rgba(213,0,0,0.25);
}

.submit-btn:hover{
    transform:translateY(-4px);
}

/* =========================================================
CARRERAS
========================================================= */

.carreras-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.card{
    background:#fff;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:0.4s;
}

.card:hover{
    transform:translateY(-10px);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.card-content{
    padding:30px;
}

.card-content h3{
    font-size:1.4rem;
    margin-bottom:15px;
}

.card-content p{
    color:#666;
    line-height:1.7;
    margin-bottom:25px;
}

.card-btn{
    display:inline-block;
    background:#d50000;
    color:#fff;
    text-decoration:none;
    padding:12px 25px;
    border-radius:50px;
    font-weight:600;
}

/* =========================================================
MODALIDADES
========================================================= */

.modalidad-section{
    background:#fff;
}

.modalidad-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.modalidad-card{
    background:#fff;
    padding:40px 30px;
    border-radius:30px;
    text-align:center;
    box-shadow:0 10px 40px rgba(0,0,0,0.05);
    transition:0.4s;
    border:1px solid #f2f2f2;
}

.modalidad-card:hover{
    transform:translateY(-10px);
    border-color:#d50000;
}

.mod-icon{
    width:85px;
    height:85px;
    background:#fff2f2;
    color:#d50000;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:0 auto 25px;
    font-size:2.4rem;
}

.modalidad-card h3{
    margin-bottom:15px;
}

.modalidad-card p{
    color:#666;
    line-height:1.7;
}

/* =========================================================
BENEFITS
========================================================= */

.benefits{
    background:#f6f6f6;
}

.benefits-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.benefit-box{
    background:#fff;
    padding:40px 30px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,0.06);
}

.benefit-box i{
    font-size:3rem;
    color:#d50000;
    margin-bottom:20px;
}

.benefit-box h3{
    margin-bottom:15px;
}

.benefit-box p{
    color:#666;
    line-height:1.7;
}

/* =========================================================
STATS
========================================================= */

.stats{
    background:#111;
    color:#fff;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
    text-align:center;
}

.stat h3{
    font-size:3rem;
    color:#ff3b3b;
    margin-bottom:10px;
}

/* =========================================================
CTA FINAL
========================================================= */

.cta-final{
    background:#111;
    color:#fff;
    text-align:center;
    padding:100px 20px;
}

.cta-final h2{
    font-size:3rem;
    margin-bottom:20px;
    line-height:1.2;
}

.cta-final p{
    max-width:700px;
    margin:0 auto 35px;
    line-height:1.8;
}

/* =========================================================
FOOTER
========================================================= */

footer{
    background:#000;
    color:#fff;
    text-align:center;
    padding:30px 20px;
}

/* =========================================================
WHATSAPP
========================================================= */

.whatsapp{
    position:fixed;
    right:20px;
    bottom:20px;
    width:70px;
    height:70px;
    background:#25D366;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:2rem;
    text-decoration:none;
    z-index:999;
    box-shadow:0 8px 25px rgba(0,0,0,0.25);
    animation:pulse 2s infinite;
}

@keyframes pulse{

0%{
transform:scale(1);
}

50%{
transform:scale(1.08);
}

100%{
transform:scale(1);
}

}

/* =========================================================
TABLET
========================================================= */

@media(max-width:992px){

.hero-wrapper{
    grid-template-columns:1fr;
}

.hero-content{
    text-align:center;
}

.logo{
    margin:0 auto 25px;
}

.hero-content p{
    margin:0 auto 35px;
}

.hero-buttons{
    justify-content:center;
}

.hero-content h1{
    font-size:3.2rem;
}

.section-title h2{
    font-size:2.5rem;
}

.cta-final h2{
    font-size:2.5rem;
}

}

/* =========================================================
MOBILE
========================================================= */

@media(max-width:768px){

.section{
    padding:70px 0;
}

.hero{
    padding:60px 0;
}

.hero-content h1{
    font-size:2.3rem;
}

.hero-content p{
    font-size:1rem;
}

.hero-buttons{
    flex-direction:column;
    align-items:center;
}

.btn-primary,
.btn-secondary{
    width:100%;
    max-width:320px;
}

.form-box{
    padding:30px 22px;
}

.form-box h3{
    font-size:1.6rem;
}

.section-title h2{
    font-size:2rem;
}

.cta-final{
    padding:80px 20px;
}

.cta-final h2{
    font-size:2rem;
}

.logo{
    width:190px;
}

.whatsapp{
    width:60px;
    height:60px;
    font-size:1.6rem;
}

}




/* =========================================================
SMALL MOBILE
========================================================= */

@media(max-width:480px){

.hero-content h1{
    font-size:1.9rem;
}

.section-title h2{
    font-size:1.7rem;
}

.form-box{
    border-radius:22px;
}

.card-content{
    padding:25px;
}

}

