.nosotros-pagina {
    background: #fbfdfb;
}

.tema-clinico-premium .nosotros-header {
    padding: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.tema-clinico-premium .nosotros-header.scrolleado {
    padding: 0;
}

.nosotros-header .contenedor {
    display: grid;
    height: 100%;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
}

.nosotros-nav {
    justify-content: center;
}

.nosotros-nav a {
    color: #52665d;
    font-size: 0.86rem;
    font-weight: 600;
}

.nosotros-nav a:hover,
.nosotros-nav a:focus-visible {
    background: #f0f6f2;
    color: var(--azul-medio);
    outline: none;
}

.nosotros-volver {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border: 1px solid rgba(20, 65, 48, 0.2);
    border-radius: 5px;
    color: #60736a;
    font-size: 0.8rem;
    font-weight: 600;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.nosotros-volver:hover,
.nosotros-volver:focus-visible {
    border-color: rgba(32, 128, 80, 0.42);
    background: #f0f6f2;
    color: var(--verde);
    outline: none;
}

.nosotros-hero {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--azul-profundo);
}

.nosotros-hero > img,
.nosotros-hero-capa {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.nosotros-hero > img {
    object-fit: cover;
    object-position: 68% center;
    transform: scale(1.015);
    animation: nosotros-hero-imagen 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nosotros-hero-capa {
    background:
        linear-gradient(90deg, rgba(8, 37, 26, 0.98) 0%, rgba(11, 48, 34, 0.9) 39%, rgba(11, 48, 34, 0.42) 66%, rgba(11, 48, 34, 0.16) 100%),
        linear-gradient(0deg, rgba(9, 36, 25, 0.18), transparent 46%);
}

.nosotros-hero .contenedor {
    position: relative;
    z-index: 2;
}

.nosotros-hero-texto {
    max-width: 650px;
    padding: 86px 0;
}

.nosotros-sobretitulo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #83d8aa;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    animation: nosotros-subir 0.65s 0.08s ease both;
}

.nosotros-sobretitulo::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--acento);
}

.nosotros-hero h1 {
    max-width: 620px;
    margin-bottom: 22px;
    color: var(--blanco);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.04;
    animation: nosotros-subir 0.72s 0.16s ease both;
}

.nosotros-hero p {
    max-width: 600px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.13rem;
    line-height: 1.75;
    animation: nosotros-subir 0.72s 0.24s ease both;
}

.nosotros-hero-enlace {
    display: inline-flex;
    align-items: center;
    margin-top: 34px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 6px;
    color: var(--blanco);
    font-size: 0.9rem;
    font-weight: 700;
    animation: nosotros-subir 0.72s 0.32s ease both;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nosotros-hero-enlace:hover,
.nosotros-hero-enlace:focus-visible {
    border-color: var(--blanco);
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.identidad,
.valores-institucionales,
.clientes-confianza,
.trayectoria-institucional {
    scroll-margin-top: 76px;
}

.identidad {
    padding: 100px 0;
    background: #fbfdfb;
}

.nosotros-encabezado {
    max-width: 790px;
}

.nosotros-encabezado h2 {
    color: var(--azul);
    font-size: 2.9rem;
    font-weight: 600;
    line-height: 1.14;
}

.nosotros-encabezado > p {
    max-width: 670px;
    margin-top: 20px;
    color: #60736a;
    font-size: 1.04rem;
    line-height: 1.75;
}

.identidad-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 58px;
    border-top: 1px solid var(--linea);
    border-bottom: 1px solid var(--linea);
}

.identidad-bloque {
    position: relative;
    min-height: 310px;
    padding: 42px 48px 46px 0;
}

.identidad-bloque + .identidad-bloque {
    padding-right: 0;
    padding-left: 48px;
    border-left: 1px solid var(--linea);
}

.identidad-bloque h3 {
    margin-bottom: 16px;
    color: var(--azul);
    font-size: 1.75rem;
}

.identidad-bloque p {
    max-width: 510px;
    color: #60736a;
    font-size: 1rem;
    line-height: 1.78;
}

.valores-institucionales {
    padding: 100px 0 112px;
    background: #f0f6f2;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 56px;
    border-top: 1px solid #cfdfd6;
    border-left: 1px solid #cfdfd6;
}

.valor-item {
    min-height: 255px;
    padding: 34px;
    border-right: 1px solid #cfdfd6;
    border-bottom: 1px solid #cfdfd6;
    background: rgba(255, 255, 255, 0.54);
    transition: background-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.valor-item:hover {
    z-index: 2;
    background: var(--blanco);
    box-shadow: 0 20px 44px rgba(9, 36, 25, 0.08);
    transform: translateY(-4px);
}

.valor-icono {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 28px;
    place-items: center;
    border: 1px solid #bed8ca;
    border-radius: 8px;
    background: #f7fbf8;
    color: var(--azul-medio);
}

.valor-icono svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.valor-item h3 {
    margin-bottom: 10px;
    color: var(--azul);
    font-size: 1.16rem;
}

.valor-item p {
    color: #60736a;
    font-size: 0.94rem;
    line-height: 1.68;
}

.clientes-confianza {
    position: relative;
    padding: 78px 0 72px;
    border-top: 1px solid var(--linea);
    border-bottom: 1px solid var(--linea);
    overflow: hidden;
    background-color: #f6faf7;
    background-image: repeating-linear-gradient(90deg,
            rgba(21, 87, 58, 0.026) 0,
            rgba(21, 87, 58, 0.026) 1px,
            transparent 1px,
            transparent 120px);
}

.clientes-confianza::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(420px, 42vw);
    height: 3px;
    background: linear-gradient(90deg, var(--azul-medio), var(--acento));
    transform: translateX(-50%);
}

.clientes-confianza > * {
    position: relative;
    z-index: 1;
}

.clientes-encabezado {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: end;
    gap: 72px;
}

.clientes-encabezado h2 {
    max-width: 680px;
    color: var(--azul);
    font-size: 2.65rem;
    font-weight: 600;
    line-height: 1.16;
}

.clientes-encabezado > p {
    max-width: 470px;
    padding-bottom: 4px;
    color: #60736a;
    font-size: 1rem;
    line-height: 1.72;
}

.clientes-carrusel {
    position: relative;
    margin-top: 42px;
    overflow: hidden;
    padding: 8px 0 14px;
}

.clientes-carrusel::before,
.clientes-carrusel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: min(9vw, 120px);
    pointer-events: none;
}

.clientes-carrusel::before {
    left: 0;
    background: linear-gradient(90deg, #f6faf7, rgba(246, 250, 247, 0));
}

.clientes-carrusel::after {
    right: 0;
    background: linear-gradient(270deg, #f6faf7, rgba(246, 250, 247, 0));
}

.clientes-track {
    display: flex;
    width: max-content;
    animation: clientes-desplazamiento var(--clientes-duracion, 58s) linear infinite;
    will-change: transform;
}

.clientes-carrusel:hover .clientes-track,
.clientes-carrusel:focus-within .clientes-track {
    animation-play-state: paused;
}

.clientes-grupo {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    padding-right: 12px;
}

.cliente-logo {
    position: relative;
    display: flex;
    width: 214px;
    min-height: 88px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 17px 22px;
    border: 1px solid rgba(31, 109, 72, 0.15);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 26px rgba(10, 49, 34, 0.045);
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.cliente-logo::after {
    content: "";
    position: absolute;
    right: 22px;
    bottom: 0;
    left: 22px;
    height: 1px;
    background: var(--acento);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s ease;
}

.cliente-logo:hover,
.cliente-logo:focus-visible {
    border-color: rgba(31, 109, 72, 0.32);
    box-shadow: 0 14px 32px rgba(10, 49, 34, 0.09);
    outline: none;
    transform: translateY(-3px);
}

.cliente-logo:hover::after,
.cliente-logo:focus-visible::after {
    transform: scaleX(1);
}

.cliente-logo img {
    display: block;
    width: 100%;
    max-width: 168px;
    height: 52px;
    object-fit: contain;
    filter: none;
    opacity: 0.84;
    transition: filter 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}

.cliente-logo:hover img,
.cliente-logo:focus-visible img {
    opacity: 1;
    transform: scale(1.015);
}

.cliente-logo--asse {
    border-color: #174f9c;
    background: #1055aa;
}

.cliente-logo--asse:hover,
.cliente-logo--asse:focus-visible {
    border-color: #0f62bd;
    background: #125cb5;
}

.cliente-logo--asse img {
    max-width: 162px;
    filter: none;
    opacity: 0.92;
}

.cliente-logo--benquet {
    padding-top: 11px;
    padding-bottom: 11px;
}

.cliente-logo--benquet img {
    width: 64px;
    max-width: 64px;
    height: 64px;
}

.cliente-logo--centro-salto img {
    max-width: 176px;
    height: 58px;
    opacity: 1;
}

.cliente-logo--ici img {
    width: 172px;
    max-width: 172px;
    height: 62px;
    filter: contrast(1.28) brightness(1.13) saturate(1.08);
    opacity: 1;
}

.cliente-logo--leborgne img {
    filter: none;
    opacity: 1;
}

.cliente-logo--camdel img {
    filter: contrast(1.14) saturate(1.16);
    opacity: 1;
}

.cliente-logo--oscuro {
    border-color: rgba(255, 255, 255, 0.12);
    background: #15382c;
}

.cliente-logo--oscuro img {
    filter: none;
    opacity: 0.92;
}

.cliente-logo--texto {
    flex-direction: column;
    gap: 3px;
    cursor: default;
    text-align: center;
}

a.cliente-logo--texto {
    cursor: pointer;
}

.cliente-marca-sigla {
    color: var(--azul);
    font-family: "Manrope", sans-serif;
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.cliente-marca-nombre {
    max-width: 170px;
    color: #718078;
    font-size: 0.58rem;
    font-weight: 600;
    line-height: 1.25;
    text-transform: uppercase;
}

.trayectoria-institucional {
    padding: 112px 0;
    background: #fbfdfb;
}

.trayectoria-institucional .contenedor {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 84px;
}

.trayectoria-imagen {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 24px 58px rgba(9, 36, 25, 0.12);
}

.trayectoria-imagen::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(90deg, var(--azul-medio), var(--acento));
}

.trayectoria-imagen img {
    height: 100%;
    min-height: 480px;
    object-fit: cover;
}

.trayectoria-texto h2 {
    margin-bottom: 24px;
    color: var(--azul);
    font-size: 2.75rem;
    font-weight: 600;
    line-height: 1.15;
}

.trayectoria-texto p {
    max-width: 580px;
    color: #60736a;
    font-size: 1rem;
    line-height: 1.78;
}

.trayectoria-texto p + p {
    margin-top: 18px;
}

.nosotros-contacto {
    padding: 72px 0;
    background: var(--azul);
}

.nosotros-contacto .contenedor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.nosotros-contacto .etiqueta {
    color: #80d7a7;
}

.nosotros-contacto h2 {
    max-width: 720px;
    color: var(--blanco);
    font-size: 2.3rem;
    font-weight: 600;
    line-height: 1.2;
}

.nosotros-contacto .btn {
    flex: 0 0 auto;
    border-color: var(--blanco);
    background: transparent;
    color: var(--blanco);
}

.nosotros-contacto .btn:hover,
.nosotros-contacto .btn:focus-visible {
    border-color: var(--blanco);
    background: var(--blanco);
    color: var(--azul);
}

.revelar-nosotros {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.72s var(--revelar-delay, 0s) ease,
        transform 0.72s var(--revelar-delay, 0s) cubic-bezier(0.22, 1, 0.36, 1);
}

.revelar-nosotros.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes nosotros-subir {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nosotros-hero-imagen {
    from {
        opacity: 0.74;
        transform: scale(1.055);
    }

    to {
        opacity: 1;
        transform: scale(1.015);
    }
}

@keyframes clientes-desplazamiento {
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 900px) {
    .nosotros-header .contenedor {
        grid-template-columns: auto 1fr;
    }

    .nosotros-nav {
        display: none;
    }

    .nosotros-volver {
        justify-self: end;
    }

    .nosotros-hero {
        min-height: 530px;
    }

    .nosotros-hero h1 {
        font-size: 3.2rem;
    }

    .identidad,
    .valores-institucionales,
    .clientes-confianza,
    .trayectoria-institucional {
        padding-block: 82px;
    }

    .nosotros-encabezado h2,
    .trayectoria-texto h2 {
        font-size: 2.35rem;
    }

    .identidad-bloque {
        padding-right: 34px;
    }

    .identidad-bloque + .identidad-bloque {
        padding-left: 34px;
    }

    .valores-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clientes-encabezado {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .clientes-encabezado h2 {
        font-size: 2.35rem;
    }

    .trayectoria-institucional .contenedor {
        gap: 48px;
    }

    .nosotros-contacto .contenedor {
        align-items: flex-start;
        flex-direction: column;
    }

}

@media (max-width: 640px) {
    .tema-clinico-premium .nosotros-header,
    .tema-clinico-premium .nosotros-header.scrolleado {
        padding: 0;
    }

    .nosotros-header img {
        width: 92px;
    }

    .nosotros-volver {
        min-height: 32px;
        padding: 5px 9px;
        font-size: 0.76rem;
    }

    .nosotros-hero {
        min-height: 570px;
        align-items: flex-end;
    }

    .nosotros-hero > img {
        object-position: 66% center;
    }

    .nosotros-hero-capa {
        background:
            linear-gradient(0deg, rgba(8, 37, 26, 0.98) 0%, rgba(8, 37, 26, 0.84) 52%, rgba(8, 37, 26, 0.3) 100%),
            linear-gradient(90deg, rgba(8, 37, 26, 0.46), transparent);
    }

    .nosotros-hero-texto {
        padding: 190px 0 54px;
    }

    .nosotros-hero h1 {
        font-size: 2.55rem;
        line-height: 1.08;
    }

    .nosotros-hero p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .identidad,
    .valores-institucionales,
    .clientes-confianza,
    .trayectoria-institucional {
        padding-block: 68px;
    }

    .nosotros-encabezado h2,
    .trayectoria-texto h2 {
        font-size: 2rem;
    }

    .identidad-grid {
        grid-template-columns: 1fr;
        margin-top: 42px;
    }

    .identidad-bloque,
    .identidad-bloque + .identidad-bloque {
        min-height: auto;
        padding: 32px 0 36px;
        border-left: 0;
    }

    .identidad-bloque + .identidad-bloque {
        border-top: 1px solid var(--linea);
    }

    .valores-grid {
        grid-template-columns: 1fr;
        margin-top: 42px;
    }

    .valor-item {
        min-height: auto;
        padding: 28px;
    }

    .clientes-encabezado h2 {
        font-size: 2rem;
    }

    .clientes-carrusel {
        margin-top: 40px;
    }

    .cliente-logo {
        width: 184px;
        min-height: 78px;
        padding: 14px 18px;
    }

    .cliente-logo img {
        max-width: 146px;
        height: 44px;
    }

    .cliente-logo--asse img {
        max-width: 140px;
    }

    .trayectoria-institucional .contenedor {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .trayectoria-imagen,
    .trayectoria-imagen img {
        min-height: 340px;
    }

    .nosotros-contacto {
        padding: 58px 0;
    }

    .nosotros-contacto h2 {
        font-size: 1.8rem;
    }

}

@media (prefers-reduced-motion: reduce) {
    .nosotros-hero > img,
    .nosotros-sobretitulo,
    .nosotros-hero h1,
    .nosotros-hero p,
    .nosotros-hero-enlace {
        animation: none;
    }

    .revelar-nosotros {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .clientes-carrusel {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .clientes-carrusel::-webkit-scrollbar {
        display: none;
    }

    .clientes-track {
        animation: none;
    }

    .clientes-grupo[aria-hidden="true"] {
        display: none;
    }
}
