@import url("brand-watermark.css");
/* =========================================
   BADBEAR.MED
   PORTAL INTERNO DE CURSOS
========================================= */

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

:root {
    --azul: #2563eb;
    --azul-oscuro: #172554;
    --azul-claro: #eff6ff;

    --verde: #16a34a;
    --rojo: #dc2626;
    --violeta: #7c3aed;

    --texto: #172033;
    --texto-secundario: #64748b;

    --fondo: #f8fafc;
    --blanco: #ffffff;
    --borde: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--fondo);
    color: var(--texto);
    line-height: 1.6;
}


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

.header {
    height: 72px;

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

    padding: 0 7%;

    background: rgba(255,255,255,.96);

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

    position: sticky;
    top: 0;

    z-index: 1000;

    backdrop-filter: blur(12px);
}

.logo {
    text-decoration: none;

    font-size: 21px;
    font-weight: 800;

    color: var(--texto);
}

.logo span {
    color: var(--azul);
}

.menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.menu a {
    text-decoration: none;

    color: #475569;

    font-size: 14px;
    font-weight: 700;
}

.menu a:hover {
    color: var(--azul);
}

.volver {
    padding: 9px 15px;

    background: var(--azul-claro);

    border-radius: 8px;

    color: var(--azul) !important;
}


/* =========================================
   HERO DEL CURSO
========================================= */

.hero-curso {
    padding: 90px 20px 80px;

    background:
        radial-gradient(
            circle at 15% 10%,
            #dbeafe 0,
            transparent 35%
        ),

        radial-gradient(
            circle at 90% 20%,
            #f3e8ff 0,
            transparent 30%
        ),

        #ffffff;
}

.hero-container {
    max-width: 1180px;

    margin: auto;

    display: grid;

    grid-template-columns: 1.4fr .6fr;

    align-items: center;

    gap: 50px;
}

.categoria {
    display: inline-block;

    padding: 7px 15px;

    background: #dbeafe;
    color: #1d4ed8;

    border-radius: 100px;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 20px;
}

.hero-curso h1 {
    font-size: clamp(45px, 6vw, 70px);

    line-height: 1.05;

    margin-bottom: 20px;
}

.hero-curso h1 span {
    color: var(--azul);
}

.hero-curso p {
    max-width: 720px;

    color: var(--texto-secundario);

    font-size: 18px;

    margin-bottom: 30px;
}

.hero-botones {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.btn {
    display: inline-block;

    padding: 13px 22px;

    border-radius: 9px;

    text-decoration: none;

    font-weight: 700;

    transition: .2s;
}

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

.btn-primary:hover {
    background: #1d4ed8;

    transform: translateY(-2px);
}

.btn-secondary {
    background: white;

    color: #334155;

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

.hero-icon {
    width: 230px;
    height: 230px;

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

    margin: auto;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #ffffff
        );

    border: 1px solid #dbeafe;

    border-radius: 50px;

    font-size: 100px;

    box-shadow:
        0 25px 60px rgba(37,99,235,.12);
}


/* =========================================
   CONTENIDO
========================================= */

.contenido {
    padding: 90px 7%;
}

.encabezado-seccion {
    max-width: 700px;

    margin: 0 auto 50px;

    text-align: center;
}

.encabezado-seccion span {
    color: var(--azul);

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}

.encabezado-seccion h2 {
    font-size: 38px;

    margin-top: 7px;
}

.encabezado-seccion p {
    color: var(--texto-secundario);

    margin-top: 8px;
}


/* =========================================
   MÓDULOS
========================================= */

.modulos {
    max-width: 1180px;

    margin: auto;

    display: grid;

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

    gap: 20px;
}

.modulo {
    min-height: 220px;

    display: flex;
    flex-direction: column;

    padding: 25px;

    background: white;

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

    border-radius: 17px;

    text-decoration: none;

    color: inherit;

    transition: .25s;
}

.modulo:hover {
    transform: translateY(-7px);

    border-color: #bfdbfe;

    box-shadow:
        0 18px 40px rgba(15,23,42,.08);
}

.modulo-icon {
    width: 52px;
    height: 52px;

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

    background: var(--azul-claro);

    border-radius: 12px;

    font-size: 26px;

    margin-bottom: 18px;
}

.modulo h3 {
    font-size: 20px;

    margin-bottom: 8px;
}

.modulo p {
    color: var(--texto-secundario);

    font-size: 14px;

    margin-bottom: 20px;
}

.modulo strong {
    color: var(--azul);

    font-size: 14px;

    margin-top: auto;
}


/* =========================================
   BADBEAR.MED FIJA
========================================= */

.fija {
    max-width: 1180px;

    margin: 80px auto 0;

    padding: 30px;

    display: flex;

    align-items: center;

    gap: 25px;

    background:
        linear-gradient(
            135deg,
            #172554,
            #1e3a8a
        );

    border-radius: 20px;

    color: white;
}

.fija-icon {
    font-size: 44px;
}

.fija h3 {
    font-size: 21px;

    margin-bottom: 5px;
}

.fija p {
    color: #cbd5e1;
}


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

footer {
    padding: 45px 20px;

    text-align: center;

    background: #020617;

    color: white;
}

footer strong {
    font-size: 20px;
}

footer span {
    color: #60a5fa;
}

footer p {
    color: #94a3b8;

    font-size: 13px;

    margin-top: 7px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 950px) {

    .hero-container {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-curso p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-botones {
        justify-content: center;
    }

    .hero-icon {
        display: none;
    }

    .modulos {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =========================================
   CELULAR
========================================= */

@media (max-width: 650px) {

    .header {
        height: auto;

        min-height: 65px;

        padding: 12px 20px;
    }

    .menu a:not(.volver) {
        display: none;
    }

    .hero-curso {
        padding: 65px 20px;
    }

    .hero-curso h1 {
        font-size: 43px;
    }

    .hero-curso p {
        font-size: 16px;
    }

    .contenido {
        padding: 65px 20px;
    }

    .modulos {
        grid-template-columns: 1fr;
    }

    .fija {
        flex-direction: column;

        text-align: center;
    }

}