:root {
    --azul: #123528;
    --azul-medio: #208050;
    --azul-profundo: #092419;
    --acento: #e06040;
    --celeste: #dff2e7;
    --texto: #1f2937;
    --muted: #667085;
    --linea: #d9e7df;
    --fondo: #f5faf7;
    --blanco: #ffffff;
    --sombra: 0 18px 46px rgba(9, 36, 25, 0.1);
    --sombra-premium: 0 28px 68px rgba(9, 36, 25, 0.14);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    color: var(--texto);
    background: var(--blanco);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Manrope', 'Inter', Arial, sans-serif;
    letter-spacing: 0;
}

.progreso-scroll {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 40;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--azul-medio), var(--acento));
    box-shadow: 0 0 18px rgba(224, 96, 64, 0.35);
    transform: scaleX(0);
    transform-origin: left;
    pointer-events: none;
}

img {
    width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

main section[id] {
    scroll-margin-top: 72px;
}

.contenedor {
    width: min(90%, 1180px);
    margin: auto;
}

.etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-bottom: 14px;
    padding: 0;
    background: transparent;
    color: var(--azul-medio);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.etiqueta::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--acento);
}

.intro-seccion {
    max-width: 680px;
    margin: -32px auto 44px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
    text-align: center;
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 65px;
    padding: 0;
    border-bottom: 1px solid rgba(217, 231, 223, 0.8);
    background: rgba(255, 255, 255, 0.88);
    transition:
        height 0.35s ease,
        padding 0.35s ease,
        background-color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

header.scrolleado {
    height: 54px;
    padding: 0;
    border-bottom-color: rgba(18, 53, 40, 0.1);
    background: rgba(245, 250, 247, 0.82);
    box-shadow: 0 8px 24px rgba(9, 36, 25, 0.07);
}

.entrada-superior {
    animation: bajar-suave 0.7s ease both;
}

header .contenedor {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    display: inline-flex;
    align-items: center;
}

header img {
    width: 102px;
    height: auto;
    transition: width 0.35s ease;
}

header.scrolleado img {
    width: 94px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: var(--azul);
    transition: transform 0.24s ease, opacity 0.2s ease;
}

nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a {
    position: relative;
    padding: 10px 13px;
    border-radius: 8px;
    color: var(--azul);
    font-size: 0.96rem;
    font-weight: 700;
    transition: padding 0.35s ease, background-color 0.2s ease, color 0.2s ease;
}

header.scrolleado nav a {
    padding: 8px 12px;
}

nav a::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: var(--azul-medio);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

nav a:hover,
nav a:focus-visible,
nav a.activo {
    background: rgba(32, 128, 80, 0.07);
    color: var(--azul-medio);
    outline: none;
}

nav a:hover::after,
nav a:focus-visible::after,
nav a.activo::after {
    transform: scaleX(1);
}

.hero {
    min-height: min(820px, calc(100vh - 72px));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #edf7f2;
}

.hero::after {
    display: none;
}

.hero::before {
    display: none;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slides {
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    opacity: 0;
    transform: scale(1.025);
    transition: opacity 0.8s ease, transform 4.8s ease;
}

.hero-slide.activo {
    opacity: 1;
    transform: scale(1);
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg,
            rgba(9, 36, 25, 0.94) 0%,
            rgba(9, 36, 25, 0.88) 32%,
            rgba(18, 53, 40, 0.62) 52%,
            rgba(18, 53, 40, 0.08) 76%,
            transparent 100%);
}

.hero-slide-tomografo {
    background-size: cover;
    background-position: center;
}

.hero-slide-centargo,
.hero-slide-mamografo,
.hero-slide-ecografo {
    background-color: #edf3f1;
    background-image: none;
}

.hero-slide-tomografo {
    background-image: url("img/hero-canon-medical.webp");
    background-position: 54% center;
}

.hero-slide-centargo {
    background-color: #edf3f1;
    background-image: url("img/hero-centargo-v2.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.hero-slide-mamografo {
    background-color: #edf3f1;
    background-image: url("img/hero-mamografo-fujifilm-v2.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.hero-slide-ecografo {
    background-color: #edf3f1;
    background-image: url("img/hero-ecografo-aplio-i800-v2.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.hero-slide-centargo::after,
.hero-slide-mamografo::after,
.hero-slide-ecografo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0 46%, rgba(0, 0, 0, 0.24) 53%, #000 64%);
    mask-image: linear-gradient(90deg, transparent 0 46%, rgba(0, 0, 0, 0.24) 53%, #000 64%);
}

.hero-slide-centargo::after {
    content: none;
}

.hero-slide-mamografo::after {
    content: none;
}

.hero-slide-ecografo::after {
    content: none;
}

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

.texto-hero {
    max-width: 660px;
    padding: 108px 0 120px;
}

.entrada-hero {
    opacity: 0;
    transform: translateY(22px);
    animation: subir-suave 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.entrada-hero-2 {
    animation-delay: 0.14s;
}

.entrada-hero-3 {
    animation-delay: 0.26s;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 24px;
    color: var(--blanco);
    font-size: clamp(2.7rem, 5vw, 4.7rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.hero p {
    max-width: 640px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.12rem;
    line-height: 1.7;
}

.botones {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 11px 19px;
    border: 1px solid var(--blanco);
    border-radius: 6px;
    background: transparent;
    color: var(--blanco);
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    background: var(--blanco);
    color: var(--azul);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
    outline: none;
}

.btn-secundario {
    background: transparent;
    color: var(--blanco);
}

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

.soluciones {
    position: relative;
    padding: 90px 0;
    background: var(--fondo);
}

.soluciones::before {
    content: "";
    position: absolute;
    top: -26px;
    left: 50%;
    width: 112%;
    height: 30px;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: inherit;
    box-shadow: 0 -1px 0 rgba(18, 53, 40, 0.12);
    opacity: 0.35;
    transform: translate(-50%, 18px) scaleX(0.97);
}

.soluciones.visible::before {
    opacity: 1;
    transition:
        opacity 0.6s ease,
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translate(-50%, 0) scaleX(1);
}

.soluciones .contenedor {
    position: relative;
    z-index: 1;
    text-align: center;
}

.soluciones.revelar:not(.visible) {
    opacity: 1;
    transform: none;
}

.soluciones h2,
.respaldo h2,
.nosotros h2,
.contacto h2 {
    color: var(--azul);
    font-size: clamp(2rem, 4vw, 2.85rem);
    line-height: 1.14;
}

.soluciones h2 {
    margin-bottom: 52px;
}

.soluciones h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--azul-medio), var(--acento));
    transform: scaleX(0);
    transform-origin: center;
}

.soluciones.visible h2::after {
    animation: trazo-productos 0.72s 0.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.categorias-productos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    text-align: left;
}

.categoria-producto {
    position: relative;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px;
    border: 1px solid var(--linea);
    border-radius: 8px;
    overflow: hidden;
    background: var(--blanco);
    color: var(--azul);
    box-shadow: 0 10px 28px rgba(9, 36, 25, 0.05);
    transition: transform 0.28s ease, border-color 0.25s ease, box-shadow 0.28s ease;
}

.categoria-producto::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--azul-medio);
    transform: scaleY(0.34);
    transform-origin: bottom;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.categoria-contenido {
    position: relative;
    z-index: 2;
    width: 58%;
    margin: 10px 0 auto;
}

.categoria-producto h3 {
    margin-bottom: 6px;
    color: var(--azul);
    font-size: 1.35rem;
    line-height: 1.25;
}

.categoria-producto p {
    color: var(--muted);
    font-size: 0.86rem;
}

.categoria-producto > img {
    position: absolute;
    right: 12px;
    bottom: 8px;
    width: 40%;
    height: 86%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 12px 16px rgba(9, 36, 25, 0.12));
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.categoria-accion {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 13px;
    border: 1px solid rgba(18, 53, 40, 0.28);
    border-radius: 6px;
    color: var(--azul-medio);
    font-size: 0.82rem;
    font-weight: 800;
}

.categoria-producto:hover,
.categoria-producto:focus-visible {
    border-color: rgba(32, 128, 80, 0.42);
    box-shadow: 0 18px 38px rgba(9, 36, 25, 0.1);
    transform: translateY(-3px);
    outline: none;
}

.categoria-producto:hover::before,
.categoria-producto:focus-visible::before {
    transform: scaleY(1);
}

.categoria-producto:hover > img,
.categoria-producto:focus-visible > img {
    transform: translateY(-4px) scale(1.035);
}

.categoria-producto:hover .categoria-accion,
.categoria-producto:focus-visible .categoria-accion {
    border-color: var(--azul-medio);
    background: rgba(32, 128, 80, 0.06);
}


.marcas {
    padding: 74px 0 82px;
    background: var(--blanco);
}

.marcas .contenedor {
    text-align: center;
}

.marcas .marcas-titulo {
    margin-bottom: 46px;
    color: var(--azul-medio);
    font-family: 'Inter', Arial, sans-serif;
    font-size: clamp(1.08rem, 2vw, 1.38rem);
    font-weight: 500;
    line-height: 1.4;
}

.marcas-scroll {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.marcas-scroll::before,
.marcas-scroll::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 54px;
    display: none;
    pointer-events: none;
}

.marcas-scroll::before {
    left: 0;
    background: linear-gradient(90deg, var(--blanco), transparent);
}

.marcas-scroll::after {
    right: 0;
    background: linear-gradient(270deg, var(--blanco), transparent);
}

.marcas-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: center;
    gap: 18px 24px;
    padding: 4px 0;
    overflow: visible;
    text-align: center;
}

.marcas-grid::-webkit-scrollbar {
    display: none;
}

.marca {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 82px;
    padding: 10px 2px;
    border: 0;
    background: transparent;
    scroll-snap-align: start;
    transition: transform 0.24s ease;
}

.marca::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: var(--acento);
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
    transition: opacity 0.24s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.marca:hover,
.marca:focus-visible {
    transform: translateY(-4px);
}

.marca:hover::after,
.marca:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
}

.marca:focus-visible {
    outline: 2px solid var(--azul-medio);
    outline-offset: -4px;
}

.marca img {
    width: auto;
    max-width: 138px;
    height: 46px;
    object-fit: contain;
    filter: grayscale(1) saturate(0.3);
    opacity: 0.58;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.marca:hover img,
.marca:focus-visible img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.07);
}

.marca-nihon img {
    width: 138px;
    max-width: 138px;
    object-fit: contain;
}

.marca-bayer img {
    width: 68px;
    max-width: 68px;
    height: 68px;
}

.marca-censonic .marca-logo {
    color: #59615e;
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    opacity: 0.66;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.marca-censonic:hover .marca-logo,
.marca-censonic:focus-visible .marca-logo {
    color: var(--azul-medio);
    opacity: 1;
    transform: scale(1.03);
}

.marca-labnews img {
    filter: brightness(0);
    opacity: 0.55;
}

.marca-labnews:hover img,
.marca-labnews:focus-visible img {
    filter: brightness(0);
    opacity: 0.9;
}

.marca-baumer img,
.marca-codonics img,
.marca-fysicon img {
    max-width: 142px;
}

.marca-bemems img {
    width: 150px;
    max-width: 150px;
    height: 34px;
}

.marca-sleepsense img {
    max-width: 148px;
    height: 44px;
}

.marca-scroll-btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(9, 36, 25, 0.9);
    color: var(--blanco);
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.marca-scroll-btn:hover,
.marca-scroll-btn:focus-visible {
    background: var(--acento);
    outline: none;
    transform: translateY(-50%) scale(1.06);
}

.marca-scroll-prev {
    left: -16px;
}

.marca-scroll-next {
    right: -16px;
}

.whatsapp-fijo {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 16px 34px rgba(9, 36, 25, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fijo svg {
    width: 34px;
    height: 34px;
    fill: var(--blanco);
}

.whatsapp-fijo:hover,
.whatsapp-fijo:focus-visible {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 20px 40px rgba(9, 36, 25, 0.34);
    outline: none;
}

.volver-arriba {
    position: fixed;
    right: 22px;
    bottom: 92px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: #25d366;
    color: var(--blanco);
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(9, 36, 25, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.volver-arriba svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: var(--blanco);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.volver-arriba.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.volver-arriba:hover,
.volver-arriba:focus-visible {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 20px 40px rgba(9, 36, 25, 0.34);
    outline: none;
}

.respaldo {
    padding: 68px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--azul-profundo);
    color: var(--blanco);
}

.respaldo-contenido {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
    align-items: center;
    gap: 64px;
}

.respaldo h2 {
    margin: 8px 0 12px;
    color: var(--blanco);
    font-size: clamp(1.8rem, 3.4vw, 2.65rem);
}

.respaldo p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.02rem;
    line-height: 1.7;
}

.respaldo-cta {
    width: fit-content;
    margin-top: 24px;
}

.respaldo-imagen {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 16 / 9;
    justify-self: end;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
}

.respaldo-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.respaldo-imagen:hover img {
    transform: scale(1.025);
}

.nosotros {
    padding: 90px 0;
    background: var(--blanco);
}

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

.nosotros-texto {
    grid-column: 2;
    grid-row: 1;
}

.nosotros h2 {
    margin-bottom: 22px;
}

.nosotros p {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.8;
}

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

.panel-nosotros {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    min-height: 400px;
    aspect-ratio: 5 / 4;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--sombra);
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.45s ease;
}

.panel-nosotros::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.panel-nosotros img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: center;
    transition:
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.45s ease;
}

.nosotros.revelar.visible .panel-nosotros:hover {
    border-color: rgba(32, 128, 80, 0.34);
    box-shadow: 0 28px 58px rgba(9, 36, 25, 0.15);
    transform: translateY(-5px);
}

.panel-nosotros:hover::after {
    opacity: 1;
}

.panel-nosotros:hover img {
    filter: saturate(1.04) contrast(1.015);
    transform: scale(1.035);
}

.compromiso-cenit {
    position: relative;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.75fr);
    align-items: start;
    gap: 58px;
    margin-top: 4px;
    padding-top: 40px;
    border-top: 1px solid var(--linea);
    overflow: hidden;
}

.compromiso-cenit::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -170px;
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--acento), var(--azul-medio), transparent);
    animation: compromiso-barrido 5.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.compromiso-intro .etiqueta {
    margin-bottom: 12px;
}

.nosotros .compromiso-intro p {
    max-width: 350px;
    color: var(--azul);
    font-family: 'Manrope', 'Inter', Arial, sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.55;
}

.compromiso-valores {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.compromiso-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.compromiso-item:hover,
.compromiso-item:focus-visible {
    transform: translateY(-4px);
}

.compromiso-item:focus-visible {
    outline: 2px solid rgba(32, 128, 80, 0.45);
    outline-offset: 6px;
}

.compromiso-icono {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--linea);
    border-radius: 8px;
    background: var(--fondo);
    color: var(--azul-medio);
    animation: compromiso-pulso 5.4s ease-in-out infinite;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.compromiso-item:nth-child(2) .compromiso-icono {
    animation-delay: 0.9s;
}

.compromiso-item:nth-child(3) .compromiso-icono {
    animation-delay: 1.8s;
}

.compromiso-item:hover .compromiso-icono,
.compromiso-item:focus-visible .compromiso-icono {
    border-color: rgba(32, 128, 80, 0.4);
    background: #eaf7ef;
    box-shadow: 0 10px 24px rgba(9, 36, 25, 0.1);
}

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

.compromiso-item h3 {
    margin: 2px 0 6px;
    color: var(--azul);
    font-size: 1rem;
}

.nosotros .compromiso-item p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.contacto {
    position: relative;
    isolation: isolate;
    min-height: 470px;
    display: grid;
    align-items: center;
    padding: 96px 0;
    border-top: 4px solid var(--acento);
    background: var(--azul);
    color: var(--blanco);
    overflow: hidden;
}

.contacto::before,
.contacto::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contacto::before {
    z-index: -2;
    inset: -3%;
    background: url("img/contacto-canon-alphenix.webp") center / cover no-repeat;
    animation: contacto-respira 14s ease-in-out infinite alternate;
}

.contacto::after {
    z-index: -1;
    background:
        linear-gradient(180deg,
            rgba(11, 47, 35, 0) 54%,
            rgba(11, 47, 35, 0.42) 76%,
            #0b2f23 100%),
        linear-gradient(90deg,
            rgba(9, 36, 25, 0.96) 0%,
            rgba(9, 36, 25, 0.9) 38%,
            rgba(9, 36, 25, 0.68) 62%,
            rgba(9, 36, 25, 0.3) 100%);
}

.contacto .contenedor {
    max-width: 1180px;
    text-align: left;
}

.contacto .etiqueta {
    margin-bottom: 14px;
    color: #9edeb8;
}

.contacto h2 {
    max-width: 680px;
    margin-bottom: 18px;
    color: var(--blanco);
}

.contacto p {
    max-width: 650px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    line-height: 1.7;
}

.contacto .btn {
    width: fit-content;
}

.contacto-contenido {
    max-width: 720px;
}

.site-footer {
    position: relative;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    background: #0b2f23;
    color: var(--blanco);
}

.footer-contenido {
    display: grid;
    grid-template-columns: 1.45fr 0.7fr 1.1fr;
    gap: 72px;
    padding: 64px 0 56px;
}

.footer-marca {
    max-width: 360px;
}

.footer-logo {
    position: relative;
    display: inline-flex;
    margin-bottom: 24px;
    padding: 0;
    background: transparent;
}

.footer-logo img {
    width: 132px;
    height: auto;
    clip-path: inset(0 14px 0 0);
    filter: brightness(0) invert(1);
    opacity: 0.96;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-logo::after {
    content: "";
    position: absolute;
    top: 58%;
    right: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--acento);
    transform: translateY(-50%);
}

.footer-logo:hover img,
.footer-logo:focus-visible img {
    opacity: 1;
    transform: translateY(-1px);
}

.footer-marca p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 1rem;
    line-height: 1.75;
}

.site-footer h3 {
    margin-bottom: 22px;
    color: var(--blanco);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    align-items: start;
    gap: 12px;
}

.footer-links a {
    width: fit-content;
    padding: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.96rem;
    font-weight: 500;
}

.footer-links a::after {
    bottom: -3px;
    left: 0;
    right: 0;
    background: var(--acento);
}

.footer-contacto-lista {
    display: grid;
    gap: 16px;
}

.footer-contacto-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.94rem;
    line-height: 1.55;
}

.footer-contacto-item svg {
    width: 19px;
    min-width: 19px;
    height: 19px;
    margin-top: 2px;
    fill: none;
    stroke: #71d29c;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.footer-eventos {
    display: grid;
    gap: 8px;
    margin-top: 3px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-eventos-titulo {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-evento-contacto {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 8px;
    width: fit-content;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    line-height: 1.4;
}

.footer-evento-contacto strong {
    color: #9edeb8;
    font-weight: 600;
    white-space: nowrap;
}

.footer-evento-contacto:hover strong,
.footer-evento-contacto:focus-visible strong {
    color: var(--blanco);
}

.site-footer a {
    transition: color 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--blanco);
    outline: none;
}

.footer-base {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    padding: 22px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-base p {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.82rem;
    line-height: 1.5;
}

.revelar .revelar-item,
.revelar:not(.visible) {
    opacity: 0;
    transform: translateY(22px);
}

.revelar .revelar-item:nth-child(odd) {
    transform: translateY(22px);
}

.revelar .revelar-item:nth-child(even) {
    transform: translateY(22px);
}

.revelar.visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.revelar.visible .revelar-item {
    opacity: 1;
    transform: none;
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.revelar.visible .revelar-item:nth-child(2) {
    transition-delay: 0.08s;
}

.revelar.visible .revelar-item:nth-child(3) {
    transition-delay: 0.16s;
}

.revelar.visible .revelar-item:nth-child(4) {
    transition-delay: 0.24s;
}

.revelar.visible .revelar-item:nth-child(5) {
    transition-delay: 0.32s;
}

.revelar.visible .revelar-item:nth-child(6) {
    transition-delay: 0.4s;
}

.site-footer.revelar {
    opacity: 1;
    transform: none;
}

.texto-scroll {
    opacity: 0;
    transform: translateY(24px);
}

.texto-scroll.texto-visible {
    animation: texto-scroll-entrada 0.72s var(--texto-delay, 0s) cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes bajar-suave {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }

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

@keyframes subir-suave {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes texto-scroll-entrada {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

@keyframes hero-equipo-flota {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

@keyframes trazo-productos {
    from {
        opacity: 0;
        transform: scaleX(0);
    }

    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes contacto-respira {
    from {
        transform: scale(1.03) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.08) translate3d(-1%, 0, 0);
    }
}

@keyframes compromiso-barrido {
    0%,
    18% {
        left: -170px;
    }

    72%,
    100% {
        left: 100%;
    }
}

@keyframes compromiso-pulso {
    0%,
    8%,
    28%,
    100% {
        transform: scale(1);
        border-color: var(--linea);
        box-shadow: 0 0 0 0 rgba(32, 128, 80, 0);
    }

    15% {
        transform: scale(1.08);
        border-color: rgba(32, 128, 80, 0.42);
        box-shadow: 0 0 0 7px rgba(32, 128, 80, 0.08);
    }
}

@media (max-width: 992px) {
    .footer-contenido {
        grid-template-columns: 1fr 1fr;
        gap: 48px 72px;
    }

    .footer-marca {
        grid-column: 1 / -1;
    }

    .compromiso-cenit {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .nosotros .compromiso-intro p {
        max-width: 600px;
    }

    .nosotros .contenedor,
    .respaldo-contenido {
        grid-template-columns: 1fr;
    }

    .panel-nosotros {
        grid-column: auto;
        grid-row: auto;
        order: 1;
        width: min(100%, 620px);
        justify-self: start;
    }

    .nosotros-texto {
        grid-column: auto;
        grid-row: auto;
        order: 2;
    }

    .compromiso-cenit {
        order: 3;
    }

    .respaldo-contenido {
        gap: 28px;
    }

    .respaldo-imagen {
        width: min(100%, 620px);
        max-width: none;
        justify-self: start;
    }

    .marcas-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px 28px;
    }
}

@media (max-width: 768px) {
    header {
        position: sticky;
        padding: 9px 0;
    }

    header.scrolleado {
        padding: 7px 0;
    }

    header.scrolleado.menu-abierto {
        background: rgba(255, 255, 255, 0.94);
    }

    header .contenedor {
        flex-direction: row;
        gap: 16px;
    }

    header img {
        width: 88px;
    }

    header.scrolleado img {
        width: 84px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    header.menu-abierto .menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    header.menu-abierto .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    header.menu-abierto .menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    header nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        z-index: 12;
        width: 100%;
        display: grid;
        gap: 2px;
        padding: 10px;
        border: 1px solid var(--linea);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--sombra);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    }

    header.menu-abierto nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    header nav a {
        padding: 12px 14px;
        font-size: 0.94rem;
    }

    header.scrolleado nav a {
        padding: 12px 14px;
    }

    header nav a::after {
        display: none;
    }

    .hero {
        min-height: 710px;
        background-position: 62% center;
        animation: none;
    }

    .hero-slide::before {
        background: linear-gradient(90deg,
                rgba(9, 36, 25, 0.95) 0%,
                rgba(9, 36, 25, 0.88) 54%,
                rgba(9, 36, 25, 0.5) 100%);
    }

    .hero-slide-tomografo {
        background-position: 58% center;
    }

    .hero-slide-centargo,
    .hero-slide-mamografo {
        background-position: 78% center;
    }

    .hero-slide-ecografo {
        background-position: 76% center;
    }

    .texto-hero {
        padding: 72px 0 116px;
    }

    .hero p {
        font-size: 1.02rem;
    }

    .botones {
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .intro-seccion {
        margin-top: -32px;
        margin-bottom: 34px;
    }

    .categorias-productos {
        grid-template-columns: 1fr;
    }

    .categoria-producto {
        min-height: 164px;
        padding: 20px;
    }

    .categoria-contenido {
        width: 62%;
        margin: 8px 0 auto;
    }

    .categoria-producto h3 {
        font-size: 1.18rem;
    }

    .categoria-producto > img {
        right: 8px;
        width: 38%;
        height: 82%;
    }

    .soluciones,
    .marcas,
    .respaldo,
    .nosotros,
    .contacto {
        padding: 68px 0;
    }

    .contacto {
        min-height: 520px;
    }

    .contacto::before {
        background-position: 62% center;
    }

    .contacto::after {
        background: linear-gradient(180deg,
                rgba(9, 36, 25, 0.82) 0%,
                rgba(9, 36, 25, 0.86) 72%,
                #0b2f23 100%);
    }

    .contacto .btn {
        width: 100%;
    }

    .footer-contenido {
        grid-template-columns: 1fr;
        gap: 38px;
        padding: 48px 0 42px;
    }

    .footer-marca {
        grid-column: auto;
    }

    .site-footer .footer-links {
        position: static;
        width: auto;
        display: grid;
        gap: 12px;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-footer .footer-links a {
        padding: 0;
    }

    .footer-base {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding-bottom: 98px;
    }

    .compromiso-cenit {
        gap: 26px;
        padding-top: 32px;
    }

    .compromiso-valores {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .marca {
        flex: 0 0 190px;
        padding-inline: 16px;
    }

    .marca img {
        max-width: 154px;
        height: 46px;
    }

    .marca-nihon img {
        width: 154px;
        max-width: 154px;
    }

    .marcas .marcas-titulo {
        max-width: 320px;
        margin: 0 auto 34px;
    }

    .marcas-grid {
        display: flex;
        gap: 12px;
        padding: 4px 0 12px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .marcas-scroll::before,
    .marcas-scroll::after {
        display: block;
    }

    .panel-nosotros {
        width: 100%;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .panel-nosotros img {
        height: 100%;
        min-height: 0;
    }

    .whatsapp-fijo {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }

    .volver-arriba {
        right: 16px;
        bottom: 82px;
        width: 54px;
        height: 54px;
    }

    .marca-scroll-btn {
        display: none;
    }

    .marcas-scroll::before,
    .marcas-scroll::after {
        width: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .revelar,
    .revelar .revelar-item,
    .texto-scroll,
    .entrada-hero {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

@media (max-width: 460px) {
    .contenedor {
        width: min(92%, 1180px);
    }

    .hero h1 {
        font-size: 2.45rem;
    }

}

.marca-scroll-btn {
    display: none;
}

/* TEMA CLINICO PREMIUM */

.tema-clinico-premium {
    color: #263a31;
    background: #fbfdfb;
}

.tema-clinico-premium header {
    height: 65px;
    padding: 0;
    border-bottom-color: rgba(18, 53, 40, 0.08);
    background: rgba(251, 253, 251, 0.96);
    box-shadow: none;
}

.tema-clinico-premium header.scrolleado {
    height: 54px;
    padding: 0;
    background: rgba(251, 253, 251, 0.94);
    box-shadow: 0 8px 28px rgba(9, 36, 25, 0.06);
}

.tema-clinico-premium nav {
    gap: 18px;
}

.tema-clinico-premium nav a {
    padding: 9px 2px;
    border-radius: 0;
    background: transparent;
    font-size: 0.91rem;
}

.tema-clinico-premium header.scrolleado nav a {
    padding: 8px 2px;
}

.tema-clinico-premium nav a::after {
    left: 2px;
    right: 2px;
    bottom: 1px;
    height: 2px;
}

.tema-clinico-premium nav a:hover,
.tema-clinico-premium nav a:focus-visible,
.tema-clinico-premium nav a.activo {
    background: transparent;
}

.tema-clinico-premium .hero-slide::before {
    background: linear-gradient(90deg,
            rgba(9, 36, 25, 0.86) 0%,
            rgba(9, 36, 25, 0.74) 24%,
            rgba(18, 53, 40, 0.4) 43%,
            rgba(18, 53, 40, 0.06) 62%,
            transparent 78%);
}

.tema-clinico-premium .hero h1 {
    font-weight: 700;
}

.tema-clinico-premium .hero p {
    color: rgba(255, 255, 255, 0.88);
}

.tema-clinico-premium .btn {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 7px;
    box-shadow: none;
    font-weight: 600;
}

.tema-clinico-premium .btn:hover,
.tema-clinico-premium .btn:focus-visible {
    box-shadow: 0 9px 22px rgba(9, 36, 25, 0.1);
}

.tema-clinico-premium .soluciones,
.tema-clinico-premium .marcas,
.tema-clinico-premium .nosotros {
    padding: 108px 0;
}

.tema-clinico-premium .soluciones {
    padding: 84px 0 108px;
    background: #f2f7f4;
}

.tema-clinico-premium .soluciones h2,
.tema-clinico-premium .respaldo h2,
.tema-clinico-premium .nosotros h2,
.tema-clinico-premium .contacto h2 {
    font-size: 2.68rem;
    font-weight: 600;
    line-height: 1.12;
}

.tema-clinico-premium .soluciones h2 {
    margin-bottom: 56px;
}

.tema-clinico-premium .soluciones h2::after {
    width: 52px;
    height: 2px;
    margin-top: 20px;
}

.tema-clinico-premium .intro-seccion {
    max-width: 720px;
    margin-bottom: 52px;
    color: #667085;
    font-size: 1.02rem;
}

.tema-clinico-premium .categorias-productos {
    gap: 20px;
}

.tema-clinico-premium .categoria-producto {
    min-height: 218px;
    padding: 30px;
    border-color: #dce8e1;
    border-radius: 8px;
    background: #fdfefd;
    box-shadow: 0 12px 32px rgba(9, 36, 25, 0.045);
}

.tema-clinico-premium .categoria-producto::before {
    display: none;
}

.tema-clinico-premium .categoria-contenido {
    width: 55%;
    margin: 12px 0 auto;
}

.tema-clinico-premium .categoria-producto h3 {
    margin-bottom: 8px;
    font-size: 1.42rem;
    font-weight: 700;
}

.tema-clinico-premium .categoria-producto p {
    color: #667085;
}

.tema-clinico-premium .categoria-producto > img {
    right: 18px;
    bottom: 2px;
    width: 43%;
    height: 92%;
    filter: drop-shadow(0 13px 14px rgba(9, 36, 25, 0.09));
}

.tema-clinico-premium .categoria-accion {
    color: var(--azul);
    font-size: 0.79rem;
}

.tema-clinico-premium .categoria-producto:hover,
.tema-clinico-premium .categoria-producto:focus-visible {
    border-color: rgba(32, 128, 80, 0.42);
    box-shadow: 0 18px 40px rgba(9, 36, 25, 0.08);
    transform: translateY(-2px);
}

.tema-clinico-premium .categoria-producto:hover::before,
.tema-clinico-premium .categoria-producto:focus-visible::before {
    background: var(--acento);
}

.tema-clinico-premium .marcas {
    border-top: 1px solid var(--linea);
    border-bottom: 1px solid var(--linea);
    background: #fbfdfb;
}

.tema-clinico-premium .marca {
    opacity: 0.72;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.tema-clinico-premium .marca:hover,
.tema-clinico-premium .marca:focus-visible {
    opacity: 1;
    transform: translateY(-2px);
}

.tema-clinico-premium .respaldo {
    padding: 96px 0;
    border-top: 1px solid #dce8e1;
    border-bottom: 1px solid #dce8e1;
    background: #edf5f0;
    color: var(--azul);
}

.tema-clinico-premium .respaldo-contenido {
    grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
    gap: 86px;
}

.tema-clinico-premium .respaldo h2 {
    margin: 12px 0 18px;
    color: var(--azul);
}

.tema-clinico-premium .respaldo p {
    color: #60736a;
    line-height: 1.75;
}

.tema-clinico-premium .respaldo .btn {
    border-color: var(--azul);
    background: transparent;
    color: var(--azul);
}

.tema-clinico-premium .respaldo .btn:hover,
.tema-clinico-premium .respaldo .btn:focus-visible {
    border-color: var(--azul);
    background: var(--azul);
    color: var(--blanco);
}

.tema-clinico-premium .respaldo-imagen {
    max-width: none;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    box-shadow: 0 20px 48px rgba(9, 36, 25, 0.1);
}

.tema-clinico-premium .nosotros .contenedor {
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
    gap: 88px;
}

.tema-clinico-premium .panel-nosotros {
    min-height: 460px;
    border: 1px solid var(--linea);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(9, 36, 25, 0.07);
}

.tema-clinico-premium .panel-nosotros img {
    min-height: 460px;
}

.tema-clinico-premium .nosotros h2 {
    margin-bottom: 26px;
}

.tema-clinico-premium .nosotros p {
    color: #68776f;
    line-height: 1.85;
}

.tema-clinico-premium .compromiso-cenit {
    gap: 64px;
    margin-top: 20px;
    padding-top: 50px;
}

.tema-clinico-premium .compromiso-cenit::before {
    left: 0;
    width: 74px;
    background: var(--acento);
    animation: none;
}

.tema-clinico-premium .compromiso-icono {
    border-radius: 8px;
    background: #f4f8f5;
    animation: none;
}

.tema-clinico-premium .compromiso-item:hover {
    transform: translateY(-2px);
}

.tema-clinico-premium .contacto {
    min-height: 560px;
    padding: 112px 0;
    border-top: 0;
}

.tema-clinico-premium .contacto::after {
    background:
        linear-gradient(180deg,
            rgba(16, 58, 43, 0) 56%,
            rgba(16, 58, 43, 0.34) 78%,
            #103a2b 100%),
        linear-gradient(90deg,
            rgba(16, 58, 43, 0.9) 0%,
            rgba(16, 58, 43, 0.78) 40%,
            rgba(16, 58, 43, 0.42) 67%,
            rgba(16, 58, 43, 0.18) 100%);
}

.tema-clinico-premium .contacto h2 {
    max-width: 620px;
}

.tema-clinico-premium .contacto p {
    max-width: 590px;
}

.tema-clinico-premium .site-footer {
    border-top: 0;
    background: linear-gradient(180deg, #103a2b 0%, #0b2f23 88%);
}

@media (max-width: 992px) {
    .tema-clinico-premium nav {
        gap: 9px;
    }

    .tema-clinico-premium .soluciones,
    .tema-clinico-premium .marcas,
    .tema-clinico-premium .nosotros {
        padding: 84px 0;
    }

    .tema-clinico-premium .respaldo-contenido,
    .tema-clinico-premium .nosotros .contenedor {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .tema-clinico-premium .respaldo-imagen,
    .tema-clinico-premium .panel-nosotros {
        width: min(100%, 680px);
    }
}

@media (max-width: 768px) {
    .tema-clinico-premium header {
        height: 58px;
        padding: 0;
    }

    .tema-clinico-premium header.scrolleado {
        height: 54px;
        padding: 0;
    }

    .tema-clinico-premium .hero-slide::before {
        background: linear-gradient(90deg,
                rgba(9, 36, 25, 0.86) 0%,
                rgba(9, 36, 25, 0.74) 24%,
                rgba(18, 53, 40, 0.4) 43%,
                rgba(18, 53, 40, 0.06) 62%,
                transparent 78%);
    }

    .tema-clinico-premium .hero-slide-ecografo::before {
        background: linear-gradient(90deg,
                rgba(9, 36, 25, 0.86) 0%,
                rgba(9, 36, 25, 0.74) 24%,
                rgba(18, 53, 40, 0.4) 43%,
                rgba(18, 53, 40, 0.06) 62%,
                transparent 78%);
    }

    .tema-clinico-premium header nav {
        gap: 0;
    }

    .tema-clinico-premium nav a,
    .tema-clinico-premium header.scrolleado nav a {
        padding: 12px 14px;
    }

    .tema-clinico-premium .soluciones,
    .tema-clinico-premium .marcas,
    .tema-clinico-premium .nosotros,
    .tema-clinico-premium .respaldo,
    .tema-clinico-premium .contacto {
        padding: 68px 0;
    }

    .tema-clinico-premium .soluciones h2,
    .tema-clinico-premium .respaldo h2,
    .tema-clinico-premium .nosotros h2,
    .tema-clinico-premium .contacto h2 {
        font-size: 2.15rem;
    }

    .tema-clinico-premium .categoria-producto {
        min-height: 178px;
        padding: 22px;
    }

    .tema-clinico-premium .categoria-contenido {
        width: 62%;
        margin: 8px 0 auto;
    }

    .tema-clinico-premium .categoria-producto h3 {
        font-size: 1.22rem;
    }

    .tema-clinico-premium .categoria-producto > img {
        right: 8px;
        width: 38%;
        height: 84%;
    }

    .tema-clinico-premium .panel-nosotros,
    .tema-clinico-premium .panel-nosotros img {
        min-height: 0;
    }

    .tema-clinico-premium .contacto {
        min-height: 520px;
    }

    .tema-clinico-premium .contacto::after {
        background: linear-gradient(180deg,
                rgba(16, 58, 43, 0.76) 0%,
                rgba(16, 58, 43, 0.82) 72%,
                #103a2b 100%);
    }
}

/* El header del inicio flota sobre el hero para aprovechar toda la imagen. */
.tema-clinico-premium header.header-sobre-hero {
    position: fixed;
    right: 0;
    left: 0;
    border-bottom-color: transparent;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}

.tema-clinico-premium header.header-sobre-hero.scrolleado {
    border-bottom-color: rgba(18, 53, 40, 0.1);
    background: rgba(251, 253, 251, 0.92);
    box-shadow: 0 8px 28px rgba(9, 36, 25, 0.07);
}

.tema-clinico-premium.inicio-pagina .hero {
    min-height: 100vh;
    min-height: 100svh;
}

@media (max-width: 768px) {
    .hero-slide-centargo,
    .hero-slide-mamografo,
    .hero-slide-ecografo {
        background-color: #edf3f1;
    }

    .hero-slide-centargo::after,
    .hero-slide-mamografo::after,
    .hero-slide-ecografo::after {
        background-position: 72% center;
    }

    .hero-slide-mamografo,
    .hero-slide-ecografo {
        background-position: 68% center;
    }

    .tema-clinico-premium header.header-sobre-hero {
        background: transparent;
    }

    .tema-clinico-premium header.header-sobre-hero.menu-abierto,
    .tema-clinico-premium header.header-sobre-hero.scrolleado {
        background: rgba(251, 253, 251, 0.95);
    }
}
