:root {

    --primary: #123c69;
    --secondary: #1d6fa5;
    --accent: #e8b44c;

    --dark: #17202a;
    --text: #4b5563;
    --light: #f5f7fa;
    --white: #ffffff;

    --border: #e3e8ef;

}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.7;

}


.container {

    width: min(1120px, 92%);

    margin: auto;

}


.narrow {

    max-width: 850px;

}


.header {

    background: #fff;

    border-bottom: 1px solid var(--border);

    position: sticky;

    top: 0;

    z-index: 100;

}


.nav {

    min-height: 75px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


.logo {

    color: var(--primary);

    font-size: 21px;

    font-weight: 800;

    text-decoration: none;

}


.logo span {

    color: var(--secondary);

}


nav {

    display: flex;

    gap: 22px;

    flex-wrap: wrap;

}


nav a {

    color: var(--dark);

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

}


nav a:hover {

    color: var(--secondary);

}


/* HERO */


.hero {

    background:
        linear-gradient(
            135deg,
            #f2f7fb,
            #ffffff
        );

    padding: 90px 0;

}


.hero-grid {

    display: grid;

    grid-template-columns:
        1.2fr
        .8fr;

    align-items: center;

    gap: 70px;

}


.category,
.section-label {

    display: inline-block;

    color: var(--secondary);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 15px;

}


h1 {

    color: var(--dark);

    font-size: clamp(42px, 6vw, 68px);

    line-height: 1.08;

    margin-bottom: 25px;

}


.hero-content p {

    font-size: 18px;

    max-width: 650px;

}


.hero-buttons {

    display: flex;

    gap: 14px;

    margin-top: 30px;

}


.btn {

    padding: 13px 22px;

    border-radius: 7px;

    text-decoration: none;

    font-weight: 700;

}


.primary {

    background: var(--primary);

    color: #fff;

}


.secondary {

    border: 1px solid var(--primary);

    color: var(--primary);

}


.hero-card {

    background:
        linear-gradient(
            135deg,
            #183f66,
            #102b47
        );

    color: white;

    border-radius: 22px;

    padding: 32px;

    min-height: 270px;

    box-shadow:
        0 25px 60px
        rgba(18, 60, 105, .22);

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transform: rotate(2deg);

}


.card-chip {

    width: 50px;

    height: 38px;

    background: #d6b35c;

    border-radius: 7px;

}


.card-title {

    font-size: 12px;

    letter-spacing: 3px;

}


.card-number {

    font-size: 21px;

    letter-spacing: 3px;

}


.card-footer {

    display: flex;

    justify-content: space-between;

    font-size: 10px;

    opacity: .8;

}


/* SECTIONS */


.section {

    padding: 90px 0;

}


.gray {

    background: var(--light);

}


.section-heading {

    max-width: 750px;

    margin-bottom: 45px;

}


h2 {

    color: var(--dark);

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.15;

    margin-bottom: 15px;

}


h3 {

    color: var(--dark);

    margin-bottom: 10px;

}


.cards {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

}


.article-card {

    background: white;

    border: 1px solid var(--border);

    border-radius: 15px;

    padding: 30px;

    transition: .25s;

}


.article-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 15px 40px
        rgba(0,0,0,.07);

}


.icon {

    font-size: 35px;

    margin-bottom: 20px;

}


/* TASAS */


.rate-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

}


.rate-card {

    border: 1px solid var(--border);

    padding: 30px;

    border-radius: 15px;

    background: white;

}


.rate-card span {

    font-size: 11px;

    letter-spacing: 1px;

    font-weight: 800;

}


.rate-card strong {

    display: block;

    color: var(--primary);

    font-size: 38px;

    margin-top: 12px;

}


.rate-card small {

    font-weight: 700;

}


.rate-card p {

    margin-top: 15px;

}


.source-note {

    background: #fff8e8;

    border-left: 4px solid var(--accent);

    padding: 20px;

    margin-top: 30px;

}


/* REQUISITOS */


.requirements {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

}


.requirement {

    background: white;

    border: 1px solid var(--border);

    border-radius: 12px;

    padding: 25px;

    display: flex;

    gap: 20px;

}


.number {

    color: var(--secondary);

    font-size: 25px;

    font-weight: 900;

}


/* BENEFICIOS */


.benefits {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;

}


.benefits div {

    padding: 20px;

    border: 1px solid var(--border);

    border-radius: 10px;

}


.benefits span {

    color: #16804b;

    font-weight: bold;

    margin-right: 8px;

}


/* FAQ */


details {

    background: white;

    border: 1px solid var(--border);

    border-radius: 10px;

    padding: 20px;

    margin-bottom: 12px;

}


summary {

    color: var(--dark);

    cursor: pointer;

    font-weight: 700;

}


/* LEGAL */


.legal-banner {

    background: var(--primary);

    color: white;

    padding: 45px 0;

}


.legal-banner strong {

    color: #fff;

    letter-spacing: 1px;

}


.legal-banner p {

    margin: 10px 0 15px;

    max-width: 900px;

}


.legal-banner a {

    color: white;

    font-weight: 700;

}


/* FOOTER */


.footer {

    background: #101820;

    color: #c9d0d7;

    padding-top: 55px;

}


.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 40px;

    padding-bottom: 40px;

}


.footer h3,
.footer h4 {

    color: white;

}


.footer a {

    display: block;

    color: #c9d0d7;

    text-decoration: none;

    margin: 7px 0;

    font-size: 14px;

}


.copyright {

    border-top: 1px solid #29333d;

    padding: 20px;

    text-align: center;

    font-size: 13px;

}


/* MOBILE */


@media (max-width: 800px) {

    .nav {

        flex-direction: column;

        padding: 20px 0;

    }


    nav {

        justify-content: center;

    }


    .hero {

        padding: 60px 0;

    }


    .hero-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .hero-card {

        transform: none;

    }


    .cards,
    .rate-grid {

        grid-template-columns: 1fr;

    }


    .requirements,
    .benefits {

        grid-template-columns: 1fr;

    }


    .footer-grid {

        grid-template-columns: 1fr;

    }


    h1 {

        font-size: 43px;

    }

}