/* ==========================================================
   PET WELLNESS 360
   Hero / Home Principal
   ========================================================== */

.pw-hero {

    position: relative;

    /*
     * El header forma parte de la estructura visual superior.
     * Dejamos un espacio adicional para evitar que el contenido
     * del Hero quede oculto debajo de él.
     */
    padding-top: calc(
            var(--pw-header-topbar-height) +
            var(--pw-header-height) +
            28px
    );

    background: #ffffff;

    overflow: hidden;

}


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

.pw-hero__container {

    width: min(1400px, calc(100% - 64px));

    margin: 0 auto;

}


/* ==========================================================
   BLOQUE PRINCIPAL
   ========================================================== */

.pw-hero__main {

    position: relative;

    min-height: 455px;

    display: grid;

    grid-template-columns: 46% 54%;

    align-items: center;

}


/* ==========================================================
   CONTENIDO
   ========================================================== */

.pw-hero__content {

    position: relative;

    z-index: 3;

    padding: 24px 0 38px 28px;

}


.pw-hero__title {

    margin: 0;

    max-width: 570px;

    color: #0D2C54;

    font-family: inherit;

    /*
     * Antes llegaba hasta 5rem.
     * La referencia utiliza un título fuerte pero más compacto.
     */
    font-size: clamp(2.85rem, 3.55vw, 4.15rem);

    font-weight: 800;

    line-height: .98;

    letter-spacing: -.045em;

}


.pw-hero__title span {

    color: #4CAF50;

}


.pw-hero__description {

    max-width: 460px;

    margin: 18px 0 0;

    color: #1A1D21;

    font-size: 1rem;

    line-height: 1.48;

}


/* ==========================================================
   SERVICIOS DESTACADOS
   ========================================================== */

.pw-hero__services {

    display: flex;

    align-items: flex-start;

    flex-wrap: wrap;

    gap: 18px;

    margin-top: 23px;

}


.pw-hero__service {

    display: flex;

    align-items: center;

    gap: 7px;

    min-height: 40px;

}


.pw-hero__service-icon {

    width: 28px;

    height: 28px;

    flex: 0 0 28px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    color: #4CAF50;

}


.pw-hero__service-icon svg {

    width: 26px;

    height: 26px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.65;

    stroke-linecap: round;

    stroke-linejoin: round;

}


.pw-hero__service-label {

    color: #1A1D21;

    font-size: .75rem;

    font-weight: 700;

    line-height: 1.15;

}


/* ==========================================================
   BOTONES
   ========================================================== */

.pw-hero__buttons {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 25px;

}


.pw-hero__button {

    min-height: 44px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    padding: 0 22px;

    border-radius: 10px;

    text-decoration: none;

    font-size: .81rem;

    font-weight: 700;

    line-height: 1;

    transition:
            transform .2s ease,
            box-shadow .2s ease,
            background-color .2s ease,
            color .2s ease;

}


.pw-hero__button:hover {

    transform: translateY(-2px);

}


.pw-hero__button--primary {

    color: #ffffff;

    background: #4CAF50;

    box-shadow: 0 7px 18px rgba(76, 175, 80, .18);

}


.pw-hero__button--primary:hover {

    color: #ffffff;

    background: #439c47;

}


.pw-hero__button--secondary {

    color: #0D2C54;

    background: #ffffff;

    border: 1.5px solid #0D2C54;

}


.pw-hero__button--secondary:hover {

    color: #0D2C54;

    background: #F2F4F7;

}


/* ==========================================================
   IMAGEN PRINCIPAL
   ========================================================== */

.pw-hero__visual {

    position: relative;

    z-index: 1;

    align-self: stretch;

    min-height: 455px;

    display: flex;

    align-items: flex-end;

    justify-content: flex-end;

}


.pw-hero__image {

    display: block;

    width: 100%;

    /*
     * Reducimos ligeramente la imagen para que respire
     * como en la referencia.
     */
    max-width: 700px;

    height: auto;

    margin-left: auto;

    object-fit: contain;

    object-position: right bottom;

}


/* ==========================================================
   BARRA DE VALOR
   ========================================================== */

.pw-hero__values {

    position: relative;

    z-index: 5;

    min-height: 122px;

    display: grid;

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

    align-items: stretch;

    /*
     * La barra sigue invadiendo ligeramente el Hero,
     * pero sin generar demasiado espacio.
     */
    margin: -8px 0 28px;

    background: #F2F4F7;

    border-radius: 22px;

    box-shadow:
            0 8px 28px rgba(13, 44, 84, .06);

    overflow: hidden;

}


/* ==========================================================
   INTRODUCCIÓN DE VALORES
   ========================================================== */

.pw-hero__value-intro {

    display: flex;

    align-items: center;

    gap: 17px;

    padding: 18px 23px;

}


.pw-hero__value-paw {

    width: 60px;

    height: 60px;

    flex: 0 0 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #4CAF50;

    color: #ffffff;

}


.pw-hero__value-paw svg {

    width: 35px;

    height: 35px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.65;

    stroke-linecap: round;

    stroke-linejoin: round;

}


.pw-hero__value-intro strong {

    display: block;

    color: #1A1D21;

    font-size: .96rem;

    font-weight: 800;

    line-height: 1.25;

}


.pw-hero__value-intro span {

    display: block;

    margin-top: 8px;

    color: #1A1D21;

    font-size: .7rem;

    font-weight: 500;

}


/* ==========================================================
   VALORES INDIVIDUALES
   ========================================================== */

.pw-hero__value {

    display: flex;

    align-items: center;

    gap: 11px;

    padding: 17px 14px;

    border-left: 1px solid rgba(13, 44, 84, .10);

}


.pw-hero__value-icon {

    width: 33px;

    height: 33px;

    flex: 0 0 33px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    color: #4CAF50;

}


.pw-hero__value-icon svg {

    width: 29px;

    height: 29px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.55;

    stroke-linecap: round;

    stroke-linejoin: round;

}


.pw-hero__value strong {

    display: block;

    color: #1A1D21;

    font-size: .8rem;

    font-weight: 800;

    line-height: 1.15;

}


.pw-hero__value span {

    display: block;

    margin-top: 6px;

    color: #1A1D21;

    font-size: .63rem;

    line-height: 1.25;

}


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

@media (max-width: 1100px) {

    .pw-hero {

        padding-top: calc(
                var(--pw-header-topbar-height) +
                var(--pw-header-height) +
                22px
        );

    }


    .pw-hero__container {

        width: min(100% - 40px, 960px);

    }


    .pw-hero__main {

        min-height: 440px;

        grid-template-columns: 48% 52%;

    }


    .pw-hero__content {

        padding-left: 10px;

    }


    .pw-hero__title {

        font-size: clamp(2.65rem, 4.7vw, 3.75rem);

    }


    .pw-hero__services {

        gap: 14px;

    }


    .pw-hero__service-label {

        font-size: .7rem;

    }


    .pw-hero__image {

        max-width: 620px;

    }


    .pw-hero__values {

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

    }


    .pw-hero__value-intro {

        gap: 10px;

        padding: 16px;

    }


    .pw-hero__value-paw {

        width: 50px;

        height: 50px;

        flex-basis: 50px;

    }


    .pw-hero__value-intro strong {

        font-size: .8rem;

    }


    .pw-hero__value {

        gap: 7px;

        padding: 14px 9px;

    }


    .pw-hero__value-icon {

        width: 27px;

        height: 27px;

        flex-basis: 27px;

    }


    .pw-hero__value-icon svg {

        width: 25px;

        height: 25px;

    }

}


/* ==========================================================
   TABLET VERTICAL / MOBILE GRANDE
   ========================================================== */

@media (max-width: 900px) {

    .pw-hero {

        padding-top: calc(
                var(--pw-header-topbar-height) +
                var(--pw-header-height) +
                18px
        );

    }


    .pw-hero__container {

        width: min(100% - 32px, 680px);

    }


    .pw-hero__main {

        min-height: 0;

        display: flex;

        flex-direction: column;

    }


    .pw-hero__content {

        width: 100%;

        padding: 34px 0 12px;

        text-align: center;

    }


    .pw-hero__title {

        max-width: 650px;

        margin: 0 auto;

        font-size: clamp(2.55rem, 7.5vw, 3.7rem);

    }


    .pw-hero__description {

        max-width: 560px;

        margin-left: auto;

        margin-right: auto;

    }


    .pw-hero__services {

        justify-content: center;

    }


    .pw-hero__buttons {

        justify-content: center;

    }


    .pw-hero__visual {

        width: 100%;

        min-height: 0;

        align-self: auto;

        justify-content: center;

    }


    .pw-hero__image {

        width: 100%;

        max-width: 680px;

        margin: 0 auto;

    }


    .pw-hero__values {

        grid-template-columns: 1fr 1fr;

        margin-top: 6px;

    }


    .pw-hero__value-intro {

        grid-column: 1 / -1;

        justify-content: center;

        padding: 20px;

        border-bottom: 1px solid rgba(13, 44, 84, .10);

    }


    .pw-hero__value {

        min-height: 95px;

        padding: 16px;

    }


    .pw-hero__value:nth-last-child(odd) {

        border-left: 0;

    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 600px) {

    .pw-hero {

        padding-top: calc(
                var(--pw-header-topbar-height) +
                var(--pw-header-height) +
                12px
        );

    }


    .pw-hero__container {

        width: calc(100% - 24px);

    }


    .pw-hero__content {

        padding-top: 26px;

    }


    .pw-hero__title {

        font-size: clamp(2.2rem, 10.5vw, 3rem);

        line-height: 1;

        letter-spacing: -.035em;

    }


    .pw-hero__description {

        margin-top: 15px;

        font-size: .93rem;

        line-height: 1.45;

    }


    .pw-hero__services {

        gap: 12px 15px;

        margin-top: 20px;

    }


    .pw-hero__service {

        min-width: calc(50% - 8px);

        justify-content: flex-start;

        text-align: left;

    }


    .pw-hero__service-icon {

        width: 25px;

        height: 25px;

        flex-basis: 25px;

    }


    .pw-hero__service-icon svg {

        width: 24px;

        height: 24px;

    }


    .pw-hero__service-label {

        font-size: .67rem;

    }


    .pw-hero__buttons {

        flex-direction: column;

        width: 100%;

        margin-top: 23px;

    }


    .pw-hero__button {

        width: min(100%, 310px);

        min-height: 45px;

    }


    .pw-hero__visual {

        margin-top: -3px;

    }


    .pw-hero__values {

        grid-template-columns: 1fr;

        margin-top: 5px;

        border-radius: 18px;

    }


    .pw-hero__value-intro {

        justify-content: flex-start;

        padding: 18px;

    }


    .pw-hero__value-paw {

        width: 52px;

        height: 52px;

        flex-basis: 52px;

    }


    .pw-hero__value {

        min-height: 76px;

        border-left: 0;

        border-top: 1px solid rgba(13, 44, 84, .10);

    }


    .pw-hero__value:nth-last-child(odd) {

        border-left: 0;

    }

}


/* ==========================================================
   MOBILE PEQUEÑO
   ========================================================== */

@media (max-width: 400px) {

    .pw-hero {

        padding-top: calc(
                var(--pw-header-topbar-height) +
                var(--pw-header-height) +
                8px
        );

    }


    .pw-hero__title {

        font-size: 2rem;

    }


    .pw-hero__description {

        font-size: .88rem;

    }


    .pw-hero__service {

        min-width: 100%;

    }


    .pw-hero__buttons {

        margin-top: 21px;

    }


    .pw-hero__value-intro {

        gap: 12px;

    }


    .pw-hero__value-intro strong {

        font-size: .81rem;

    }


    .pw-hero__value-intro span {

        font-size: .67rem;

    }

}