﻿:root {
    --gray-700: #424242;
    --gray-500: #737373;
    --black: black;
    --border-radius--tiny: .375rem;
    --light-grey: #f4f4f4;
    --border-radius--xtiny: .25rem;
    --gray-800: #292929;
    --gray-25: #fcfcfc;
    --gray-400: #a3a3a3;
    --gray-50: #fafafa;
    --gray-900: #141414;
    --dark-green: #25fabe;
    --green: #61ffc9;
    --nav--gray-800: #292929;
    --nav--gray-50: #fafafa;
    --gray-600: #525252;
    --white: white;
    --border-radius--xxsmall: .5rem;
    --gray-300: #d6d6d6;
    --gray-200: #e5e5e5;
    --gray-100: whitesmoke;
    --border-radius--xlarge: 2rem;
    --border-radius--xxtiny: .175rem;
    --border-radius--large-still: 1.75rem;
    --border-radius--0: 0rem;
    --border-radius--medium: 1.25rem;
    --border-radius--large-change: 1.75rem;
    --border-radius--xmedium: 1.5rem;
    --border-radius--xsmall: .75rem;
    --border-radius--small: 1rem;
    --border-radius--home-hero: 2rem;
    --nav--gray-700: #424242;
    --border-radius--about-image: 2rem;
    --border-radius--button-circle: 100vw;
    --nav--circle: #292929;
    --nav--y: #61ffc9;
}



/*quienes somos styles*/

/* ── Hero banner: Quiénes Somos ── */
#bgQuienes {
    background-color: #0b274d;
    background-image: url(../media/quienes/familiaATIO.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#bgQuienes h3 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
    margin: 0;
    text-align: center;
}

/* ── Encabezado Historia ── */
#bgHistoria {
    background: #15254d;
    margin-top: 0px;
    text-align: center;
    padding: 60px 20px 40px;
}

#bgHistoria img {
    max-width: 370px;
    width: 100%;
    height: auto;
}

#bgHistoria h2 {
    margin: 16px 0 0;
    font-size: clamp(2rem, 7vw, 2.9rem);
    color: #fff;
}

/* Subtítulo: centrado bajo el título */
#bgHistoria .hist-lead {
    max-width: 40ch;
    margin: 20px auto 0;
    font-size: clamp(1.05rem, 2.6vw, 1.35rem);
    font-weight: 500;
    line-height: 1.45;
    color: #fff;
    text-wrap: balance;
}

/* Cuerpo: mismo ancho que la línea de tiempo (.tl-stage) para que ambos bloques queden alineados */
#bgHistoria .hist-body {
    max-width: 1040px;
    margin: 32px auto 0;
    text-align: left;
}

#bgHistoria .hist-body p {
    margin: 0 0 1em;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: rgb(255 255 255 / 85%);
    text-wrap: pretty;
}

#bgHistoria .hist-body p:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    #bgHistoria .hist-body {
        margin-top: 40px;
    }

    #bgHistoria .hist-body p {
        font-size: 17px;
        text-align: justify;
        hyphens: auto;
        -webkit-hyphens: auto;
    }
}

/* ── Responsive breakpoints ── */
@media (max-width: 768px) {
    #bgQuienes {
        height: 60vh;
        min-height: 320px;
    }

    #bgQuienes h3 {
        font-size: 2rem;
    }

    #bgHistoria {
        margin-top: -30px;
        padding: 40px 20px 30px;
    }
}

@media (max-width: 480px) {
    #bgQuienes {
        height: 50vh;
        min-height: 260px;
    }

    #bgQuienes h3 {
        font-size: 1.5rem;
    }

    #bgHistoria {
        margin-top: -20px;
        padding: 30px 20px 24px;
    }
}

/* Mismo margen lateral que .tl desde 768px (va después de los breakpoints para prevalecer) */
@media (min-width: 768px) {
    #bgHistoria {
        padding-left: 48px;
        padding-right: 48px;
    }
}



html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    /*   overflow: hidden; */
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
    /*   scroll-behavior: smooth; */
}

body {
    margin: 0;
    height: 100%;
    font-family: "Poppins", sans-serif;
}

.intro-wrapper {
    position: relative;
    height: 90vh;
    background-color: #f8f8f8;
}

.intro {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

.text-align-center {
    max-width: 600px;
    text-align: center;
    position: absolute;
    top: 50px;
}

.text-align-center {
    text-align: center;
    scroll-behavior: smooth;
    height: 100%;
    will-change: transform, opacity;
}

.align-center {
    margin-left: auto;
    margin-right: auto;
}

.max-width-small {
    width: 100%;
    max-width: 30rem;
}

.margin-small {
    margin: 3.5rem;
    margin-bottom: 0;
}

.heading-style-h3 {
    letter-spacing: -.02em;
    font-size: 2.8125rem;
    font-weight: 500;
    line-height: 1;
}

.light-green-underline {
    box-shadow: none;
    display: inline-block;
}

p {
    /*color: var(--gray-500);*/
    margin-bottom: 5rem;
}

.text-size-medium {
    font-size: 1.125rem;
}

sup {
    top: 0em;
}

sub,
sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
}

.section_tabs {
    z-index: 99;
    border-radius: var(--border-radius--xlarge);
    background-color: var(--gray-800);
    position: relative;
}

.padding-section-large {
    padding-top: 7rem;
    padding-bottom: 7rem;
    position: relative;
}

@media(max-width: 576px) {
    .padding-section-large {
        padding-top: 2rem;
        padding-bottom: 0rem;
    }
}

.tabs_height {
    height: 550vh;
}

@media(max-width: 576px) {
    .tabs_height {
        height: 600vh;
    }
}

.tabs_sticky-wrapper {
    height: 100vh;
    position: -webkit-sticky;
    position: sticky;
    top: 5vh;
}

.tabs_container {
    width: 100%;
    max-width: 120rem;
    margin-left: auto;
    margin-right: auto;
}

.tabs_component {
    height: 90vh;
    grid-column-gap: 1.5rem;
    grid-row-gap: 1.5rem;
    grid-template-rows: auto;
    grid-template-columns: .4fr 1fr;
    grid-auto-columns: 1fr;
    padding-left: 3.3%;
    padding-right: 3.3%;
    display: grid;
}

@media(max-width: 576px) {
    .tabs_component {
        grid-template-columns: 1fr;
    }
}

.tabs_left {
    border-radius: var(--border-radius--medium);
    background-color: var(--gray-700);
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: 1.5rem;
    display: flex;
}

.tabs_left-top {
    height: 100%;
    position: relative;
}

.tabs_let-content {
    width: 100%;
    height: 100%;
    text-align: center;
    flex-direction: column;
    justify-content: space-around;
    padding-top: 0%;
    padding-bottom: 0%;
    display: flex;
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s;
}

    .tabs_let-content.is-1 {
        opacity: 1;
    }

.heading-style-h4 {
    letter-spacing: -.02em;
    font-size: 2.125rem;
    font-weight: 500;
    line-height: 1.05;
}

@media(max-width: 576px) {
    .heading-style-h4 {
        margin: 0;
        font-size: 20px;
    }
}

.text-color-gray100 {
    color: var(--gray-100);
}

.tabs_line {
    width: 100%;
    height: 1px;
    background-color: var(--gray-500);
}

.text-color-gray400 {
    color: var(--gray-400);
}

.text-size-small {
    font-size: 1rem;
}

@media(max-width: 576px) {
    .text-size-small {
        font-size: .875rem;
    }
}

.tabs_left-bottom {
    flex-direction: column;
    display: flex;
}

.button {
    grid-column-gap: .5rem;
    grid-row-gap: .5rem;
    border: 1px solid var(--gray-800);
    background-color: var(--gray-800);
    color: var(--gray-25);
    text-align: center;
    letter-spacing: .03em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: .6rem;
    justify-content: center;
    align-items: center;
    padding: .6rem 1.35rem;
    font-size: .875rem;
    text-decoration: none;
    transition: color .6s;
    display: flex;
    overflow: hidden;
}

.tabs_video,
.tabs_right,
.button {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
}

    .button.is-green {
        border-color: var(--green);
        background-color: var(--green);
        color: var(--gray-900);
    }

    .button.is-secondary {
        color: var(--gray-900);
        background-color: transparent;
        transition: border-color .6s, color .6s;
    }

    .button.is-green.is-secondary {
        color: var(--gray-25);
        background-color: rgba(97, 255, 201, 0);
    }

.button-text {
    z-index: 2;
    position: relative;
}

.button-circle-wrapper {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 100vw;
    justify-content: center;
    align-items: center;
    display: flex;
    position: relative;
    overflow: hidden;
}

.button-icon {
    z-index: 2;
    width: 1rem;
    height: 1rem;
    justify-content: center;
    align-items: center;
    display: flex;
    position: absolute;
}

.button-circlee {
    color: var(--white);
    width: 80%;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius--button-circle);
    position: absolute;
    top: 0;
    transform: translate3d(0px, 0%, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
    height: 250px;
    transition: all .2s ease-in-out;
    will-change: transform, width, height, color;
    border: 1px solid transparent;
}

.button.is-green.is-secondary:hover {
    color: var(--gray-800);
    border-color: var(--green);
}

    .button.is-green.is-secondary:hover .button-circlee {
        background-color: var(--green);
        transform: translate3d(0px, -43%, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
        width: 100%;
    }

.tabs_right {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius--medium);
    position: relative;
    overflow: hidden;
    grid-area: span 1 / span 1 / span 1 / span 1;
}

.w-background-video {
    height: 500px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.tabs_video {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius--medium);
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s;
}

    .tabs_video.is-1 {
        opacity: 1;
    }

audio,
canvas,
progress,
video {
    vertical-align: baseline;
    display: inline-block;
}

.w-background-video > video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -100;
    background-position: 50%;
    background-size: cover;
    margin: auto;
    position: absolute;
    top: -100%;
    bottom: -100%;
    left: -100%;
    right: -100%;
}

img {
    border: 0;
    max-width: 100%;
    vertical-align: middle;
    display: inline-block;
}

.tabs_video-gda-badge {
    width: 5rem;
    margin-bottom: 1.5rem;
    object-fit: cover;
    position: relative;
    z-index: 2;
    margin-top: 2rem;
    margin-right: 2rem;
}

.w-background-video {
    width: 100%;
    height: 100%;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.tabs_video {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius--medium);
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s, transform 0.5s;
}

    .tabs_video.is-1 {
        opacity: 1;
        transform: translateY(0);
    }


