:root{
    --primary:#19248B;
    --primary-light:#3a4dbd;
    --bg:#f7f8fb;
    --text:#202124;
}

#inicio{
    scroll-margin-top:120px;
}

#historia{
    scroll-margin-top:20px;
}

#servicios{
    scroll-margin-top:20px;
}

#nosotros{
    scroll-margin-top:20px;
}

#medios{
    scroll-margin-top:20px;
}

#eventos{
    scroll-margin-top:20px;
}

#capacitacion{
    scroll-margin-top:150px;
}

/* RESET */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Open Sans',sans-serif;
    color:var(--text);
    overflow-x:hidden;
}

section{
    padding:100px 0;
}

.section-title{
    font-family:'Montserrat',sans-serif;
    font-weight:600;
    color:var(--primary);
    margin-bottom:40px;
}

/* NAVBAR */

.navbar{
    background:rgba(25,36,139,.94);
    backdrop-filter:blur(18px);
    padding:14px 0;
}

.navbar-brand img{
    height:72px;
}

.navbar-nav{
    align-items:center;
    gap:10px;
}

.nav-link{
    color:white!important;
    font-weight:500;
    padding:.65rem .85rem!important;
    line-height:1;
}

.nav-link:hover{
    color:#d5dcff!important;
}

.nav-link-cta{
    background:white!important;
    color:var(--primary)!important;
    border-radius:999px;
    padding:.75rem 1.35rem!important;
    margin-left:10px;
    font-weight:700;
    box-shadow:0 8px 24px rgba(0,0,0,.18);
    transition:all .25s ease;
}

.nav-link-cta:hover{
    color:var(--primary)!important;
    background:#eef1ff!important;
    transform:translateY(-1px);
    box-shadow:0 12px 30px rgba(0,0,0,.24);
}

/* HERO */

section.hero{
    padding:0;
}

.hero{
    background:#050505;
    position:relative;
    overflow:hidden;
}

.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item{
    height:calc(100vh - 112px);
    min-height:620px;
}

.hero .carousel-item{
    position:relative;
}

.hero picture{
    display:block;
    width:100%;
    height:100%;
}

.hero-img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    opacity:.78;
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
}

.hero-overlay{
    position:absolute;
    inset:0;
    z-index:1;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.72) 0%,
            rgba(0,0,0,.38) 42%,
            rgba(0,0,0,.68) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0,0,0,.20) 0%,
            rgba(0,0,0,.15) 45%,
            rgba(0,0,0,.55) 100%
        );
}

.hero .container{
    position:absolute;
    inset:0;
    z-index:2;

    display:flex;
    align-items:flex-end;
    padding-bottom:120px;
}

.hero-content-box{
    max-width:720px;
}

.hero h1{
    font-family:'Montserrat',sans-serif;
    font-size:clamp(3rem,6vw,5.8rem);
    line-height:.95;
    letter-spacing:-.045em;
    color:white;
    margin-bottom:22px;
}

.hero p{
    max-width:580px;
    font-size:1.25rem;
    color:rgba(255,255,255,.78);
    margin-bottom:30px;
}

.hero-actions{
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
}

.hero .btn{
    border-radius:999px;
    padding:.95rem 1.55rem;
    font-weight:700;
}

.hero .btn-primary{
    background:white;
    color:var(--primary);
    border-color:white;
}

.hero .btn-primary:hover{
    background:#eef1ff;
    color:var(--primary);
    border-color:#eef1ff;
}

.hero .btn-outline-light:hover{
    color:var(--primary);
}

.carousel-indicators{
    bottom:34px;
    z-index:5;
}

.carousel-indicators button{
    width:46px!important;
    height:4px!important;
    border-radius:999px!important;
}

.carousel-control-prev,
.carousel-control-next{
    z-index:6;
    width:8%;
}

.carousel-control-icon{
    color:white;
    font-size:42px;
    line-height:1;
    opacity:.65;
}

.carousel-control-prev:hover .carousel-control-icon,
.carousel-control-next:hover .carousel-control-icon{
    opacity:1;
}

/* MOBILE HERO */

@media(max-width:768px){

    .hero .carousel,
    .hero .carousel-inner,
    .hero .carousel-item{
        height:calc(100vh - 88px);
        min-height:760px;
    }

    .hero .container{
        align-items:flex-end;
        padding-bottom:110px;
    }

    .hero-img{
        object-position:center;
    }

    .hero h1{
        font-size:3rem;
    }

    .hero p{
        font-size:1rem;
    }

    .hero-actions{
        flex-direction:column;
        align-items:flex-start;
    }

    .hero .btn{
        width:auto;
    }
}
/* EVENTO */

.event-card{

    background:

    linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );

    padding:60px;

    border-radius:32px;

    color:white;
}

.event-card h2{
    color:white;
}

/* SERVICIOS */

#servicios{
    background:var(--bg);
}

.card{
    border:none;

    border-radius:24px;

    transition:.3s;

    overflow:hidden;
}

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

.icon-primary{
    color:var(--primary);
}

/* CAPACITACION */

.ecap-banner{

    background:

    linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );

    color:white;

    border-radius:32px;

    padding:50px;
}

.ecap-banner h3{
    margin-bottom:20px;
}

/* HISTORIA */

.history-section{
    padding:110px 0;
    background:
        radial-gradient(circle at top left, rgba(25,36,139,.08), transparent 32%),
        #fff;
}

.history-card{
    display:grid;
    grid-template-columns:1.02fr .98fr;
    align-items:stretch;
    overflow:hidden;

    background:#fff;
    border:1px solid rgba(25,36,139,.10);
    border-radius:36px;

    box-shadow:
        0 30px 80px rgba(15,23,42,.10);
}

.history-media{
    position:relative;
    min-height:560px;
    overflow:hidden;
}

.history-media::after{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(25,36,139,.10),
            transparent 45%
        );
}

.history-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.history-content{
    padding:70px 72px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.history-eyebrow{
    width:max-content;
    margin-bottom:20px;

    font-size:.78rem;
    font-weight:800;
    letter-spacing:.16em;
    text-transform:uppercase;

    color:var(--primary);
}

.history-content h2{
    font-family:'Montserrat',sans-serif;
    max-width:620px;

    font-size:clamp(2.1rem,3.2vw,4rem);
    line-height:1.05;
    letter-spacing:-.045em;

    color:#101114;
    margin-bottom:26px;
}

.history-lead{
    font-size:1.25rem;
    line-height:1.65;
    color:#30343b;
    margin-bottom:22px;
}

.history-content p:not(.history-lead){
    font-size:1rem;
    line-height:1.9;
    color:#6b7280;
    margin-bottom:0;
}

.history-divider{
    height:1px;
    width:100%;
    background:linear-gradient(
        90deg,
        rgba(25,36,139,.35),
        rgba(25,36,139,.05)
    );
    margin:38px 0 30px;
}

.history-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.history-stats div{
    padding:18px 0;
}

.history-stats strong{
    display:block;

    font-family:'Montserrat',sans-serif;
    font-size:1.35rem;
    line-height:1;

    color:var(--primary);
    margin-bottom:10px;
}

.history-stats span{
    display:block;

    font-size:.86rem;
    line-height:1.35;
    color:#6b7280;
}

/* MOBILE */

@media(max-width:991px){

    .history-card{
        grid-template-columns:1fr;
    }

    .history-media{
        min-height:380px;
    }

    .history-content{
        padding:44px 34px;
    }

    .history-stats{
        grid-template-columns:1fr;
        gap:8px;
    }

    .history-stats div{
        padding:12px 0;
        border-bottom:1px solid rgba(25,36,139,.10);
    }

    .history-stats div:last-child{
        border-bottom:none;
    }
}

/* SERVICIOS PREMIUM */

.services-header{
    max-width:900px;
    margin:0 auto 70px;
    text-align:center;
}

.services-header span{
    display:inline-block;

    margin-bottom:16px;

    font-size:.8rem;
    font-weight:800;

    letter-spacing:.18em;
    text-transform:uppercase;

    color:var(--primary);
}

.services-header h2{
    font-family:'Montserrat',sans-serif;

    font-size:clamp(2.4rem,5vw,4.8rem);

    line-height:1.02;

    letter-spacing:-.055em;

    color:#101114;

    margin-bottom:24px;
}

.services-header p{
    max-width:720px;

    margin:0 auto;

    font-size:1.15rem;

    line-height:1.8;

    color:#6b7280;
}

/* NOSOTROS / COMISIÓN DIRECTIVA */

.team-section{
    padding:120px 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(25,36,139,.10), transparent 34%),
        #f7f8fb;
}

.team-header{
    max-width:820px;
    margin:0 auto 60px;
    text-align:center;
}

.team-header span{
    display:inline-block;
    margin-bottom:14px;

    font-size:.78rem;
    font-weight:800;
    letter-spacing:.18em;
    text-transform:uppercase;

    color:var(--primary);
}

.team-header h2{
    font-family:'Montserrat',sans-serif;
    font-size:clamp(2.4rem,5vw,4.8rem);
    line-height:1;
    letter-spacing:-.055em;
    color:#101114;
    margin-bottom:22px;
}

.team-header p{
    font-size:1.15rem;
    line-height:1.75;
    color:#6b7280;
}

.team-main-card{
    max-width:920px;
    margin:0 auto 70px;
    padding:34px;

    display:grid;
    grid-template-columns:300px 1fr;
    align-items:center;
    gap:44px;

    border-radius:38px;
    background:
        linear-gradient(135deg, rgba(25,36,139,1), rgba(58,77,189,1));

    box-shadow:
        0 35px 90px rgba(25,36,139,.25);
}

.team-main-photo{
    width:300px;
    height:300px;
    border-radius:32px;
    overflow:hidden;
    background:#fff;
}

.team-main-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.team-main-info span{
    display:block;
    margin-bottom:14px;

    font-size:.85rem;
    font-weight:800;
    letter-spacing:.15em;
    text-transform:uppercase;

    color:rgba(255,255,255,.62);
}

.team-main-info h3{
    font-family:'Montserrat',sans-serif;
    font-size:clamp(2rem,4vw,4rem);
    line-height:1;
    letter-spacing:-.045em;
    color:white;
    margin-bottom:30px;
}

.team-socials{
    display:flex;
    gap:14px;
}

.team-socials a{
    width:46px;
    height:46px;
    border-radius:50%;

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

    color:white;
    text-decoration:none;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);

    transition:.25s ease;
}

.team-socials a:hover{
    background:white;
    color:var(--primary);
    transform:translateY(-2px);
}

.team-block{
    background:#fff;
    border:1px solid rgba(25,36,139,.10);
    border-radius:34px;
    padding:42px;
    box-shadow:0 24px 70px rgba(15,23,42,.08);
    margin-bottom:34px;
}

.team-block-title{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:30px;
}

.team-block-title span{
    width:42px;
    height:42px;
    border-radius:50%;

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

    background:rgba(25,36,139,.08);
    color:var(--primary);

    font-weight:800;
    font-size:.85rem;
}

.team-block-title h3{
    font-family:'Montserrat',sans-serif;
    font-size:2rem;
    color:#101114;
    margin:0;
}

.secretaries-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.member-line{
    padding:22px;
    border-radius:22px;
    background:#f7f8fb;
    border:1px solid rgba(25,36,139,.06);
}

.member-line strong{
    display:block;
    font-size:1rem;
    color:#15171b;
    margin-bottom:8px;
}

.member-line span{
    display:block;
    font-size:.92rem;
    line-height:1.45;
    color:#6b7280;
}

.team-groups{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:26px;
}

.team-group-card{
    background:#fff;
    border:1px solid rgba(25,36,139,.10);
    border-radius:30px;
    padding:34px;
    box-shadow:0 22px 60px rgba(15,23,42,.07);
}

.team-group-card h3{
    font-family:'Montserrat',sans-serif;
    font-size:1.55rem;
    line-height:1.1;
    color:var(--primary);
    margin-bottom:26px;
}

.team-group-card h4{
    margin:28px 0 14px;
    font-size:.78rem;
    font-weight:800;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:#9ca3af;
}

.team-group-card h4:first-of-type{
    margin-top:0;
}

.team-group-card p{
    margin:0;
    padding:13px 0;
    border-bottom:1px solid rgba(25,36,139,.08);

    font-size:1rem;
    line-height:1.4;
    color:#30343b;
}

.team-group-card p:last-child{
    border-bottom:none;
}

/* MOBILE */

@media(max-width:991px){

    .team-main-card{
        grid-template-columns:1fr;
        text-align:center;
        justify-items:center;
        padding:28px;
    }

    .team-main-photo{
        width:240px;
        height:240px;
    }

    .team-socials{
        justify-content:center;
    }

    .secretaries-grid,
    .team-groups{
        grid-template-columns:1fr;
    }

    .team-block{
        padding:28px;
    }
}

/* NOTICIAS */

.news-section{
    padding:120px 0;
}

.news-header{
    max-width:900px;
    margin:0 auto 70px;
    text-align:center;
}

.news-header span{
    display:inline-block;

    margin-bottom:16px;

    font-size:.8rem;
    font-weight:800;

    letter-spacing:.18em;
    text-transform:uppercase;

    color:var(--primary);
}

.news-header h2{
    font-family:'Montserrat',sans-serif;

    font-size:clamp(2.4rem,5vw,4.8rem);

    line-height:1.02;

    letter-spacing:-.055em;

    color:#101114;

    margin-bottom:24px;
}

.news-header p{
    max-width:720px;

    margin:0 auto;

    font-size:1.15rem;

    line-height:1.8;

    color:#6b7280;
}

.news-btn{
    display:inline-flex;

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

    padding:16px 30px;

    border-radius:999px;

    background:var(--primary);
    color:white;

    text-decoration:none;
    font-weight:600;

    transition:.3s ease;
}

.news-btn:hover{
    background:var(--primary-light);
    color:white;

    transform:translateY(-2px);
}

/* CARDS NOTICIAS */

.news-card{
    overflow:hidden;

    border-radius:32px;

    background:white;

    border:1px solid rgba(25,36,139,.08);

    box-shadow:
        0 14px 40px rgba(15,23,42,.06);

    transition:.3s ease;
}

.news-card:hover{
    transform:translateY(-8px);

    box-shadow:
        0 24px 60px rgba(15,23,42,.12);
}

.news-card img{
    height:260px;
    object-fit:cover;
}

.news-card .card-body{
    padding:28px;
}

.news-card .card-title{
    font-size:1.8rem;
    line-height:1.1;
    margin-bottom:16px;
}

.news-card .card-text{
    color:#5f6368;
    line-height:1.75;
}

.news-date{
    display:block;

    margin-top:24px;

    font-size:.9rem;

    font-weight:600;

    color:var(--primary);
}

/* EVENTOS */

.events-section{
    padding:120px 0;
    background:#f7f8fb;
}

.events-header{
    max-width:900px;
    margin:0 auto 70px;
    text-align:center;
}

.events-header span{
    display:inline-block;
    margin-bottom:16px;

    font-size:.8rem;
    font-weight:800;

    letter-spacing:.18em;
    text-transform:uppercase;

    color:var(--primary);
}

.events-header h2{
    font-family:'Montserrat',sans-serif;

    font-size:clamp(2.4rem,5vw,4.8rem);

    line-height:1.02;

    letter-spacing:-.055em;

    color:#101114;

    margin-bottom:24px;
}

.events-header p{
    max-width:720px;

    margin:0 auto;

    font-size:1.15rem;

    line-height:1.8;

    color:#6b7280;
}

.events-banner{
    position:relative;

    display:block;

    height:620px;

    overflow:hidden;

    border-radius:42px;

    text-decoration:none;

    box-shadow:
        0 35px 90px rgba(15,23,42,.12);

    transition:.4s ease;
}

.events-banner:hover{
    transform:translateY(-6px);
}

.events-banner img{
    width:100%;
    height:100%;

    object-fit:cover;

    transition:.8s ease;
}

.events-banner:hover img{
    transform:scale(1.05);
}

.events-banner-overlay{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.08),
            rgba(0,0,0,.75)
        );
}

.events-banner-content{
    position:absolute;

    left:60px;
    right:60px;
    bottom:60px;

    z-index:2;

    color:white;
}

.events-banner-content span{
    display:inline-block;

    margin-bottom:16px;

    font-size:.8rem;
    font-weight:800;

    letter-spacing:.15em;

    text-transform:uppercase;

    color:rgba(255,255,255,.72);
}

.events-banner-content h3{
    max-width:800px;

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

    font-size:clamp(2.8rem,5vw,5.5rem);

    line-height:1;

    letter-spacing:-.06em;

    margin-bottom:20px;
}

.events-banner-content p{
    max-width:650px;

    font-size:1.15rem;

    line-height:1.8;

    color:rgba(255,255,255,.78);

    margin-bottom:30px;
}

.events-banner-btn{
    display:inline-flex;

    align-items:center;

    padding:16px 26px;

    border-radius:999px;

    background:white;

    color:var(--primary);

    font-weight:700;
}

@media(max-width:991px){

    .events-banner{
        height:500px;
    }

    .events-banner-content{
        left:30px;
        right:30px;
        bottom:30px;
    }

    .events-banner-content h3{
        font-size:2.5rem;
    }
}

/* BANNER ECAP */

.ecap-banner-section{
    padding:90px 0;
    background:#f7f8fb;
}

.ecap-promo{
    position:relative;
    overflow:hidden;

    display:grid;
    grid-template-columns:180px 1fr auto;
    align-items:center;
    gap:38px;

    padding:42px 48px;

    border-radius:34px;

    background:
        radial-gradient(circle at 10% 20%, rgba(255,255,255,.20), transparent 28%),
        linear-gradient(135deg, #19248B, #2636a4 55%, #0f155f);

    color:white;
    text-decoration:none;

    box-shadow:0 30px 80px rgba(25,36,139,.24);

    transition:.3s ease;
}

.ecap-promo:hover{
    color:white;
    transform:translateY(-4px);
    box-shadow:0 40px 100px rgba(25,36,139,.30);
}

.ecap-promo::after{
    content:"";
    position:absolute;
    right:-120px;
    top:-120px;

    width:320px;
    height:320px;

    border-radius:50%;
    background:rgba(255,255,255,.08);
}

.ecap-promo-logo{
    position:relative;
    z-index:2;

    width:300;
    height:300;

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

.ecap-promo-logo img{
    width:150px;
    max-height:150px;
    object-fit:contain;
}

.ecap-promo-content{
    position:relative;
    z-index:2;
}

.ecap-promo-content span{
    display:block;

    margin-bottom:12px;

    font-size:.78rem;
    font-weight:800;
    letter-spacing:.18em;
    text-transform:uppercase;

    color:rgba(255,255,255,.64);
}

.ecap-promo-content h2{
    max-width:820px;

    font-family:'Montserrat',sans-serif;
    font-size:clamp(2rem,3.2vw,3.6rem);
    line-height:1.03;
    letter-spacing:-.045em;

    margin-bottom:16px;
}

.ecap-promo-content p{
    max-width:680px;

    margin:0;

    font-size:1.08rem;
    line-height:1.65;

    color:rgba(255,255,255,.74);
}

.ecap-promo-action{
    position:relative;
    z-index:2;

    display:flex;
    align-items:center;
    gap:12px;

    padding:16px 22px;

    border-radius:999px;

    background:white;
    color:var(--primary);

    font-weight:800;

    white-space:nowrap;
}

.ecap-promo-action strong{
    transition:.25s ease;
}

.ecap-promo:hover .ecap-promo-action strong{
    transform:translateX(4px);
}

/* MOBILE */

@media(max-width:991px){

    .ecap-promo{
        grid-template-columns:1fr;
        gap:26px;
        padding:34px;
    }

    .ecap-promo-logo{
        width:128px;
        height:128px;
    }

    .ecap-promo-logo img{
        width:96px;
        max-height:96px;
    }

    .ecap-promo-action{
        width:max-content;
    }
}

/* WHATSAPP */

#whatsapp-float{

    position:fixed;

    right:22px;

    bottom:22px;

    z-index:999;
}

#whatsapp-float a{

    width:75px;

    height:75px;

    border-radius:50%;

    background:#25D366;

    display:flex;

    align-items:center;

    justify-content:center;

    color:white;

    font-size:40px;

    text-decoration:none;

    box-shadow:

    0 10px 30px rgba(0,0,0,.25);
}

/* FOOTER */

footer{
    background:var(--primary);
    color:white;
    padding:80px 0 30px;
}

footer .container{
    max-width:1200px;
}

.footer-main{
    row-gap:30px;
}

.footer-logo{
    width:260px;
    max-width:60%;
    height:auto;
}

.footer-info h5,
.footer-social h5{
    font-size:1.45rem;
    font-weight:800;
    margin-bottom:18px;
}

.footer-info p{
    display:flex;
    align-items:flex-start;
    gap:14px;

    margin-bottom:12px;

    font-size:1rem;
    line-height:1.45;

    color:rgba(255,255,255,.92);
}

.footer-info i{
    width:18px;
    margin-top:3px;
    text-align:center;
}

.footer-social-links{
    display:flex;
    align-items:center;
    gap:14px;
}

.footer-social-links a{
    width:48px;
    height:48px;

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

    border-radius:50%;

    color:white;
    text-decoration:none;

    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.14);

    transition:.25s ease;
}

.footer-social-links a i{
    font-size:1.25rem;
}

.footer-social-links a:hover{
    background:white;
    color:var(--primary);
    transform:translateY(-2px);
    opacity:1;
}

.footer-bottom{
    margin-top:50px;
    padding-top:26px;

    border-top:1px solid rgba(255,255,255,.18);

    text-align:center;
    color:rgba(255,255,255,.9);
}

@media(max-width:768px){

    .footer-info p{
        justify-content:center;
    }

    .footer-social-links{
        justify-content:center;
    }

    .footer-logo{
        width:230px;
    }
}

/* =========================
   AFILIACIÓN
========================= */

.affiliate-page{
    background:#f7f8fb;
    color:var(--text);
    font-family:'Open Sans',sans-serif;
}

.affiliate-header{
    background:rgba(25,36,139,.96);
    backdrop-filter:blur(18px);
    padding:18px 0;
}

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

.affiliate-logo img{
    height:72px;
    width:auto;
}

.affiliate-back{
    color:white;
    text-decoration:none;
    font-weight:700;
    padding:12px 18px;
    border-radius:999px;
    transition:.25s ease;
}

.affiliate-back:hover{
    background:rgba(255,255,255,.12);
    color:white;
    transform:translateX(-3px);
}

.affiliate-main{
    padding:90px 0 120px;
}

.affiliate-intro{
    max-width:980px;
    margin:0 auto 58px;
    text-align:center;
}

.affiliate-intro > span{
    display:inline-block;
    margin-bottom:16px;
    font-size:.8rem;
    font-weight:800;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:var(--primary);
}

.affiliate-intro h1{
    font-family:'Montserrat',sans-serif;
    font-size:clamp(2.6rem,5vw,5rem);
    line-height:1;
    letter-spacing:-.055em;
    color:#101114;
    margin-bottom:22px;
}

.affiliate-intro p{
    font-size:1.1rem;
    line-height:1.7;
    color:#6b7280;
    margin-bottom:30px;
}

.affiliate-legal-intro{
    max-width:880px;
    margin:0 auto;
    padding:28px 34px;
    border-radius:28px;
    background:white;
    border:1px solid rgba(25,36,139,.08);
    box-shadow:0 16px 50px rgba(15,23,42,.06);
    text-align:left;
    line-height:1.8;
    color:#5f6368;
}

.affiliate-form-card{
    max-width:1120px;
    margin:0 auto;
    padding:54px;
    background:white;
    border-radius:38px;
    border:1px solid rgba(25,36,139,.10);
    box-shadow:0 30px 90px rgba(15,23,42,.09);
}

.affiliate-form-section{
    width:100%;
    margin-top:24px;
    padding-top:26px;
    border-top:1px solid rgba(25,36,139,.10);
}

.affiliate-form-section:first-child{
    margin-top:0;
    padding-top:0;
    border-top:0;
}

.affiliate-form-section h2{
    font-family:'Montserrat',sans-serif;
    font-size:1.8rem;
    letter-spacing:-.025em;
    color:var(--primary);
    margin:0;
}

.affiliate-form-card .form-label{
    font-weight:800;
    color:#202124;
    margin-bottom:8px;
}

.affiliate-form-card .form-control,
.affiliate-form-card .form-select{
    min-height:52px;
    border-radius:16px;
    border:1px solid rgba(25,36,139,.18);
    padding:.78rem 1rem;
    color:#202124;
    background-color:#fff;
}

.affiliate-form-card .form-control:focus,
.affiliate-form-card .form-select:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 .25rem rgba(25,36,139,.12);
}

.affiliate-form-card .form-text{
    color:#6b7280!important;
}

.affiliate-legal-box{
    margin-top:12px;
    padding:28px;
    border-radius:24px;
    background:#f7f8fb;
    border:1px solid rgba(25,36,139,.08);
    color:#5f6368;
    line-height:1.85;
    text-align:left;
}

.affiliate-check{
    padding:20px 24px;
    border-radius:20px;
    background:#f7f8fb;
    border:1px solid rgba(25,36,139,.08);
}

.affiliate-check .form-check-input{
    width:1.15em;
    height:1.15em;
    margin-top:.22em;
}

.affiliate-check .form-check-label{
    font-weight:800;
    color:#202124;
}

.affiliate-form-card .form-check-input:checked{
    background-color:var(--primary);
    border-color:var(--primary);
}

.affiliate-form-card .form-check-input:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 .25rem rgba(25,36,139,.12);
}

.affiliate-submit{
    display:flex;
    justify-content:center;
    margin-top:36px;
}

.affiliate-submit .btn-primary{
    border-radius:999px;
    padding:16px 36px;
    background:var(--primary);
    border-color:var(--primary);
    color:white;
    font-weight:800;
    transition:.25s ease;
}

.affiliate-submit .btn-primary:hover{
    background:var(--primary-light);
    border-color:var(--primary-light);
    transform:translateY(-2px);
}

.UpperCase{
    text-transform:uppercase;
}

.affiliate-modal{
    border:0;
    border-radius:30px;
    overflow:hidden;
}

.affiliate-modal .modal-body{
    padding:42px;
    text-align:center;
}

.affiliate-modal-logo{
    height:90px;
    width:auto;
    margin-bottom:22px;
}

.affiliate-modal h5{
    font-family:'Montserrat',sans-serif;
    color:var(--primary);
    font-weight:800;
    margin-bottom:8px;
}

.affiliate-modal p{
    color:#6b7280;
    margin:0;
}

@media(max-width:768px){

    .affiliate-main{
        padding:60px 0 80px;
    }

    .affiliate-form-card{
        padding:30px 22px;
        border-radius:28px;
    }

    .affiliate-legal-intro{
        padding:24px;
    }

    .affiliate-header .container{
        gap:18px;
    }

    .affiliate-logo img{
        height:62px;
    }

    .affiliate-back{
        font-size:.9rem;
        padding:10px 14px;
    }
}