/* Start custom CSS for html, class: .elementor-element-7a74f8f *//* ==========================================================
   AEROBIC & FITNESS - QUIÉNES SOMOS
   ========================================================== */

.af-about {
    --af-yellow: #f4c400;
    --af-yellow-hover: #ddb200;
    --af-black: #111111;
    --af-black-soft: #1b1b1b;
    --af-text: #3d3d3d;
    --af-grey: #6e6e6e;
    --af-light: #f7f7f7;
    --af-border: #e2e2e2;
    --af-white: #ffffff;

    width: 100%;
    color: var(--af-text);
    font-family: inherit;
    font-size: 17px;
    line-height: 1.7;
}

.af-about,
.af-about * {
    box-sizing: border-box;
}

.af-about h1,
.af-about h2,
.af-about h3,
.af-about p,
.af-about a,
.af-about span {
    font-family: inherit;
}

.af-about h1,
.af-about h2,
.af-about h3 {
    margin-top: 0;
    color: var(--af-black);
    font-weight: 800;
    line-height: 1.12;
}

.af-about p {
    margin-top: 0;
    margin-bottom: 18px;
}

.af-about a {
    text-decoration: none;
}

/* CONTENEDORES */

.af-about__container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-right: 24px;
    padding-left: 24px;
}

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

.af-about__hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background:
        linear-gradient(
            120deg,
            #111111 0%,
            #111111 62%,
            #191919 62%,
            #191919 100%
        );
}

.af-about__hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 7%;
    width: 9px;
    height: 100%;
    background: var(--af-yellow);
    transform: skewX(-12deg);
}

.af-about__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.af-about__eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 13px;
    background: var(--af-yellow);
    color: var(--af-black);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
}

.af-about__hero h1 {
    max-width: 850px;
    margin-bottom: 24px;
    color: var(--af-white);
    font-size: clamp(42px, 6vw, 72px);
    letter-spacing: -1.8px;
}

.af-about__hero-text {
    max-width: 760px;
    margin-bottom: 32px !important;
    color: #e6e6e6;
    font-size: 20px;
    line-height: 1.65;
}

.af-about__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.af-about__button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 25px;
    border: 2px solid var(--af-yellow);
    background: var(--af-yellow);
    color: var(--af-black) !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .25px;
    line-height: 1.2;
    text-transform: uppercase;
    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.af-about__button:hover {
    transform: translateY(-2px);
    border-color: var(--af-yellow-hover);
    background: var(--af-yellow-hover);
}

.af-about__button--outline {
    background: transparent;
    color: var(--af-white) !important;
}

.af-about__button--outline:hover {
    background: var(--af-yellow);
    color: var(--af-black) !important;
}

/* ==========================================================
   HISTORIA
   ========================================================== */

.af-about__history {
    padding: 80px 0;
    background: var(--af-white);
}

.af-about__history-grid {
    display: grid;
    grid-template-columns: .75fr 1.6fr;
    gap: 65px;
    align-items: center;
}

.af-about__year {
    position: relative;
    overflow: hidden;
    padding: 45px 35px;
    background: var(--af-yellow);
    color: var(--af-black);
}

.af-about__year-small {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.af-about__year-number {
    display: block;
    font-size: clamp(70px, 9vw, 110px);
    font-weight: 900;
    letter-spacing: -6px;
    line-height: .95;
}

.af-about__year-text {
    display: block;
    margin-top: 18px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.af-about__section-label {
    display: block;
    margin-bottom: 10px;
    color: var(--af-grey);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.af-about__history-copy h2 {
    max-width: 700px;
    margin-bottom: 22px;
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -.8px;
}

.af-about__history-copy p {
    max-width: 760px;
    font-size: 18px;
}

/* ==========================================================
   DATOS
   ========================================================== */

.af-about__facts {
    padding: 0 0 80px;
    background: var(--af-white);
}

.af-about__facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--af-border);
    border-bottom: 1px solid var(--af-border);
}

.af-about__fact {
    padding: 30px;
    border-right: 1px solid var(--af-border);
}

.af-about__fact:last-child {
    border-right: 0;
}

.af-about__fact-value {
    display: block;
    margin-bottom: 5px;
    color: var(--af-black);
    font-size: 30px;
    font-weight: 900;
    line-height: 1.1;
}

.af-about__fact-label {
    color: var(--af-grey);
    font-size: 15px;
    line-height: 1.5;
}

/* ==========================================================
   ESPECIALIDADES
   ========================================================== */

.af-about__specialties {
    padding: 80px 0;
    background: var(--af-light);
}

.af-about__section-head {
    max-width: 780px;
    margin-bottom: 42px;
}

.af-about__section-head h2 {
    margin-bottom: 15px;
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -.8px;
}

.af-about__section-head p {
    margin-bottom: 0;
    color: var(--af-grey);
    font-size: 18px;
}

.af-about__specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.af-about__specialty {
    position: relative;
    min-height: 265px;
    padding: 31px 27px;
    border: 1px solid var(--af-border);
    background: var(--af-white);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.af-about__specialty::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 70px;
    height: 5px;
    background: var(--af-yellow);
}

.af-about__specialty:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,.08);
}

.af-about__specialty-number {
    display: block;
    margin-bottom: 24px;
    color: #c9c9c9;
    font-size: 14px;
    font-weight: 800;
}

.af-about__specialty h3 {
    margin-bottom: 13px;
    font-size: 23px;
}

.af-about__specialty p {
    margin-bottom: 24px;
    color: var(--af-grey);
    font-size: 15px;
    line-height: 1.65;
}

.af-about__specialty-link {
    position: absolute;
    bottom: 26px;
    left: 27px;
    color: var(--af-black) !important;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.af-about__specialty-link::after {
    content: " →";
    color: var(--af-yellow-hover);
}

/* ==========================================================
   PROFESIONAL / HOME
   ========================================================== */

.af-about__audiences {
    padding: 80px 0;
    background: var(--af-white);
}

.af-about__audiences-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.af-about__audience {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    padding: 45px;
}

.af-about__audience--professional {
    background: var(--af-black);
}

.af-about__audience--home {
    background: var(--af-yellow);
}

.af-about__audience-tag {
    display: inline-block;
    margin-bottom: 55px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.af-about__audience--professional .af-about__audience-tag {
    color: var(--af-yellow);
}

.af-about__audience--home .af-about__audience-tag {
    color: var(--af-black);
}

.af-about__audience h2 {
    max-width: 470px;
    margin-bottom: 18px;
    font-size: clamp(31px, 4vw, 44px);
}

.af-about__audience--professional h2 {
    color: var(--af-white);
}

.af-about__audience--professional p {
    color: #d5d5d5;
}

.af-about__audience--home p {
    color: #272727;
}

.af-about__audience p {
    max-width: 520px;
    margin-bottom: 28px;
    font-size: 17px;
}

.af-about__audience-link {
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 2px solid;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.af-about__audience--professional .af-about__audience-link {
    border-color: var(--af-yellow);
    color: var(--af-white) !important;
}

.af-about__audience--home .af-about__audience-link {
    border-color: var(--af-black);
    color: var(--af-black) !important;
}

/* ==========================================================
   CÓMO TRABAJAMOS
   ========================================================== */

.af-about__method {
    padding: 80px 0;
    background: var(--af-black);
}

.af-about__method .af-about__section-label {
    color: var(--af-yellow);
}

.af-about__method .af-about__section-head h2 {
    color: var(--af-white);
}

.af-about__method .af-about__section-head p {
    color: #cfcfcf;
}

.af-about__method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #393939;
}

.af-about__method-card {
    padding: 32px;
    background: var(--af-black-soft);
}

.af-about__method-number {
    display: block;
    margin-bottom: 25px;
    color: var(--af-yellow);
    font-size: 14px;
    font-weight: 900;
}

.af-about__method-card h3 {
    margin-bottom: 12px;
    color: var(--af-white);
    font-size: 23px;
}

.af-about__method-card p {
    margin-bottom: 0;
    color: #c9c9c9;
    font-size: 15px;
}

/* ==========================================================
   PROYECTOS
   ========================================================== */

.af-about__projects {
    padding: 80px 0;
    background: var(--af-white);
}

.af-about__projects-box {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
    padding: 45px;
    border-left: 7px solid var(--af-yellow);
    background: var(--af-light);
}

.af-about__projects-copy {
    max-width: 720px;
}

.af-about__projects-copy h2 {
    margin-bottom: 12px;
    font-size: clamp(29px, 4vw, 42px);
}

.af-about__projects-copy p {
    margin-bottom: 0;
    color: var(--af-grey);
}

/* ==========================================================
   CTA FINAL
   ========================================================== */

.af-about__final {
    padding: 70px 0;
    background: var(--af-yellow);
}

.af-about__final-inner {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.af-about__final-copy {
    max-width: 760px;
}

.af-about__final h2 {
    margin-bottom: 10px;
    font-size: clamp(32px, 4vw, 48px);
}

.af-about__final p {
    margin-bottom: 0;
    color: #303030;
    font-size: 18px;
}

.af-about__final .af-about__button {
    flex: 0 0 auto;
    border-color: var(--af-black);
    background: var(--af-black);
    color: var(--af-white) !important;
}

.af-about__final .af-about__button:hover {
    background: #2a2a2a;
}

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

@media (max-width: 991px) {

    .af-about__history-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .af-about__year {
        max-width: 500px;
    }

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

    .af-about__method-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 767px) {

    .af-about {
        font-size: 16px;
    }

    .af-about__container {
        padding-right: 17px;
        padding-left: 17px;
    }

    .af-about__hero {
        padding: 55px 0;
    }

    .af-about__hero::after {
        right: 10px;
        width: 6px;
    }

    .af-about__hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .af-about__hero-text {
        font-size: 18px;
    }

    .af-about__buttons {
        flex-direction: column;
    }

    .af-about__button {
        width: 100%;
    }

    .af-about__history,
    .af-about__specialties,
    .af-about__audiences,
    .af-about__method,
    .af-about__projects {
        padding: 55px 0;
    }

    .af-about__facts {
        padding-bottom: 55px;
    }

    .af-about__facts-grid {
        grid-template-columns: 1fr;
    }

    .af-about__fact {
        border-right: 0;
        border-bottom: 1px solid var(--af-border);
    }

    .af-about__fact:last-child {
        border-bottom: 0;
    }

    .af-about__specialties-grid,
    .af-about__audiences-grid {
        grid-template-columns: 1fr;
    }

    .af-about__specialty {
        min-height: 250px;
    }

    .af-about__audience {
        min-height: auto;
        padding: 35px 25px;
    }

    .af-about__audience-tag {
        margin-bottom: 35px;
    }

    .af-about__projects-box,
    .af-about__final-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .af-about__final {
        padding: 55px 0;
    }

    .af-about__final .af-about__button {
        width: 100%;
    }

}

/* ==========================================================
   QUIÉNES SOMOS - AJUSTES DE PÁGINA CMS
   Solo afecta a la página que contiene .af-about
   ========================================================== */

/* Quitar el título automático "¿Quiénes somos?" */

body#cms:has(.af-about) .page-header {
    display: none !important;
}


/* Quitar espacios que deja la cabecera al desaparecer */

body#cms:has(.af-about) .page-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* Hacer que el contenido de nuestra landing aproveche
   prácticamente todo el ancho de la web */

body#cms:has(.af-about) .af-about {
    width: calc(100vw - 40px);
    max-width: 1500px;
    margin-left: 50%;
    transform: translateX(-50%);
}


/* El contenido interno puede ser bastante más ancho
   que los 1180px originales */

body#cms:has(.af-about) .af-about__container {
    max-width: 1400px;
    padding-left: 35px;
    padding-right: 35px;
}


/* Tablet */

@media (max-width: 991px) {

    body#cms:has(.af-about) .af-about {
        width: calc(100vw - 30px);
    }

    body#cms:has(.af-about) .af-about__container {
        padding-left: 25px;
        padding-right: 25px;
    }

}


/* Móvil */

@media (max-width: 767px) {

    body#cms:has(.af-about) .af-about {
        width: 100vw;
    }

    body#cms:has(.af-about) .af-about__container {
        padding-left: 18px;
        padding-right: 18px;
    }

}/* End custom CSS */