/* =====================================================
   PSICOKHUYAY — PLANES
===================================================== */

:root {

    --plans-dark: #23463D;
    --plans-green: #58AFA4;
    --plans-green-dark: #2E8068;

    --plans-orange: #E9A077;

    --plans-blue: #67B8C2;

    --plans-cream: #FCFBF7;

    --plans-text: #465650;

}


/* =====================================================
   CONTENEDOR PRINCIPAL
===================================================== */

.plans-page {

    position: relative;

    padding: 55px 0 70px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(88,189,183,.05),
            transparent 30%
        ),
        #FCFCFA;

}


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

.plans-header {

    position: relative;

    min-height: 125px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 25px;

    margin-bottom: 35px;

    padding: 25px 80px;

    border-radius: 35px;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(88,189,183,.16),
            rgba(88,189,183,.08),
            rgba(88,189,183,.16)
        );

}


/* ACUARELA HEADER */

.plans-header::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            ellipse at center,
            rgba(88,189,183,.18),
            transparent 70%
        );

    pointer-events: none;

}


/* ICONO COMPUTADORA */

.plans-header-icon {

    position: relative;

    z-index: 2;

    width: 75px;

    height: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--plans-dark);

    font-size: 43px;

}


/* CONTENIDO */

.plans-header-content {

    position: relative;

    z-index: 2;

    text-align: center;

}


.plans-header-content h1 {

    margin: 0;

    color: var(--plans-dark);

    font-size: 32px;

    font-weight: 600;

    letter-spacing: .5px;

}


.plans-header-content span {

    display: block;

    margin-top: 5px;

    color: var(--plans-dark);

    font-size: 20px;

    letter-spacing: 6px;

}


/* GLOBO */

.plans-header-globe {

    position: relative;

    z-index: 2;

    width: 70px;

    font-size: 47px;

    color: var(--plans-dark);

}


/* HOJAS */

.plans-header-decoration {

    position: absolute;

    color: rgba(46,128,104,.28);

    font-size: 48px;

}


.plans-header-decoration.left {

    left: 25px;

    top: 10px;

    transform: rotate(-25deg);

}


.plans-header-decoration.right {

    right: 20px;

    top: 5px;

    transform: rotate(20deg);

}


/* =====================================================
   GRID DE PLANES
===================================================== */

.plans-grid {

    display: grid;

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

    gap: 22px;

}


/* =====================================================
   CARD
===================================================== */

.plan-card {

    position: relative;

    min-height: 560px;

    padding: 27px 32px 32px;

    overflow: hidden;

    border-radius: 25px;

    background: #fff;

    border: 1px solid rgba(60,100,90,.12);

    box-shadow:
        0 8px 25px rgba(35,70,61,.04);

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.plan-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 18px 40px rgba(35,70,61,.10);

}


/* COLORES */

.plan-card-green {

    --card-color: #58AFA4;

}


.plan-card-orange {

    --card-color: #E9A077;

}


.plan-card-blue {

    --card-color: #63B7C2;

}


/* =====================================================
   DECORACIÓN ACUARELA
===================================================== */

.plan-watercolor {

    position: absolute;

    width: 145px;

    height: 145px;

    top: 15px;

    right: 10px;

    border-radius: 50%;

    opacity: .55;

    filter: blur(.3px);

}


.plan-watercolor-green {

    background:
        radial-gradient(
            circle,
            rgba(88,175,164,.28),
            rgba(88,175,164,.08) 60%,
            transparent 72%
        );

}


.plan-watercolor-orange {

    background:
        radial-gradient(
            circle,
            rgba(233,160,119,.28),
            rgba(233,160,119,.08) 60%,
            transparent 72%
        );

}


.plan-watercolor-blue {

    background:
        radial-gradient(
            circle,
            rgba(99,183,194,.30),
            rgba(99,183,194,.08) 60%,
            transparent 72%
        );

}


/* =====================================================
   PARTE SUPERIOR CARD
===================================================== */

.plan-card-top {

    position: relative;

    z-index: 2;

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    min-height: 135px;

}


.plan-label {

    display: block;

    color: var(--card-color);

    font-size: 17px;

    font-weight: 600;

    margin-bottom: 4px;

}


.plan-card h2 {

    margin: 0;

    color: #193F36;

    font-size: 27px;

    line-height: 1.15;

    font-weight: 700;

}


/* =====================================================
   PRECIO
===================================================== */

.plan-price {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    margin-top: 13px;

    padding: 6px 17px;

    border-radius: 25px;

    background: color-mix(
        in srgb,
        var(--card-color) 15%,
        white
    );

    color: var(--card-color);

    font-size: 18px;

    font-weight: 600;

}


.plan-price strong {

    font-size: 29px;

}


/* =====================================================
   ILUSTRACIÓN
===================================================== */

.plan-illustration {

    position: relative;

    z-index: 2;

    width: 105px;

    height: 105px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: var(--card-color);

    font-size: 47px;

}


.plan-illustration::before {

    content: "";

    position: absolute;

    inset: 10px;

    border-radius: 50%;

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

    z-index: -1;

}


/* =====================================================
   SECCIONES
===================================================== */

.plan-section {

    position: relative;

    z-index: 3;

}


.plan-section h3 {

    margin: 0 0 13px;

    color: var(--card-color);

    font-size: 17px;

    font-weight: 600;

}


.plan-section ul {

    list-style: none;

    padding: 0;

    margin: 0;

}


.plan-section li {

    display: flex;

    align-items: flex-start;

    gap: 9px;

    margin-bottom: 9px;

    color: var(--plans-text);

    font-size: 13px;

    line-height: 1.4;

}


.plan-section li i {

    flex: 0 0 17px;

    width: 17px;

    height: 17px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: 1px;

    border-radius: 50%;

    background: var(--card-color);

    color: white;

    font-size: 8px;

}


/* =====================================================
   DIVISOR
===================================================== */

.plan-divider {

    position: relative;

    z-index: 3;

    height: 1px;

    margin: 20px 0;

    background:
        color-mix(
            in srgb,
            var(--card-color) 35%,
            transparent
        );

}


/* =====================================================
   BENEFICIOS
===================================================== */

.plan-section.benefits h3 {

    margin-bottom: 13px;

}


/* =====================================================
   DECORACIÓN INFERIOR
===================================================== */

.plan-bottom-decoration {

    position: absolute;

    right: 20px;

    bottom: 18px;

    color: var(--card-color);

    opacity: .25;

    font-size: 65px;

    transform: rotate(-25deg);

}


/* =====================================================
   INFORMACIÓN DE PAGO
===================================================== */

.payment-info {

    position: relative;

    display: flex;

    align-items: center;

    gap: 25px;

    min-height: 90px;

    margin-top: 28px;

    padding: 15px 45px;

    border-radius: 25px;

    background:
        linear-gradient(
            90deg,
            #F0F8F5,
            #F8FBF8
        );

    border: 1px solid rgba(88,175,164,.14);

    overflow: hidden;

}


/* ICONO */

.payment-icon {

    flex: 0 0 65px;

    width: 65px;

    height: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #58AFA4;

    color: white;

    font-size: 28px;

}


.payment-content {

    position: relative;

    z-index: 2;

    flex: 1;

}


.payment-content p {

    margin: 2px 0;

    color: #344640;

    font-size: 13px;

    line-height: 1.55;

}


.payment-content strong {

    color: #193F36;

}


/* DECORACIÓN */

.payment-decoration {

    position: absolute;

    right: 20px;

    bottom: -20px;

    width: 180px;

    height: 100px;

    border-top: 2px solid rgba(214,179,106,.75);

    border-radius: 50%;

    transform: rotate(-8deg);

}


.payment-decoration span {

    position: absolute;

    width: 5px;

    height: 5px;

    border-radius: 50%;

    background: #D6B36A;

}


.payment-decoration span:nth-child(1) {

    right: 60px;

    top: 25px;

}


.payment-decoration span:nth-child(2) {

    right: 40px;

    top: 45px;

}


.payment-decoration span:nth-child(3) {

    right: 80px;

    top: 55px;

}


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

.plans-cta {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 25px;

    padding: 20px 30px;

    border-radius: 20px;

    background: #23463D;

    color: white;

}


.plans-cta span {

    display: block;

    font-size: 13px;

    opacity: .85;

}


.plans-cta strong {

    display: block;

    margin-top: 3px;

    font-size: 18px;

}


.plans-cta a {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 13px 25px;

    border-radius: 50px;

    background: white;

    color: #23463D;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;

}


.plans-cta a:hover {

    transform: translateY(-2px);

    background: #58AFA4;

    color: white;

}


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

@media (max-width: 991px) {

    .plans-page {

        padding: 45px 0 60px;

    }


    .plans-header {

        padding: 20px 35px;

    }


    .plans-header-content h1 {

        font-size: 25px;

    }


    .plans-header-content span {

        font-size: 15px;

        letter-spacing: 4px;

    }


    .plans-header-icon {

        font-size: 35px;

    }


    .plans-header-globe {

        font-size: 35px;

    }


    .plans-grid {

        grid-template-columns: 1fr;

        max-width: 650px;

        margin: auto;

    }


    .plan-card {

        min-height: auto;

    }


    .payment-info {

        padding: 18px 25px;

    }

}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 576px) {

    .plans-page {

        padding: 30px 0 45px;

    }


    .plans-header {

        min-height: 100px;

        padding: 18px 15px;

        gap: 10px;

        border-radius: 22px;

    }


    .plans-header-decoration {

        display: none;

    }


    .plans-header-icon {

        width: 45px;

        font-size: 28px;

    }


    .plans-header-content h1 {

        font-size: 16px;

        line-height: 1.2;

    }


    .plans-header-content span {

        font-size: 10px;

        letter-spacing: 2px;

    }


    .plans-header-globe {

        width: 40px;

        font-size: 28px;

    }


    .plans-grid {

        gap: 18px;

    }


    .plan-card {

        padding: 23px 22px 30px;

        border-radius: 22px;

    }


    .plan-card-top {

        min-height: 120px;

    }


    .plan-card h2 {

        font-size: 23px;

    }


    .plan-label {

        font-size: 14px;

    }


    .plan-price {

        font-size: 15px;

        padding: 5px 13px;

    }


    .plan-price strong {

        font-size: 25px;

    }


    .plan-illustration {

        width: 80px;

        height: 80px;

        font-size: 36px;

    }


    .plan-section h3 {

        font-size: 15px;

    }


    .plan-section li {

        font-size: 12px;

    }


    .payment-info {

        flex-direction: column;

        text-align: center;

        padding: 25px 20px;

        gap: 12px;

    }


    .payment-icon {

        width: 55px;

        height: 55px;

        flex-basis: 55px;

        font-size: 22px;

    }


    .payment-content p {

        font-size: 12px;

    }


    .payment-decoration {

        display: none;

    }


    .plans-cta {

        flex-direction: column;

        text-align: center;

        gap: 15px;

        padding: 22px 18px;

    }


    .plans-cta a {

        width: 100%;

        justify-content: center;

    }

}
