body.formacion-profesional-page {
    margin: 0;
    background-color: #000;
    color: #fff;
    font-family: "Roboto", sans-serif;
}

body.formacion-profesional-page *,
body.formacion-profesional-page *::before,
body.formacion-profesional-page *::after {
    box-sizing: border-box;
}

body.formacion-profesional-page h1,
body.formacion-profesional-page h2,
body.formacion-profesional-page h3,
body.formacion-profesional-page h4 {
    font-family: "Anybody", sans-serif;
}

body.formacion-profesional-page .academy-video-footer {
    margin-top: 0;
}

.fp-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 76px;
    background:
        radial-gradient(circle at 82% 40%, rgba(24, 255, 164, 0.09), transparent 32%),
        radial-gradient(circle at 12% 12%, rgba(139, 174, 42, 0.16), transparent 34%),
        #050505;
}

.fp-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8bae2a, transparent);
}

.fp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: clamp(42px, 7vw, 110px);
}

.fp-eyebrow {
    margin-bottom: 12px;
    color: #a8ca43;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.fp-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #8bae2a;
    font-size: clamp(2.15rem, 4.5vw, 4.65rem);
    font-weight: 750;
    line-height: 0.98;
}

.fp-hero-copy > p {
    max-width: 720px;
    margin: 18px 0 0;
    color: #c9c9c9;
    font-size: 1.02rem;
    line-height: 1.65;
}

.fp-hero-copy .fp-hero-lead {
    color: #fff;
    font-size: clamp(1.08rem, 1.7vw, 1.36rem);
    font-weight: 600;
}

.fp-hero-actions,
.fp-final-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.fp-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border: 1px solid #9cbd37;
    border-radius: 999px;
    background-color: #9cbd37;
    color: #090909;
    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.fp-button:hover,
.fp-button:focus {
    background-color: #b3d64b;
    color: #000;
    transform: translateY(-1px);
}

.fp-button-outline {
    background-color: transparent;
    color: #fff;
}

.fp-button-outline:hover,
.fp-button-outline:focus {
    background-color: rgba(156, 189, 55, 0.12);
    color: #fff;
}

.fp-hero-media {
    position: relative;
    display: flex;
    min-height: 500px;
    align-items: center;
    justify-content: center;
}

.fp-px-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 190px;
    aspect-ratio: 1;
    border: 1px solid rgba(24, 255, 164, 0.35);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    transform: translate(-50%, -50%);
}

.fp-phone-pair {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
}

.fp-phone-pair img {
    display: block;
    width: min(215px, 42%);
    max-height: 500px;
    border: 1px solid #243752;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.fp-phone-pair img:last-child {
    transform: translateY(22px);
}

.fp-tracking,
.fp-levels,
.fp-why,
.fp-final-cta {
    padding: 76px 0;
}

.fp-section-heading {
    max-width: 920px;
}

.fp-section-heading-centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.fp-section-heading h2,
.fp-why h2,
.fp-final-cta h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.85rem, 3.1vw, 3.1rem);
    line-height: 1.08;
}

.fp-section-heading > p {
    margin: 18px 0 0;
    color: #bdbdbd;
    font-size: 1rem;
    line-height: 1.65;
}

.fp-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
}

.fp-benefit {
    min-height: 210px;
    padding: 26px;
    border: 1px solid #2e3519;
    border-radius: 18px;
    background-color: #0b0b0b;
}

.fp-benefit > span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #8bae2a;
    color: #000;
    font-size: 0.78rem;
    font-weight: 800;
}

.fp-benefit h3 {
    margin: 18px 0 9px;
    color: #fff;
    font-size: 1.05rem;
}

.fp-benefit p {
    margin: 0;
    color: #bdbdbd;
    font-size: 0.92rem;
    line-height: 1.55;
}

.fp-levels {
    background:
        linear-gradient(180deg, rgba(139, 174, 42, 0.045), transparent 18%),
        #030303;
}

.fp-level-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(16px, 2.2vw, 34px);
    margin-top: 44px;
}

.fp-level-card {
    display: flex;
    min-width: 0;
    min-height: 760px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #a4c52f;
    border-radius: 20px;
    background-color: #0b0b0b;
}

.fp-level-card-featured {
    border-color: #c6eb47;
    box-shadow: 0 0 34px rgba(139, 174, 42, 0.13);
}

.fp-level-header {
    min-height: 190px;
    padding: 28px 24px 24px;
    border-bottom: 1px solid #242a16;
    text-align: center;
}

.fp-level-number {
    color: #9cbd37;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.fp-level-header h3 {
    margin: 9px 0 12px;
    color: #fff;
    font-size: clamp(1.45rem, 2vw, 2rem);
    text-transform: uppercase;
}

.fp-level-header p {
    margin: 0;
    color: #ddd;
    font-size: 0.91rem;
    line-height: 1.52;
}

.fp-level-content {
    padding: 24px;
}

.fp-level-content h4 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.fp-level-content ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fp-level-content li {
    position: relative;
    padding-left: 19px;
    color: #c6c6c6;
    font-size: 0.86rem;
    line-height: 1.5;
}

.fp-level-content li::before {
    content: "";
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #9cbd37;
}

.fp-level-content strong {
    color: #fff;
}

.fp-level-note {
    margin: 18px 0 0;
    padding: 14px;
    border-left: 2px solid #9cbd37;
    background-color: #121510;
    color: #aaa;
    font-size: 0.8rem;
    line-height: 1.5;
}

.fp-level-media {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.fp-level-media-growth {
    grid-template-columns: minmax(95px, 0.55fr) minmax(0, 1.45fr);
}

.fp-level-media figure {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    margin: 0;
    border: 1px solid #293019;
    border-radius: 10px;
    background-color: #111;
}

.fp-level-media img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.fp-level-media-growth figure:first-child img {
    object-position: center top;
}

.fp-level-media-growth figure:last-child img {
    object-fit: contain;
    background-color: #fff;
}

.fp-level-media-pro img {
    height: auto;
    aspect-ratio: 1.66 / 1;
}

.fp-level-media figcaption {
    display: flex;
    min-height: 42px;
    align-items: center;
    padding: 8px 10px;
    color: #aaa;
    font-size: 0.69rem;
    line-height: 1.25;
}

body.formacion-profesional-page .fp-level-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: auto;
    padding: 24px;
    border-top: 1px solid #242a16;
    background-color: #0b0b0b;
    color: #fff;
    font-size: inherit;
    text-align: center;
}

body.formacion-profesional-page .fp-level-footer > div {
    padding: 0;
}

.fp-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #fff;
}

.fp-price strong {
    color: #a8ca43;
    font-family: "Anybody", sans-serif;
    font-size: 1.65rem;
}

.fp-price span {
    color: #a9a9a9;
    font-size: 0.76rem;
    line-height: 1.35;
}

.fp-level-footer .fp-button {
    min-width: 165px;
}

.fp-why {
    background-color: #080808;
}

.fp-why-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: clamp(42px, 8vw, 130px);
}

.fp-why-list {
    display: grid;
    gap: 0;
}

.fp-why-list article {
    padding: 22px 0;
    border-top: 1px solid #2b2b2b;
}

.fp-why-list article:last-child {
    border-bottom: 1px solid #2b2b2b;
}

.fp-why-list h3 {
    margin: 0 0 7px;
    color: #a8ca43;
    font-size: 1.05rem;
}

.fp-why-list p {
    margin: 0;
    color: #bdbdbd;
    font-size: 0.94rem;
    line-height: 1.55;
}

.fp-final-cta {
    background-color: #000;
}

.fp-final-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: clamp(28px, 4vw, 54px);
    border: 1px solid #a4c52f;
    border-radius: 22px;
    background:
        linear-gradient(110deg, rgba(139, 174, 42, 0.14), transparent 55%),
        #0b0b0b;
}

.fp-final-cta h2 {
    max-width: 720px;
}

.fp-final-actions {
    flex: 0 0 auto;
    justify-content: flex-end;
    margin-top: 0;
}

@media screen and (max-width: 1120px) {
    .fp-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
        gap: 36px;
    }

    .fp-hero-media {
        min-height: 430px;
    }

    .fp-px-logo {
        width: 150px;
    }

    .fp-phone-pair {
        gap: 70px;
    }

    .fp-level-header,
    .fp-level-content {
        padding-right: 18px;
        padding-left: 18px;
    }

    body.formacion-profesional-page .fp-level-footer {
        padding-right: 18px;
        padding-left: 18px;
    }

    .fp-level-content li {
        font-size: 0.81rem;
    }
}

@media screen and (max-width: 860px) {
    .fp-hero,
    .fp-tracking,
    .fp-levels,
    .fp-why,
    .fp-final-cta {
        padding: 52px 0;
    }

    .fp-hero-grid,
    .fp-why-grid {
        grid-template-columns: 1fr;
    }

    .fp-hero-media {
        min-height: 420px;
        margin-top: 10px;
    }

    .fp-phone-pair {
        max-width: 580px;
        margin: 0 auto;
    }

    .fp-benefits,
    .fp-level-grid {
        grid-template-columns: 1fr;
    }

    .fp-level-card {
        width: 100%;
        min-height: 0;
    }

    .fp-level-header {
        min-height: 0;
    }

    .fp-final-cta-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .fp-final-actions {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 520px) {
    .fp-hero {
        padding-top: 40px;
    }

    .fp-hero h1 {
        font-size: 2.1rem;
    }

    .fp-hero-actions,
    .fp-final-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .fp-button {
        width: 100%;
    }

    .fp-hero-media {
        min-height: 330px;
    }

    .fp-px-logo {
        width: 112px;
        border-radius: 16px;
    }

    .fp-phone-pair {
        gap: 46px;
    }

    .fp-phone-pair img {
        width: calc(50% - 23px);
        max-height: 330px;
        border-radius: 14px;
    }

    .fp-benefit,
    .fp-level-header,
    .fp-level-content {
        padding: 20px;
    }

    .fp-level-media-growth {
        grid-template-columns: 1fr;
    }

    .fp-level-media-growth figure:first-child {
        width: min(58%, 230px);
        justify-self: center;
    }

    .fp-level-media-growth figure:first-child img {
        height: auto;
        aspect-ratio: 0.564 / 1;
    }

    .fp-level-media-growth figure:last-child img {
        height: auto;
        aspect-ratio: 1.41 / 1;
    }

    body.formacion-profesional-page .fp-level-footer {
        padding: 20px;
    }

    .fp-final-cta-box {
        padding: 24px 20px;
    }
}
