/* ==========================================================
   PET WELLNESS 360
   About / Nosotros
   ========================================================== */

.pw-about {

    position: relative;

    padding: 24px 0 34px;

    background: #ffffff;

    scroll-margin-top: 106px;

}


/* ==========================================================
   CONTENEDOR
   ========================================================== */

.pw-about__container {

    width: min(
            1400px,
            calc(100% - 64px)
    );

    margin: 0 auto;

}


/* ==========================================================
   TARJETA PRINCIPAL
   ========================================================== */

.pw-about__card {

    min-height: 245px;

    display: grid;

    grid-template-columns:
        29%
        35%
        36%;

    align-items: stretch;

    background: #F2F4F7;

    border-radius: 18px;

    overflow: hidden;

}


/* ==========================================================
   IMAGEN
   ========================================================== */

.pw-about__visual {

    position: relative;

    min-height: 245px;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    overflow: hidden;

}


.pw-about__image {

    display: block;

    width: 118%;

    max-width: none;

    height: 100%;

    object-fit: cover;

    object-position: center bottom;

}


/* ==========================================================
   CONTENIDO
   ========================================================== */

.pw-about__content {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    padding: 28px 30px;

}


.pw-about__eyebrow {

    display: block;

    color: #4CAF50;

    font-family: inherit;

    font-size: .67rem;

    font-weight: 800;

    line-height: 1;

    letter-spacing: .08em;

    text-transform: uppercase;

}


.pw-about__title {

    margin: 6px 0 0;

    color: #0D2C54;

    font-size: clamp(
            1.45rem,
            2vw,
            2rem
    );

    font-weight: 800;

    line-height: 1.05;

    letter-spacing: -.025em;

}


.pw-about__description {

    max-width: 480px;

    margin: 12px 0 0;

    color: #1A1D21;

    font-size: .76rem;

    line-height: 1.45;

}


.pw-about__button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 34px;

    margin-top: 14px;

    padding: 0 18px;

    border: 1.4px solid #0D2C54;

    border-radius: 8px;

    background: transparent;

    color: #0D2C54;

    font-size: .68rem;

    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    transition:
            background-color .2s ease,
            color .2s ease,
            transform .2s ease;

}


.pw-about__button:hover {

    background: #0D2C54;

    color: #ffffff;

    transform: translateY(-1px);

}


/* ==========================================================
   INDICADORES
   ========================================================== */

.pw-about__stats {

    display: grid;

    grid-template-columns: 1fr 1fr;

    grid-template-rows: 1fr 1fr;

    padding: 26px 28px;

    border-left: 1px solid rgba(
            13,
            44,
            84,
            .10
    );

}


.pw-about__stat {

    display: flex;

    align-items: center;

    gap: 11px;

    min-width: 0;

}


.pw-about__stat:nth-child(3),
.pw-about__stat:nth-child(4) {

    border-top: 1px solid rgba(
            13,
            44,
            84,
            .10
    );

}


.pw-about__stat:nth-child(2),
.pw-about__stat:nth-child(4) {

    padding-left: 18px;

    border-left: 1px solid rgba(
            13,
            44,
            84,
            .10
    );

}


.pw-about__stat:nth-child(3),
.pw-about__stat:nth-child(4) {

    padding-top: 15px;

}


.pw-about__stat-icon {

    width: 38px;

    height: 38px;

    flex: 0 0 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1.4px solid #A8D08D;

    border-radius: 50%;

    color: #4CAF50;

}


.pw-about__stat-icon svg {

    width: 22px;

    height: 22px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.55;

    stroke-linecap: round;

    stroke-linejoin: round;

}


.pw-about__stat-copy {

    min-width: 0;

}


.pw-about__stat-value {

    display: flex;

    align-items: baseline;

    gap: 2px;

    color: #1A1D21;

    font-family: inherit;

    font-size: 1.05rem;

    font-weight: 800;

    line-height: 1;

}


.pw-about__counter {

    display: inline-block;

    min-width: 1ch;

}


.pw-about__stat-suffix {

    color: #1A1D21;

    font-size: .92rem;

    font-weight: 800;

}


.pw-about__stat-text {

    display: block;

    color: #1A1D21;

    font-size: .86rem;

    font-weight: 800;

    line-height: 1.05;

}


.pw-about__stat-label {

    display: block;

    margin-top: 4px;

    color: #1A1D21;

    font-size: .63rem;

    font-weight: 500;

    line-height: 1.2;

}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1100px) {

    .pw-about__container {

        width: min(
                960px,
                calc(100% - 40px)
        );

    }


    .pw-about__card {

        grid-template-columns:
            28%
            37%
            35%;

    }


    .pw-about__content {

        padding: 24px 22px;

    }


    .pw-about__description {

        font-size: .72rem;

    }


    .pw-about__stats {

        padding: 22px 18px;

    }


    .pw-about__stat:nth-child(2),
    .pw-about__stat:nth-child(4) {

        padding-left: 12px;

    }

}

/* ==========================================================
   TABLET VERTICAL
   ========================================================== */

@media (max-width: 900px) {

    .pw-about {

        padding: 20px 0 30px;

        scroll-margin-top: 106px;

    }


    .pw-about__container {

        width: min(
                680px,
                calc(100% - 32px)
        );

    }


    .pw-about__card {

        display: flex;

        flex-direction: column;

        min-height: 0;

    }


    /* ======================================================
       IMAGEN ABOUT
       ====================================================== */

    .pw-about__visual {

        position: relative;

        width: 100%;

        min-height: 0;

        height: auto;

        aspect-ratio: 1195 / 896;

        display: block;

        overflow: hidden;

    }


    .pw-about__image {

        display: block;

        width: 100% !important;

        height: 100% !important;

        max-width: none !important;

        max-height: none !important;

        min-width: 0 !important;

        min-height: 0 !important;

        object-fit: contain !important;

        object-position: center center !important;

        margin: 0;

    }


    /* ======================================================
       CONTENIDO
       ====================================================== */

    .pw-about__content {

        padding: 28px 28px 24px;

        text-align: center;

        align-items: center;

    }


    .pw-about__description {

        max-width: 560px;

    }


    /* ======================================================
       INDICADORES
       ====================================================== */

    .pw-about__stats {

        border-top: 1px solid rgba(
                13,
                44,
                84,
                .10
        );

        border-left: 0;

    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 600px) {

    .pw-about {

        scroll-margin-top: 106px;

    }


    .pw-about__container {

        width: calc(100% - 24px);

    }


    /* ======================================================
       IMAGEN COMPLETA
       ====================================================== */

    .pw-about__visual {

        width: 100%;

        height: auto !important;

        min-height: 0 !important;

        max-height: none !important;

        aspect-ratio: auto !important;

        overflow: visible;

    }


    .pw-about__image {

        display: block;

        width: 100% !important;

        max-width: 100% !important;

        height: auto !important;

        max-height: none !important;

        min-height: 0 !important;

        aspect-ratio: auto !important;

        object-fit: initial;

        object-position: initial;

    }


    /* ======================================================
       CONTENIDO
       ====================================================== */

    .pw-about__content {

        padding: 24px 20px 22px;

    }


    .pw-about__title {

        font-size: 1.55rem;

    }


    .pw-about__description {

        font-size: .73rem;

    }


    /* ======================================================
       INDICADORES
       ====================================================== */

    .pw-about__stats {

        grid-template-columns: 1fr;

        grid-template-rows: auto;

        padding: 8px 18px 16px;

    }


    .pw-about__stat {

        min-height: 62px;

        padding: 13px 0 !important;

        border-left: 0 !important;

        border-top: 0 !important;

        border-bottom: 1px solid rgba(
                13,
                44,
                84,
                .10
        );

    }


    .pw-about__stat:last-child {

        border-bottom: 0;

    }


    .pw-about__stat-icon {

        width: 36px;

        height: 36px;

        flex-basis: 36px;

    }

}


/* ==========================================================
   MOBILE PEQUEÑO
   ========================================================== */

@media (max-width: 400px) {

    .pw-about__visual {

        width: 100%;

        height: auto !important;

        min-height: 0 !important;

        max-height: none !important;

    }


    .pw-about__image {

        width: 100% !important;

        height: auto !important;

        max-height: none !important;

    }


    .pw-about__content {

        padding-inline: 17px;

    }


    .pw-about__eyebrow {

        font-size: .61rem;

    }


    .pw-about__title {

        font-size: 1.42rem;

    }

}