
/* =====================================
   HERO - NOSOTROS
===================================== */

.about-hero {
    position: relative;
    min-height: 620px;
    height: 78vh;
    max-height: 800px;
    width: 100%;
    overflow: hidden;
    isolation: isolate;

    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url("../img/3.jpeg");
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;

    color: #fff;
}

/* Oscurecer fotografía */

.about-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .78),
            rgba(0, 0, 0, .42),
            rgba(0, 0, 0, .70)
        ),
        linear-gradient(
            0deg,
            rgba(0, 0, 0, .55),
            transparent 45%,
            rgba(0, 0, 0, .25)
        );
}

/* Canvas de partículas */

.about-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Destellos mexicanos */

.mexican-glow {
    position: absolute;
    z-index: 1;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .13;
    pointer-events: none;
}

.glow-green {
    background: #008b45;
    left: -130px;
    bottom: -100px;
}

.glow-red {
    background: #c62838;
    right: -130px;
    top: -100px;
}

/* Contenido */

.about-hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 900px;
    margin: auto;
    text-align: center;
    animation: aboutHeroEntrance 1.1s ease both;
}

/* Eyebrow */

.about-hero-eyebrow {
    display: inline-block;
    margin-bottom: 22px;

    color: #dfbd79;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 5px;
}

/* Título */

.about-hero-content h1 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.about-hero-content h1 span,
.about-hero-content h1 strong {
    display: block;
}

.about-hero-content h1 strong {
    color: #dfbd79;
    font-weight: 400;
    font-style: italic;
}

/* Descripción */

.about-hero-content p {
    max-width: 620px;
    margin: 25px auto 0;

    color: rgba(255, 255, 255, .83);
    font-size: 15px;
    line-height: 1.9;
}

/* Separador */

.about-hero-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 28px auto 15px;
}

.about-hero-line span {
    width: 55px;
    height: 1px;
    background: rgba(223, 189, 121, .65);
}

.about-hero-line i {
    color: #dfbd79;
    font-size: 13px;
}

/* Ubicación */

.about-hero-location {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    letter-spacing: 2px;
}

/* Indicador inferior */

.about-hero-bottom {
    position: absolute;
    z-index: 2;
    bottom: 32px;
    left: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    color: rgba(255, 255, 255, .65);
    font-size: 9px;
    letter-spacing: 3px;
}

.about-hero-bottom i {
    color: #dfbd79;
    font-size: 12px;
    animation: aboutArrow 1.8s infinite;
}

/* Línea tricolor */

.about-hero-tricolor {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    display: flex;
}

.about-hero-tricolor span {
    flex: 1;
}

.about-hero-tricolor span:nth-child(1) {
    background: #087b42;
}

.about-hero-tricolor span:nth-child(2) {
    background: #e8e2d5;
}

.about-hero-tricolor span:nth-child(3) {
    background: #b72b35;
}

/* Animaciones */

@keyframes aboutHeroEntrance {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aboutArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

/* =====================================
   RESPONSIVE
===================================== */


/* =====================================
   HERO NOSOTROS - AJUSTE MÓVIL
===================================== */

@media (max-width: 768px) {

    .about-hero {
        /* Espacio para el navbar */
        min-height: 680px;
        height: auto;
        max-height: none;

        padding: 150px 0 110px;

        display: flex;
        align-items: center;
        justify-content: center;

        background-image: url("../img/4.jpg");
        background-position: center 25%;
        background-size: cover;
    }

    .about-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, .72) 0%,
                rgba(0, 0, 0, .40) 35%,
                rgba(0, 0, 0, .68) 100%
            );
    }

    /* Contenido más abajo */
    .about-hero-content {
        width: 88%;
        max-width: 450px;

        margin: 55px auto 0;

        padding: 0;
        text-align: center;
    }

    .about-hero-eyebrow {
        font-size: 9px;
        letter-spacing: 3px;
        margin-bottom: 24px;
    }

    .about-hero-content h1 {
        font-size: clamp(36px, 9vw, 48px);
        line-height: 1.2;
        letter-spacing: -1px;
    }

    .about-hero-content p {
        max-width: 350px;
        margin: 22px auto 0;

        font-size: 13px;
        line-height: 1.85;
    }

    .about-hero-line {
        margin: 24px auto 15px;
    }

    .about-hero-location {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    /* Indicador inferior */
    .about-hero-bottom {
        bottom: 27px;
        font-size: 8px;
    }

    /* Partículas más discretas */
    .about-particles {
        opacity: .65;
    }

    .mexican-glow {
        opacity: .10;
    }

}

/* Teléfonos pequeños */

@media (max-width: 380px) {

    .about-hero {
        min-height: 650px;
        padding-top: 155px;
        padding-bottom: 100px;
    }

    .about-hero-content {
        width: 90%;
        margin-top: 45px;
    }

    .about-hero-content h1 {
        font-size: 35px;
    }

    .about-hero-content p {
        font-size: 12px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .about-hero-content,
    .about-hero-bottom i {
        animation: none;
    }

}

/* =====================================
   HERO NOSOTROS - AJUSTE DESKTOP
===================================== */

@media (min-width: 769px) {

    .about-hero {
        /* Reservar espacio para el navbar */
        min-height: 720px;
        height: 85vh;
        max-height: 900px;

        padding-top: 110px;
        padding-bottom: 50px;

        box-sizing: border-box;
    }

    .about-hero-content {
        margin-top: 70px;
    }

}











/* =====================================
   ABOUT INTRO - QUIENES SOMOS
===================================== */

.about-intro {
    position: relative;
    width: 100%;
    padding: 110px 7%;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 5% 50%,
            rgba(0, 100, 55, .09),
            transparent 35%
        ),
        radial-gradient(
            circle at 95% 50%,
            rgba(160, 30, 40, .07),
            transparent 35%
        ),
        #080808;
    color: #fff;
}

.about-intro-container {
    max-width: 1250px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
}

/* FOTOGRAFÍA */

.about-intro-image {
    position: relative;
    min-width: 0;
}

.about-intro-image img {
    display: block;
    width: 100%;
    height: 510px;
    object-fit: cover;
    object-position: center;
    border-radius: 3px;
    filter: brightness(.88);
}

/* Etiqueta sobre la fotografía */

.about-image-caption {
    position: absolute;
    bottom: 22px;
    left: 22px;

    display: flex;
    align-items: center;
    gap: 13px;

    padding: 15px 20px;
    background: rgba(8, 8, 8, .88);
    border-left: 2px solid #d8b66f;
    backdrop-filter: blur(10px);
}

.about-image-caption > span {
    color: #d8b66f;
    font-family: Georgia, serif;
    font-size: 38px;
}

.about-image-caption div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-image-caption strong {
    font-size: 9px;
    letter-spacing: 1.5px;
}

.about-image-caption small {
    color: rgba(255,255,255,.6);
    font-size: 10px;
}

/* TEXTO */

.about-intro-content {
    max-width: 540px;
}

.about-section-label {
    display: block;
    margin-bottom: 20px;

    color: #d8b66f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
}

.about-intro-content h2 {
    margin: 0 0 25px;

    font-family: Georgia, serif;
    font-size: clamp(34px, 4vw, 49px);
    font-weight: 400;
    line-height: 1.2;
}

.about-intro-content h2 span,
.about-intro-content h2 strong {
    display: block;
}

.about-intro-content h2 strong {
    color: #d8b66f;
    font-weight: 400;
    font-style: italic;
}

.about-intro-content p {
    margin-bottom: 17px;

    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.95;
}

/* ESTADÍSTICAS */

.about-intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;

    margin-top: 38px;
    padding-top: 25px;
    border-top: 1px solid rgba(216,182,111,.25);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-stat strong {
    color: #d8b66f;
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: 400;
}

.about-stat span {
    color: rgba(255,255,255,.65);
    font-size: 10px;
    line-height: 1.5;
}

/* ANIMACIÓN */

.about-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.about-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .about-intro {
        padding: 85px 6%;
    }

    .about-intro-container {
        gap: 40px;
    }

    .about-intro-image img {
        height: 440px;
    }

}

@media (max-width: 650px) {

    .about-intro {
        padding: 75px 6%;
    }

    .about-intro-container {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .about-intro-image img {
        height: 420px;
    }

    .about-intro-content {
        max-width: 100%;
    }

    .about-intro-content h2 {
        font-size: 37px;
    }

    .about-intro-content p {
        font-size: 13px;
    }

    .about-intro-stats {
        gap: 10px;
    }

    .about-stat strong {
        font-size: 27px;
    }

    .about-stat span {
        font-size: 9px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .about-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

}







/*integrandes*/


/* =========================================
   ABOUT TEAM - CARRUSEL DE INTEGRANTES
========================================= */

.about-team {
    position: relative;
    padding: 110px 7% 100px;
    background:
        radial-gradient(
            circle at 10% 50%,
            rgba(0, 110, 55, 0.08),
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 50%,
            rgba(160, 25, 35, 0.07),
            transparent 35%
        ),
        #080808;
    overflow: hidden;
}

.about-team-container {
    max-width: 1250px;
    margin: 0 auto;
}

/* ENCABEZADO */

.about-team-heading {
    max-width: 750px;
    margin: 0 auto 55px;
    text-align: center;
}

.about-team-heading h2 {
    margin: 18px 0;
    color: #f5f1e9;
    font-family: inherit;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
}

.about-team-heading h2 strong {
    display: block;
    color: #d8b879;
    font-weight: 600;
}

.about-team-heading p {
    max-width: 580px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.62);
    font-size: 15px;
    line-height: 1.8;
}

/* CARRUSEL */

.about-team-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
}

.team-viewport {
    width: 100%;
    overflow: hidden;
}

.team-track {
    display: flex;
    gap: 25px;
    transition: transform 0.65s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.team-card {
    flex: 0 0 calc((100% - 50px) / 3);
    min-width: 0;
}

.team-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #151515;
    border: 1px solid rgba(216, 184, 121, 0.20);
}

.team-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

.team-card:hover .team-card-image img {
    transform: scale(1.055);
}

/* SOMBRA INFERIOR */

.team-card-image::after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 0, 0, 0.82)
    );
    pointer-events: none;
}

/* NUMERACIÓN */

.team-number {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 18px;
    color: #e0c18b;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
}

/* TEXTO INFERIOR */

.team-card-overlay {
    position: absolute;
    z-index: 2;
    bottom: 24px;
    left: 20px;
    right: 20px;
    text-align: center;
}

.team-card-overlay span {
    color: #fff;
    font-size: 13px;
    letter-spacing: 1px;
}

/* FLECHAS */

.team-arrow {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(216, 184, 121, 0.45);
    border-radius: 50%;
    background: rgba(216, 184, 121, 0.06);
    color: #d8b879;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-arrow:hover {
    background: #d8b879;
    color: #080808;
    border-color: #d8b879;
    transform: scale(1.08);
}

/* INDICADORES */

.team-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 11px;
    margin-top: 35px;
}

.team-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: all 0.35s ease;
}

.team-dot.active {
    width: 28px;
    background: #d8b879;
}

/* ANIMACIÓN DE APARICIÓN */

.about-team-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.about-team-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* TABLET */

@media (max-width: 900px) {
    .about-team {
        padding: 90px 6%;
    }

    .team-card {
        flex-basis: calc((100% - 25px) / 2);
    }
}

/* CELULAR: UNA SOLA TARJETA */

@media (max-width: 600px) {
    .about-team {
        padding: 80px 7% 75px;
    }

    .about-team-heading {
        margin-bottom: 35px;
    }

    .about-team-heading p {
        font-size: 14px;
    }

    .about-team-carousel {
        gap: 0;
    }

    .team-card {
        flex: 0 0 100%;
    }

    .team-card-image {
        aspect-ratio: 4 / 5;
    }

    .team-arrow {
        display: none;
    }

    .team-indicators {
        margin-top: 27px;
        gap: 13px;
    }

    .team-dot {
        width: 9px;
        height: 9px;
    }

    .team-dot.active {
        width: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .team-track,
    .team-card-image img,
    .about-team-reveal,
    .team-dot,
    .team-arrow {
        transition: none !important;
    }
}













/*mision vision posible dfalla*/


/* =========================================
   ABOUT PURPOSE - MISIÓN Y VISIÓN
========================================= */

.about-purpose {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 105px 7%;
    background: #050505;
}

/* FOTOGRAFÍAS DE FONDO */

.purpose-background {
    position: absolute;
    z-index: -3;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.purpose-background-desktop {
    background-image: url("../img/2.jpeg");
}

.purpose-background-mobile {
    display: none;
    background-image: url("../img/5.jpg");
}

/* OSCURECIMIENTO */

.purpose-overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.88),
            rgba(0, 0, 0, 0.76),
            rgba(0, 0, 0, 0.88)
        ),
        rgba(0, 0, 0, 0.35);
}

/* CONTENEDOR */

.purpose-container {
    position: relative;
    max-width: 1150px;
    margin: 0 auto;
}

/* ENCABEZADO */

.purpose-heading {
    margin-bottom: 65px;
    text-align: center;
}

.purpose-heading h2 {
    margin: 18px 0 0;
    color: #f5f1e9;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.25;
}

/* DOS COLUMNAS */

.purpose-columns {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    align-items: stretch;
    gap: 55px;
}

/* TARJETAS */

.purpose-card {
    position: relative;
    padding: 15px 5px;
}

.purpose-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    border: 1px solid rgba(216, 184, 121, 0.5);
    border-radius: 50%;
    color: #d8b879;
    font-size: 19px;
}

.purpose-number {
    position: absolute;
    top: 15px;
    right: 5px;
    color: rgba(216, 184, 121, 0.35);
    font-size: 14px;
    letter-spacing: 2px;
}

.purpose-card h3 {
    margin: 0;
    color: #e4c58e;
    font-size: 25px;
    font-weight: 500;
}

.purpose-line {
    width: 45px;
    height: 2px;
    margin: 20px 0;
    background: #d8b879;
}

.purpose-card p {
    max-width: 480px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.95;
}

/* DIVISOR */

.purpose-divider {
    width: 1px;
    background: linear-gradient(
        transparent,
        rgba(216, 184, 121, 0.7),
        transparent
    );
}

/* DETALLE INFERIOR */

.purpose-bottom-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    margin-top: 65px;
    color: #d8b879;
}

.purpose-bottom-line span {
    width: 55px;
    height: 1px;
    background: rgba(216, 184, 121, 0.55);
}

/* ANIMACIÓN */

.purpose-reveal {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.purpose-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* TABLET */

@media (max-width: 800px) {
    .about-purpose {
        padding: 85px 6%;
    }

    .purpose-columns {
        gap: 30px;
    }

    .purpose-card p {
        font-size: 14px;
    }
}

/* CELULAR */

@media (max-width: 600px) {

    .about-purpose {
        padding: 75px 8%;
    }

    .purpose-background-desktop {
        display: none;
    }

    .purpose-background-mobile {
        display: block;
    }

    .purpose-overlay {
        background: rgba(0, 0, 0, 0.84);
    }

    .purpose-heading {
        margin-bottom: 45px;
    }

    .purpose-heading h2 {
        font-size: 2rem;
    }

    .purpose-columns {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .purpose-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(216, 184, 121, 0.65),
            transparent
        );
    }

    .purpose-card {
        padding: 5px 0;
    }

    .purpose-card h3 {
        font-size: 23px;
    }

    .purpose-card p {
        font-size: 14px;
        line-height: 1.85;
    }

    .purpose-number {
        top: 5px;
    }

    .purpose-bottom-line {
        margin-top: 45px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .purpose-reveal {
        transition: none !important;
    }
}
