:root {
    /* CONTROLES EDITABLES */
    --h1-size: 5rem;
    /* Tamaño del H1 */
    --header-gap: 20px;
    /* Espacio entre H1 y las columnas (reducido) */
    --col-padding: 10px;
    /* Padding lateral de los textos */
    --video-margin-top: 40px;
    /* Espacio sobre el video */
}

/* #region SECTION1 */
.about-hero-full {
    width: 100%;
    min-height: 100vh;
    /* 100% de la altura de la pantalla */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centra el contenido verticalmente */
    padding: 60px 0;
    background-color: var(--color-white);
}

.about-title-main {
    font-family: var(--font-heading);
    font-size: 50px;
    margin-bottom: var(--header-gap);
    color: var(--color-black);
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Grid Dinámico */
.about-grid-dynamic {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    margin: 0 auto;
}

.about-col-box {
    flex: 1;
    padding: 20px;
    /* 10px de padding lateral */
    font-size: 16px;
}

.about-col-box p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Separador Vertical de 1px */
.separator-v {
    width: 1px;
    background-color: var(--color-grey);
    align-self: stretch;
    /* Se estira según el contenido */
    opacity: 0.5;
}

/* VIDEO RESPONSIVO AL 90% */
.about-video-container {
    width: 90%;
    margin: var(--video-margin-top) auto 0;
    display: block;
}

.about-video-container video {
    width: 100%;
    height: auto;
    /* Altura automática según el ancho */
    display: block;
    border-radius: 4px;
    /* Opcional: bordes suaves */
}

/* --- ANIMACIÓN DE ENTRADA --- */
.animate-blur {
    animation: entranceBlur 1.2s ease-out forwards;
}

@keyframes entranceBlur {
    0% {
        filter: blur(15px);
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        filter: blur(0);
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajuste para Móviles */
@media (max-width: 768px) {
    .about-hero-full {
        justify-content: flex-start;
        /* En móvil es mejor que empiece tras el header */
        padding-top: 120px;
        /* Evita que el logo/menú tape el H1 */
    }

    .about-grid-dynamic {
        flex-direction: column;
        align-items: center;
        /* Centra las columnas apiladas */
        width: 100%;
    }

    .about-col-box {
        width: 100%;
        margin-bottom: 30px;
        /* Espacio entre bloques en móvil */
    }

    .separator-v {
        width: 60%;
        /* Línea horizontal corta y centrada */
        height: 1px;
        margin: 10px auto 30px;
    }
}

/* #endregion */

/* #region  SECTION2 */

.vision-section-wrapper {
    width: 100%;
    height: 100vh;
    /* 100vh solicitado */
    background-color: #1F2026;
    /* editable: bg-color */
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.vision-content-inner {
    width: 90%;
    /* 90% de ancho en todos los dispositivos */
    max-width: 1400px;
    margin: 0 auto;
    z-index: 2;
}

/* --- ETIQUETAS "OUR VISION" --- */
.v-label {
    display: block;
    color: #ffffff;
    /* editable: label-color */
    font-size: 20px;
    /* editable: edit-size */
    letter-spacing: 2px;
    margin-bottom: 30px;
    padding-top: 20px;
}

/* --- EFECTO DE LLENADO (TEXT FILL) --- */
.fill-effect {
    margin: 0;
    line-height: 1.35;
    font-weight: 300;
    /* Color apagado inicial */
    color: rgba(254, 201, 109, 0.15);
    /* editable: text-base-color */
    background: linear-gradient(to right, #FEC96D, #FEC96D) no-repeat;
    /* editable: fill-color */
    background-size: 0% 100%;
    -webkit-background-clip: text;
    background-clip: text;
}

.en-text.fill-effect {
    font-size: 36px;
    /* editable: edit-size */
}

.ar-text.fill-effect {
    font-size: 38px;
    /* editable: edit-size */
    line-height: 1.6;
    /* editable: spacing-ar */
}

/* --- ARCOS ANIMADOS --- */
.bg-arcs-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.arc-shape {
    transform-origin: center;
    animation: arcFlow 12s infinite alternate ease-in-out;
}

@keyframes arcFlow {
    0% {
        transform: scale(1) translateY(0);
        opacity: 0.1;
    }

    100% {
        transform: scale(1.15) translateY(-30px);
        opacity: 0.4;
    }
}

/* --- RESPONSIVO MÓVIL (90% ANCHO) --- */
@media (max-width: 768px) {

    .en-text.fill-effect,
    .ar-text.fill-effect {
        font-size: 24px;
        /* editable: edit-size */
    }
}

/* #endregion */

/* #region SECTION 3: MISSION (COLORS INVERTED) */
/* ==========================================
   SECTION 3: MISSION CSS 
========================================== */
.mission-section-wrapper {
    width: 100%;
    min-height: 100vh;
    background-color: #F6F6F6;
    /* Fondo gris muy claro */
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Arcos de fondo */
.bg-arcs-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.bg-arcs-container svg {
    width: 100%;
    height: 100%;
}

/* Contenedor alineado al 90% */
.mission-content-inner {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.m-label {
    display: block;
    color: #1F2026;
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 200;
}

/* --- EFECTO DE LLENADO OSCURO (IGUAL QUE VISION) --- */
.fill-effect-dark {
    margin: 0;
    line-height: 1.35;
    font-weight: 300;

    /* 1. Color base tenue (como en Vision) */
    color: rgba(31, 32, 38, 0.15);

    /* 2. Fondo Negro Puro, inicia en tamaño 0% */
    background: linear-gradient(to right, #1F2026, #1F2026) no-repeat;
    background-size: 0% 100%;

    /* 3. Recorte al texto */
    -webkit-background-clip: text;
    background-clip: text;
}

/* Típo Inglés */
.en-text.fill-effect-dark {
    font-family: 'Abhaya Libre', serif;
    font-size: 38px;
}

.ar-text.fill-effect-dark {
    font-family: "greycliff-arabic-cf", sans-serif;
    font-size: 40px;
    line-height: 1.6;
}

/* FIX: When AR is active, show mission text fully without scroll animation */
html[lang="ar"] .ar-text.fill-effect-dark {
    color: #1F2026 !important;
    background-size: 100% 100% !important;
    -webkit-text-fill-color: #1F2026;
}

/* Móvil */
@media (max-width: 768px) {

    .en-text.fill-effect-dark,
    .ar-text.fill-effect-dark {
        font-size: 26px;
    }
}

/* #endregion */

/* #region SECTION 4: FOUNDER MESSAGE */

.founder-section-wrapper {
    width: 90%;
    margin: 0 auto;
    padding: 100px 0;
    /* editable: padding-section */
    background-color: #F6F6F6;
    /* editable: bg-color */
    overflow: hidden;
}

.founder-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    /* editable: gap-between-cols */
}

/* Caja de Imagen */
.founder-image-box {
    flex: 1;
    max-width: 450px;
    /* editable: img-max-width */
}

.founder-image-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Caja de Texto */
.founder-text-box {
    flex: 1.2;
}

.founder-title {
    font-family: 'Abhaya Libre', serif;
    /* editable: font-family */
    font-size: 52px;
    /* editable: edit-size */
    color: #1F2026;
    /* editable: title-color */
    margin-bottom: 30px;
}

.founder-p {
    font-size: 16px;
    /* editable: edit-size */
    line-height: 1.6;
    color: #4A4A4A;
    margin-bottom: 20px;
}

/* Firma */
.founder-signature {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #D1D1D1;
    /* editable: line-color */
}

.sig-name {
    font-size: 20px;
    /* editable: edit-size */
    font-weight: 700;
    color: #1F2026;
    margin-bottom: 5px;
}

.sig-rank {
    font-size: 14px;
    /* editable: edit-size */
    color: #888888;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .founder-container {
        flex-direction: column;
        text-align: center;
    }

    .founder-title {
        font-size: 38px;
    }

    html[lang="ar"] .founder-container {
        text-align: center;
    }
}


/* #endregion */

/* #region:SECTION 5: TEAM */

.team-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1F2026;
    color: #FFFFFF;
    overflow: hidden;
    /* Evita scroll horizontal en toda la página */
}

/* Fuerza el contenedor del header al 90% y lo centra */
.team-wrapper .container-90 {
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
}



.team-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 120px;
}

.team-headline-box {
    flex: 0 0 65%;
}

.team-desc-box {
    flex: 0 0 32%;
}

.team-title {
    font-family: 'Abhaya Libre', serif;
    font-size: 58px;
    color: #FFFFFF;
    margin: 0;
}

.team-p {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.8;
}

.team-separator {
    width: 100%;
    height: 1px;
    background-color: #979797;
    margin: 20px 0 40px 0;
    opacity: 0.3;
}

/* =========================================
   SLIDER Y BOTONES
========================================= */
.team-slider-wrapper {
    position: relative;
    width: 100%;
}

/* Botones flotantes */
.slider-btn {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: #FEC96D;
    border-color: #FEC96D;
    color: #1F2026;
}

.prev-btn {
    left: 2vw;
}

.next-btn {
    right: 2vw;
}

.team-slider-full {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 30px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Hace que cualquier comando de scroll sea suave */
    scroll-snap-type: x mandatory;
    /* Activa la "imantación" horizontal obligatoria */
    -webkit-overflow-scrolling: touch;
}

.team-slider-full::-webkit-scrollbar {
    display: none;
}

.team-track {
    display: inline-flex;
    gap: 30px;
    padding-left: 5vw;
    /* Despega la primera foto del borde izquierdo */
    padding-right: 5vw;
}

.team-card {
    flex: 0 0 350px;

}

.team-img-box {
    width: 100%;
    aspect-ratio: 408 / 612;
    background-color: #2a2b32;
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid rgba(151, 151, 151, 0.4);
    /* Borde gris opaco */
    box-sizing: border-box;
    transition: all 0.4s ease-in;
}

.team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    /* Evita que la foto "estorbe" al arrastrar con el mouse */
}

.team-img-box:hover {
    transform: translateY(-3px);
    /* Eleva la caja 3 píxeles hacia arriba */
    border-color: #FEC96D;
    /* (Opcional) Un toque extra: cambia el borde a amarillo al hacer hover */
}

.member-name {
    font-size: 24px;
    margin: 0 0 5px 0;
    color: #FFFFFF;
}

.member-role {
    font-size: 11px;
    color: #FEC96D;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

@media (max-width: 768px) {
    .team-wrapper {
        padding-top: 30px;
    }

    .team-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-headline-box,
    .team-desc-box {
        flex: 0 0 100%;
        width: 100%;
    }

    .team-title {
        font-size: 42px;
        margin-bottom: 15px;
    }

    .slider-btn {
        display: none;
    }

    /* Oculta botones en móvil */
    .team-card {
        flex: 0 0 80vw;
    }
}

/* #endregion */

/* #region: SECTION 6: CONTACT */

.contact-cta-wrapper {
    width: 100%;
    min-height: 80vh;
    /* Altura generosa para el scroll */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1F2026;
    /* Inicia con el negro de la sección anterior */
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    padding-top: 30px;
}

/* El contenido inicia invisible y desenfocado para GSAP */
.contact-cta-content {
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    filter: blur(20px);
}

.cta-logo {
    height: 65px;
    /* Ajusta según el tamaño de tu logo */
    margin-bottom: 25px;
}

.cta-divider {
    width: 45px;
    height: 2px;
    background-color: #2B3A4A;
    /* Azul oscuro del diseño */
    margin: 0 auto 30px auto;
}

.cta-title {
    font-family: 'Abhaya Libre', serif;
    font-size: 64px;
    color: #1F2026;
    /* El texto es oscuro porque el fondo será blanco */
    margin: 0 0 15px 0;
}

.cta-p {
    font-size: 16px;
    line-height: 1.6;
    color: #4A4A4A;
    margin: 0 0 40px 0;
}

/* Estilo del Botón Amarillo */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #FEC96D;
    /* Amarillo universal */
    color: #1F2026;
    padding: 16px 40px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-4px);
    /* Se eleva al pasar el mouse */
    background-color: #e5b460;
}

/* Ajustes Móviles */
@media (max-width: 768px) {
    .cta-title {
        font-size: 46px;
    }

    .cta-p {
        font-size: 14px;
    }
}


/* #endregion */

/*/