.nosotros-landing {
    width: 100%;
    background-color: var(--black-5, #f3f5f6);
}

.nosotros-landing.site-main {
    margin-top: 0;
}

.nosotros-hero {
    --nosotros-hero-pad-inline: 0px;
    --nosotros-hero-pad-bottom: 0px;
    position: relative;
    width: 100%;
    min-height: 98vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding-left: var(--nosotros-hero-pad-inline);
    padding-right: var(--nosotros-hero-pad-inline);
    padding-bottom: var(--nosotros-hero-pad-bottom);
    background-color: transparent;
    overflow: hidden;
}

@media (min-width: 992px) {
    .nosotros-hero {
        --nosotros-hero-pad-inline: 8px;
        --nosotros-hero-pad-bottom: 8px;
    }
}

.nosotros-hero__panel {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background-color: var(--primary-20, #e9f2f5);
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    overflow: hidden;
}

.nosotros-hero .contenedor {
    position: relative;
    z-index: 3;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.nosotros-hero__contenedor {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 0;
}

.nosotros-hero__content {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    width: 100%;
    min-height: 0;
}

.nosotros-hero__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 150px;
    padding-bottom: 4rem;
}

.nosotros-hero__titulo {
    color: var(--secondary-100);
    margin: 0;
    text-align: left;
}

.nosotros-hero__texto {
    margin: 0;
    text-align: left;
    color: var(--secondary-60);
}

.nosotros-hero__texto p {
    margin: 0;
    text-align: left;
}

.nosotros-hero__texto p+p {
    margin-top: 1em;
}

.nosotros-hero__right {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 150px;
}

.nosotros-hero__imagen {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 991px) {
    .nosotros-hero__content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nosotros-hero__left {
        padding-top: 120px;
        padding-bottom: 2rem;
    }

    .nosotros-hero__right {
        padding-top: 0;
        padding-bottom: 4rem;
    }
}

.nosotros-origenes-adn-gradient {
    display: block;
    width: 100%;
    height: 60px;
    margin: 0;
    padding: 0;
    border: 0;
    flex-shrink: 0;
    background: linear-gradient(180deg, var(--black-5, #f3f5f6) 0%, var(--secondary-10, #e8f0f3) 100%);
    pointer-events: none;
}

.nosotros-adn {
    position: relative;
    width: 100%;
    min-height: 130vh;
    box-sizing: border-box;
    background-color: var(--secondary-10, #e8f0f3);
    color: var(--secondary-100, #196c87);
    overflow: hidden;
}

.nosotros-adn__bg {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    pointer-events: none;
}

.nosotros-adn__bg .nosotros-adn__img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.nosotros-adn__media-mobile {
    display: none;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
}

.nosotros-adn__img--mobile {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
}

.nosotros-adn__inner {
    position: relative;
    z-index: 1;
    min-height: 130vh;
    padding-top: 3rem;
    padding-bottom: 3rem;
    box-sizing: border-box;
}

.nosotros-adn__content {
    width: 50%;
    max-width: 100%;
    margin-right: auto;
    padding: 2.5rem;
    box-sizing: border-box;
}

.nosotros-adn__titulo {
    margin: 0;
    color: var(--secondary-100, #196c87);
}

.nosotros-adn__intro {
    color: var(--secondary-100, #196c87);
    line-height: 1.2;
}

.nosotros-adn__intro p {
    margin: 0;
}

.nosotros-adn__intro p+p {
    margin-top: 0.75em;
}

.nosotros-adn__texto {
    margin: 0;
    line-height: 28px;
}

.nosotros-adn__texto p {
    margin: 0 0 1em;
    line-height: 28px;
}

.nosotros-adn__texto p:last-child {
    margin-bottom: 0;
}

.nosotros-adn__cta {
    margin: 0;
}

.nosotros-adn__cta .boton {
    line-height: 28px;
    letter-spacing: 0.05em;
}

.nosotros-adn__boton-sin-link {
    cursor: default;
}

@media (max-width: 991px) {
    .nosotros-adn {
        min-height: 0;
    }

    .nosotros-adn__bg--desktop {
        display: none;
    }

    .nosotros-adn__inner {
        min-height: 0;
        padding-top: 2.5rem;
        padding-bottom: 1.5rem;
    }

    .nosotros-adn__content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .nosotros-adn__cta .boton {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .nosotros-adn__media-mobile {
        display: block;
    }
}

.nosotros-origenes {
    position: relative;
    width: 100%;
    background-color: transparent;
    color: var(--secondary-100, #196c87);
}

.nosotros-origenes__cabecera {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.nosotros-origenes__titulo {
    margin: 0;
    color: var(--secondary-100, #196c87);
}

.nosotros-origenes-slider__layout {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 40px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.nosotros-origenes-slider__columna--panel {
    order: 1;
}

.nosotros-origenes-slider__columna--visual {
    order: 2;
}

/* relative + min-height: los slides son absolute; sin inset:0/overflow la imagen
   supera el caja y se pinta sobre la sección siguiente (móvil/tablet). */
.nosotros-origenes-slider__media {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: clamp(280px, 90vw, 420px);
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    isolation: isolate;
}

.nosotros-origenes-slider--single .nosotros-origenes-slider__nav {
    display: none;
}

.nosotros-origenes-slider__slide--visual {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    min-height: 0;
}

.nosotros-origenes-slider__slide--visual.is-active {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    .nosotros-origenes-slider__slide--visual {
        transition: none;
    }
}

.nosotros-origenes-slider__img {
    display: block;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 1;
}

.nosotros-origenes-slider__columna--panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nosotros-origenes-slider__cuadro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    min-width: 0;
    min-height: 400px;
    padding: 24px 16px 16px 16px;
    border-radius: 24px;
    background-color: var(--primary-40, #d4e5ec);
}

.nosotros-origenes-slider__tarjetas {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
}

.nosotros-origenes-slider__tarjeta {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.nosotros-origenes-slider__tarjeta[hidden] {
    display: none;
}

.nosotros-origenes-slider__tarjeta-titulo {
    margin: 0 0 1rem;
    color: var(--secondary-100, #196c87);
}

.nosotros-origenes-slider__tarjeta-texto {
    margin: 0;
    color: var(--body-text-100, #545454);
}

.nosotros-origenes-slider__tarjeta-texto p {
    margin: 0 0 1em;
}

.nosotros-origenes-slider__tarjeta-texto p:last-child {
    margin-bottom: 0;
}

.nosotros-origenes-slider__nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 32px;
    gap: 1rem;
}

.nosotros-origenes-slider__nav-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 1px solid var(--secondary-100, #196c87);
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
}

.nosotros-origenes-slider__nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.35);
}

.nosotros-origenes-slider__nav-btn:focus-visible {
    outline: 2px solid var(--accent-100, #86c8bc);
    outline-offset: 2px;
}

.nosotros-origenes-slider__nav-btn::after {
    content: '';
    display: block;
    width: 21px;
    height: 21px;
    background-color: var(--secondary-100, #196c87);
    mask-image: url('../img/SVG/arrow.svg');
    -webkit-mask-image: url('../img/SVG/arrow.svg');
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-position: center;
    -webkit-mask-position: center;
    transform: rotate(45deg);
    transform-origin: center center;
}

.nosotros-origenes-slider__nav-btn--prev::after {
    transform: rotate(225deg);
}

@media (min-width: 992px) {
    .nosotros-origenes-slider__layout {
        grid-template-columns: minmax(0, 546fr) minmax(0, 733fr);
        gap: 100px;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .nosotros-origenes-slider__media {
        min-height: min(546px, 85vh);
    }

    .nosotros-origenes-slider__columna--visual {
        order: 1;
    }

    .nosotros-origenes-slider__columna--panel {
        order: 2;
    }

    .nosotros-origenes-slider__cuadro {
        padding: 56px 32px 32px 32px;
    }

    .nosotros-origenes-slider__nav-btn {
        width: 80px;
        height: 80px;
    }

    .nosotros-origenes-slider__nav-btn::after {
        width: 28px;
        height: 28px;
    }
}

/* Mision + valores: sección sin padding; .contenedor aporta márgenes como en el resto */
.nosotros-mision-valores {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    background-color: transparent;
    color: var(--body-text-100, #545454);
    padding: 0;
}

/* Contenedor que envuelve la card de valores (2.º .contenedor si hay misión; el único si no) */
.nosotros-mision-valores > .contenedor:has(.nosotros-mision-valores__valores) {
    margin-bottom: 80px;
}

.nosotros-mision-valores__mision {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (min-width: 992px) {
    .nosotros-mision-valores__mision {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

.nosotros-mision-valores__mision-texto {
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
    color: var(--secondary-100, #196c87);
    font-family: var(--font-body);
}

.nosotros-mision-valores__mision-texto p {
    margin: 0 0 1em;
    text-align: center;
}

.nosotros-mision-valores__mision-texto p:last-child {
    margin-bottom: 0;
}

.nosotros-mision-valores__mision strong {
    font-weight: 700;
    color: var(--secondary-100, #196c87);
}

/* Card: padding M arriba/abajo y S laterales (criterio alturas .gap-M y .gap-S en gaps.css) */
.nosotros-mision-valores__valores {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 32px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 24px 16px;
    border-radius: 24px;
    background-color: #fff;
    box-shadow: none;
    border: 1px solid var(--primary-40, #d4e5ec);
}

.nosotros-mision-valores__valores--sin-media {
    grid-template-columns: 1fr;
}

/* Columna gráfica. En 2 col (desktop) se centra en vertical; ver @media 992. */
.nosotros-mision-valores__valores-media {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    display: block;
    align-self: start;
}

.nosotros-mision-valores__valores-circulo {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-width: 0;
}

.nosotros-mision-valores__valores-circulo .nosotros-mision-valores__valores-imagen,
.nosotros-mision-valores__valores-imagen {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.nosotros-mision-valores__valores-cuerpo {
    min-width: 0;
    min-height: 0;
    width: 100%;
    align-self: start;
}

/* Mismo criterio que .home-servicios__heading (title-M + secondary-100) */
.nosotros-mision-valores__valores-encabezado {
    margin: 0;
    text-align: left;
    color: var(--secondary-100, #196c87);
}

/* Mismo criterio vertical que .gap-XS (gaps.css: 12px / 24px a partir de 992px) */
.nosotros-mision-valores__acordeon {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    box-sizing: border-box;
}

.nosotros-mision-valores__fila {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5em;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 8px 0 8px 48px;
    box-sizing: border-box;
    border: 0;
    border-left: 3px solid var(--gray-80, #E5E5E4);
    text-align: left;
    border-radius: 0;
    transition: border-color 0.2s ease;
}

.nosotros-mision-valores__fila.is-abierto {
    border-left-color: var(--accent-100, #86c8bc);
}

.nosotros-mision-valores__fila-cabecera {
    display: block;
    width: 100%;
    margin: 0;
    text-align: left;
}

.nosotros-mision-valores__disparador {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0.15em 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: left;
    color: var(--secondary-80, #47899f);
    line-height: 1.3;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
}

.nosotros-mision-valores__disparador:focus-visible {
    outline: 2px solid var(--accent-100, #86c8bc);
    outline-offset: 2px;
}

.nosotros-mision-valores__num {
    display: inline-block;
    margin-right: 0.2em;
}

.nosotros-mision-valores__solo-titulo {
    margin: 0;
    padding: 0.15em 0;
    color: var(--secondary-80, #47899f);
    text-align: left;
    line-height: 1.3;
}

.nosotros-mision-valores__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.nosotros-mision-valores__panel.is-abierto {
    grid-template-rows: 1fr;
}

.nosotros-mision-valores__panel-inner {
    overflow: hidden;
    min-height: 0;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    text-align: left;
}

.nosotros-mision-valores__panel-inner p {
    margin: 0 0 0.75em;
}

.nosotros-mision-valores__panel-inner p:last-child {
    margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
    .nosotros-mision-valores__panel {
        transition: none;
    }
}

@media (min-width: 992px) {
    .nosotros-mision-valores__acordeon {
        gap: 24px;
    }

    .nosotros-mision-valores__valores {
        padding: 56px 32px;
    }

    .nosotros-mision-valores__valores:not(.nosotros-mision-valores__valores--sin-media) {
        grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
        gap: 80px;
        align-items: stretch;
    }

    .nosotros-mision-valores__valores:not(.nosotros-mision-valores__valores--sin-media) .nosotros-mision-valores__valores-media {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        align-self: stretch;
        height: 100%;
        min-height: 0;
    }

    .nosotros-mision-valores__valores-encabezado {
        text-align: left;
    }
}

/* CTA final (Nosotros): misma card que valores; cuerpo izquierda, imagen derecha en desktop */
.nosotros-cta {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    background-color: transparent;
    color: var(--body-text-100, #545454);
    padding: 0;
}

/* No usar margin: N 0: anularía el margin: 0 auto de .contenedor (deja de centrarse) */
.nosotros-cta > .contenedor {
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Misma caja base que .nosotros-mision-valores__valores: grid invertido (texto / imagen) */
.nosotros-cta__card {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 32px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 24px 16px;
    border-radius: 24px;
    background-color: #fff;
    box-shadow: none;
    border: 1px solid var(--primary-40, #d4e5ec);
}

.nosotros-cta__card--sin-media {
    grid-template-columns: 1fr;
}

.nosotros-cta__cuerpo {
    min-width: 0;
    min-height: 0;
    width: 100%;
}

.nosotros-cta__etiqueta {
    margin: 0;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.4;
    color: var(--accent-100, #86c8bc);
}

.nosotros-cta__titulo,
.nosotros-cta__titulo p {
    margin: 0;
    text-align: left;
    line-height: 1.2;
    letter-spacing: 0;
    color: var(--secondary-100, #196c87);
}

.nosotros-cta__titulo p {
    margin: 0 0 0.4em;
}

.nosotros-cta__titulo p:last-child {
    margin-bottom: 0;
}

.nosotros-cta__titulo strong {
    font-weight: 700;
    color: var(--secondary-100, #196c87);
}

.nosotros-cta__texto {
    margin: 0;
    text-align: left;
    line-height: 28px;
    letter-spacing: 0;
}

.nosotros-cta__texto p {
    margin: 0 0 0.75em;
    line-height: 28px;
}

.nosotros-cta__texto p:last-child {
    margin-bottom: 0;
}

.nosotros-cta__accion {
    margin: 0;
    text-align: left;
}

.nosotros-cta__accion .boton {
    line-height: 28px;
    letter-spacing: 0.05em;
}

.nosotros-cta__boton-sin-link {
    cursor: default;
}

.nosotros-cta__media {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    display: block;
}

.nosotros-cta__media-circulo,
.nosotros-cta__imagen,
.nosotros-cta__media-circulo .nosotros-cta__imagen {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    height: auto;
}

.nosotros-cta__imagen {
    display: block;
}

@media (min-width: 992px) {
    .nosotros-cta > .contenedor {
        margin-top: 80px;
        margin-bottom: 80px;
    }

    .nosotros-cta__card {
        padding: 56px 32px;
    }

    .nosotros-cta__card:not(.nosotros-cta__card--sin-media) {
        grid-template-columns: minmax(0, 5fr) minmax(0, 5fr);
        gap: 80px;
        align-items: stretch;
    }

    /* Misma fila de altura = imagen; el texto se centra en su columna */
    .nosotros-cta__card:not(.nosotros-cta__card--sin-media) .nosotros-cta__cuerpo {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 0;
    }

    .nosotros-cta__card:not(.nosotros-cta__card--sin-media) .nosotros-cta__media {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        align-self: stretch;
        min-height: 0;
    }
}

@media (max-width: 991px) {
    /* En columna: imagen arriba, copy debajo; en desktop el DOM (cuerpo, media) manda */
    .nosotros-cta__card:not(.nosotros-cta__card--sin-media) .nosotros-cta__media {
        order: 1;
    }

    .nosotros-cta__card:not(.nosotros-cta__card--sin-media) .nosotros-cta__cuerpo {
        order: 2;
    }

    .nosotros-cta__accion .boton {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}

/* Equipo (Nosotros) — flex + wrap centra filas incompletas (p. ej. 2 o 1 tarjeta) */
.nosotros-equipo {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    background-color: transparent;
    padding: 0;
}

.nosotros-equipo__cabecera {
    text-align: center;
    max-width: 100%;
}

.nosotros-equipo__titulo {
    color: var(--secondary-100, #196c87);
    line-height: 1.2;
}

.nosotros-equipo__intro {
    max-width: 52em;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.nosotros-equipo__intro p {
    margin: 0 0 0.75em;
}

.nosotros-equipo__intro p:last-child {
    margin-bottom: 0;
}

.nosotros-equipo__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Tarjeta con ancho tope 320px (diseño: no alargar a todo el .contenedor como la card de valores) */
.nosotros-equipo__card {
    display: block;
    box-sizing: border-box;
    flex: 0 1 100%;
    max-width: min(100%, 320px);
    width: 100%;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.nosotros-equipo__media {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0;
    min-height: 0;
}

.nosotros-equipo__orbit {
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    width: 78%;
    max-width: 320px;
    aspect-ratio: 1;
    margin: 0;
    border-radius: 50%;
    background-color: var(--primary-40, #d4e5ec);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.nosotros-equipo__img-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 320px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    line-height: 0;
    aspect-ratio: 3 / 4;
    isolation: isolate;
}

/* Overlay azul al hover: mismo efecto que .home-somos-tarjetas__hover */
.nosotros-equipo__img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--secondary-100, #196c87);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
    z-index: 2;
}

@media (min-width: 992px) {
    .nosotros-equipo__card:hover .nosotros-equipo__img-wrap::after {
        opacity: 0.72;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nosotros-equipo__img-wrap::after {
        transition-duration: 0.01ms;
    }
}

.nosotros-equipo__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.nosotros-equipo__media--sin-foto .nosotros-equipo__img-wrap {
    min-height: 240px;
    background-color: var(--primary-20, #e9f2f5);
}

.nosotros-equipo__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.nosotros-equipo__info-texto {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.nosotros-equipo__nombre {
    margin: 0;
    color: var(--secondary-100, #196c87);
}

.nosotros-equipo__funcion {
    margin: 0;
    color: var(--black-40, #a6a7a9);
    font-style: italic;
}

/* Frente: siempre visible */
.nosotros-equipo__frente {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
}

.nosotros-equipo__card.has-equipo-reveal {
    position: relative;
    box-sizing: border-box;
}

/* Contenedor sin 3D: solo posicionamiento relativo */
.nosotros-equipo__flipper {
    position: relative;
    width: 100%;
}

/* Reverso: overlay encima del anverso, oculto por defecto */
.nosotros-equipo__face--in {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    z-index: 10;
}

/* Desktop: hover/focus abre el overlay */
@media (min-width: 992px) {
    .nosotros-equipo__card.has-equipo-reveal:hover .nosotros-equipo__face--in,
    .nosotros-equipo__card.has-equipo-reveal:focus-within .nosotros-equipo__face--in {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Móvil: la clase JS abre el overlay */
@media (max-width: 991px) {
    .nosotros-equipo__card.has-equipo-reveal.nosotros-equipo__card--flipped .nosotros-equipo__face--in {
        opacity: 1;
        pointer-events: auto;
    }

    /* Botón + y × solo visibles en móvil */
    .nosotros-equipo__card.has-equipo-reveal .nosotros-equipo__flip-trigger {
        display: inline-flex;
    }

    .nosotros-equipo__card.has-equipo-reveal .nosotros-equipo__info {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .nosotros-equipo__card.has-equipo-reveal .nosotros-equipo__info--sin-texto {
        margin-top: 16px;
        flex-direction: row;
        justify-content: flex-end;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nosotros-equipo__face--in {
        transition-duration: 0.01ms;
    }
}

.nosotros-equipo__vuelo {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.25rem 1.25rem 1.5rem;
    gap: 16px;
    overflow: hidden auto;
    -webkit-overflow-scrolling: touch;
    background-color: var(--secondary-100, #196c87);
    box-sizing: border-box;
}

/* title-XS + regular en el HTML; color sobre el token de título */
.nosotros-equipo__vuelo-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
}

.nosotros-equipo__vuelo-head .nosotros-equipo__nombre-vuelo {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    color: var(--white-100, #fff);
}

.nosotros-equipo__vuelo-head-spacer {
    flex: 1 1 auto;
    min-width: 0;
}

.nosotros-equipo__vuelo .nosotros-equipo__bio {
    margin: 0;
    color: var(--white-100, #fff);
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.nosotros-equipo__vuelo .nosotros-equipo__bio p {
    margin: 0 0 0.65em;
    color: inherit;
}

.nosotros-equipo__vuelo .nosotros-equipo__bio p:last-child {
    margin-bottom: 0;
}

.nosotros-equipo__li-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin-top: auto;
    padding: 12px 20px;
    box-sizing: border-box;
    flex-shrink: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0;
    /* Sin caja de línea ancla: solo miden el span+icono (tamaños 24px) */
    line-height: 0;
}

/*
 * Texto e icono: misma altura mínima (24px) y centrado con flex.
 * Así alineas mayúsculas (que en la fuente suben en el em) con el logo en máscara.
 */
.nosotros-equipo__li-boton .nosotros-equipo__li-texto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    line-height: 1.05;
    margin: 0;
    padding: 0;
}

/* Sin flecha del .boton: icono en el markup */
.nosotros-equipo__li-boton.boton::after,
.nosotros-equipo__li-boton.boton.secondary.light::after {
    content: none;
    display: none;
}

.nosotros-equipo__li-icon {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    align-self: center;
    background-color: var(--white-100, #fff);
    mask-image: url('../img/SVG/linkedin.svg');
    -webkit-mask-image: url('../img/SVG/linkedin.svg');
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-position: center;
    -webkit-mask-position: center;
}

.nosotros-equipo__li-boton.boton:hover .nosotros-equipo__li-icon,
.nosotros-equipo__li-boton.boton:focus-visible .nosotros-equipo__li-icon,
.nosotros-equipo__li-boton.boton:active .nosotros-equipo__li-icon {
    background-color: var(--secondary-100, #196c87);
}

/* Móvil: + en el frente (oculto en ≥992) y cierre en el reverso (diseño sin posición: fila con el nombre) */
.nosotros-equipo__flip-trigger {
    display: none;
    width: 54px;
    height: 54px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 1px solid var(--secondary-100, #196c87);
    border-radius: 50%;
    background-color: transparent;
    color: var(--secondary-100, #196c87);
    cursor: pointer;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    line-height: 0;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.nosotros-equipo__flip-trigger--reverso {
    background-color: transparent;
    border-color: var(--white-100, #fff);
    color: var(--white-100, #fff);
}

.nosotros-equipo__flip-trigger--reverso:hover,
.nosotros-equipo__flip-trigger--reverso:focus-visible {
    background-color: rgba(255, 255, 255, 0.12);
}

.nosotros-equipo__flip-trigger-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.nosotros-equipo__flip-trigger:focus:not(:focus-visible) {
    outline: none;
}

/* (volteo 3D eliminado) */

.nosotros-equipo__card.has-equipo-reveal:focus,
.nosotros-equipo__card.has-equipo-reveal:focus-visible {
    outline: 2px solid var(--accent-100, #86c8bc);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .nosotros-equipo__flipper {
        transition-duration: 0.01ms;
    }
}

.nosotros-equipo__cta {
    margin: 0;
    text-align: center;
}

.nosotros-equipo__cta .boton {
    line-height: 28px;
    letter-spacing: 0.05em;
}

@media (max-width: 991px) {
    .nosotros-equipo__cta .boton {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .nosotros-equipo__li-boton {
        text-align: center;
    }
}

.nosotros-equipo__boton-sin-link {
    cursor: default;
}

/* 32px móvil / 56px ≥992 (vertical: top y bottom). Tras .grid y .cta: margin: 0 de esos anulaba el top si iba antes) */
.nosotros-equipo__grid--separada,
.nosotros-equipo__cta--separada {
    margin: 32px 0;
}

@media (min-width: 992px) {
    .nosotros-equipo__grid--separada,
    .nosotros-equipo__cta--separada {
        margin: 56px 0;
    }

    .nosotros-equipo__titulo {
        line-height: 46px;
    }

    .nosotros-equipo__grid {
        gap: 56px;
    }

    .nosotros-equipo__card {
        flex: 0 1 320px;
        max-width: 320px;
        margin-left: 0;
        margin-right: 0;
    }
}