/* =========================================================
   RFEK - Landing page
   Bootstrap 5 + CSS propio
   ========================================================= */

:root {
    --navy: #071a43;
    --text: #26375d;
    --blue: #0876f9;
    --blue-soft: #eaf3ff;
    --green: #0b9b5b;
    --green-soft: #e8f7ef;
    --orange: #e77a25;
    --orange-soft: #fff1e5;
    --teal: #0f9d9a;
    --teal-soft: #e6f7f6;
    --border: #e4e9f2;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background:
        radial-gradient(circle at 50% -10%, #fff 0, #f8faff 42%, #f2f5fb 100%);
}

.page-wrapper {
    min-height: 100vh;
}

/* HEADER */

.header-row {
    min-height: 175px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand-left,
.brand-right {
    flex: 0 0 260px;
    display: flex;
    align-items: center;
}

.brand-right {
    justify-content: flex-end;
    gap: 18px;
}

.logo-rfek {
    max-width: 260px;
    max-height: 145px;
    width: auto;
    height: auto;
}

.logo-scoring {
    max-width: 105px;
    max-height: 115px;
}

.logo-karate-scoring {
    max-width: 125px;
    max-height: 115px;
}

.header-title {
    flex: 1;
}

.header-title h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.7px;
}

.header-title p {
    margin: 8px 0 0;
    color: #65718e;
    font-size: 1.15rem;
}

.title-line {
    width: 85px;
    height: 3px;
    margin: 22px auto 10px;
    border-radius: 10px;
    background: var(--bs-red);
}

/* ACCESO */

.access-section {
    padding: 8px 0 35px;
}

.section-title {
    margin: 0 0 24px;
    text-align: center;
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 700;
}

.access-card {
    height: 100%;
    min-height: 200px;
    padding: 32px 28px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(30, 54, 95, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.access-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(30, 54, 95, .13);
}

.access-icon {
    width: 92px;
    height: 92px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.access-icon img {
    width: 55px;
    height: 55px;
}

.access-card h3 {
    margin: 0 0 9px;
    font-size: 1.35rem;
    font-weight: 700;
}

.access-card p {
    max-width: 300px;
    min-height: 24px;
    margin: 0 auto 5px;
    line-height: 1.55;
    font-size: .97rem;
}

.lock-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 8px;
    color: #fff;
    font-size: 0;
    border: 2px solid #fff;
    border-radius: 2px;
    position: relative;
    vertical-align: middle;
}

.lock-icon::before {
    content: "";
    position: absolute;
    width: 7px;
    height: 6px;
    left: -1px;
    top: -7px;
    border: 2px solid #fff;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
}

.access-national {
    border-bottom: 4px solid var(--blue);
}

.access-national .access-icon {
    color: var(--blue);
    background: var(--blue-soft);
}

.access-national h3 {
    color: var(--blue);
}

.access-regional {
    border-bottom: 4px solid var(--green);
}

.access-regional .access-icon {
    color: var(--green);
    background: var(--green-soft);
}

.access-regional h3 {
    color: var(--green);
}

.access-clubs {
    border-bottom: 4px solid var(--orange);
}

.access-clubs .access-icon {
    color: var(--orange);
    background: var(--orange-soft);
}

.access-clubs h3 {
    color: var(--orange);
}

.access-clubs 
/* BOTÓN COMÚN A LOS TRES TIPOS DE ACCESO */

.common-login {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.common-login-button {
    min-width: 260px;
    margin-top: 15px;
    padding: 11px 26px;
    color: #fff;
    background: var(--navy);
    border: 0;
    border-radius: 7px;
    font-size: .95rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(7, 26, 67, .18);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.common-login-button:hover {
    color: #fff;
    background: #102b63;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(7, 26, 67, .24);
}

.lock-icon {
    display: inline-block;
    width: 11px;
    height: 10px;
    margin-right: 9px;
    position: relative;
    vertical-align: -1px;
    border: 2px solid currentColor;
    border-radius: 2px;
}

.lock-icon::before {
    content: "";
    position: absolute;
    width: 7px;
    height: 6px;
    left: 0;
    top: -8px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
}

/* ACCESOS RÁPIDOS */

.quick-section {
    margin: 0 0 25px;
    padding: 18px 20px 22px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(30, 54, 95, .07);
}

.quick-column {
    padding: 5px 18px;
}

.quick-column + .quick-column {
    border-left: 1px solid #e2e7ef;
}

.quick-item {
    min-height: 100px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.quick-icon {
    flex: 0 0 78px;
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.quick-icon img {
    width: 46px;
    height: 46px;
}

.quick-blue {
    color: var(--blue);
    background: var(--blue-soft);
}

.quick-teal {
    color: var(--orange);
    background: var(--orange-soft);
}

.quick-green {
    color: var(--green);
    background: var(--green-soft);
}

.quick-gray {
    color: var(--gray);
    background: var(--bs-gray-200);
}

.quick-content {
    flex: 1;
}

.quick-content h3 {
    margin: 2px 0 7px;
    color: var(--navy);
    font-size: 1rem;
    font-weight: 700;
}

.quick-content p {
    min-height: 48px;
    margin: 0 0 13px;
    color: #586682;
    line-height: 1.5;
    font-size: .88rem;
}

.quick-content .btn {
    padding: 6px 12px;
    border-radius: 5px;
    font-size: .84rem;
    font-weight: 600;
}

.btn-outline-teal {
    color: var(--orange);
    border: 1px solid var(--orange);
}

.btn-outline-teal:hover {
    color: #fff;
    background: var(--orange);
    border-color: var(--orange);
}

.external-icon {
    margin-left: 4px;
}

/* LEGAL */

.legal-section {
    padding: 0 20px 20px;
    text-align: center;
    color: #65718b;
    font-size: .76rem;
    font-style: italic;
    line-height: 1.5;
}

.legal-section p {
    margin: 2px 0;
}

/* FOOTER */

.site-footer {
    min-height: 105px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #e8e9ed;
    text-align: center;
}

.logo-talent {
    max-width: 145px;
    max-height: 60px;
    margin-bottom: 6px;
}

.site-footer p {
    margin: 0;
    color: #53617d;
    font-size: .75rem;
    font-style: italic;
}

/* RESPONSIVE */

@media (max-width: 991.98px) {
    .header-row {
        min-height: auto;
        padding: 20px 0;
        flex-wrap: wrap;
    }

    .brand-left,
    .brand-right {
        flex: 1 1 50%;
    }

    .header-title {
        order: 3;
        flex-basis: 100%;
    }

    .brand-right {
        justify-content: flex-end;
    }

    .quick-column + .quick-column {
        border-left: 0;
        border-top: 1px solid #e2e7ef;
        padding-top: 20px;
        margin-top: 10px;
    }


    .common-login-button {
        width: 100%;
        max-width: 320px;
    }

    .quick-item {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .header-row {
        text-align: center;
    }

    .brand-left,
    .brand-right {
        flex: 0 0 100%;
        justify-content: center;
    }

    .logo-rfek {
        max-width: 210px;
    }

    .brand-right {
        gap: 10px;
    }

    .logo-scoring {
        max-width: 80px;
    }

    .logo-karate-scoring {
        max-width: 95px;
    }

    .header-title h1 {
        font-size: 1.65rem;
    }

    .header-title p {
        font-size: 1rem;
    }

    .access-card {
        min-height: 300px;
    }

    .quick-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .quick-content {
        width: 100%;
    }

    .quick-content p {
        min-height: auto;
    }
}
