/* Hero*/
.hero__content {
    max-width: 980px;
    margin: 0 auto 34px;
    text-align: center;
    padding-top: 44px;
    padding-bottom: 34px;
}
.gradient-title {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.hero__title {
    margin: 0 auto 18px;
    max-width: 860px;
    font-size: 64px;
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.hero__subtitle {
    margin: 0 auto 26px;
    max-width: 850px;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 500;
    color: var(--black-500);
}
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
/* Galeria */
.hero__gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    width: 100%;
}
.hero-card {
    position: relative;
    height: 380px;
    overflow: hidden;
    background:
    linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)) padding-box,
    var(--gradient-main) border-box;
}
.hero-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.hero-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 24%;
    background: linear-gradient(to top, rgba(245,245,245,1) 0%, rgba(245,245,245,0) 100%);
}
.intro {
    padding-top: 60px;
    padding-bottom: 80px;
}
.intro__text {
    margin: 0px;
    max-width: 780px;
    text-align: center;
    font-size: 22px;
    line-height: 1.5;
    color: var(--black-800); 
}
/* Seccion general de mision y vision */
.section {
    padding-bottom: 84px;
}
.copy {
    max-width: 480px;
}
.copy--vision {
    margin-left: auto;
}
.copy__title {
    display: inline-block;
    margin: 0 0 18px;
    font-size: 48px;
    line-height: 0.95;
    font-weight: 800;
    color: var(--quaternary-800);
    letter-spacing: -0.02em;
}
.copy__title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 10px;
    border-radius: 999px;
    background-color: var(--secondary-500);
}
.copy__text {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
}
/* IMAGENES */
.image {
    overflow: hidden;
    border-radius: 28px;
}
.image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
/* MISION */
.image--lg {
    height: 370px;
}
.image--sm {
    height: 235px;
}
/* VISION */
.vision-media {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}
.image--vision-main {
    width: 78%;
    height: 230px;
    border-radius: 28px;
}
.image--vision-float {
    position: absolute;
    right: 0;
    bottom: -28px;
    left: auto;
    width: 190px;
    height: 135px;
    border-radius: 22px;
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.14);
}
/* TABLET */
@media (max-width: 991.98px) {
    .image--lg {
        height: 320px;
    }
    .image--sm {
        height: 200px;
    }
    .image--offset-top {
        margin-top: 28px;
    }
    .vision-media {
        max-width: 460px;
        margin-bottom: 36px;
    }
    .image--vision-main {
        width: 78%;
        height: 210px;
    }
    .image--vision-float {
        width: 170px;
        height: 120px;
        right: 0;
        bottom: -22px;
    }
}
/* MOVIL */
@media (max-width: 767.98px) {
    .image {
        border-radius: 20px;
    }
    .image--lg {
        height: 250px;
    }
    .image--sm {
        height: 160px;
    }
    .image--offset-top {
        margin-top: 20px;
    }
    .vision-media {
        max-width: 100%;
        margin-bottom: 24px;
    }
    .image--vision-main {
        width: 82%;
        height: 200px;
    }
    .image--vision-float {
        width: 145px;
        height: 100px;
        right: 0;
        bottom: -18px;
    }
}
/* CELULAR PEQUEÑO */
@media (max-width: 575.98px) {
    .image--vision-main {
        width: 100%;
        height: 190px;
    }
    .image--vision-float {
        width: 125px;
        height: 88px;
        right: 10px;
        bottom: -14px;
    }
}
.valores_title {
 justify-self: center;
}
/* VALORES */
.values {
    padding: 18px 0 82px;
}
.values__title {
    max-width: 900px;
    margin: 0 auto 52px;
    text-align: center;
    font-size: 58px;
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.value-card {
    height: 100%;
    padding-right: 10px;
    text-align: left;
}
.value-card__meta {
    margin-bottom: 8px;
}
.value-card__meta span {
    display: block;
    width: auto;
}
.value-card__title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
    color: var(--quaternary-800);
}
.value-card__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    color: #555;
}
@media (max-width: 991.98px) {
    .values__title {
        font-size: 42px;
        margin-bottom: 42px;
    }
    .value-card {
        max-width: 240px;
    }
}
@media (max-width: 767.98px) {
    .values {
        padding-bottom: 54px;
    }
    .values__title {
        font-size: 34px;
        line-height: 1.02;
        margin-bottom: 32px;
        padding: 0 12px;
    }
    .value-card {
        max-width: 280px;
        text-align: center;
    }
    .value-card__meta {
        display: flex;
        justify-content: center;
    }
    .value-card__title {
        font-size: 22px;
    }
    .value-card__text {
        font-size: 15px;
    }
}
@media (max-width: 575.98px) {
    .value-card {
        max-width: 300px;
    }
}
.video {
    width: 100%;
    line-height: 0;
    overflow: hidden;
}
.video__media {
    width: 100%;
    height: 460px;
    display: block;
    object-fit: cover;
}
@media (max-width: 991.98px) {
    .video__media {
        height: 320px;
    }
}
@media (max-width: 767.98px) {
    .video__media {
        height: 240px;
    }
}