﻿.hero-cover {
    min-height: 100vh;
    background-image: url('../imgs/home/00.jpg');
}

.hero-title {
    font-size: 48px;
}

.hero-copy {
    font-size: 28px;
}

.section-title {
    font-size: 48px;
}

.dark-feature__item {
    font-size: 32px;
    font-weight: 300;
}

.dark-feature__image {
    max-height: 300px;
}

.dark-feature__item .info-card__icon {
    width: 80px;
}

.dark-feature {
    position: relative;
}

.dark-feature::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 40%;
    background: linear-gradient(90deg, rgba(var(--verdeOscuroRgb), 0) 50%, rgba(var(--verdeOscuroRgb), 1) 100%);
    pointer-events: none;
    z-index: 1;
}

.info-card__icon {
    background-color: var(--verdeOscuro);
    padding: 8px;
    width: 75px;
    height: 75px;
    border-radius: 50%;
}

.info-card__content {
    grid-template-columns: 80px 1fr;
}

.info-card__copy {
    font-size: 21px;
}

.media-overlay-card__panel {
    display: flex;
}

.tarjetas-blancas .info-card {
    min-height: fit-content;
}

.info-card__title {
    font-size: 36px;
    margin: 0;
    width: 100%;
    color: var(--blanco);
    font-weight: 400;
}

.tarjetas-blancas .info-card__title {
    color: var(--verdeOscuro);
    font-weight: 600;
    font-size: 26px;
}

.media-overlay-card__panel {
    width: 70%;
}

.seccion_segunda .info-card {
    min-height: fit-content;
}

.seccion_segunda .info-card .info-card__content {
    width: 65%;
}

.seccion_segunda .info-card__title {
    font-size: 36px;
    margin-top: 16px;
}

.background-panel::before {
    background: linear-gradient(0deg, rgba(0, 15, 9, 0.92) 0%, rgba(0, 15, 9, 0.74) 38%, rgba(0, 15, 9, 0.12) 72%);
}

@media (max-width: 1250px) {
    .hero-cover__container .justify-end {
        justify-self: stretch;
    }

    .hero-cover__container .stat-list {
        width: 100%;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-copy {
        font-size: 18px;
    }

    .stat-panel__value {
        font-size: 30px;
    }

    .dark-feature__item {
        font-size: 22px;
    }

    .tarjetas-blancas .info-card__copy {
        font-size: 18px;
    }

    .tarjetas-blancas .card-title {
        font-size: 22px;
    }

    .seccion_segunda .info-card__title {
        font-size: 28px;
    }

    .seccion_segunda .section-eyebrow.text-white {
        font-size: 22px;
    }

    .background-panel .info-card__title, .tercera_seccion .section-title {
        font-size: 28px;
    }

    .tercera_seccion .section-eyebrow {
        font-size: 22px;
    }

    .media-overlay-card__panel {
        width: 90%;
    }
}


@media (max-width: 900px) {
    .hero-cover {
        min-height: auto;
        padding-top: var(--first-section-offset);
        padding-bottom: 40px;
        background-position: center;
    }

    .hero-cover__container {
        row-gap: 24px;
    }

    .hero-title {
        font-size: 38px;
        line-height: 1.05;
    }

    .hero-copy {
        font-size: 18px;
        line-height: 1.35;
    }

    .stat-list {
        width: 100%;
        gap: 12px;
    }

    .stat-panel {
        grid-template-columns: 54px 1fr;
        min-height: 82px;
        padding: 12px;
    }

    .stat-panel__icon {
        width: 48px;
        height: 48px;
    }

    .stat-panel__value {
        font-size: 28px;
    }

    .stat-panel__label {
        font-size: 15px;
    }

    .section-title {
        font-size: 32px;
    }

    .dark-feature {
        grid-template-columns: 1fr;
    }

    .dark-feature::after {
        inset: 0 0 auto 0;
        width: 100%;
        height: 260px;
        background: linear-gradient(180deg, rgba(var(--verdeOscuroRgb), 0) 35%, rgba(var(--verdeOscuroRgb), 1) 100%);
    }

    .dark-feature__image {
        width: 100%;
        max-height: none;
        height: 260px;
        object-fit: cover;
    }

    .dark-feature__content {
        position: relative;
        z-index: 2;
    }

    .dark-feature__item {
        grid-template-columns: 56px 1fr;
        font-size: 22px;
    }

    .dark-feature__item .info-card__icon,
    .info-card__icon {
        width: 56px;
        height: 56px;
    }

    .info-card__content {
        grid-template-columns: 64px 1fr;
    }

    .info-card__copy {
        font-size: 17px;
    }

    .info-card__title,
    .seccion_segunda .info-card__title {
        font-size: 28px;
    }

    .media-overlay-card__panel {
        width: auto;
        display: block;
    }
}

@media (max-width: 560px) {


    .hero-cover {
        padding-top: 115px;
        padding-bottom: 32px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-copy {
        font-size: 16px;
    }

    .stat-panel {
        grid-template-columns: 44px 1fr;
    }

    .stat-panel__icon {
        width: 40px;
        height: 40px;
    }

    .stat-panel__value {
        font-size: 24px;
    }

    .section-title {
        font-size: 28px;
    }

    .dark-feature::after {
        height: 220px;
    }

    .dark-feature__image {
        height: 220px;
    }

    .dark-feature__item {
        grid-template-columns: 46px 1fr;
        gap: 12px;
        font-size: 18px;
    }

    .dark-feature__item .info-card__icon,
    .info-card__icon {
        width: 46px;
        height: 46px;
        padding: 6px;
    }

    .info-card__content {
        grid-template-columns: 52px 1fr;
        gap: 12px;
    }

    .info-card__copy {
        font-size: 15px;
    }

    .info-card__title,
    .seccion_segunda .info-card__title {
        font-size: 24px;
    }
}

@media (max-width: 750px) {
    .info-card .info-card__content {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .info-card .info-card__icon {
        width: 42px;
        height: 42px;
        padding: 7px;
    }
}
