

/* =========================================================
   FELIPONETICA INGLÉS
   LIGHT • WARM • WELCOMING DESIGN
   ========================================================= */

:root {

    /* BRAND COLORS */
    --blue: #0028c7;
    --coral: #ff5b41;
    --aqua: #3bf7f3;
    --purple: #aa4978;
    --cyan: #1ab9de;
    --white: #ffffff;

    /* LIGHT PALETTE */
    --sky: #dff5fa;
    --sky-light: #eefbfc;

    --sand: #f7ead5;
    --sand-light: #fff8ec;

    --orange-soft: #ffe0d6;
    --orange-pale: #fff0ea;

    /* TEXT */
    --text: #17305f;
    --text-dark: #102653;
    --text-soft: #5d6d8c;
    --text-light: #7d8ba4;

    /* SURFACES */
    --card: #ffffff;
    --card-soft: rgba(255, 255, 255, 0.82);

    --border: rgba(0, 40, 199, 0.10);

    /* SHADOWS */
    --shadow:
        0 15px 45px rgba(32, 65, 110, 0.10);

    --shadow-hover:
        0 22px 55px rgba(32, 65, 110, 0.16);
}


/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    min-height: 100vh;

    background:

        radial-gradient(
            circle at 5% 5%,
            rgba(59, 247, 243, 0.35),
            transparent 32%
        ),

        radial-gradient(
            circle at 95% 15%,
            rgba(255, 91, 65, 0.18),
            transparent 30%
        ),

        radial-gradient(
            circle at 90% 75%,
            rgba(170, 73, 120, 0.20),
            transparent 32%
        ),

        #dff5fa;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.navbar {

    width: 100%;

    position: sticky;
    top: 0;

    z-index: 1000;

    background:
        rgba(255, 255, 255, 0.90);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    border-bottom:
        1px solid rgba(0, 40, 199, 0.08);

    padding: 15px 5%;
}

.nav-container {

    max-width: 1300px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {

    text-decoration: none;

    color: var(--blue);

    font-size: 24px;

    font-weight: 900;

    letter-spacing: -1px;
}

.logo span {

    color: var(--coral);
}


/* =========================================================
   NAV LINKS
   ========================================================= */

.nav-links {

    display: flex;

    align-items: center;

    gap: 8px;

    flex-wrap: wrap;
}

.nav-links a {

    text-decoration: none;

    color: var(--text);

    padding: 10px 14px;

    border-radius: 12px;

    font-size: 14px;

    font-weight: 700;

    transition:
        0.2s ease;
}

.nav-links a:hover {

    color: var(--blue);

    background:
        var(--sky);
}


/* =========================================================
   MAIN
   ========================================================= */

.main-container {

    width: 90%;

    max-width: 1300px;

    margin: 0 auto;

    padding: 70px 0 100px;
}


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

.hero {

    text-align: center;

    max-width: 950px;

    margin: 0 auto 70px;

    padding:
        20px 0;
}

.hero h1 {

    margin: 0 0 20px;

    font-size:
        clamp(42px, 7vw, 78px);

    line-height: 0.95;

    letter-spacing: -4px;

    color: var(--blue);
}

.hero h1 span {

    color: var(--coral);

    text-shadow:
        0 5px 20px rgba(255, 91, 65, 0.15);
}

.hero p {

    margin: 0 auto;

    max-width: 700px;

    color: var(--text-soft);

    font-size: 18px;

    line-height: 1.7;
}


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

.page-header {

    max-width: 850px;

    margin-bottom: 50px;
}

.page-header .eyebrow {

    color: var(--coral);

    font-size: 13px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 2px;

    margin-bottom: 12px;
}

.page-header h1 {

    margin: 0 0 18px;

    font-size:
        clamp(40px, 6vw, 68px);

    line-height: 1;

    letter-spacing: -3px;

    color: var(--blue);
}

.page-header p {

    margin: 0;

    color: var(--text-soft);

    font-size: 18px;

    line-height: 1.7;
}


/* =========================================================
   CARDS
   ========================================================= */

.card-grid {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(260px, 1fr)
        );

    gap: 22px;
}

.card {

    position: relative;

    padding: 30px;

    border-radius: 24px;

    background:
        rgba(255, 255, 255, 0.90);

    border:
        1px solid var(--border);

    box-shadow:
        var(--shadow);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.card:hover {

    transform:
        translateY(-6px);

    box-shadow:
        var(--shadow-hover);

    border-color:
        rgba(0, 40, 199, 0.18);
}

.card-icon {

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 16px;

    background:
        var(--sky);

    border:
        1px solid rgba(27, 185, 222, 0.15);

    color: var(--blue);

    font-size: 24px;

    margin-bottom: 22px;
}

.card h2,
.card h3 {

    margin:
        0 0 12px;

    font-size: 23px;

    color:
        var(--text-dark);
}

.card p {

    margin: 0;

    color:
        var(--text-soft);

    line-height: 1.65;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        13px 21px;

    border-radius: 13px;

    background:
        var(--coral);

    color:
        var(--white);

    text-decoration: none;

    font-weight: 800;

    border: none;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

    margin-top: 22px;
}

.button:hover {

    transform:
        translateY(-2px);

    background:
        #f04e36;

    box-shadow:
        0 10px 25px
        rgba(255, 91, 65, 0.22);
}

.button.secondary {

    background:
        var(--blue);
}

.button.secondary:hover {

    background:
        #00209f;

    box-shadow:
        0 10px 25px
        rgba(0, 40, 199, 0.20);
}


/* =========================================================
   COURSE STRUCTURE
   ========================================================= */

.level-card {

    padding: 35px;

    border-radius: 26px;

    background:

        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.95),
            rgba(247, 234, 213, 0.65)
        );

    border:
        1px solid
        rgba(170, 73, 120, 0.10);

    box-shadow:
        var(--shadow);
}

.level-number {

    color:
        var(--coral);

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.level-card h2 {

    margin:
        10px 0;

    font-size: 30px;

    color:
        var(--blue);
}

.level-card p {

    color:
        var(--text-soft);

    line-height: 1.6;
}

.level-list {

    padding: 0;

    margin:
        25px 0 0;

    list-style: none;
}

.level-list li {

    padding:
        12px 0;

    color:
        var(--text);

    border-top:
        1px solid
        rgba(0, 40, 199, 0.08);
}


/* =========================================================
   LESSON CARDS
   ========================================================= */

.lesson-card {

    display: flex;

    flex-direction: column;

    min-height: 240px;
}

.lesson-number {

    color:
        var(--coral);

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 1.5px;
}

.lesson-card h3 {

    margin-top: 12px;
}

.lesson-card .button {

    margin-top:
        auto;
}


/* =========================================================
   INFO SECTIONS
   ========================================================= */

.info-section {

    margin-top: 70px;

    padding: 40px;

    border-radius: 26px;

    background:

        linear-gradient(
            135deg,
            rgba(223, 245, 250, 0.90),
            rgba(255, 248, 236, 0.90)
        );

    border:
        1px solid
        rgba(0, 40, 199, 0.08);

    box-shadow:
        var(--shadow);
}

.info-section h2 {

    margin-top: 0;

    font-size: 30px;

    color:
        var(--blue);
}

.info-section p {

    color:
        var(--text-soft);

    line-height: 1.8;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {

    padding:
        35px 5%;

    border-top:
        1px solid
        rgba(0, 40, 199, 0.08);

    text-align:
        center;

    color:
        var(--text-light);

    font-size:
        14px;

    background:
        rgba(255, 255, 255, 0.55);
}

.footer a {

    color:
        var(--blue);

    text-decoration:
        none;

    font-weight:
        700;
}

.footer a:hover {

    color:
        var(--coral);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 800px) {

    .nav-container {

        flex-direction:
            column;

        gap:
            15px;
    }

    .nav-links {

        justify-content:
            center;
    }

    .main-container {

        padding-top:
            45px;
    }

    .hero h1 {

        letter-spacing:
            -2px;
    }

    .card {

        padding:
            25px;
    }
}