/* =========================================================
   AMERICAN KENPO ACADEMIES
   PLATAFORMA DE GESTIÓN
   ========================================================= */

* {
    box-sizing: border-box;
}

:root {
    --aka-red: #c90000;
    --aka-red-dark: #a90000;
    --aka-red-soft: #fff1f1;

    --aka-black: #101114;
    --aka-dark: #1b1d22;

    --aka-white: #ffffff;
    --aka-bg: #f5f5f6;
    --aka-grey: #747983;
    --aka-light: #e7e8eb;
    --aka-soft: #eeeeef;

    --aka-text: #17181c;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--aka-bg);
    color: var(--aka-text);
}

a {
    color: inherit;
}


/* =========================================================
   LOGIN
   ========================================================= */

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 25px;
    background:
        radial-gradient(circle at 80% 20%, #303238 0, transparent 35%),
        linear-gradient(135deg, #090a0c, #1b1d22);
}

.login-card {
    width: min(420px, 92vw);
    background: #ffffff;
    padding: 36px;
    border-radius: 18px;
    border-top: 5px solid var(--aka-red);
    box-shadow: 0 25px 65px rgba(0, 0, 0, .30);
}

.brand {
    color: var(--aka-red);
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 4px;
}

.muted {
    color: var(--aka-grey);
}

label {
    display: block;
    margin: 16px 0 6px;
    font-weight: 700;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cfd1d5;
    border-radius: 8px;
    font-size: 16px;
}

input:focus {
    outline: none;
    border-color: var(--aka-red);
    box-shadow: 0 0 0 3px rgba(201, 0, 0, .10);
}

button {
    width: 100%;
    margin-top: 20px;
    padding: 13px;
    border: 0;
    border-radius: 8px;
    background: var(--aka-black);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    background: var(--aka-red);
}

.alert {
    margin: 12px 0;
    padding: 10px;
    background: #fff3cd;
    border-radius: 8px;
}


/* =========================================================
   CABECERA AKA
   ========================================================= */

.aka-main-header {
    position: relative;
    z-index: 10;
    background: #ffffff;
    box-shadow: 0 3px 18px rgba(17, 18, 22, .05);
}

.aka-header-content {
    width: min(1320px, 94%);
    min-height: 92px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 270px 1fr 220px;
    align-items: center;
    gap: 30px;
}

.aka-main-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}

.aka-main-brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.aka-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.aka-brand-text strong {
    font-size: 15px;
    letter-spacing: 1.2px;
}

.aka-brand-text span {
    margin-top: 5px;
    color: var(--aka-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
}

.aka-main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.aka-main-nav a,
.aka-main-nav span {
    position: relative;
    padding: 36px 0 32px;
    color: #565a62;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.aka-main-nav a:hover {
    color: var(--aka-red);
}

.aka-main-nav .active {
    color: var(--aka-black);
}

.aka-main-nav .active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 23px;
    height: 3px;
    background: var(--aka-red);
}

.aka-account {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
}

.aka-account > div {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.aka-account strong {
    font-size: 13px;
}

.aka-account span {
    margin-top: 3px;
    color: var(--aka-grey);
    font-size: 11px;
}

.aka-account > a {
    padding: 9px 15px;
    border: 1px solid var(--aka-light);
    border-radius: 7px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.aka-account > a:hover {
    border-color: var(--aka-red);
    color: var(--aka-red);
}

.aka-red-line {
    height: 4px;
    background:
        linear-gradient(
            90deg,
            var(--aka-red) 0%,
            var(--aka-red) 28%,
            #1a1b1f 28%,
            #1a1b1f 100%
        );
}


/* =========================================================
   PORTADA
   ========================================================= */

.aka-home {
    width: min(1320px, 94%);
    margin: 0 auto;
    padding: 38px 0 60px;
}


/* HERO */

.aka-hero {
    position: relative;
    min-height: 330px;
    overflow: hidden;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            110deg,
            #111216 0%,
            #1b1d22 63%,
            #25272d 100%
        );

    border-radius: 3px 3px 24px 3px;
    box-shadow: 0 18px 45px rgba(15, 16, 19, .14);
}

.aka-hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 7px;
    background: var(--aka-red);
}

.aka-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -180px;

    width: 470px;
    height: 470px;

    border: 70px solid rgba(201, 0, 0, .15);
    transform: rotate(25deg);
}

.aka-hero-content {
    position: relative;
    z-index: 2;
    width: 64%;
    padding: 52px 60px;
}

.aka-eyebrow {
    display: block;
    margin-bottom: 14px;

    color: #ff4b4b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2.4px;
}

.aka-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(37px, 5vw, 62px);
    line-height: .98;
    letter-spacing: -2.4px;
}

.aka-hero h1 span {
    display: block;
    margin-top: 10px;
    color: #bfc1c6;
    font-size: .55em;
    font-weight: 500;
    letter-spacing: -.5px;
}

.aka-hero p {
    max-width: 570px;
    margin: 23px 0 0;
    color: #b7bac1;
    font-size: 15px;
    line-height: 1.65;
}

.aka-primary-button {
    display: inline-flex;
    align-items: center;
    gap: 30px;

    margin-top: 28px;
    padding: 13px 19px;

    background: var(--aka-red);
    border-radius: 5px;

    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;

    transition: .2s ease;
}

.aka-primary-button:hover {
    background: #e00000;
    transform: translateX(3px);
}

.aka-primary-button span {
    font-size: 18px;
}

.aka-hero-mark {
    position: absolute;
    z-index: 1;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);

    width: 270px;
    height: 270px;

    display: grid;
    place-items: center;

    opacity: .13;
}

.aka-hero-mark img {
    max-width: 100%;
    max-height: 100%;
}


/* =========================================================
   ÁREAS
   ========================================================= */

.aka-home-content {
    padding: 58px 0 25px;
}

.aka-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 25px;
}

.aka-section-heading > div > span {
    color: var(--aka-red);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.aka-section-heading h2 {
    margin: 7px 0 0;
    font-size: 30px;
    letter-spacing: -.8px;
}

.aka-section-heading p {
    max-width: 350px;
    margin: 0;
    color: var(--aka-grey);
    font-size: 13px;
}

.aka-areas {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 22px;
}


/* CLUBES PRINCIPAL */

.aka-area-main {
    position: relative;
    min-height: 350px;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 32px;

    background: #ffffff;
    border: 1px solid var(--aka-light);
    border-radius: 3px 18px 3px 18px;

    color: inherit;
    text-decoration: none;

    box-shadow: 0 8px 28px rgba(20, 21, 25, .05);
    transition: .25s ease;
}

.aka-area-main:hover {
    transform: translateY(-4px);
    border-color: #d7a9a9;
    box-shadow: 0 16px 38px rgba(20, 21, 25, .09);
}

.aka-area-main::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 7px;
    height: 100%;
    background: var(--aka-red);
}

.aka-area-number {
    color: #c7c9ce;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
}

.aka-area-main-content {
    position: relative;
    z-index: 2;
    max-width: 440px;
}

.aka-area-label {
    color: var(--aka-red);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.aka-area-main h3 {
    margin: 7px 0 10px;
    font-size: 40px;
    letter-spacing: -1.5px;
}

.aka-area-main p {
    margin: 0;
    color: var(--aka-grey);
    font-size: 14px;
    line-height: 1.6;
}

.aka-area-action {
    display: inline-flex;
    align-items: center;
    gap: 20px;

    margin-top: 28px;

    color: var(--aka-black);
    font-size: 12px;
    font-weight: 900;
}

.aka-area-action b {
    color: var(--aka-red);
    font-size: 20px;
}

.aka-area-decoration {
    position: absolute;
    right: -10px;
    bottom: -30px;

    color: #f0f0f1;
    font-size: 150px;
    font-weight: 900;
    letter-spacing: -15px;

    user-select: none;
}


/* SECUNDARIAS */

.aka-secondary-areas {
    display: grid;
    gap: 13px;
}

.aka-area-small {
    position: relative;
    min-height: 108px;

    display: grid;
    grid-template-columns: 45px 1fr auto;
    align-items: center;
    gap: 17px;

    padding: 20px 23px;

    background: #ffffff;
    border: 1px solid var(--aka-light);
    border-radius: 3px 14px 3px 14px;

    box-shadow: 0 5px 20px rgba(20, 21, 25, .035);
}

.aka-area-small::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 3px;
    background: #d5d6d9;
}

.aka-small-number {
    color: #b9bcc2;
    font-size: 11px;
    font-weight: 900;
}

.aka-area-small h3 {
    margin: 4px 0 5px;
    font-size: 20px;
}

.aka-area-small p {
    margin: 0;
    color: var(--aka-grey);
    font-size: 12px;
}

.aka-coming {
    padding: 6px 9px;
    background: #f3f3f4;
    border-radius: 4px;
    color: #989ba2;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}


/* =========================================================
   ESTADO
   ========================================================= */

.aka-status {
    margin-top: 28px;
    padding: 18px 22px;

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

    background: #ffffff;
    border: 1px solid var(--aka-light);
    border-radius: 8px;
}

.aka-status-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.aka-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2ca45c;
    box-shadow: 0 0 0 5px rgba(44, 164, 92, .10);
}

.aka-status-title > div {
    display: flex;
    flex-direction: column;
}

.aka-status-title strong {
    font-size: 12px;
}

.aka-status-title span {
    margin-top: 2px;
    color: var(--aka-grey);
    font-size: 10px;
}

.aka-status-user {
    color: var(--aka-grey);
    font-size: 11px;
}

.aka-status-user strong {
    color: var(--aka-black);
}


/* =========================================================
   CLUBES - CONSERVAMOS LA PANTALLA ACTUAL
   ========================================================= */

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 45px 0 65px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 32px;
}

.page-header h1 {
    margin: 0 0 8px;
    font-size: 36px;
}

.page-header p {
    margin: 0;
    color: var(--aka-grey);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 17px;
    background: #ffffff;
    border: 1px solid var(--aka-light);
    border-radius: 7px;
    color: var(--aka-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.btn-secondary:hover {
    border-color: var(--aka-red);
    color: var(--aka-red);
}

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

.club-card {
    position: relative;
    overflow: hidden;

    padding: 25px;

    background: #ffffff;
    border: 1px solid var(--aka-light);
    border-radius: 4px 15px 4px 15px;

    text-align: center;

    box-shadow: 0 7px 24px rgba(22, 27, 35, .05);
    transition: .2s ease;
}

.club-card:hover {
    transform: translateY(-3px);
    border-color: #d9b1b1;
    box-shadow: 0 12px 30px rgba(22, 27, 35, .09);
}

.club-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: var(--aka-red);
}

.club-logo {
    height: 185px;

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

    margin-bottom: 18px;
}

.club-logo img {
    display: block;
    max-width: 100%;
    max-height: 175px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.club-card h2 {
    margin: 0;
    font-size: 19px;
}


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

.aka-main-footer {
    width: min(1320px, 94%);
    margin: 0 auto;
    padding: 22px 0 30px;

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

    border-top: 1px solid #dedfe2;

    color: #92959c;
    font-size: 10px;
}

.aka-main-footer > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.aka-main-footer strong {
    color: var(--aka-red);
    letter-spacing: 1px;
}


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

@media (max-width: 1050px) {

    .aka-header-content {
        grid-template-columns: 220px 1fr 150px;
    }

    .aka-main-nav {
        gap: 18px;
    }

    .aka-brand-text {
        display: none;
    }
}

@media (max-width: 850px) {

    .aka-header-content {
        display: flex;
        justify-content: space-between;
    }

    .aka-main-nav {
        display: none;
    }

    .aka-hero-content {
        width: 85%;
        padding: 45px 35px;
    }

    .aka-hero-mark {
        right: -40px;
    }

    .aka-areas {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 600px) {

    .aka-account > div {
        display: none;
    }

    .aka-main-brand img {
        width: 52px;
        height: 52px;
    }

    .aka-home {
        padding-top: 20px;
    }

    .aka-hero {
        min-height: 390px;
    }

    .aka-hero-content {
        width: 100%;
        padding: 40px 27px;
    }

    .aka-hero h1 {
        font-size: 42px;
    }

    .aka-hero-mark {
        opacity: .07;
    }

    .aka-section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .aka-area-small {
        grid-template-columns: 30px 1fr;
    }

    .aka-coming {
        display: none;
    }

    .aka-status {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .aka-main-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
/* =========================================================
   CLUBES AKA · NUEVO DISEÑO
   ========================================================= */

.clubs-page {
    width: min(1320px, 94%);
    margin: 0 auto;
    padding: 52px 0 65px;
}


/* CABECERA DE CLUBES */

.clubs-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 38px;
}

.clubs-intro > div:first-child {
    max-width: 680px;
}

.clubs-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--aka-red);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.2px;
}

.clubs-intro h1 {
    margin: 0;
    color: var(--aka-black);
    font-size: clamp(40px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -2px;
}

.clubs-intro p {
    max-width: 620px;
    margin: 16px 0 0;
    color: var(--aka-grey);
    font-size: 14px;
    line-height: 1.65;
}

.clubs-count {
    min-width: 175px;
    padding: 17px 21px;
    background: var(--aka-black);
    border-left: 5px solid var(--aka-red);
    border-radius: 2px 10px 2px 10px;
    color: #ffffff;
}

.clubs-count strong {
    display: block;
    font-size: 27px;
    line-height: 1;
}

.clubs-count span {
    display: block;
    margin-top: 6px;
    color: #aeb0b5;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
}


/* =========================================================
   LISTADO DE CLUBES
   ========================================================= */

.clubs-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}


/* CADA CLUB */

.club-feature {
    position: relative;
    min-height: 245px;
    overflow: hidden;

    display: grid;
    grid-template-columns: 42px 185px 1fr;
    align-items: center;
    gap: 20px;

    padding: 27px 28px;

    background: #ffffff;
    border: 1px solid #e2e3e6;
    border-radius: 3px 16px 3px 16px;

    box-shadow: 0 7px 25px rgba(18, 19, 23, .045);

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

.club-feature::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;

    width: 5px;

    background: var(--aka-red);

    transform: scaleY(.30);
    transform-origin: center;

    transition: transform .22s ease;
}

.club-feature:hover {
    transform: translateY(-4px);
    border-color: #d8b1b1;
    box-shadow: 0 15px 38px rgba(18, 19, 23, .09);
}

.club-feature:hover::before {
    transform: scaleY(1);
}


/* NÚMERO */

.club-feature-number {
    align-self: start;
    padding-top: 5px;

    color: #c5c7cb;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}


/* LOGO */

.club-feature-logo {
    height: 175px;

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

    padding: 10px;

    background: #fafafa;
    border-radius: 4px 13px 4px 13px;
}

.club-feature-logo img {
    display: block;

    max-width: 100%;
    max-height: 155px;

    width: auto;
    height: auto;

    object-fit: contain;
}


/* INFORMACIÓN */

.club-feature-info {
    position: relative;
    z-index: 2;
}

.club-feature-info > span:first-child {
    display: block;

    margin-bottom: 7px;

    color: var(--aka-red);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.club-feature-info h2 {
    margin: 0;

    color: var(--aka-black);

    font-size: 23px;
    line-height: 1.12;
    letter-spacing: -.5px;
}

.club-feature-info p {
    margin: 9px 0 0;

    color: var(--aka-grey);

    font-size: 11px;
}

.club-feature-action {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    margin-top: 24px;

    color: var(--aka-black);

    font-size: 11px;
    font-weight: 900;
}

.club-feature-action b {
    color: var(--aka-red);
    font-size: 18px;

    transition: transform .2s ease;
}

.club-feature:hover .club-feature-action b {
    transform: translateX(5px);
}


/* =========================================================
   PRIMER CLUB
   ========================================================= */

.club-feature-hiken {
    background:
        linear-gradient(
            125deg,
            #ffffff 0%,
            #ffffff 72%,
            #fafafa 72%,
            #f4f4f5 100%
        );
}


/* =========================================================
   QUINTO CLUB
   Lo dejamos ocupando todo el ancho.
   Así rompemos la cuadrícula y la pantalla tiene más carácter.
   ========================================================= */

.club-feature-last {
    grid-column: 1 / -1;

    min-height: 220px;

    grid-template-columns: 42px 220px 1fr;

    background:
        linear-gradient(
            110deg,
            #ffffff 0%,
            #ffffff 66%,
            #f6f6f7 66%,
            #eeeeef 100%
        );
}

.club-feature-last .club-feature-logo {
    height: 160px;
}

.club-feature-last .club-feature-logo img {
    max-height: 145px;
}


/* DETALLE GRÁFICO */

.club-feature-last::after {
    content: "AKA";

    position: absolute;
    right: 35px;
    bottom: -30px;

    color: rgba(20, 21, 24, .035);

    font-size: 130px;
    font-weight: 900;
    letter-spacing: -12px;

    pointer-events: none;
}


/* =========================================================
   VOLVER
   ========================================================= */

.clubs-back {
    margin-top: 32px;
}

.clubs-back a {
    display: inline-flex;
    align-items: center;

    padding: 10px 15px;

    background: #ffffff;
    border: 1px solid #dedfe2;
    border-radius: 6px;

    color: var(--aka-black);

    text-decoration: none;
    font-size: 11px;
    font-weight: 800;

    transition: .2s ease;
}

.clubs-back a:hover {
    border-color: var(--aka-red);
    color: var(--aka-red);
}


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

@media (max-width: 1050px) {

    .clubs-showcase {
        grid-template-columns: 1fr;
    }

    .club-feature-last {
        grid-column: auto;
        grid-template-columns: 42px 185px 1fr;
    }

    .club-feature-last .club-feature-logo {
        height: 175px;
    }

    .club-feature-last .club-feature-logo img {
        max-height: 155px;
    }
}


@media (max-width: 700px) {

    .clubs-page {
        padding-top: 35px;
    }

    .clubs-intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .clubs-count {
        width: 100%;
    }

    .club-feature,
    .club-feature-last {
        min-height: auto;

        grid-template-columns: 1fr;

        padding: 25px;
    }

    .club-feature-number {
        position: absolute;
        right: 20px;
        top: 18px;
    }

    .club-feature-logo,
    .club-feature-last .club-feature-logo {
        height: 190px;
    }

    .club-feature-logo img,
    .club-feature-last .club-feature-logo img {
        max-height: 175px;
    }

    .club-feature-info h2 {
        font-size: 25px;
    }
}