/* =========================================================================
   COPAB — Portada (Views/Home). Se carga con @section Styles.
   Hero doble (mockup 2) y sencillo (mockup 1), puntos interactivos, accesos rápidos,
   productos destacados, proyectos con mapa (Leaflet) y marcas representadas.
   Mobile primero: los estilos base son para teléfonos y se amplían con min-width.
   ========================================================================= */

/* ---------- Títulos de sección en mayúsculas (mockup 2) ---------- */
.page-home .home-featured .section-title,
.page-home .home-projects .section-title,
.page-home .home-brands-title { text-transform: uppercase; letter-spacing: .01em; }

/* =========================================================================
   Hero: base común
   ========================================================================= */
.home-hero { position: relative; color: #fff; background: var(--c-navy-900); }

/* =========================================================================
   Hero doble
   ========================================================================= */
.hero-dual-track { display: flex; }
.hero-half {
    --accent: var(--c-blue);
    --accent-ring: rgba(30, 99, 233, .55);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    flex: 1 1 0;
    min-width: 0;
    min-height: 540px;
    display: none;
    background: linear-gradient(160deg, var(--c-navy-700) 0%, var(--c-navy-950) 100%);
}
.hero-half.accent-green { --accent: var(--c-green); --accent-ring: rgba(122, 185, 41, .6); }
.hero-half.is-active,
.hero-dual.is-single-line .hero-half { display: flex; }

.hero-half-media { position: absolute; inset: 0; z-index: -2; }
.hero-half-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Degradado oscuro para leer el título (arriba) y las píldoras (izquierda) sobre cualquier imagen. */
.hero-half::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5, 15, 36, .8) 0%, rgba(5, 15, 36, .38) 30%, rgba(5, 15, 36, .22) 62%, rgba(5, 15, 36, .62) 100%),
        linear-gradient(90deg, rgba(5, 15, 36, .6) 0%, rgba(5, 15, 36, .22) 52%, rgba(5, 15, 36, 0) 78%);
}

/* Atenuación de la mitad no elegida (solo escritorio): sobre el contenido y bajo los puntos. */
.hero-half::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: rgba(5, 15, 36, .3);
    opacity: 0;
    transition: opacity .5s ease;
}

.hero-half-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 2rem 1rem 4.75rem;
}
.hero-half-title {
    margin: 0;
    color: #fff;
    font-size: clamp(1.85rem, 1.3rem + 1.6vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: .01em;
    text-transform: uppercase;
    text-shadow: 0 2px 18px rgba(5, 15, 36, .45);
}
.hero-half-title a { color: inherit; text-decoration: none; }
.hero-half-title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hero-half-title a:focus-visible { outline: 3px solid var(--c-green); outline-offset: 4px; border-radius: 4px; }
.hero-half-tagline {
    max-width: 30ch;
    margin: .6rem 0 1.4rem;
    color: rgba(255, 255, 255, .93);
    font-size: clamp(1rem, .94rem + .3vw, 1.15rem);
    font-weight: 500;
    line-height: 1.35;
    text-shadow: 0 1px 10px rgba(5, 15, 36, .55);
}

/* Píldoras de soluciones: fondo oscuro translúcido y borde claro. */
.hero-pills { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; width: 100%; max-width: 280px; }
.hero-pill {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-height: 40px;
    padding: .45rem .95rem .45rem .85rem;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 999px;
    background: rgba(5, 15, 36, .58);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: .86rem;
    font-weight: 600;
    line-height: 1.2;
    transition: background .2s, color .2s, border-color .2s;
}
.hero-pill-icon { flex: 0 0 1.15rem; font-size: 1rem; text-align: center; transition: color .2s; }
.hero-pill-chevron { margin-left: auto; font-size: .72rem; opacity: .85; transition: transform .2s; }
.hero-pill:hover,
.hero-pill:focus-visible { background: #fff; border-color: #fff; color: var(--c-navy-800); }
.hero-pill:hover .hero-pill-icon,
.hero-pill:focus-visible .hero-pill-icon { color: var(--accent); }
.hero-pill:hover .hero-pill-chevron { transform: translateX(3px); }
.hero-pill:focus-visible { outline: 3px solid var(--c-green); outline-offset: 2px; }

/* Selector inferior (píldora blanca) que cruza el borde inferior del hero. Centrado con left/right + margin auto
   para que su ancho disponible sea el del hero completo (con left: 50% quedaría limitado a la mitad). */
.hero-switch {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    display: flex;
    gap: .2rem;
    width: max-content;
    max-width: calc(100% - 1.5rem);
    margin: 0 auto;
    padding: .3rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(5, 15, 36, .28);
    transform: translateY(50%);
}
.hero-switch-btn {
    --accent: var(--c-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-width: 0;
    min-height: 42px;
    padding: .5rem .85rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--c-navy-800);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background .3s, color .3s, box-shadow .3s;
}
.hero-switch-btn.accent-green { --accent: var(--c-green-600); }
.hero-switch-btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hero-switch-icon { flex: 0 0 auto; font-size: 1.05rem; color: var(--accent); transition: color .3s; }
.hero-switch-btn:hover { background: var(--c-soft); }
.hero-switch-btn[aria-pressed="true"] {
    background: linear-gradient(135deg, var(--c-blue-700) 0%, var(--c-navy-700) 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(21, 73, 181, .35);
}
.hero-switch-btn[aria-pressed="true"] .hero-switch-icon { color: #fff; }
.hero-switch-btn:focus-visible { outline: 3px solid var(--c-green); outline-offset: 2px; }

@media (min-width: 576px) {
    .hero-half-content { padding: 2.5rem 1.75rem 5rem; }
    .hero-switch { gap: .25rem; padding: .35rem; }
    .hero-switch-btn { gap: .55rem; padding: .6rem 1.35rem; font-size: .78rem; min-height: 44px; }
}

@media (min-width: 992px) {
    .hero-half { display: flex; min-height: 600px; transition: flex-grow .6s cubic-bezier(.22, .61, .36, 1); }
    .hero-half + .hero-half { border-left: 2px solid rgba(255, 255, 255, .85); }
    .hero-half-content { padding: 2.75rem clamp(1.75rem, 3vw, 2.75rem) 5.25rem; }
    .hero-dual.has-switch .hero-half:not(.is-active) { cursor: pointer; }
    .hero-dual.is-engaged .hero-half.is-active { flex-grow: 1.5; cursor: auto; }
    .hero-dual.is-engaged .hero-half:not(.is-active)::after { opacity: 1; }
}

/* =========================================================================
   Puntos interactivos (+)
   ========================================================================= */
.hotspot-layer { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hotspot { position: absolute; left: var(--x, 50%); top: var(--y, 50%); width: 0; height: 0; }
.hotspot.is-open,
.hotspot.is-hover { z-index: 5; }
.hotspot-btn {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--accent, var(--c-blue));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    pointer-events: auto;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 0 var(--accent-ring, rgba(30, 99, 233, .55));
    animation: hotspot-pulse 2.6s ease-out infinite;
    transition: transform .2s ease;
}
.hotspot-btn i { transition: transform .25s ease; }
.hotspot-btn:hover { transform: translate(-50%, -50%) scale(1.12); }
.hotspot-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hotspot.is-open .hotspot-btn i { transform: rotate(45deg); }
@keyframes hotspot-pulse {
    0% { box-shadow: 0 0 0 0 var(--accent-ring, rgba(30, 99, 233, .55)); }
    70% { box-shadow: 0 0 0 12px rgba(5, 15, 36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(5, 15, 36, 0); }
}

.hotspot-pop {
    position: absolute;
    left: 26px;
    top: 0;
    z-index: 1;
    display: none;
    width: min(250px, 70vw);
    padding: .85rem 1rem .9rem;
    border-radius: var(--radius);
    background: #fff;
    color: var(--c-text);
    box-shadow: var(--shadow-lg);
    text-align: left;
    pointer-events: auto;
    transform: translateY(-50%);
}
/* Sin JS la ubicación sale de las clases del servidor; con JS (is-ready) se calcula en px dentro del área visible. */
.hotspot-layer:not(.is-ready) .hotspot.pop-left .hotspot-pop { left: auto; right: 26px; }
.hotspot-layer:not(.is-ready) .hotspot.pop-top .hotspot-pop { top: -18px; transform: none; }
.hotspot-layer:not(.is-ready) .hotspot.pop-bottom .hotspot-pop { top: auto; bottom: -18px; transform: none; }
.hotspot-layer.is-ready .hotspot-pop { transform: none; }
.hotspot.is-open .hotspot-pop,
.hotspot.is-hover .hotspot-pop { display: block; animation: hotspot-pop-in .18s ease-out; }
/* Sin JS: se muestran al pasar el mouse o con el foco del teclado. */
.hotspot-layer:not(.is-ready) .hotspot:hover,
.hotspot-layer:not(.is-ready) .hotspot:focus-within { z-index: 5; }
.hotspot-layer:not(.is-ready) .hotspot:hover .hotspot-pop,
.hotspot-layer:not(.is-ready) .hotspot:focus-within .hotspot-pop { display: block; }
@keyframes hotspot-pop-in { from { opacity: 0; } to { opacity: 1; } }

.hotspot-title { display: block; margin-bottom: .2rem; color: var(--c-navy-800); font-size: .92rem; font-weight: 800; line-height: 1.25; }
.hotspot-text { margin: 0 0 .45rem; color: var(--c-muted); font-size: .8rem; line-height: 1.45; }
.hotspot-link { display: inline-flex; align-items: center; gap: .3rem; color: var(--c-blue); font-size: .8rem; font-weight: 700; }
.hotspot-link:hover { color: var(--c-blue-700); }
.hotspot-link i { transition: transform .2s; }
.hotspot-link:hover i { transform: translateX(3px); }

/* En teléfonos el espacio es de las píldoras: los puntos se ocultan (las soluciones siguen enlazadas). */
@media (max-width: 575.98px) {
    .hotspot-layer { display: none; }
}
/* Portada sencilla apilada: la imagen es solo el fondo del texto y del panel, no hay zona libre para los puntos
   (quedarían sobre los botones o debajo del panel). Las soluciones siguen enlazadas en el panel. */
@media (max-width: 991.98px) {
    .hero-single .hotspot-layer { display: none; }
}

/* =========================================================================
   Hero sencillo
   ========================================================================= */
.hero-single { isolation: isolate; overflow: hidden; background: linear-gradient(135deg, var(--c-navy-700) 0%, var(--c-navy-950) 100%); }
.hero-single-media { position: absolute; inset: 0; z-index: -2; }
.hero-single-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-single::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 15, 36, .94) 0%, rgba(5, 15, 36, .8) 34%, rgba(5, 15, 36, .3) 66%, rgba(5, 15, 36, .45) 100%),
        linear-gradient(0deg, rgba(5, 15, 36, .6) 0%, rgba(5, 15, 36, 0) 45%);
}
.hero-single-inner { display: grid; gap: 2rem; padding-top: 2.75rem; padding-bottom: 2.75rem; }
.hero-single-copy { position: relative; z-index: 1; max-width: 640px; }
.hero-single-title {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2.1rem, 1.25rem + 3.2vw, 3.5rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.02em;
    text-wrap: balance;
}
.hero-single-text { max-width: 46ch; margin: 0 0 1.75rem; color: rgba(255, 255, 255, .88); font-size: clamp(1rem, .95rem + .35vw, 1.18rem); line-height: 1.5; }
.hero-single-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.25rem; }
.hero-single-badges .feature-list { gap: 1rem 1.75rem; }

/* Panel flotante de soluciones */
.hero-panel {
    position: relative;
    z-index: 4;
    align-self: start;
    padding: .5rem .5rem .25rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius-lg);
    background: rgba(8, 24, 58, .84);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}
.hero-panel-list { list-style: none; margin: 0; padding: 0; }
.hero-panel-list li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
.hero-panel-link { display: flex; align-items: center; gap: .75rem; padding: .58rem .75rem; border-radius: var(--radius-sm); color: #fff; font-size: .9rem; font-weight: 600; line-height: 1.25; transition: background .2s; }
.hero-panel-icon { flex: 0 0 1.4rem; color: var(--c-green); font-size: 1.1rem; text-align: center; }
.hero-panel-chevron { margin-left: auto; font-size: .78rem; opacity: .7; transition: transform .2s, opacity .2s; }
.hero-panel-link:hover,
.hero-panel-link:focus-visible { background: rgba(255, 255, 255, .08); color: #fff; }
.hero-panel-link:hover .hero-panel-chevron { opacity: 1; transform: translateX(3px); }
.hero-panel-link:focus-visible,
.hero-panel-all:focus-visible { outline: 2px solid var(--c-green); outline-offset: -2px; }
.hero-panel-all { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .25rem; padding: .8rem; border-top: 1px solid rgba(255, 255, 255, .12); border-radius: 0 0 var(--radius) var(--radius); color: var(--c-green-300); font-size: .9rem; font-weight: 700; }
.hero-panel-all:hover { color: #fff; }
.hero-panel-all i { transition: transform .2s; }
.hero-panel-all:hover i { transform: translateX(3px); }

@media (min-width: 992px) {
    .hero-single-inner { align-items: center; min-height: 600px; padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .hero-single-inner.has-panel { grid-template-columns: minmax(0, 1fr) minmax(300px, 340px); }
    .hero-panel { align-self: center; }
}

/* =========================================================================
   Accesos rápidos
   ========================================================================= */
.home-quick { padding: 2.25rem 0 2rem; background: var(--c-soft); }
.hero-dual.has-switch + .home-quick { padding-top: 3.75rem; }
.quick-grid {
    list-style: none;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 84%);
    gap: 1rem;
    margin: 0 -.25rem;
    padding: .25rem .25rem .75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}
.quick-grid > li { display: flex; scroll-snap-align: start; }
.quick-card {
    position: relative;
    display: flex;
    gap: .9rem;
    width: 100%;
    padding: .75rem;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s, transform .2s, border-color .2s;
}
.quick-card.is-link:hover { border-color: #D3DCEA; box-shadow: var(--shadow); transform: translateY(-2px); }
.quick-card-link:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; border-radius: 4px; }
.quick-card-media {
    flex: 0 0 34%;
    max-width: 104px;
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--c-soft);
}
.quick-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.quick-card-media.is-icon { background: transparent; color: var(--c-navy-800); font-size: 2.6rem; }
.quick-card-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: .15rem 0 .1rem; }
.quick-card-title { margin: 0 0 .35rem; color: var(--c-navy-800); font-size: .86rem; font-weight: 800; line-height: 1.25; letter-spacing: .02em; text-transform: uppercase; }
.quick-card-text { margin: 0 0 .6rem; color: var(--c-muted); font-size: .78rem; line-height: 1.45; }
.quick-card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; color: var(--c-blue); font-size: .8rem; font-weight: 700; }
.quick-card-link i { transition: transform .2s; }
.quick-card.is-link:hover .quick-card-link i { transform: translateX(3px); }

@media (min-width: 576px) {
    .quick-grid { grid-auto-columns: 300px; }
}

@media (min-width: 1200px) {
    .quick-grid { grid-auto-flow: row; grid-auto-columns: auto; margin: 0; padding: 0; overflow: visible; }
    .quick-grid.cols-1 { grid-template-columns: minmax(0, 420px); }
    .quick-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quick-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .quick-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .quick-grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* =========================================================================
   Productos destacados
   ========================================================================= */
.home-featured .rail-track > li { display: flex; }
.home-featured .rail-track > li > .product-card { width: 100%; }
.home-featured .rail-btn[aria-disabled="true"] { opacity: .35; cursor: default; }
.home-featured .rail-btn[aria-disabled="true"]:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* =========================================================================
   Proyectos en Panamá + mapa
   ========================================================================= */
.home-projects { padding-bottom: 2.75rem; }
.home-projects-layout { display: grid; gap: 1.25rem; }
.home-projects-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 82%);
    gap: 1rem;
    padding: .25rem .1rem .75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}
.home-projects-list > li { display: flex; scroll-snap-align: start; }
.home-projects-list > li > .project-card { width: 100%; }

.home-map-card {
    position: relative;
    isolation: isolate;
    min-height: 320px;
    overflow: hidden;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    background: #E8EDF3;
    box-shadow: var(--shadow-sm);
}
.home-projects-layout.n-0 .home-map-card { min-height: 380px; }
.home-map { position: absolute; inset: 0; z-index: 0; background: #E8EDF3; }
.home-map.leaflet-container { background: #E8EDF3; font: inherit; }
.home-map:focus-visible { outline: 3px solid rgba(30, 99, 233, .45); outline-offset: -3px; }
.home-map-btn { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; padding: .7rem 1.25rem; font-size: .9rem; box-shadow: 0 10px 24px rgba(5, 15, 36, .3); }
.home-map-btn:focus-visible { outline: 3px solid var(--c-green); outline-offset: 2px; }

/* Marcador personalizado (L.divIcon) */
.home-map-pin { border: 0; background: none; color: var(--c-blue); }
.home-map-pin svg { display: block; filter: drop-shadow(0 3px 4px rgba(5, 15, 36, .35)); transform-origin: 50% 100%; transition: transform .15s ease; }
.home-map-pin:hover svg,
.home-map-pin:focus-visible svg { transform: scale(1.15); }
.home-map-pin:focus-visible { outline: 2px solid var(--c-navy-800); outline-offset: 2px; border-radius: 4px; }

/* Ventana emergente del mapa */
.home-map .leaflet-popup-content-wrapper { padding: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.home-map .leaflet-popup-content { margin: 0; line-height: 1.35; }
.home-map.leaflet-container a.leaflet-popup-close-button { top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--c-navy-800); font: 700 18px/24px var(--font); text-align: center; }
.home-map-popup img { display: block; width: 100%; height: 100px; object-fit: cover; }
.home-map-popup-body { display: grid; gap: .2rem; padding: .65rem .85rem .8rem; }
.home-map-popup-body strong { color: var(--c-navy-800); font-size: .9rem; font-weight: 800; }
.home-map-popup-body span { color: var(--c-muted); font-size: .78rem; }
.home-map-popup-body span i { color: var(--c-green-600); }
.home-map-popup-body a { display: inline-flex; align-items: center; gap: .3rem; margin-top: .2rem; color: var(--c-blue); font-size: .8rem; font-weight: 700; }

@media (min-width: 576px) {
    .home-projects-list { grid-auto-columns: minmax(240px, 46%); }
}

@media (min-width: 768px) {
    .home-projects-list { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; overflow: visible; }
    .home-map-card { min-height: 360px; }
}

@media (min-width: 1200px) {
    .home-projects-layout.has-map.n-1 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); }
    .home-projects-layout.has-map.n-2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1.9fr); }
    .home-projects-layout.has-map.n-3 { grid-template-columns: minmax(0, 3fr) minmax(0, 1.9fr); }
    .home-projects-layout.has-map.n-1 .home-projects-list { grid-template-columns: minmax(0, 1fr); }
    .home-projects-layout.has-map.n-2 .home-projects-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-projects-layout.has-map:not(.n-0) .home-map-card { min-height: 0; height: 100%; }
}

/* =========================================================================
   Marcas representadas
   ========================================================================= */
.home-brands { padding: 2.5rem 0 3.5rem; border-top: 1px solid var(--c-line); }
.home-brands-title { margin-bottom: 1.75rem; text-align: center; }
/* Una sola fila en escritorio (como el mockup) y logos a color; en móvil se reparten en varias columnas. */
.brand-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); align-items: center; justify-items: center; gap: 1rem 1.25rem; }
.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 52px;
    padding: .25rem;
    border-radius: var(--radius-sm);
    opacity: .92;
    transition: filter .3s, opacity .3s, transform .3s;
}
.brand-logo img { width: auto; height: auto; max-width: 100%; max-height: 44px; object-fit: contain; }
.brand-logo-name { color: var(--c-navy-800); font-size: 1rem; font-weight: 800; line-height: 1.2; text-align: center; }
.brand-logo:hover,
.brand-logo:focus-visible { filter: none; opacity: 1; transform: translateY(-2px); }
.brand-logo:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 4px; }

/* Sin mouse (pantallas táctiles) los logos se muestran a color. */
@media (hover: none) {
    .brand-logo { filter: none; opacity: 1; }
}

@media (min-width: 576px) {
    .brand-logos { gap: 1.25rem 1.5rem; }
    .brand-logo { width: 132px; height: 60px; }
    .brand-logo img { max-height: 52px; }
}
