
/* ==========================================================================
   GRUPO HIDROLENA — ESTILOS CORPORATIVOS DE HOLDING INSTITUCIONAL
   Referencia visual y editorial: Bethia.cl / Directrices de Identidad Industrial
   Paleta: Deep Hydro Green (#0E2E20), Forest Green (#1D5C42), Coastur Green (#57B957)
   Cero kickers · Cero badges SaaS · Cero tarjetas anidadas
   ========================================================================== */

/* --------------------------------------------------------------------------
   RESET Y VARIABLES BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-hydro-dark: #111827;
    --color-forest: #F00607;
    --color-forest-hover: #C00506;
    --color-coastur: #F00607;
    --color-coastur-dark: #C00506;
    --color-anthracite: #181b31;
    --color-text-main: #1C1C1C;
    --color-text-muted: #4B5563;
    --color-text-light: #6B7280;
    --color-bg-light: #F8F9FA;
    --color-bg-white: #ffffff;
    --color-border: #E5E7EB;
    --color-border-light: #F3F4F6;
    --font-serif: Frutiger, Arial, Helvetica, sans-serif;
    --font-sans: Frutiger, Arial, Helvetica, sans-serif;
    --shadow-subtle: 0 4px 18px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 6px 20px rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* --------------------------------------------------------------------------
   1. ENCABEZADO INSTITUCIONAL DE DOS NIVELES (ESTILO CORPORATIVO UBS / BETHIA)
   NIVEL 1: IDENTIDAD, IDIOMA Y ACCESO | NIVEL 2: NAVBAR BAJO EL LOGO
   -------------------------------------------------------------------------- */
.header {
    width: 100%;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: none;
    border-bottom: 1px solid transparent;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.header.header-scrolled {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #E2E8F0;
}

/* NIVEL SUPERIOR: FILA DE MARCA Y UTILIDADES (REFERENCIA SUPERIOR UBS) */
.header-brand-row {
    width: 100%;
    background-color: transparent;
    transition: background-color 0.25s ease;
}

.header.header-scrolled .header-brand-row {
    background-color: #ffffff;
}

.header-brand-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4px 32px;
    height: 66px;
    min-height: 66px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand-left {
    display: flex;
    align-items: center;
}

.header-logo img {
    width: 228px;
    height: 58px;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.header-logo .logo-white {
    display: block;
}

.header-logo .logo-dark {
    display: none;
}

.header.header-scrolled .header-logo .logo-white {
    display: none;
}

.header.header-scrolled .header-logo .logo-dark {
    display: block;
}

/* COLORES INICIALES SOBRE HERO (BLANCOS) -> AL HACER SCROLL (OSCUROS) */
.header:not(.header-scrolled) .lang-dropdown-btn,
.header:not(.header-scrolled) .lang-text,
.header:not(.header-scrolled) .lang-chevron {
    color: #ffffff;
}

.header:not(.header-scrolled) .lang-dropdown-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.header:not(.header-scrolled) .mobile-toggle .bar {
    background-color: #ffffff;
}

.header:not(.header-scrolled) .header-nav-row {
    background-color: transparent;
    border-top-color: transparent;
}

.header:not(.header-scrolled) .header-nav-links .nav-item,
.header:not(.header-scrolled) .header-nav-links .nav-item.active {
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.header:not(.header-scrolled) .lang-dropdown-btn {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.header.header-scrolled .header-nav-links .nav-item,
.header.header-scrolled .lang-dropdown-btn {
    text-shadow: none;
}

.header:not(.header-scrolled) .header-nav-links .nav-item:hover {
    color: #ffffff;
}

.header-logo:hover img {
    opacity: 0.92;
}

.header-brand-divider {
    display: inline-block;
    width: 1px;
    height: 24px;
    background-color: #D1D5DB;
    margin: 0 16px;
}

.header-brand-descriptor {
    font-size: 14px;
    font-weight: 500;
    color: #4B5563;
    letter-spacing: 0.2px;
    font-family: inherit;
    white-space: nowrap;
}

.header-brand-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-notice-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #2D3748;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-notice-link strong {
    color: var(--color-forest);
    font-weight: 700;
}

.header-notice-link:hover {
    color: var(--color-forest);
}

.topbar-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #F00607;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(240, 6, 7, 0.7);
    animation: pulseDot 2s infinite;
    flex-shrink: 0;
}

@keyframes pulseDot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(240, 6, 7, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(240, 6, 7, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(240, 6, 7, 0);
    }
}

.header-utility-sep {
    color: #D1D5DB;
    font-size: 13px;
}

.header-utility-link {
    font-size: 13.5px;
    font-weight: 500;
    color: #4B5563;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-utility-link:hover {
    color: var(--color-forest);
}

/* SELECTOR DE IDIOMA MINIMALISTA (ESTILO DROPDOWN ES ↕) */
.header-lang-selector {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgb(28, 28, 28);
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    letter-spacing: 0.3px;
    border-radius: 3px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.lang-dropdown-btn:hover {
    color: rgb(28, 28, 28);
    background-color: rgba(0, 0, 0, 0.04);
}

.lang-text {
    font-size: 13px;
    font-weight: 600;
    color: rgb(28, 28, 28);
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    letter-spacing: 0.4px;
}

.lang-chevron {
    width: 9px;
    height: 13px;
    color: rgb(28, 28, 28);
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.lang-dropdown-btn:hover .lang-chevron {
    color: rgb(28, 28, 28);
}

.lang-dropdown-list {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    min-width: 135px;
    display: none;
    flex-direction: column;
    z-index: 120;
    overflow: hidden;
}

.lang-dropdown-list.active {
    display: flex;
    animation: fadeInDropdown 0.15s ease;
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-dropdown-item {
    padding: 8px 14px;
    font-size: 12.5px;
    color: #2D3748;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
    display: block;
    white-space: nowrap;
}

.lang-dropdown-item:hover {
    background-color: #F8F9FA;
    color: #F00607;
}

.lang-dropdown-item.active {
    font-weight: 700;
    color: #F00607;
    background-color: rgba(240, 6, 7, 0.05);
}

/* BOTÓN DE ACCESO ACCIONISTAS (ESTILO 'CLIENT LOGINS' DE UBS) */
.btn-client-login {
    background-color: #F00607;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 3px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    border: 1px solid #F00607;
}

.btn-client-login:hover {
    background-color: #C00506;
    border-color: #C00506;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(240, 6, 7, 0.25);
}

/* --------------------------------------------------------------------------
   NIVEL INFERIOR: NAVBAR BAJO EL LOGO (INSPIRACIÓN UBS — 106PX TOTAL HEADER)
   -------------------------------------------------------------------------- */
.header-nav-row {
    width: 100%;
    background-color: #ffffff;
    /* border-top: 1px solid #F0F0F0; */
    position: relative;
    height: 52px;
}

.header-nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 52px;
    position: relative;
}

.header-nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    height: 52px;
}

.header-nav-links li {
    margin: 0;
    height: 52px;
    display: flex;
    align-items: center;
}

.header-nav-links .nav-item {
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0 16px;
    text-decoration: none;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    color: rgb(28, 28, 28);
    font-size: 16px;
    font-weight: 400;
    position: relative;
    transition: color 0.15s ease;
    white-space: nowrap;
}

.header-nav-links .nav-item:hover {
    color: #F00607;
}

.header-nav-links li:first-child .nav-item {
    padding-left: 0;
}

/* INDICADOR DE ÍTEM ACTIVO Y HOVER (ESTILO UBS BARRA INFERIOR ROJA) */
.header-nav-links .nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background-color: #F00607;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.header-nav-links li:first-child .nav-item::after {
    left: 0;
    right: 16px;
}

.header-nav-links .nav-item:hover::after {
    transform: scaleX(1);
}

.header-nav-links .nav-item.active {
    color: rgb(28, 28, 28);
    font-weight: 600;
}

.header-nav-links .nav-item.active::after {
    transform: scaleX(1);
    background-color: #F00607;
}

/* HERRAMIENTAS DE NAVEGACIÓN (BUSCADOR INSTITUCIONAL) */
.header-nav-tools {
    display: flex;
    align-items: center;
    position: relative;
}

.btn-search-trigger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 0 10px 12px;
    color: #4B5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.btn-search-trigger:hover {
    color: var(--color-forest);
}

.search-icon {
    width: 18px;
    height: 18px;
}

/* BUSCADOR EXPANDIBLE INSTITUCIONAL */
.header-search-bar {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 6px 10px;
    display: none;
    z-index: 105;
    width: 320px;
}

.header-search-bar.active {
    display: block;
    animation: fadeInSearch 0.2s ease;
}

@keyframes fadeInSearch {
    from { opacity: 0; transform: translateY(-46%); }
    to { opacity: 1; transform: translateY(-50%); }
}

.search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input {
    flex: 1;
    border: 1px solid #D1D5DB;
    padding: 7px 10px;
    font-size: 13px;
    border-radius: 3px;
    outline: none;
}

.search-input:focus {
    border-color: var(--color-forest);
}

.search-submit {
    background-color: var(--color-forest);
    color: #ffffff;
    border: none;
    padding: 7px 12px;
    border-radius: 3px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.search-submit:hover {
    background-color: var(--color-forest-hover);
}

.search-close {
    background: none;
    border: none;
    color: #6B7280;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
}

.search-close:hover {
    color: #111827;
}

/* BOTÓN HAMBURGUESA MÓVIL */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle .bar {
    width: 26px;
    height: 2.5px;
    background-color: var(--color-hydro-dark);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* DRAWER MÓVIL */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 82%;
    max-width: 360px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.2);
    z-index: 200;
    padding: 24px 28px;
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 16px;
    margin-bottom: 18px;
}

.drawer-logo {
    height: 38px;
    width: auto;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-hydro-dark);
    cursor: pointer;
    padding: 4px 8px;
}

.drawer-topbar-notice {
    background-color: var(--color-hydro-dark);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.drawer-lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border-light);
    margin-bottom: 18px;
    font-size: 13.5px;
}

.drawer-lang-lbl {
    color: #6B7280;
    font-size: 13px;
}

.drawer-cta-box {
    margin-top: 20px;
    margin-bottom: 10px;
}

.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.drawer-link {
    text-decoration: none;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    color: rgb(28, 28, 28);
    font-size: 16px;
    font-weight: 500;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.drawer-shareholder-link {
    color: var(--color-forest);
    font-weight: 700;
}

.drawer-contact-btn {
    background-color: var(--color-forest);
    color: #ffffff !important;
    text-align: center;
    border-radius: 4px;
    padding: 12px !important;
    margin-top: 10px;
    border-bottom: none;
}

.drawer-footer {
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
    margin-top: 24px;
    font-size: 12px;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   3. HERO PRINCIPAL: GENERACIÓN HIDROELÉCTRICA E INDUSTRIAL (REFERENCIA UBS)
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    width: 100%;
    min-height: 620px;
    height: 646px;
    max-height: 680px;
    padding-top: 106px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #111111;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-static-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero-poster.webp');
    background-position: center;
    background-size: cover;
    z-index: 1;
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.38) 100%);
    z-index: 2;
}

/* CONTENIDO DEL HERO PRINCIPAL (CUADRO BLANCO INSTITUCIONAL ESTILO UBS) */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 32px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.hero-card-white {
    position: relative;
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    max-width: 610px;
    width: 100%;
    padding: 36px 38px 34px 38px;
    border-radius: 2px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.65);
    display: flex;
    flex-direction: column;
}

.hero-card-white .hero-title {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.18;
    color: rgb(28, 28, 28);
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

.hero-card-white .hero-subtitle {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.52;
    color: #374151;
    margin-bottom: 26px;
}

.hero-card-white .hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #F00607;
    color: #ffffff;
    border: 1px solid #F00607;
}

.btn-primary:hover {
    background-color: #C00506;
    border-color: #C00506;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: rgb(28, 28, 28);
    border: 1.5px solid #CBD5E1;
}

.btn-secondary:hover {
    border-color: rgb(28, 28, 28);
    background-color: rgba(28, 28, 28, 0.05);
    transform: translateY(-1px);
}

/* BANDA KPI DEL HERO */
.hero-kpi-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding-top: 28px;
    max-width: 960px;
}

.hero-kpi-item {
    display: flex;
    flex-direction: column;
}

.hero-kpi-val {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-coastur);
    line-height: 1.1;
    margin-bottom: 4px;
}

.hero-kpi-lbl {
    font-size: 12.5px;
    color: #c4ded0;
    font-weight: 500;
}

.hero-kpi-sep {
    width: 1px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* CONTROL HERO VIDEO/ESTÁTICO */
.hero-mode-control {
    position: absolute;
    bottom: 24px;
    right: 32px;
    z-index: 4;
}

.btn-hero-toggle {
    background-color: rgba(17, 24, 39, 0.92);
    color: #d1e5d9;
    border: 1px solid rgba(240, 6, 7, 0.35);
    border-radius: 4px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-hero-toggle:hover {
    background-color: var(--color-forest);
    color: #ffffff;
    border-color: var(--color-coastur);
}

/* --------------------------------------------------------------------------
   4. SECCIÓN PORTAL DEL INVERSIONISTA (PATRÓN DE TARJETAS COASTUR)
   -------------------------------------------------------------------------- */
.holding-section {
    padding: 95px 0 85px 0;
    background-color: #ffffff;
}

.holding-header {
    max-width: 980px;
    margin-bottom: 30px;
}

.holding-title {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--color-hydro-dark);
    line-height: 1.25;
    margin-bottom: 16px;
}

.holding-lead {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #4B5563;
}

/* GRILLA DE TARJETAS DE ACCESO */
.investor-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 40px;
}

.investor-card {
    min-height: 410px;
    border-radius: 18px;
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.investor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

/* TARJETA 1: VERDE SÓLIDA (PATRÓN COASTUR VERDE) */
.investor-card-solid {
    background-color: var(--color-coastur);
    color: #ffffff;
}

.investor-card-solid .card-title {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin: 0;
}

.investor-card-solid .card-desc {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 14.5px;
    line-height: 1.55;
    color: #ffffff;
    margin-bottom: 24px;
}

/* TARJETAS FOTOGRÁFICAS 2, 3, 4 */
.investor-card-photo {
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.investor-card-photo .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 28, 20, 0.75) 0%, rgba(14, 28, 20, 0.48) 45%, rgba(8, 20, 14, 0.88) 100%);
    z-index: 1;
}

.investor-card-photo .card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.investor-card-photo .card-title {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.card-accent-line {
    width: 38px;
    height: 3px;
    background-color: var(--color-coastur);
    border-radius: 2px;
}

.investor-card-photo .card-desc {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #e2ede6;
    margin-bottom: 20px;
}

/* BOTÓN PÍLDORA BLANCO 'VER MÁS' (PATRÓN COASTUR) */
.card-btn-pill {
    background-color: #ffffff;
    color: #111827;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: background-color 0.2s ease, transform 0.15s ease, color 0.15s ease;
}

.card-btn-pill:hover {
    background-color: #f3f4f6;
    color: var(--color-forest);
    transform: translateY(-1px);
}

.gov-list strong {
    color: var(--color-hydro-dark);
}

/* --------------------------------------------------------------------------
   4.1 SECCIÓN RESEÑAS Y EXPERIENCIAS (PATRÓN EXPERIENCIAS EN COASTUR)
   -------------------------------------------------------------------------- */
.reviews-section {
    padding: 65px 0 80px 0;
    background-color: #EAECEF;
    border-top: 1px solid #D1D5DB;
    border-bottom: 1px solid #D1D5DB;
}

.reviews-top-bar {
    background-color: #262626;
    color: #FFFFFF;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 11px 24px;
    letter-spacing: 0.2px;
    border-radius: 4px;
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.reviews-top-right {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.google-brand-pill {
    background-color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.google-wordmark {
    font-family: 'Product Sans', Frutiger, Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.review-google-icon {
    margin-left: auto;
    flex-shrink: 0;
    align-self: flex-start;
}

.reviews-top-rating {
    font-weight: 700;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.reviews-top-stars {
    color: #F59E0B;
    letter-spacing: 1px;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 45px;
    flex-wrap: wrap;
    gap: 24px;
}

.reviews-title {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--color-hydro-dark);
    line-height: 1.25;
    margin: 0;
    display: flex;
    align-items: center;
}

.reviews-title-line {
    display: inline-block;
    width: 55px;
    height: 3px;
    background-color: var(--color-coastur);
    margin-right: 18px;
    border-radius: 2px;
}

.reviews-title-highlight {
    color: var(--color-coastur);
    margin-left: 8px;
}

.reviews-summary-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.summary-rating-num {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--color-hydro-dark);
    line-height: 1.1;
}

.summary-stars {
    color: #F59E0B;
    font-size: 19px;
    letter-spacing: 2px;
    margin: 4px 0;
}

.summary-meta {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: var(--color-text-muted);
}

/* GRILLA DE RESEÑAS */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.review-card {
    background-color: #ffffff;
    border: 1px solid #E2EAE5;
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #F1F5F9;
    color: var(--color-forest);
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1.5px solid #E2E8F0;
}

.review-author-name {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-hydro-dark);
    line-height: 1.3;
    margin: 0 0 3px 0;
}

.review-author-role {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #64748B;
    line-height: 1.35;
}

.review-stars-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #F1F5F3;
}

.review-stars {
    color: #F59E0B;
    font-size: 15px;
    letter-spacing: 2px;
}

.review-date {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #94A3B8;
}

.review-text {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 13.5px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 18px;
    flex-grow: 1;
}

.review-verified-tag {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--color-forest);
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px dashed #E2EAE5;
}

.verified-icon {
    font-size: 12px;
    color: var(--color-coastur);
}

/* --------------------------------------------------------------------------
   4.2 SECCIÓN CALENDARIO DE EVENTOS E INFO FINANCIERA (REFERENCIA WHITE UI COPEC)
   -------------------------------------------------------------------------- */
.events-calendar-section {
    padding: 60px 0 70px 0;
    background-color: #F8F9FA;
    border-bottom: 1px solid #E5E7EB;
}

.events-white-ui-card {
    background-color: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.events-top-ticker {
    background-color: #FFFFFF;
    color: #6B7280;
    border-bottom: 1px solid #F1F5F9;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    padding: 12px 28px;
    letter-spacing: 0.1px;
    font-weight: 400;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.events-cols-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
}

.events-col {
    padding: 32px 30px 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.events-col-destacados {
    background-color: #F4F5F7;
    border-right: 1px solid #E5E7EB;
}

.events-col-calendar {
    background-color: #FFFFFF;
    border-right: 1px solid #E5E7EB;
}

.events-col-quickaccess {
    background-color: #F4F5F7;
}

.col-header {
    margin-bottom: 22px;
}

.col-title {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #262626;
    letter-spacing: 0.5px;
    margin: 0 0 7px 0;
    text-transform: uppercase;
}

.col-title-bar {
    width: 44px;
    height: 2px;
    background-color: #F00607;
}

/* LISTA DESTACADOS */
.destacados-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.destacado-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.4;
}

.destacado-date {
    font-weight: 700;
    color: #64748B;
    width: 52px;
    flex-shrink: 0;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.destacado-link {
    color: #1E293B;
    text-decoration: none;
    transition: color 0.15s ease;
}

.destacado-link:hover {
    color: #F00607;
}

/* WIDGET CALENDARIO */
.calendar-widget {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
}

.cal-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.cal-nav-btn {
    background: none;
    border: none;
    color: #F00607;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
    transition: opacity 0.15s ease;
}

.cal-nav-btn:hover {
    opacity: 0.7;
}

.cal-month-title {
    font-size: 13px;
    color: #262626;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cal-month-title strong {
    font-weight: 700;
}

.cal-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #94A3B8;
    margin-bottom: 8px;
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 6px;
}

.cal-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 6px;
    text-align: center;
    font-size: 12.5px;
}

.cal-day {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    width: 26px;
    margin: 0 auto;
    color: #334155;
    border-radius: 50%;
}

.cal-day-event {
    background-color: #F00607;
    color: #ffffff !important;
    font-weight: 700;
    cursor: pointer;
}

.cal-day-today {
    background-color: #94A3B8;
    color: #ffffff !important;
    font-weight: 600;
}

.cal-day-empty {
    display: block;
    height: 26px;
}

/* ACCIONES INFERIORES VER MÁS */
.col-bottom-action {
    margin-top: 22px;
    text-align: right;
}

.col-more-link {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #F00607;
    text-decoration: none;
    letter-spacing: 0.4px;
}

.col-more-link:hover {
    text-decoration: underline;
}

/* LISTA ACCESO RÁPIDO */
.quickaccess-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quickaccess-list a {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: #1E293B;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
    transition: color 0.15s ease;
}

.quickaccess-list a:hover {
    color: #F00607;
}

.qa-arrow {
    color: #F00607;
    font-size: 11px;
}

.qa-divider {
    border-top: 1px solid #CBD5E1;
    margin: 20px 0;
}

.qa-icons-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.qa-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.qa-icon-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.qa-icon-blue { background-color: #5B9BD5; }
.qa-icon-green { background-color: #10B981; }
.qa-icon-slate { background-color: #5C6F84; }
.qa-icon-orange { background-color: #ED7D31; }

/* BARRA DE SOSTENIBILIDAD INFERIOR */
.events-sustainability-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    padding: 22px 24px;
    border-top: 1px solid #E5E7EB;
    background-color: #ffffff;
    flex-wrap: wrap;
}

.sustain-divider {
    width: 1px;
    height: 36px;
    background-color: #E5E7EB;
}

.sustain-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
}

.sustain-msci {
    font-size: 20px;
    font-weight: 900;
    color: #0F172A;
    letter-spacing: 1.5px;
}

.ftse-dot {
    color: #10B981;
    font-size: 18px;
}

.sustain-ftse {
    font-size: 14.5px;
    font-weight: 700;
    color: #334155;
}

.dj-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    line-height: 1.2;
}

.dj-sub {
    font-size: 9.5px;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dj-name {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
}

.dj-powered {
    font-size: 9.5px;
    color: #64748B;
}

/* RESPONSIVE WHITE UI CARD */
@media (max-width: 960px) {
    .events-cols-grid {
        grid-template-columns: 1fr;
    }
    .events-col-destacados,
    .events-col-calendar {
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
    }
    .events-sustainability-bar {
        gap: 24px;
        flex-direction: column;
        text-align: center;
    }
    .sustain-divider {
        display: none;
    }
    .dj-item {
        align-items: center;
    }
}

/* --------------------------------------------------------------------------
   5. SECCIÓN INVERSIONES Y FILIALES (DISEÑO SPLIT PARALLAX ESTILO BETHIA)
   -------------------------------------------------------------------------- */
.inversores-section {
    position: relative;
    min-height: 460px;
    background-color: #111827;
    background-image: url('../img/bg-inversores-parallax.webp');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 85px 0;
    overflow: hidden;
}

.inversores-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 15, 25, 0.78) 0%, rgba(10, 15, 25, 0.64) 50%, rgba(10, 15, 25, 0.84) 100%);
    z-index: 1;
}

.inversores-bethia-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hl-carousel-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
}

/* CABECERA CENTRADA: TÍTULO, FILETE DE ACENTO Y DESCRIPCIÓN */
.inversores-text-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 740px;
    margin-bottom: 30px;
}

.inversores-title {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.18;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.inversores-accent-line {
    width: 48px;
    height: 3px;
    background-color: #F00607;
    margin: 16px auto 18px auto;
    border-radius: 2px;
}

.inversores-subtitle {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.62;
    color: #E5E7EB;
    margin: 0;
    max-width: 700px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

/* CARRUSEL HORIZONTAL CON TARJETA ÚNICA FROSTED UBS EN EL CENTRO */
.hl-carousel-stage {
    position: relative;
    width: 100%;
    padding: 8px 56px 6px 56px;
}

.hl-carousel-controls {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    padding: 0;
}

.hl-carousel-arrow {
    pointer-events: auto;
    appearance: none;
    -webkit-appearance: none;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(14, 18, 26, 0.56);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hl-carousel-arrow:hover {
    background: #F00607;
    border-color: #F00607;
    transform: scale(1.05);
}

.hl-carousel-arrow:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.hl-carousel-track {
    display: flex;
    align-items: center;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    touch-action: manipulation;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 26px calc(50% - 210px);
    min-height: 360px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
}

.hl-carousel-track::-webkit-scrollbar {
    display: none;
}

.hl-carousel-track:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.5);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
    .hl-carousel-track {
        scroll-behavior: smooth;
    }
}

.hl-carousel-slide {
    flex: 0 0 420px;
    scroll-snap-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Looping infinito simétrico gestionado por JS en style.order (compatible 100% con Chrome, Firefox y Safari) */

/* TARJETA ÚNICA UNIFICADA:
   - Inactiva (laterales): transparente, solo logo blanco translúcido
   - Activa (.is-centered): fondo blanco frosted UBS (rgba(255,255,255,0.88) + blur(12px)) con logo original a color en zoom + info dentro */
.hl-carousel-unified-card {
    width: 100%;
    background: transparent;
    border-radius: 2px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: background-color 0.34s ease, box-shadow 0.34s ease, padding 0.34s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.hl-carousel-slide.is-centered .hl-carousel-unified-card {
    background-color: rgba(255, 255, 255, 0.89);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.30);
    padding: 34px 36px 32px 36px;
    transform: scale(1.03);
}

.hl-carousel-logo-trigger {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    width: 100%;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
    transform: scale(0.84);
    opacity: 0.44;
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.hl-carousel-slide.is-centered .hl-carousel-logo-trigger {
    transform: scale(1.12);
    opacity: 1;
    cursor: default;
}

.hl-carousel-slide:not(.is-centered) .hl-carousel-logo-trigger:hover {
    opacity: 0.88;
    transform: scale(0.90);
}

.hl-carousel-logo-trigger:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
    border-radius: 4px;
}

.hl-carousel-slide.is-centered .hl-carousel-logo-trigger:focus-visible {
    outline-color: #1C1C1C;
}

@keyframes hlHoldingCenterZoom {
    0% {
        scale: 0.88;
    }
    50% {
        scale: 1.04;
    }
    100% {
        scale: 0.88;
    }
}

@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        .hl-carousel-slide {
            animation: hlHoldingCenterZoom auto linear both;
            animation-timeline: view(inline);
        }
    }
}

/* Intercambio limpio entre logo blanco (inactivo) y logo original a color (activo centrado) */
.hl-carousel-logo-img {
    max-width: 190px;
    max-height: 54px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.hl-carousel-slide.is-centered .hl-carousel-logo-img.hl-logo-color {
    max-width: 224px;
    max-height: 64px;
}

.hl-carousel-logo-img.hl-logo-white {
    display: block;
    filter: brightness(0) invert(1) drop-shadow(0 3px 10px rgba(0, 0, 0, 0.38));
}

.hl-carousel-logo-img.hl-logo-color {
    display: none;
    filter: none;
}

.hl-carousel-slide.is-centered .hl-carousel-logo-img.hl-logo-white {
    display: none;
}

.hl-carousel-slide.is-centered .hl-carousel-logo-img.hl-logo-color {
    display: block;
}

.hl-carousel-wordmark-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hl-carousel-wordmark {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffffff;
    line-height: 1.15;
    white-space: nowrap;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
    transition: color 0.28s ease;
}

.hl-carousel-wordmark-sub {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 1.3px;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 5px;
    white-space: nowrap;
    transition: color 0.28s ease;
}

.hl-carousel-slide.is-centered .hl-carousel-wordmark {
    color: #1C1C1C;
    font-size: 25px;
    text-shadow: none;
}

.hl-carousel-slide.is-centered .hl-carousel-wordmark-sub {
    color: #4B5563;
}

/* DETALLES INTEGRADOS DENTRO DE LA MISMA TARJETA FROSTED (SOLO VISIBLES EN EL CENTRO ACTIVO) */
.hl-card-details {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 14px;
    animation: hlCardReveal 0.3s ease;
}

.hl-carousel-slide.is-centered .hl-card-details {
    display: flex;
}

@keyframes hlCardReveal {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.hl-card-red-rule {
    width: 40px;
    height: 3px;
    background-color: #F00607;
    margin: 2px auto 14px auto;
    border-radius: 2px;
}

.hl-carousel-info-name {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #1C1C1C;
    margin: 0 0 4px 0;
    line-height: 1.25;
}

.hl-carousel-info-scope {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #6B7280;
    margin: 0 0 12px 0;
    letter-spacing: 0.15px;
}

.hl-carousel-info-desc {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 14.5px;
    line-height: 1.58;
    color: #374151;
    margin: 0 0 20px 0;
}

.hl-holding-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 26px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* MARCADORES ACCESIBLES (WCAG 2.5.8 TARGET >= 24px + WCAG 1.4.1 FORMA ACTIVA DISTINTA) */
.hl-carousel-markers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.hl-carousel-marker {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    padding: 10px 6px;
    min-width: 26px;
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
}

.hl-carousel-marker::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
    transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s ease;
}

.hl-carousel-marker[aria-current="true"]::before {
    width: 30px;
    background: #F00607;
}

.hl-carousel-marker:hover::before {
    background: rgba(255, 255, 255, 0.78);
}

.hl-carousel-marker[aria-current="true"]:hover::before {
    background: #F00607;
}

.hl-carousel-marker:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
    border-radius: 4px;
}

.hl-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .inversores-section {
        background-attachment: scroll;
        padding: 64px 0;
    }
    .hl-carousel-stage {
        padding: 8px 42px 6px 42px;
    }
    .hl-carousel-track {
        padding: 20px calc(50% - 148px);
        gap: 14px;
        min-height: 340px;
    }
    .hl-carousel-slide {
        flex: 0 0 296px;
    }
    .hl-carousel-slide.is-centered .hl-carousel-unified-card {
        padding: 26px 22px 24px 22px;
    }
    .hl-carousel-arrow {
        width: 36px;
        height: 36px;
    }
    .inversores-title {
        font-size: 32px;
    }
}

/* SHOWCASE DE LOGOS DIRECTOS SIN TARJETAS DENTRO DE TARJETAS */
.logos-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    align-items: flex-start;
}

.partner-logo-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    padding: 20px 24px;
    border-left: 3px solid rgba(240, 6, 7, 0.45);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0 4px 4px 0;
}

.partner-logo-item:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: var(--color-coastur);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.partner-logo-symbol {
    height: 54px;
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.partner-logo-symbol svg {
    width: 140px;
    height: 50px;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.partner-logo-symbol img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.partner-logo-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.partner-logo-sub {
    font-size: 12.5px;
    color: #9fc1b0;
    line-height: 1.4;
    margin-bottom: 6px;
}

.partner-logo-share {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--color-coastur);
    letter-spacing: 0.5px;
}

.provisional-symbol-notice {
    margin-top: 36px;
    font-size: 11.5px;
    color: #7d9e8d;
    font-style: italic;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 14px;
}

/* --------------------------------------------------------------------------
   6. SECCIÓN INSTALACIONES Y ACTIVOS ENERGÉTICOS (CON jsVectorMap)
   -------------------------------------------------------------------------- */
.instalaciones-section {
    padding: 95px 0;
    background-color: var(--color-bg-light);
}

.section-header {
    margin-bottom: 34px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 38px;
    font-weight: 700;
    color: var(--color-hydro-dark);
    line-height: 1.25;
    margin-bottom: 14px;
}

.section-desc {
    font-size: 16.5px;
    color: var(--color-text-muted);
    max-width: 860px;
    line-height: 1.6;
    margin-bottom: 26px;
}

/* BOTONES DE FILTRO */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 18px;
}

.filter-tab {
    background: #ffffff;
    border: 1.5px solid #cbd5cd;
    color: #2b4033;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tab:hover {
    background: #eef4f0;
    border-color: var(--color-forest);
}

.filter-tab.active {
    background: var(--color-forest);
    color: #ffffff;
    border-color: var(--color-forest);
    box-shadow: 0 2px 8px rgba(240, 6, 7, 0.25);
}

/* MAPA MUNDI VECTORIAL CON jsVectorMap (UI ESTILO GOOGLE MAPS) */
.instalaciones-wide-container {
    max-width: 1400px;
}

.map-wrapper {
    margin-top: 24px;
    margin-bottom: 10px;
}

.map-card,
.gmaps-ui-card {
    position: relative;
    background: #AAD3DF;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.gmaps-floating-controls {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 25;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gmaps-pill-btn {
    background: #ffffff;
    color: rgb(28, 28, 28);
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.gmaps-pill-btn:hover {
    background-color: #F3F4F6;
    transform: translateY(-1px);
}

.gmaps-pill-btn.active {
    background-color: #F00607;
    color: #ffffff;
}

.jsvectormap-box {
    width: 100%;
    height: 580px;
    position: relative;
}

.map-overlay-specs {
    background: #F8F9FA;
    border-left: 2.5px solid #F00607;
    padding: 8px 12px;
    margin-bottom: 14px;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #374151;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* TARJETA FLOTANTE UI LIMPIA SOBRE EL MAPA */
.map-overlay-card {
    position: absolute;
    bottom: 66px;
    right: 22px;
    width: 340px;
    max-width: calc(100% - 44px);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    z-index: 25;
    display: flex;
    flex-direction: column;
    animation: fadeInMapCard 0.2s ease;
}

@keyframes fadeInMapCard {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.map-overlay-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(17, 24, 39, 0.72);
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
}

.map-overlay-close:hover {
    background: #F00607;
}

.map-overlay-media {
    width: 100%;
    height: 150px;
    overflow: hidden;
    background-color: #1F2937;
}

.map-overlay-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-overlay-body {
    padding: 18px 20px 18px 20px;
    display: flex;
    flex-direction: column;
}

.map-overlay-meta {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    color: #F00607;
    margin-bottom: 5px;
}

.map-overlay-title {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: rgb(28, 28, 28);
    line-height: 1.25;
    margin: 0 0 8px 0;
}

.map-overlay-desc {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.48;
    color: #4B5563;
    margin: 0 0 16px 0;
}

.map-overlay-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #E5E7EB;
}

.map-overlay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #F00607;
    color: #ffffff;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 3px;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.map-overlay-btn:hover {
    background-color: #C00506;
}

.map-overlay-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.map-nav-arrow {
    width: 26px;
    height: 26px;
    border-radius: 3px;
    border: 1px solid #D1D5DB;
    background: #ffffff;
    color: rgb(28, 28, 28);
    font-size: 11px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.map-nav-arrow:hover {
    border-color: #F00607;
    color: #F00607;
}

.map-overlay-counter {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #4B5563;
}

@media (max-width: 680px) {
    .map-overlay-card {
        position: static;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        border: none;
        border-top: 1px solid #E5E7EB;
    }
    .jsvectormap-box {
        height: 360px;
    }
}

/* SOBREESCRITURA ELEGANTE DE ESTILOS jsVectorMap */
.jvm-tooltip {
    background: var(--color-hydro-dark) !important;
    border: 1px solid var(--color-coastur) !important;
    color: #ffffff !important;
    font-family: var(--font-sans) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.jvm-zoom-btn {
    background-color: var(--color-forest) !important;
    color: #ffffff !important;
    border: 1px solid rgba(240, 6, 7, 0.35) !important;
    border-radius: 3px !important;
    width: 24px !important;
    height: 24px !important;
    line-height: 22px !important;
    font-weight: bold !important;
}

.jvm-zoom-btn:hover {
    background-color: var(--color-coastur-dark) !important;
}

.map-status-bar,
.gmaps-status-bar {
    background: #ffffff;
    border-top: 1px solid #E5E7EB;
    padding: 12px 24px;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #4B5563;
}

.map-status-bar strong {
    color: var(--color-coastur);
}

/* PROMPT GUÍA DE INTERACCIÓN */
.map-initial-prompt {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-left: 5px solid var(--color-forest);
    border-radius: 4px;
    padding: 30px 36px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 14px;
    box-shadow: var(--shadow-subtle);
}

.prompt-icon {
    font-size: 32px;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: #eaf3ed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-forest);
}

.prompt-content h4 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-hydro-dark);
    margin-bottom: 6px;
}

.prompt-content p {
    font-size: 14.5px;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin: 0;
}

/* CARDS GRID DE ACTIVOS */
.cards-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.cards-grid.visible {
    display: grid;
    animation: fadeInGrid 0.4s ease forwards;
}

@keyframes fadeInGrid {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.asset-card {
    background: #ffffff;
    border: 1.5px solid var(--color-border);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.asset-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.card-media {
    position: relative;
    width: 100%;
    height: 230px;
    background: #0d261a;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.asset-card:hover .card-media img {
    transform: scale(1.03);
}

.card-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 700;
    color: var(--color-hydro-dark);
    margin-bottom: 6px;
    line-height: 1.35;
}

.card-meta {
    font-size: 13px;
    color: var(--color-forest);
    font-weight: 600;
    margin-bottom: 14px;
}

.card-text {
    font-size: 14px;
    line-height: 1.55;
    color: #3f5548;
    margin-bottom: 16px;
    flex: 1;
}

.card-specs {
    background-color: var(--color-bg-light);
    border-left: 3px solid var(--color-forest);
    padding: 10px 14px;
    font-size: 12.5px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

.spec-label {
    font-weight: 700;
    color: var(--color-hydro-dark);
}

.card-link {
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-forest);
    align-self: flex-start;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-link:hover {
    color: var(--color-coastur-dark);
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   7. SECCIÓN INDICADORES DE PRODUCCIÓN Y MIX ENERGÉTICO (RIGUROSOS)
   -------------------------------------------------------------------------- */
.indicadores-section {
    padding: 95px 0;
    background-color: #ffffff;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.indicadores-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    margin-top: 36px;
}

.indicadores-mix-card, .indicadores-esg-card {
    background-color: #ffffff;
    border: 1.5px solid var(--color-border);
    border-radius: 6px;
    padding: 38px 40px;
    box-shadow: var(--shadow-subtle);
}

.indicador-box-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-hydro-dark);
    margin-bottom: 8px;
}

.indicador-box-desc {
    font-size: 14.5px;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    line-height: 1.55;
}

.mix-item {
    margin-bottom: 24px;
}

.mix-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.mix-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--color-hydro-dark);
}

.mix-pct {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-forest);
}

.mix-bar-bg {
    width: 100%;
    height: 12px;
    background-color: #e4ebe6;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 6px;
}

.mix-bar-fill {
    height: 100%;
    border-radius: 6px;
}

.mix-bar-hydro {
    background-color: var(--color-forest);
}

.mix-bar-solar {
    background-color: var(--color-coastur);
}

.mix-bar-other {
    background-color: #2e7d5a;
}

.mix-sub {
    font-size: 12px;
    color: var(--color-text-light);
    display: block;
}

.mix-audit-note {
    background-color: var(--color-bg-light);
    border-left: 3px solid var(--color-forest);
    padding: 12px 16px;
    font-size: 12.5px;
    color: var(--color-text-muted);
    margin-top: 28px;
    line-height: 1.5;
}

/* ESG FEATURES */
.esg-features {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.esg-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-border-light);
}

.esg-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.esg-num {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-forest);
    flex-shrink: 0;
    width: 90px;
}

.esg-content {
    flex: 1;
}

.esg-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-hydro-dark);
    margin-bottom: 4px;
}

.esg-text {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* --------------------------------------------------------------------------
   8. SECCIÓN ACCIONISTAS Y GOBIERNO CORPORATIVO (MÁXIMA PRIORIDAD)
   -------------------------------------------------------------------------- */
.accionistas-section {
    padding: 95px 0;
    background-color: var(--color-bg-light);
}

.accionistas-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 52px;
    margin-top: 36px;
}

.accionistas-main {
    background-color: #ffffff;
    border: 1.5px solid var(--color-border);
    border-radius: 6px;
    padding: 42px 46px;
    box-shadow: var(--shadow-subtle);
}

.subheading-corp {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-hydro-dark);
    line-height: 1.3;
    margin-bottom: 16px;
}

.legal-notice-p {
    font-size: 15px;
    line-height: 1.65;
    color: #4B5563;
    margin-bottom: 24px;
}

.orden-dia-block {
    margin-top: 6px;
    margin-bottom: 28px;
    border-top: 2.5px solid var(--color-forest);
    border-bottom: 1px solid var(--color-border);
    padding: 22px 0;
}

.orden-dia-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-forest);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.orden-dia-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.orden-dia-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #edf2ef;
    font-size: 14px;
    line-height: 1.55;
    color: #2b3d32;
}

.orden-dia-item:last-child {
    border-bottom: none;
}

.orden-num {
    font-weight: 700;
    color: var(--color-forest);
    font-family: var(--font-serif);
    font-size: 16px;
    flex-shrink: 0;
}

.derecho-info-note {
    background-color: var(--color-bg-light);
    border-left: 4px solid var(--color-forest);
    padding: 18px 22px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* SIDEBAR ACCIONISTAS */
.accionistas-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.doc-download-list {
    background-color: #ffffff;
    border: 1.5px solid var(--color-border);
    border-radius: 6px;
    padding: 26px 30px;
    box-shadow: var(--shadow-subtle);
}

.doc-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-border-light);
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.doc-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.doc-item-row:first-child {
    padding-top: 0;
}

.doc-item-row:hover {
    transform: translateX(3px);
}

.doc-item-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.doc-icon {
    width: 42px;
    height: 42px;
    background: #edf5f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-forest);
    flex-shrink: 0;
}

.doc-icon svg {
    width: 22px;
    height: 22px;
}

.doc-details h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--color-hydro-dark);
    margin-bottom: 3px;
    line-height: 1.3;
}

.doc-meta {
    font-size: 12px;
    color: var(--color-text-light);
}

.doc-action-btn {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-forest);
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding-left: 12px;
}

/* REPOSITORIO COMPLEMENTARIO */
.archive-docs-block {
    background-color: #ffffff;
    border: 1.5px solid var(--color-border);
    border-radius: 6px;
    padding: 24px 30px;
    box-shadow: var(--shadow-subtle);
}

.archive-docs-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-hydro-dark);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 8px;
}

.archive-docs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.archive-docs-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px solid #f0f4f1;
}

.archive-docs-list li:last-child {
    border-bottom: none;
}

.archive-name {
    color: var(--color-text-main);
    font-weight: 500;
}

.archive-status {
    color: var(--color-text-light);
    font-size: 11.5px;
    font-style: italic;
}

/* BLOQUE DE ATENCIÓN AL ACCIONISTA */
.atencion-block {
    background-color: var(--color-hydro-dark);
    color: #ffffff;
    padding: 30px 34px;
    border-radius: 6px;
    border-left: 5px solid var(--color-coastur);
    box-shadow: var(--shadow-subtle);
}

.atencion-title {
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 700;
    color: var(--color-coastur);
    margin-bottom: 12px;
}

.atencion-p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #d1e5d9;
    margin-bottom: 10px;
}

.atencion-contact-link {
    display: inline-block;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    margin-top: 6px;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.atencion-contact-link:hover {
    color: var(--color-coastur);
}

.atencion-note {
    font-size: 12px;
    color: #8fb59f;
    border-top: 1px solid #1a4933;
    padding-top: 10px;
    margin-top: 14px;
    line-height: 1.45;
}

/* --------------------------------------------------------------------------
   8.1 SECCIÓN KIT DE INVERSIONISTAS (PATRÓN BCI CON PALETA INSTITUCIONAL UBS)
   -------------------------------------------------------------------------- */
.investor-kit-section {
    position: relative;
    background-color: #111827;
    background-image: url('../img/bg-kit-inversionistas.webp');
    background-size: cover;
    background-position: center;
    padding: 85px 0 90px 0;
    color: #ffffff;
    overflow: hidden;
}

.investor-kit-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 18, 26, 0.74) 0%, rgba(17, 24, 39, 0.68) 50%, rgba(12, 16, 24, 0.78) 100%);
    z-index: 1;
}

.investor-kit-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.investor-kit-header {
    max-width: 720px;
    margin: 0 auto 52px auto;
}

.investor-kit-title {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
}

.investor-kit-bar {
    width: 48px;
    height: 3px;
    background-color: #F00607;
    margin: 14px auto 18px auto;
    border-radius: 2px;
}

.investor-kit-subtitle {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: #E5E7EB;
    margin: 0;
}

.investor-kit-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px 20px;
    margin-bottom: 48px;
}

.kit-doc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    padding: 8px 6px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.kit-doc-item:hover {
    transform: translateY(-4px);
}

.kit-doc-icon {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.kit-doc-item:hover .kit-doc-icon {
    transform: scale(1.06);
}

.kit-doc-label {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.4;
    color: #F1F5F9;
    max-width: 170px;
    transition: color 0.15s ease;
}

.kit-doc-item:hover .kit-doc-label {
    color: #ffffff;
}

.investor-kit-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btn-kit-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #F00607;
    color: #ffffff;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    padding: 11px 32px;
    border-radius: 24px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(240, 6, 7, 0.35);
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-kit-primary:hover {
    background-color: #C00506;
    transform: translateY(-1px);
}

.kit-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.kit-secondary-link:hover {
    opacity: 0.85;
}

.kit-plus-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 1024px) {
    .investor-kit-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px 20px;
    }
}

@media (max-width: 600px) {
    .investor-kit-section {
        padding: 65px 0 70px 0;
    }
    .investor-kit-title {
        font-size: 28px;
    }
    .investor-kit-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 16px;
    }
}

/* --------------------------------------------------------------------------
   8.2 SECCIÓN HECHOS ESENCIALES, FAQ Y MATERIAL RECIENTE (BCI + ICONOS SHOPIFY)
   -------------------------------------------------------------------------- */
.faq-section {
    position: relative;
    background-color: #111827;
    background-image: url('../img/bg-faq-inversionistas.webp?v=293');
    background-size: cover;
    background-position: center;
    padding: 85px 0 95px 0;
    overflow: hidden;
}

.faq-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 18, 26, 0.64) 0%, rgba(17, 24, 39, 0.68) 100%);
    z-index: 1;
}

.faq-container {
    position: relative;
    z-index: 2;
}

.faq-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 68px auto;
}

.faq-title {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.22;
    margin: 0;
}

.faq-title-bar {
    width: 48px;
    height: 3px;
    background-color: #F00607;
    margin: 14px auto 18px auto;
    border-radius: 2px;
}

.faq-subtitle {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: #E5E7EB;
    margin: 0;
}

.faq-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.faq-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 56px 28px 34px 28px;
    position: relative;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
}

.faq-card-icon-badge {
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-illustrated-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-card-title {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: rgb(28, 28, 28);
    text-align: center;
    margin: 0 0 22px 0;
}

.faq-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}

.faq-link-list a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-decoration: none;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 13.5px;
    line-height: 1.45;
    color: #334155;
    transition: color 0.15s ease;
}

.faq-link-list a:hover {
    color: #F00607;
}

.faq-link-svg {
    color: #F00607;
    flex-shrink: 0;
    margin-top: 2px;
    display: inline-flex;
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}

.faq-accordion-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 13.5px;
    line-height: 1.45;
    color: #334155;
    transition: color 0.15s ease;
}

.faq-accordion-item summary::-webkit-details-marker {
    display: none;
}

.faq-accordion-item summary:hover,
.faq-accordion-item[open] summary {
    color: #F00607;
}

.faq-answer {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 12.5px;
    line-height: 1.5;
    color: #4B5563;
    margin: 8px 0 2px 25px;
    padding-left: 10px;
    border-left: 2px solid #F00607;
}

.faq-card-footer {
    margin-top: 24px;
    text-align: center;
}

.faq-ver-todo {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #F00607;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.faq-ver-todo:hover {
    opacity: 0.8;
}

.faq-plus-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #F00607;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 960px) {
    .faq-cards-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
}

/* --------------------------------------------------------------------------
   9. SECCIÓN CONTACTO Y FOOTER CORPORATIVO (ESTILO UBS)
   -------------------------------------------------------------------------- */
.ubs-contact-section {
    background-color: #ffffff;
    padding: 72px 0 84px 0;
}

.ubs-contact-title {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: rgb(28, 28, 28);
    line-height: 1.2;
    margin: 0;
}

.ubs-contact-bar {
    width: 56px;
    height: 3px;
    background-color: #F00607;
    margin: 12px 0 22px 0;
}

.ubs-contact-subtitle {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: rgb(28, 28, 28);
    line-height: 1.5;
    margin-bottom: 28px;
    max-width: 680px;
}

.ubs-contact-card-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 320px;
    width: 100%;
    padding: 18px 22px;
    background-color: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 3px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: rgb(28, 28, 28);
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 15.5px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ubs-contact-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
    border-color: #CBD5E1;
}

.ubs-contact-card-left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.ubs-contact-icon {
    color: #6B7280;
    flex-shrink: 0;
}

.ubs-contact-arrow {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.ubs-contact-card-btn:hover .ubs-contact-arrow {
    transform: translateX(3px);
}

/* BARRA BREADCRUMB Y VOLVER ARRIBA */
.ubs-breadcrumb-bar {
    background-color: #ffffff;
    border-top: 1px solid #E5E7EB;
    padding: 18px 0;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #4B5563;
}

.ubs-breadcrumb-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ubs-breadcrumb-trail {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ubs-breadcrumb-trail a {
    color: #4B5563;
    text-decoration: none;
}

.ubs-breadcrumb-trail a:hover {
    color: #F00607;
}

.ubs-breadcrumb-trail strong {
    color: rgb(28, 28, 28);
    font-weight: 600;
}

.crumb-sep {
    color: #9CA3AF;
}

.ubs-back-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4B5563;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s ease;
}

.ubs-back-top:hover {
    color: #F00607;
}

/* FOOTER ESTILO UBS (#F2F1EC) */
.ubs-footer {
    background-color: #F2F1EC;
    color: #374151;
    padding: 44px 0 56px 0;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
}

/* NEWSLETTER WHITE UI ACOPLADO AL FOOTER (REFERENCIA OLEO CLUB) */
.footer-newsletter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px 48px;
    flex-wrap: wrap;
    padding-bottom: 6px;
}

.footer-newsletter-copy {
    max-width: 480px;
}

.footer-newsletter-title {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 23px;
    font-weight: 500;
    color: rgb(28, 28, 28);
    line-height: 1.25;
    margin: 0 0 6px 0;
    letter-spacing: -0.2px;
}

.footer-newsletter-subtitle {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 13.5px;
    color: #595959;
    line-height: 1.45;
    margin: 0;
}

.footer-newsletter-form {
    flex: 1 1 420px;
    max-width: 540px;
}

.footer-newsletter-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    background-color: #ffffff;
    border: 1px solid #D1D5DB;
    border-radius: 30px;
    padding: 0 18px 0 24px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-newsletter-pill:focus-within {
    border-color: rgb(28, 28, 28);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.footer-newsletter-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: rgb(28, 28, 28);
}

.footer-newsletter-input::placeholder {
    color: #6B7280;
}

.footer-newsletter-submit {
    background: none;
    border: none;
    cursor: pointer;
    color: rgb(28, 28, 28);
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.footer-newsletter-submit:hover {
    color: #F00607;
    transform: translateX(2px);
}

.newsletter-feedback {
    font-family: Frutiger, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #F00607;
    margin-top: 8px;
    padding-left: 18px;
    font-weight: 600;
}

.ubs-footer-top {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ubs-footer-meta-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 14px 20px;
    font-size: 13px;
}

.ubs-footer-label {
    font-weight: 700;
    color: rgb(28, 28, 28);
    min-width: 170px;
}

.ubs-footer-val {
    color: #4B5563;
}

.ubs-footer-inline-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.ubs-footer-inline-links a,
.ubs-footer-legal-links a {
    color: #4B5563;
    text-decoration: none;
    font-size: 12.5px;
    transition: color 0.15s ease;
}

.ubs-footer-inline-links a:hover,
.ubs-footer-legal-links a:hover {
    color: #F00607;
    text-decoration: underline;
}

.ubs-footer .pipe {
    color: #CBD5E1;
    font-size: 12px;
}

.ubs-footer-divider {
    border-top: 1px solid #DCDAD3;
    margin: 26px 0;
}

.ubs-footer-legal-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 24px;
}

.ubs-footer-disclaimers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 11.5px;
    line-height: 1.65;
    color: #595959;
    max-width: 1120px;
}

.ubs-footer-disclaimers a {
    color: #374151;
    text-decoration: underline;
}

.ubs-footer-disclaimers a:hover {
    color: #F00607;
}

.ubs-footer-copy {
    margin-top: 6px;
    font-size: 12px;
    color: #4B5563;
}

/* --------------------------------------------------------------------------
   10. RESPONSIVE Y ADAPTACIÓN MULTIDISPOSITIVO
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .header-brand-descriptor,
    .header-brand-divider {
        display: none;
    }
    .header-brand-container {
        padding: 12px 24px;
    }
    .header-nav-container {
        padding: 0 24px;
    }
    .header-nav-links .nav-item {
        padding: 12px 14px 11px 14px;
        font-size: 14px;
    }
    .hero-title {
        font-size: 42px;
    }
    .holding-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    .metric-col {
        border-right: none;
        padding: 0;
    }
    .holding-pillars {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .logos-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .investor-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .indicadores-grid {
        grid-template-columns: 1fr;
    }
    .accionistas-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .header-nav-row {
        display: none;
    }
    .header-brand-container {
        padding: 10px 20px;
    }
    .header-notice-link,
    .header-utility-sep,
    .header-utility-link {
        display: none;
    }
    .header-logo img {
        width: 173px;
        height: 44px;
    }
    .btn-client-login {
        font-size: 12px;
        padding: 7px 13px;
    }
    .mobile-toggle {
        display: flex;
        z-index: 10;
        flex-shrink: 0;
    }
    .mobile-drawer {
        display: flex;
    }
    .hero {
        min-height: 520px;
        height: auto;
        max-height: none;
        padding: 40px 0;
    }
    .hero-container {
        padding: 20px 16px;
    }
    .hero-card {
        padding: 26px 20px 24px 20px;
        max-width: 100%;
    }
    .hero-card-brand-mark {
        top: 22px;
        left: 10px;
        width: 28px;
        height: 28px;
    }
    .hero-brand-icon {
        width: 18px;
        height: 18px;
    }
    .hero-card-inner {
        border-left-width: 3px;
        padding-left: 18px;
        margin-left: 4px;
    }
    .hero-card .hero-title {
        font-size: 26px;
        line-height: 1.22;
        margin-bottom: 14px;
    }
    .hero-card .hero-subtitle {
        font-size: 15px;
        line-height: 1.48;
        margin-bottom: 22px;
    }
    .hero-card .hero-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .hero-card .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    .hero-kpi-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding-top: 20px;
    }
    .hero-kpi-sep {
        display: none;
    }
    .hero-kpi-val {
        font-size: 24px;
    }
    .hero-mode-control {
        bottom: 14px;
        right: 18px;
    }
    .governance-summary-block {
        grid-template-columns: 1fr;
    }
    .jsvectormap-box {
        height: 360px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }
    .header-brand-container {
        padding: 8px 16px;
    }
    .header-logo img {
        width: 150px;
        height: 38px;
    }
    .btn-client-login {
        display: none;
    }
    .holding-metrics {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .metric-value {
        font-size: 38px;
    }
    .holding-pillars {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .holding-title {
        font-size: 26px;
    }
    .holding-lead {
        font-size: 16px;
    }
    .investor-cards-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .reviews-summary-badge {
        align-items: flex-start;
    }
    .trajectory-block {
        padding: 24px 16px;
    }
    .trajectory-title {
        font-size: 22px;
    }
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .inversores-section {
        padding: 65px 16px;
    }
    .inversores-title {
        font-size: 28px;
    }
    .inversores-subtitle {
        font-size: 16px;
    }
    .holding-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .logos-showcase {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .partner-logo-item {
        width: 100%;
    }
    .section-title {
        font-size: 28px;
    }
    .section-desc {
        font-size: 15px;
    }
    .filter-bar {
        gap: 8px;
    }
    .filter-tab {
        width: 100%;
        text-align: center;
        padding: 10px 14px;
    }
    .jsvectormap-box {
        height: 280px;
    }
    .map-initial-prompt {
        padding: 20px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .indicadores-mix-card, .indicadores-esg-card {
        padding: 26px 18px;
    }
    .indicador-box-title {
        font-size: 20px;
    }
    .esg-item {
        flex-direction: column;
        gap: 8px;
    }
    .esg-num {
        width: auto;
    }
    .accionistas-main {
        padding: 26px 18px;
    }
    .subheading-corp {
        font-size: 21px;
    }
    .orden-dia-block {
        padding: 16px 0;
    }
    .doc-download-list {
        padding: 20px 16px;
    }
    .doc-item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .doc-action-btn {
        padding-left: 0;
    }
    .archive-docs-block {
        padding: 20px 16px;
    }
    .archive-docs-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .atencion-block {
        padding: 24px 18px;
    }
    .footer {
        padding: 60px 0 0 0;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 0 16px;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 14px;
        text-align: center;
        padding: 0 16px;
    }
    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
}

/* WP/Elementor video height override */
.hero video.hero-video { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; object-position: center center !important; }


/* ==========================================================================
   MAPA SATELITAL 3D INMERSIVO CON PINES ESTILO GOOGLE MAPS + SUBPÁGINAS UBS
   ========================================================================== */
.hl-immersive-map-box {
    width: 100%;
    height: 600px;
    background-color: #0F172A;
}

/* Controles flotantes Satélite / Mapa / 3D (Arriba Derecha) */
.gmaps-layer-controls {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 26;
    display: inline-flex;
    background: #FFFFFF;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.gmaps-layer-btn {
    border: none;
    background: #FFFFFF;
    color: #1C1C1C;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    padding: 8px 13px;
    cursor: pointer;
    border-right: 1px solid #E5E7EB;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.gmaps-layer-btn:last-child {
    border-right: none;
}

.gmaps-layer-btn:hover {
    background: #F3F4F6;
}

.gmaps-layer-btn.active {
    background: #1C1C1C;
    color: #FFFFFF;
}

/* Pines interactivos estilo Google Maps con pulso rojo activo */
.hl-gmap-pin {
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: bottom center;
    transition: transform 0.2s ease;
    z-index: 2;
}

.hl-gmap-pin:hover {
    transform: scale(1.14);
    z-index: 10;
}

.hl-gmap-pin.is-active {
    transform: scale(1.22);
    z-index: 15;
}

.hl-gmap-pin-svg {
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.48));
    display: block;
}

.hl-gmap-pin-pulse {
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 18px;
    height: 18px;
    margin-left: -9px;
    border-radius: 50%;
    background: rgba(240, 6, 7, 0.45);
    opacity: 0;
    pointer-events: none;
}

.hl-gmap-pin.is-active .hl-gmap-pin-pulse {
    opacity: 1;
    animation: hlPinPulse 1.8s ease-out infinite;
}

@keyframes hlPinPulse {
    0% { transform: scale(0.7); opacity: 0.85; }
    100% { transform: scale(2.8); opacity: 0; }
}

.hl-gmap-pin-label {
    margin-top: 2px;
    background: rgba(28, 28, 28, 0.9);
    color: #FFFFFF;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 2px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.hl-gmap-pin.is-active .hl-gmap-pin-label {
    background: #F00607;
}

/* Indicador interactivo sobre la fotografía de la tarjeta para acercar en 3D */
.map-overlay-media {
    position: relative;
    cursor: pointer;
}

.map-fly-cue {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: rgba(28, 28, 28, 0.82);
    color: #FFFFFF;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 2px;
    transition: background-color 0.15s ease;
}

.map-overlay-media:hover .map-fly-cue {
    background: #F00607;
}

/* Selector rápido inferior de las 7 centrales (vuelo inmersivo en 1 clic) */
.map-asset-strip {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #FFFFFF;
    border-top: 1px solid #E5E7EB;
}

.map-asset-tab {
    background: #FFFFFF;
    border: none;
    border-right: 1px solid #E5E7EB;
    border-top: 3px solid transparent;
    padding: 12px 10px;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.map-asset-tab:last-child {
    border-right: none;
}

.map-asset-tab span {
    font-size: 11px;
    font-weight: 700;
    color: #9CA3AF;
}

.map-asset-tab:hover {
    background: #F8F9FA;
    color: #1C1C1C;
}

.map-asset-tab.active {
    background: #F8F9FA;
    color: #1C1C1C;
    border-top-color: #F00607;
}

.map-asset-tab.active span {
    color: #F00607;
}

.map-overlay-card {
    bottom: 108px;
}

/* ==========================================================================
   PLANTILLAS DE SUBPÁGINAS INDEPENDIENTES DEL NAVBAR (CABECERA OSCURA CENTRADA BAJO NAVBAR TRANSPARENTE)
   ========================================================================== */
.hl-subpage-main {
    padding-top: 0;
}

.hl-subpage-banner {
    background: linear-gradient(180deg, #1E2126 0%, #32363E 100%);
    color: #FFFFFF;
    padding: 172px 0 74px 0;
    text-align: center;
    border-bottom: 1px solid #2A2E35;
}

.hl-subpage-title {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.18;
    margin: 0;
    letter-spacing: -0.2px;
}

.hl-subpage-bar {
    width: 48px;
    height: 3px;
    background: #F00607;
    margin: 18px auto 18px auto;
}

.hl-subpage-lead {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 16.5px;
    line-height: 1.62;
    color: #D1D5DB;
    max-width: 740px;
    margin: 0 auto;
}

/* Vitrina limpia de logotipos en /inversiones/ sobre fondo blanco (sin cajas ni tarjetas) */
.hl-logos-showcase-section {
    background: #FFFFFF;
    padding: 84px 0 76px 0;
}

.hl-logos-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px 44px;
    align-items: center;
    justify-items: center;
    max-width: 1080px;
    margin: 0 auto;
}

.hl-showcase-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 12px 16px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hl-showcase-logo-item:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.hl-showcase-logo-img {
    max-width: 210px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.hl-showcase-logo-stack {
    flex-direction: column;
    gap: 8px;
}

.hl-showcase-logo-invert {
    max-height: 54px;
    filter: invert(1) brightness(0.18);
}

.hl-showcase-wordmark {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hl-showcase-wordmark-title {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #1C1C1C;
    line-height: 1.2;
}

.hl-showcase-wordmark-sub {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.4px;
    color: #6B7280;
    margin-top: 5px;
    text-transform: uppercase;
}

.hl-editorial-border-top {
    border-top: 1px solid #E5E7EB;
}

@media (max-width: 820px) {
    .hl-logos-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 24px;
    }
    .hl-subpage-banner {
        padding: 150px 0 56px 0;
    }
}

@media (max-width: 520px) {
    .hl-logos-showcase-grid {
        grid-template-columns: 1fr;
    }
}

.hl-subpage-body,
.hl-editorial-section {
    padding: 72px 0;
    background: #FFFFFF;
}

.hl-editorial-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.hl-body-text {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.72;
    color: #374151;
    margin: 0 0 18px 0;
}

/* Tablas institucionales sobrias (Cero tarjetas dentro de tarjetas) */
.hl-corporate-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 14.5px;
    margin-top: 16px;
}

.hl-corporate-table th,
.hl-corporate-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #E5E7EB;
    text-align: left;
    vertical-align: top;
    color: #1C1C1C;
}

.hl-corporate-table thead th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #6B7280;
    font-weight: 700;
    border-bottom: 2px solid #1C1C1C;
}

.hl-corporate-table tbody th {
    width: 38%;
    font-weight: 700;
    color: #374151;
}

.hl-corporate-table a {
    color: #F00607;
    font-weight: 600;
    text-decoration: none;
}

.hl-corporate-table a:hover {
    text-decoration: underline;
}

.hl-asset-row-trigger.is-active-row {
    background: #F8F9FA;
}

.hl-table-fly-btn {
    background: transparent;
    border: 1px solid #D1D5DB;
    color: #1C1C1C;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.hl-table-fly-btn:hover,
.hl-asset-row-trigger.is-active-row .hl-table-fly-btn {
    border-color: #F00607;
    background: #F00607;
    color: #FFFFFF;
}

/* Fila limpia de magnitudes verificadas */
.hl-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    margin-top: 28px;
}

.hl-kpi-item {
    padding: 28px 24px;
    border-right: 1px solid #E5E7EB;
}

.hl-kpi-item:last-child {
    border-right: none;
}

.hl-kpi-val {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #1C1C1C;
    line-height: 1.1;
    margin-bottom: 8px;
}

.hl-kpi-label {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 13.5px;
    line-height: 1.45;
    color: #4B5563;
}

/* Formulario directo en página /contacto/ */
.hl-inline-contact-form label {
    display: block;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1C1C1C;
    margin-bottom: 6px;
}

.hl-inline-contact-form input[type="text"],
.hl-inline-contact-form input[type="email"],
.hl-inline-contact-form select,
.hl-inline-contact-form textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #D1D5DB;
    border-radius: 3px;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 14.5px;
    color: #1C1C1C;
    margin-bottom: 16px;
}

.hl-inline-contact-form input:focus,
.hl-inline-contact-form select:focus,
.hl-inline-contact-form textarea:focus {
    outline: none;
    border-color: #F00607;
}

.hl-form-feedback {
    margin-top: 14px;
    padding: 10px 14px;
    border-left: 3px solid #F00607;
    background: #F8F9FA;
    font-size: 14px;
    font-weight: 600;
    color: #1C1C1C;
}

@media (max-width: 960px) {
    .map-asset-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .hl-editorial-two-col,
    .hl-kpi-row {
        grid-template-columns: 1fr;
    }
    .hl-kpi-item {
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
    }
    .hl-kpi-item:last-child {
        border-bottom: none;
    }
    .hl-subpage-title {
        font-size: 30px;
    }
}


/* ==========================================================================
   ESTADOS BLOQUEADOS CON X ROJA INSTITUCIONAL (#F00607) Y LIMPIEZA DEL MAPA
   ========================================================================== */
.map-overlay-card {
    bottom: 22px !important;
}

.hl-locked-x-icon {
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

/* Kit de Inversionistas: documentos bloqueados con X roja en esquina del icono */
.kit-doc-item.is-locked {
    cursor: not-allowed;
    opacity: 0.72;
    pointer-events: none;
    user-select: none;
}

.kit-doc-item.is-locked .kit-doc-icon {
    position: relative;
}

.kit-locked-x-mark {
    position: absolute;
    top: -6px;
    right: -8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.kit-doc-status {
    display: block;
    margin-top: 4px;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.3px;
}

.btn-kit-primary {
    box-shadow: none !important;
}

.btn-kit-portal-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 28px;
    border-radius: 999px;
    background-color: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    color: #FFFFFF;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: none;
    transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.btn-kit-portal-ghost:hover {
    background-color: #F00607;
    border-color: #F00607;
    color: #FFFFFF;
}

/* Avisos vacíos sobrios (Calendario Destacados, FAQ Hechos Esenciales y Material Reciente) */
.hl-empty-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: #F8F9FA;
    border-left: 3px solid #F00607;
    margin: 12px 0 16px 0;
}

.hl-empty-notice p {
    margin: 0;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 13.5px;
    line-height: 1.5;
    color: #374151;
}

.hl-locked-link {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #6B7280 !important;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 0;
    cursor: not-allowed;
    user-select: none;
}

.hl-locked-caption {
    margin: 16px 0 0 0;
    padding-top: 12px;
    border-top: 1px solid #E5E7EB;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    color: #6B7280;
    line-height: 1.45;
}

.hl-locked-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6B7280;
    font-weight: 600;
}

.faq-locked-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
}


/* Alinear Destacados vacío arriba y maquetar barra de credenciales reales .events-esg-bar */
.events-col-destacados,
.events-col-quick {
    justify-content: flex-start !important;
}

.events-esg-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 22px 28px;
    border-top: 1px solid #E5E7EB;
    background-color: #FFFFFF;
    flex-wrap: wrap;
}

.esg-pillar-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 200px;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
}

.esg-pillar-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.7px;
    color: #F00607;
    text-transform: uppercase;
}

.esg-pillar-title {
    font-size: 14px;
    font-weight: 700;
    color: #1C1C1C;
}

.esg-pillar-sub {
    font-size: 12px;
    color: #6B7280;
}

.esg-pillar-sep {
    width: 1px;
    height: 38px;
    background-color: #E5E7EB;
    flex-shrink: 0;
}

@media (max-width: 960px) {
    .esg-pillar-sep {
        display: none;
    }
}


/* Botón Portal del Accionista: redondo y transparente sobre Hero -> rojo UBS (#F00607) al activar navbar de scroll */
.header .accionistas-portal-access a.btn.btn-primary {
    border-radius: 999px !important;
    padding: 9px 22px;
    background-color: transparent !important;
    border: 1.5px solid rgba(255, 255, 255, 0.92) !important;
    color: #FFFFFF !important;
    box-shadow: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.header:not(.header-scrolled) .accionistas-portal-access a.btn.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.16) !important;
    border-color: #FFFFFF !important;
    color: #FFFFFF !important;
}

.header.header-scrolled .accionistas-portal-access a.btn.btn-primary,
.header.header-subpage .accionistas-portal-access a.btn.btn-primary {
    background-color: #F00607 !important;
    border-color: #F00607 !important;
    color: #FFFFFF !important;
    text-shadow: none;
}

.header.header-scrolled .accionistas-portal-access a.btn.btn-primary:hover,
.header.header-subpage .accionistas-portal-access a.btn.btn-primary:hover {
    background-color: #C00506 !important;
    border-color: #C00506 !important;
    color: #FFFFFF !important;
}


/* Botón "Escribir una reseña en Google": redondo, fondo transparente y hover rojo UBS (#F00607) */
.hl-review-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 26px;
    border-radius: 999px;
    background-color: transparent;
    border: 1.5px solid #1C1C1C;
    color: #1C1C1C;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.hl-review-cta-btn:hover {
    background-color: #F00607;
    border-color: #F00607;
    color: #FFFFFF;
}


/* ==========================================================================
   TARJETAS KPI ESTILO EDITORIAL MODERNO EN /INDICADORES/ (REFERENCIA URBI + PALETA UBS)
   ========================================================================== */
.hl-kpi-showcase-section {
    padding: 78px 0 86px 0;
    background-color: #F4F5F7;
}

.hl-urbi-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 34px;
}

.hl-urbi-kpi-card {
    position: relative;
    background-color: #FFFFFF;
    border-radius: 18px;
    padding: 36px 28px 30px 28px;
    min-height: 224px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border: 1px solid rgba(28, 28, 28, 0.05);
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hl-urbi-kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.10);
    border-color: rgba(240, 6, 7, 0.22);
}

/* Motivo geométrico de puntos en esquina superior derecha (inspirado en referencia Urbi, en gris/rojo UBS) */
.hl-urbi-dot-pattern {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background-image: radial-gradient(rgba(28, 28, 28, 0.16) 1.6px, transparent 1.6px);
    background-size: 11px 11px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.9) 20%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.9) 20%, transparent 72%);
    pointer-events: none;
    transition: opacity 0.25s ease, background-image 0.25s ease;
}

.hl-urbi-kpi-card:hover .hl-urbi-dot-pattern {
    background-image: radial-gradient(rgba(240, 6, 7, 0.28) 1.6px, transparent 1.6px);
}

.hl-urbi-kpi-content {
    position: relative;
    z-index: 2;
}

.hl-urbi-kpi-val {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 54px;
    font-weight: 700;
    letter-spacing: -1.6px;
    color: #1C1C1C;
    line-height: 1.02;
    margin-bottom: 12px;
}

.hl-urbi-kpi-label {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 14.5px;
    line-height: 1.48;
    color: #4B5563;
    max-width: 230px;
}

@media (max-width: 1080px) {
    .hl-urbi-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hl-urbi-kpi-grid {
        grid-template-columns: 1fr;
    }
    .hl-urbi-kpi-card {
        min-height: 185px;
    }
}


/* ==========================================================================
   PORTAL PRIVADO DEL ACCIONISTA — LOGIN INSTITUCIONAL EN /GOBIERNO-CORPORATIVO/
   ========================================================================== */
.hl-portal-login-section {
    padding: 76px 0;
    background-color: #F4F5F7;
}

.hl-portal-login-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: start;
}

.hl-portal-security-note {
    margin-top: 24px;
    padding: 16px 20px;
    background: #FFFFFF;
    border-left: 3px solid #F00607;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
}

.hl-portal-security-note a {
    color: #F00607;
    font-weight: 600;
    text-decoration: none;
}

.hl-portal-security-note a:hover {
    text-decoration: underline;
}

.hl-portal-login-box,
.hl-portal-auth-panel {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 36px 36px 34px 36px;
    border: 1px solid rgba(28, 28, 28, 0.06);
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
}

.hl-portal-auth-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.hl-portal-box-title {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1C1C1C;
    margin: 0 0 6px 0;
}

.hl-portal-box-sub {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #6B7280;
    margin: 0 0 22px 0;
}

.hl-inline-contact-form input[type="password"] {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #D1D5DB;
    border-radius: 3px;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 14.5px;
    color: #1C1C1C;
    margin-bottom: 16px;
}

.hl-inline-contact-form input[type="password"]:focus {
    outline: none;
    border-color: #F00607;
}

.hl-recaptcha-slot {
    margin: 6px 0 16px 0;
}

.hl-login-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.hl-remember-label {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin-bottom: 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #4B5563 !important;
    cursor: pointer;
}

.hl-lost-pass-link {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #4B5563;
    text-decoration: none;
}

.hl-lost-pass-link:hover {
    color: #F00607;
    text-decoration: underline;
}

.hl-portal-submit-btn {
    width: 100%;
    padding: 12px 24px;
    border-radius: 999px;
    background-color: transparent;
    border: 1.5px solid #1C1C1C;
    color: #1C1C1C;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.hl-portal-submit-btn:hover {
    background-color: #F00607;
    border-color: #F00607;
    color: #FFFFFF;
}

.hl-login-alert {
    padding: 11px 14px;
    margin-bottom: 18px;
    background: #FEF2F2;
    border-left: 3px solid #F00607;
    color: #991B1B;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .hl-portal-login-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hl-portal-login-box,
    .hl-portal-auth-panel {
        padding: 26px 22px;
    }
}


/* ==========================================================================
   PORTAL DEL ACCIONISTA — UI MINIMALISTA CENTRADA (SIN CAJAS, FONDO BLANCO PURO)
   ========================================================================== */
body.hl-clean-login-body {
    background-color: #FFFFFF !important;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    color: #1C1C1C;
}

.hl-min-login-topbar {
    width: 100%;
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.hl-min-back-link {
    font-size: 13.5px;
    font-weight: 600;
    color: #4B5563;
    text-decoration: none;
    transition: color 0.18s ease;
}

.hl-min-back-link:hover {
    color: #F00607;
}

.hl-min-login-shell {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 80px 20px;
}

.hl-min-login-wrap {
    width: 100%;
    max-width: 340px;
    text-align: center;
}

.hl-min-auth-wrap {
    width: 100%;
    max-width: 520px;
    text-align: center;
}

.hl-min-logo-link {
    display: inline-block;
    margin-bottom: 34px;
}

.hl-min-logo {
    height: 54px;
    width: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.hl-min-title {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1C1C1C;
    margin: 0 0 12px 0;
    letter-spacing: -0.2px;
}

.hl-min-subtitle {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 13.5px;
    line-height: 1.55;
    color: #6B7280;
    margin: 0 auto 28px auto;
    max-width: 310px;
}

.hl-min-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hl-min-input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #D1D5DB;
    border-radius: 3px;
    background-color: #F8F9FA;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 14.5px;
    color: #1C1C1C;
    box-sizing: border-box;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.hl-min-input:focus {
    outline: none;
    border-color: #F00607;
    background-color: #FFFFFF;
}

.hl-min-submit-btn {
    margin-top: 8px;
    min-width: 196px;
    height: 44px;
    padding: 0 32px;
    border-radius: 3px;
    background-color: #F00607;
    border: none;
    color: #FFFFFF;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.hl-min-submit-btn:hover {
    background-color: #C00506;
}

.hl-min-forgot-link {
    display: inline-block;
    margin-top: 18px;
    font-size: 13px;
    font-weight: 600;
    color: #F00607;
    text-decoration: none;
}

.hl-min-forgot-link:hover {
    text-decoration: underline;
}

.hl-min-footnote {
    margin: 34px 0 0 0;
    font-size: 11.5px;
    line-height: 1.55;
    color: #9CA3AF;
}

.hl-min-footnote a {
    color: #6B7280;
    text-decoration: none;
}

.hl-min-footnote a:hover {
    color: #F00607;
}


/* ==========================================================================
   FONDOS FOTOGRÁFICOS DEDICADOS PARA LAS 6 CABECERAS DE SUBPÁGINAS (WEBP 16:5)
   ========================================================================== */
.hl-subpage-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(360px, 31.25vw, 560px);
    padding: 148px 0 64px 0;
    background-color: #1E2126;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hl-subpage-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 18, 26, 0.44) 0%, rgba(17, 24, 39, 0.34) 55%, rgba(14, 18, 26, 0.48) 100%);
    z-index: 1;
}

.hl-subpage-banner > .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hl-subpage-banner .hl-subpage-title {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.hl-subpage-banner .hl-subpage-lead {
    color: #F3F4F6;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.hl-banner-el-grupo {
    background-image: url('../img/bg-hero-el-grupo.webp');
}

.hl-banner-inversiones {
    background-image: url('../img/bg-hero-inversiones.webp');
}

.hl-banner-instalaciones {
    background-image: url('../img/bg-hero-instalaciones.webp?v=284');
}

.hl-banner-instalaciones::before {
    background: linear-gradient(180deg, rgba(14, 18, 26, 0.48) 0%, rgba(14, 18, 26, 0.24) 52%, rgba(14, 18, 26, 0.34) 100%);
}

.hl-banner-indicadores {
    background-image: url('../img/bg-hero-indicadores.webp?v=284');
}

.hl-banner-indicadores::before {
    background: linear-gradient(180deg, rgba(14, 18, 26, 0.44) 0%, rgba(14, 18, 26, 0.16) 52%, rgba(14, 18, 26, 0.28) 100%);
}

.hl-banner-gobierno-corporativo {
    background-image: url('../img/bg-hero-gobierno-corporativo.webp?v=281');
}

.hl-banner-gobierno-corporativo::before {
    background: linear-gradient(180deg, rgba(14, 18, 26, 0.42) 0%, rgba(14, 18, 26, 0.14) 50%, rgba(14, 18, 26, 0.24) 100%);
}

.hl-banner-contacto {
    background-image: url('../img/bg-hero-contacto.webp');
}

@media (max-width: 820px) {
    .hl-subpage-banner {
        min-height: 360px;
        padding: 144px 0 54px 0;
    }
}


/* ==========================================================================
   PÁGINAS LEGALES (LSSI-CE / RGPD / COOKIES / CANAL ÉTICO) + BANNER COOKIES + PORTAL PRIVADO
   ========================================================================== */
.hl-legal-section {
    background: #FFFFFF;
    padding: 68px 0 80px 0;
}

.hl-legal-prose {
    max-width: 860px;
    margin: 0 auto;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    color: #1C1C1C;
    font-size: 15.5px;
    line-height: 1.72;
}

.hl-legal-prose h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1C1C1C;
    margin: 40px 0 12px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #E5E7EB;
}

.hl-legal-prose h2:first-child {
    margin-top: 0;
}

.hl-legal-prose h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1C1C1C;
    margin: 24px 0 8px 0;
}

.hl-legal-prose p {
    margin: 0 0 15px 0;
    color: #374151;
}

.hl-legal-prose ul {
    margin: 0 0 18px 22px;
    color: #374151;
}

.hl-legal-prose li {
    margin-bottom: 7px;
}

.hl-legal-prose a {
    color: #F00607;
    text-decoration: none;
    font-weight: 600;
}

.hl-legal-prose a:hover {
    color: #C00506;
    text-decoration: underline;
}

.hl-ethics-form-wrap {
    margin-top: 48px;
    padding-top: 38px;
    border-top: 2px solid #1C1C1C;
}

.hl-legal-note {
    font-size: 14.5px;
    color: #4B5563;
    margin-bottom: 24px;
}

.hl-checkbox-row {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #F8F9FA;
    border: 1px solid #E5E7EB;
    margin-bottom: 20px !important;
    cursor: pointer;
    font-weight: 400 !important;
}

.hl-checkbox-row input[type="checkbox"] {
    width: 16px !important;
    height: 16px;
    margin: 0 !important;
    accent-color: #F00607;
    cursor: pointer;
}

.hl-legal-meta-footer {
    margin-top: 52px;
    padding-top: 22px;
    border-top: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13.5px;
    color: #4B5563;
}

/* Aviso sobrio de cookies UBS (sin verde, sin badges, alta legibilidad) */
.hl-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    background: #FFFFFF;
    border-top: 1px solid #D1D5DB;
    box-shadow: 0 -8px 28px rgba(17, 24, 39, 0.08);
    padding: 18px 0;
    transform: translateY(115%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
}

.hl-cookie-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.hl-cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.hl-cookie-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: #374151;
}

.hl-cookie-text a {
    color: #1C1C1C;
    font-weight: 600;
    text-decoration: underline;
}

.hl-cookie-text a:hover {
    color: #F00607;
}

.hl-cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.hl-cookie-btn {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.hl-cookie-btn-outline {
    background: #FFFFFF;
    color: #1C1C1C;
    border: 1px solid #CBD5E1;
}

.hl-cookie-btn-outline:hover {
    border-color: #1C1C1C;
    background: #F8F9FA;
}

.hl-cookie-btn-primary {
    background: #F00607;
    color: #FFFFFF;
    border: 1px solid #F00607;
}

.hl-cookie-btn-primary:hover {
    background: #C00506;
    border-color: #C00506;
}

/* Repositorio privado autenticado dentro de /portal-accionista/ */
.hl-portal-dashboard-wrap {
    max-width: 780px !important;
    width: 100%;
    text-align: center;
}

.hl-portal-repo-section {
    text-align: left;
    margin: 34px 0 28px 0;
    padding-top: 26px;
    border-top: 1px solid #E5E7EB;
}

.hl-portal-repo-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.hl-portal-repo-head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1C1C1C;
}

.hl-portal-repo-meta {
    font-size: 13px;
    color: #6B7280;
}

.hl-portal-docs-table th {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #6B7280;
    border-bottom: 2px solid #E5E7EB;
}

.hl-portal-dl-link {
    display: inline-block;
    color: #F00607;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
}

.hl-portal-dl-link:hover {
    color: #C00506;
    text-decoration: underline;
}

.hl-portal-account-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid #E5E7EB;
    text-align: left;
}

.hl-portal-support-note {
    font-size: 13px;
    color: #4B5563;
}

.hl-portal-support-note a {
    color: #1C1C1C;
    font-weight: 600;
    text-decoration: none;
}

.hl-portal-support-note a:hover {
    color: #F00607;
}

.hl-min-auth-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.hl-portal-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid #CBD5E1;
    border-radius: 999px;
    color: #1C1C1C;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.hl-portal-outline-btn:hover {
    border-color: #1C1C1C;
    color: #F00607;
}

.hl-portal-logout-btn {
    width: auto !important;
    padding: 10px 24px !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .hl-cookie-banner-inner,
    .hl-portal-account-bar,
    .hl-portal-repo-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .hl-cookie-actions {
        width: 100%;
    }
    .hl-cookie-btn {
        flex: 1;
        text-align: center;
    }
}


/* ==========================================================================
   BANNER SUPERIOR CLEAN DE ASISTENCIA EN /PORTAL-ACCIONISTA/ (ESTILO UBS)
   ========================================================================== */
.hl-portal-assist-bar {
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    padding: 16px 32px;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
}

.hl-portal-assist-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hl-portal-assist-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hl-portal-bar-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.hl-portal-bar-logo img {
    height: 36px;
    width: auto;
    display: block;
}

.hl-portal-bar-sep {
    width: 1px;
    height: 22px;
    background: #E5E7EB;
}

.hl-portal-assist-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    line-height: 1.25;
}

.hl-portal-assist-prompt {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.hl-portal-assist-phone {
    font-size: 24px;
    font-weight: 700;
    color: #F00607;
    text-decoration: none;
    letter-spacing: 0.3px;
    margin: 2px 0;
    transition: color 0.18s ease;
}

.hl-portal-assist-phone:hover {
    color: #C00506;
}

.hl-portal-assist-meta {
    font-size: 12px;
    color: #6B7280;
}

.hl-portal-assist-meta a {
    color: #1C1C1C;
    font-weight: 600;
    text-decoration: none;
}

.hl-portal-assist-meta a:hover {
    color: #F00607;
}

@media (max-width: 720px) {
    .hl-portal-assist-bar {
        padding: 14px 18px;
    }
    .hl-portal-assist-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .hl-portal-assist-right {
        align-items: flex-start;
        text-align: left;
    }
    .hl-portal-assist-phone {
        font-size: 20px;
    }
}


/* ==========================================================================
   RUTA DE NAVEGACIÓN INTEGRADA EN EL BANNER + ALINEACIÓN EDITORIAL A LA IZQUIERDA
   ========================================================================== */
.hl-subpage-banner {
    text-align: left !important;
}

.hl-subpage-banner .hl-subpage-title {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(32px, 3.3vw, 46px);
    font-weight: 700;
    letter-spacing: -0.45px;
    line-height: 1.12;
    margin: 0;
}

.hl-subpage-banner .hl-subpage-bar {
    margin: 16px 0 18px 0;
}

.hl-subpage-banner .hl-subpage-lead {
    margin: 0;
    max-width: 680px;
    font-size: 17px;
    line-height: 1.56;
    color: rgba(255, 255, 255, 0.90);
}

.hl-banner-breadcrumb {
    margin: 0 0 14px 0;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
}

.hl-breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    line-height: 1.4;
}

.hl-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.hl-breadcrumb-item + .hl-breadcrumb-item::before {
    content: "›";
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 14px;
    line-height: 1;
}

.hl-breadcrumb-item a {
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    transition: color 0.16s ease;
}

.hl-breadcrumb-item a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.hl-breadcrumb-item.is-current {
    color: #FFFFFF;
    font-weight: 600;
}


/* ==========================================================================
   RUTA DE NAVEGACIÓN INTEGRADA EN EL BANNER + ALINEACIÓN EDITORIAL A LA IZQUIERDA
   ========================================================================== */
.hl-subpage-banner {
    text-align: left !important;
}

.hl-subpage-banner .hl-subpage-title {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(32px, 3.3vw, 46px);
    font-weight: 700;
    letter-spacing: -0.45px;
    line-height: 1.12;
    margin: 0;
}

.hl-subpage-banner .hl-subpage-bar {
    margin: 16px 0 18px 0;
}

.hl-subpage-banner .hl-subpage-lead {
    margin: 0;
    max-width: 680px;
    font-size: 17px;
    line-height: 1.56;
    color: rgba(255, 255, 255, 0.90);
}

.hl-banner-breadcrumb {
    margin: 0 0 14px 0;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
}

.hl-breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    line-height: 1.4;
}

.hl-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.hl-breadcrumb-item + .hl-breadcrumb-item::before {
    content: "›";
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 14px;
    line-height: 1;
}

.hl-breadcrumb-item a {
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    transition: color 0.16s ease;
}

.hl-breadcrumb-item a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.hl-breadcrumb-item.is-current {
    color: #FFFFFF;
    font-weight: 600;
}


/* ==========================================================================
   BLINDAJE RESPONSIVE MÓVIL (<= 768px / 390px iPhone — CERO DESBORDAMIENTO HORIZONTAL)
   No altera en absoluto las vistas de escritorio (> 768px).
   ========================================================================== */
html,
body {
    overflow-x: clip;
    max-width: 100%;
}

@media (max-width: 768px) {
    .header-brand-container {
        padding: 10px 16px;
        gap: 10px;
    }
    .header-logo img {
        width: auto;
        max-width: 148px;
        height: 36px;
        object-fit: contain;
    }
    .header-brand-right {
        gap: 10px;
        flex-shrink: 0;
    }
    /* El acceso al Portal del Accionista ya se muestra como botón principal dentro del menú móvil (drawer) */
    .header .accionistas-portal-access {
        display: none !important;
    }

    /* Hero móvil limpio sin recortes */
    .hero {
        height: auto;
        min-height: 500px;
        padding: 86px 0 36px 0;
    }
    .hero-content {
        padding: 12px 16px;
    }
    .hero-card-white {
        max-width: 100%;
        width: 100%;
        padding: 24px 20px 22px 20px;
    }
    .hero-card-white .hero-title {
        font-size: 27px;
        line-height: 1.2;
        margin-bottom: 12px;
        word-break: break-word;
    }
    .hero-card-white .hero-subtitle {
        font-size: 14.5px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    .hero-card-white .hero-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .hero-card-white .hero-actions .btn {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }

    /* Banner de cookies compacto en 390px sin desbordar */
    .hl-cookie-banner {
        padding: 14px 0;
    }
    .hl-cookie-banner-inner {
        padding: 0 16px;
        gap: 12px;
    }
    .hl-cookie-text {
        font-size: 12.5px;
        line-height: 1.45;
    }
    .hl-cookie-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }
    .hl-cookie-btn {
        width: 100%;
        padding: 9px 10px;
        font-size: 13px;
        text-align: center;
    }

    /* Subpáginas y tablas corporativas sin desbordamiento */
    .hl-subpage-banner {
        padding: 112px 0 44px 0;
        min-height: 310px;
    }
    .hl-subpage-banner .hl-subpage-title {
        font-size: 30px;
    }
    .hl-subpage-banner .hl-subpage-lead {
        font-size: 15px;
    }
    .hl-editorial-two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hl-corporate-table th,
    .hl-corporate-table td {
        display: block;
        width: 100%;
        padding: 8px 0;
        border: none;
    }
    .hl-corporate-table tr {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #E5E7EB;
    }

    /* Carrusel frosted en 390px */
    .hl-carousel-stage {
        padding: 8px 34px 6px 34px;
    }
    .hl-carousel-track {
        padding: 18px calc(50% - 134px);
        gap: 12px;
        min-height: 330px;
    }
    .hl-carousel-slide {
        flex: 0 0 268px;
    }
}


/* ==========================================================================
   DESIGN ENGINEERING POLISH (EMIL KOWALSKI + MODERN WEB GUIDANCE: NATURAL-INTERACTIONS & MOTION)
   Tipografía óptica, números tabulares, curvas ease-out, respuesta táctil y accesibilidad WCAG.
   ========================================================================== */

/* 1. Tipografía óptica (elimina palabras huérfanas en titulares y mejora el ritmo de párrafos) */
h1,
h2,
h3,
.hero-title,
.hl-subpage-title,
.investor-kit-title,
.faq-title,
.inversores-title,
.ubs-contact-title {
    text-wrap: balance;
}

.hl-body-text,
.hl-legal-prose p,
.hl-subpage-lead,
.hl-carousel-info-desc,
.ubs-contact-subtitle,
.investor-kit-subtitle,
.faq-subtitle {
    text-wrap: pretty;
}

/* 2. Números tabulares estrictos para fechas, calendarios, KPIs y coordenadas */
.cal-days-grid,
.calendar-topbar,
.hl-urbi-kpi-value,
.hl-portal-assist-phone,
.map-overlay-counter,
#map-spec-coords {
    font-variant-numeric: tabular-nums;
}

/* 3. Anclaje limpio bajo el navbar fijo (ningún titular queda tapado al saltar por #ancla) */
section[id],
div[id="calendario-eventos"],
div[id="accionistas"] {
    scroll-margin-top: 118px;
}

/* 4. Anillo de foco accesible de alto contraste solo en teclado (:focus-visible) */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid #1C1C1C;
    outline-offset: 3px;
}

.header:not(.header-scrolled) :where(a, button):focus-visible,
.hl-subpage-banner :where(a, button):focus-visible,
.inversores-section :where(a, button):focus-visible,
.investor-kit-section :where(a, button):focus-visible,
.faq-section :where(a, button):focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 3px;
}

/* El contenedor con mask-image recorta su propio outline; el foco del track se dibuja en su padre sin máscara */
.hl-carousel-track:focus-visible {
    outline: none;
}

.hl-carousel-stage:has(.hl-carousel-track:focus-visible) {
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: 6px;
    border-radius: 4px;
}

/* 5. Respuesta táctil física (scale 0.97) y curvas ease-out solo cuando el usuario permite movimiento */
@media (prefers-reduced-motion: no-preference) {
    .btn,
    .hl-min-submit-btn,
    .hl-cookie-btn,
    .hl-carousel-arrow,
    .hl-carousel-pause-btn,
    .gmaps-pill-btn,
    .gmaps-layer-btn,
    .map-overlay-btn {
        transition: background-color 180ms cubic-bezier(0.23, 1, 0.32, 1),
                    border-color 180ms cubic-bezier(0.23, 1, 0.32, 1),
                    color 180ms cubic-bezier(0.23, 1, 0.32, 1),
                    box-shadow 180ms cubic-bezier(0.23, 1, 0.32, 1),
                    transform 150ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .btn:active,
    .hl-min-submit-btn:active,
    .hl-cookie-btn:active,
    .hl-carousel-arrow:active,
    .hl-carousel-pause-btn:active,
    .gmaps-pill-btn:active,
    .gmaps-layer-btn:active,
    .map-overlay-btn:active {
        transform: scale(0.97);
    }

    /* Apertura de dropdowns desde su esquina de origen (natural-interactions) */
    .lang-dropdown-list {
        transform-origin: top right;
        transition: opacity 160ms cubic-bezier(0.23, 1, 0.32, 1),
                    transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .hl-contact-modal {
        transition: opacity 200ms cubic-bezier(0.23, 1, 0.32, 1),
                    transform 220ms cubic-bezier(0.23, 1, 0.32, 1);
    }
}

/* 6. Protección contra hover pegado en pantallas táctiles (iOS / Android) */
@media (hover: none) {
    .btn-primary:hover,
    .hl-carousel-arrow:hover,
    .hl-urbi-kpi-card:hover,
    .kit-doc-item:hover {
        transform: none;
    }
}

/* 7. Barra inferior de marcadores + botón discreto de Pausa/Reanudar del carrusel (WCAG 2.2.2) */
.hl-carousel-footer-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}

.hl-carousel-footer-bar .hl-carousel-markers {
    margin-top: 0;
}

.hl-carousel-pause-btn {
    appearance: none;
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(14, 18, 26, 0.48);
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
    .hl-carousel-pause-btn:hover {
        border-color: #FFFFFF;
        color: #FFFFFF;
        background: rgba(240, 6, 7, 0.85);
    }
}

/* ==========================================================================
   MOBILE UX POLISH (v2.9.8):
   1. Carrusel Empresas que gestionamos 100% legible sin recorte ni mask lateral
   2. Barra de controles del Mapa sin solapamiento entre filtros y Satélite/Mapa/3D
   3. Sidebar móvil con 1 solo CTA + bloque de teléfono estilo Portal del Accionista
   ========================================================================== */

/* Barra de controles del mapa: flotante izquierda/derecha en escritorio (sin cambios visuales) */
.gmaps-top-bar {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    z-index: 26;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    pointer-events: none;
}

.gmaps-top-bar .gmaps-floating-controls,
.gmaps-top-bar .gmaps-layer-controls {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    pointer-events: auto;
}

/* Sidebar móvil (Drawer): enlaces integrados, 1 solo botón rojo y asistencia telefónica */
.mobile-drawer .drawer-links {
    flex: 0 0 auto;
    gap: 2px;
    margin-bottom: 4px;
}

.mobile-drawer .drawer-link {
    padding: 11px 0;
    font-size: 15.5px;
    font-weight: 500;
    color: #1C1C1C;
    border-bottom: 1px solid #F1F5F9;
}

.mobile-drawer .drawer-link.is-active {
    color: #F00607;
    font-weight: 700;
}

.mobile-drawer .drawer-cta-box {
    margin-top: 18px;
    margin-bottom: 0;
}

.mobile-drawer .drawer-portal-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 3px;
}

.drawer-assist-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.25;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #E5E7EB;
}

.drawer-assist-block .hl-portal-assist-prompt {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.drawer-assist-block .hl-portal-assist-phone {
    font-size: 22px;
    font-weight: 700;
    color: #F00607;
    text-decoration: none;
    letter-spacing: 0.3px;
    margin: 3px 0 4px 0;
    font-variant-numeric: tabular-nums;
}

.drawer-assist-block .hl-portal-assist-meta {
    font-size: 12px;
    color: #6B7280;
    line-height: 1.4;
}

.drawer-assist-block .hl-portal-assist-meta a {
    color: #1C1C1C;
    font-weight: 600;
    text-decoration: none;
}

.mobile-drawer .drawer-footer {
    margin-top: 20px;
    padding-top: 14px;
}

@media (max-width: 768px) {
    /* 1. Carrusel Empresas que gestionamos: tarjeta completa sin recorte ni difuminado */
    .inversores-section .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .hl-carousel-stage {
        padding: 4px 0 6px 0;
    }

    .hl-carousel-track {
        -webkit-mask-image: none;
        mask-image: none;
        padding: 14px 42px;
        gap: 16px;
        min-height: 310px;
    }

    .hl-carousel-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hl-carousel-slide.is-centered .hl-carousel-unified-card {
        transform: none;
        width: 100%;
        padding: 24px 18px 22px 18px;
        box-sizing: border-box;
    }

    .hl-carousel-slide.is-centered .hl-carousel-logo-trigger {
        transform: scale(1);
        padding: 4px 0;
    }

    .hl-carousel-slide.is-centered .hl-carousel-wordmark {
        font-size: 20px;
        letter-spacing: 0.7px;
        white-space: normal;
        line-height: 1.15;
    }

    .hl-carousel-slide.is-centered .hl-carousel-wordmark-sub {
        font-size: 9px;
        letter-spacing: 0.6px;
        white-space: normal;
        line-height: 1.3;
    }

    .hl-carousel-info-title {
        font-size: 17px;
    }

    .hl-carousel-info-meta {
        font-size: 12px;
    }

    .hl-carousel-info-desc {
        font-size: 13.5px;
        line-height: 1.5;
    }

    .hl-carousel-info-cta {
        width: 100%;
        box-sizing: border-box;
        padding: 11px 16px;
        font-size: 13.5px;
    }

    .hl-carousel-arrow {
        width: 34px;
        height: 34px;
        background: rgba(17, 24, 39, 0.72);
    }

    .hl-carousel-prev {
        left: 4px;
    }

    .hl-carousel-next {
        right: 4px;
    }

    /* 2. Mapa Instalaciones: barra de controles apilada limpia sobre el mapa (0 solapamiento) */
    .gmaps-top-bar {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px;
        background: #FFFFFF;
        border-bottom: 1px solid #E5E7EB;
        pointer-events: auto;
    }

    .gmaps-top-bar .gmaps-floating-controls {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        width: 100%;
    }

    .gmaps-top-bar .gmaps-pill-btn {
        font-size: 12px;
        padding: 7px 11px;
        border: 1px solid #E5E7EB;
        box-shadow: none;
        flex: 0 1 auto;
    }

    .gmaps-top-bar .gmaps-pill-btn.active {
        border-color: #F00607;
    }

    .gmaps-top-bar .gmaps-layer-controls {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        box-shadow: none;
        border: 1px solid #D1D5DB;
        border-radius: 4px;
    }

    .gmaps-top-bar .gmaps-layer-btn {
        padding: 8px 6px;
        font-size: 12px;
        text-align: center;
    }

    .hl-immersive-map-box,
    .jsvectormap-box {
        height: 460px;
    }
}

/* ==========================================================================
   SWISS-GRID ARCHITECTURAL NAVBAR (v3.0.0 — REFERENCIA SINCRO · PALETA UBS)
   Fondo blanco puro, columnas arquitectónicas con filetes #E5E7EB, bloque
   principal en Rojo UBS #F00607, bloque Portal Accionista y mega-paneles +
   ========================================================================== */
.header.hl-swiss-header {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: none;
    transition: box-shadow 0.24s ease;
    z-index: 1000;
}

.header.hl-swiss-header.header-scrolled {
    background-color: #FFFFFF !important;
    box-shadow: 0 6px 24px rgba(17, 24, 39, 0.06);
}

.header.hl-swiss-header:not(.header-scrolled) .lang-dropdown-btn,
.header.hl-swiss-header:not(.header-scrolled) .lang-text,
.header.hl-swiss-header:not(.header-scrolled) .lang-chevron {
    color: #1C1C1C !important;
    text-shadow: none !important;
}

.header.hl-swiss-header:not(.header-scrolled) .lang-dropdown-btn:hover {
    background-color: #F3F4F6;
    color: #F00607 !important;
}

.header.hl-swiss-header:not(.header-scrolled) .mobile-toggle .bar {
    background-color: #1C1C1C !important;
}

.hl-swiss-desktop {
    position: relative;
    width: 100%;
    background: #FFFFFF;
}

.hl-swiss-grid {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 24px 0 28px;
    height: 106px;
    display: grid;
    grid-template-columns: minmax(220px, 1.25fr) 118px minmax(170px, 1fr) minmax(195px, 1fr) 148px 160px 52px;
    align-items: stretch;
}

.hl-swiss-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 24px 16px 0;
}

.hl-swiss-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.hl-swiss-logo img {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
}

.hl-swiss-logo-symbol img {
    height: 44px;
    width: 44px;
    object-fit: contain;
}

.hl-swiss-tagline {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    color: #1C1C1C;
    font-weight: 400;
}

.hl-swiss-tagline-sub {
    font-size: 11px;
    line-height: 1.2;
    color: #6B7280;
    font-weight: 400;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.hl-swiss-tagline-year {
    font-size: 27px;
    line-height: 0.98;
    color: #1C1C1C;
    font-weight: 400;
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
}

.hl-swiss-nav-col {
    display: flex;
    align-items: stretch;
    padding: 10px 8px;
}

.hl-swiss-col-divider {
    border-left: 1px solid #E5E7EB;
    padding-left: 10px;
}

/* Botón único de bloque completo (referencia Sincro: hover gris uniforme en toda la celda) */
.hl-swiss-block-btn {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    border-radius: 3px;
    padding: 10px 14px 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    color: #1C1C1C;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.16s ease;
}

.hl-swiss-block-btn:hover,
.hl-swiss-block-btn[aria-expanded="true"] {
    background-color: #F0F2F5;
    color: #1C1C1C;
}

.hl-swiss-block-top {
    font-size: 13.5px;
    font-weight: 400;
    color: #1C1C1C;
    line-height: 1.25;
    letter-spacing: -0.005em;
}

.hl-swiss-block-bottom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #1C1C1C;
    line-height: 1.2;
    letter-spacing: -0.005em;
}

.hl-swiss-home-link {
    text-decoration: none;
}

.hl-swiss-home-link.is-active .hl-swiss-block-bottom {
    color: #F00607;
}

.hl-swiss-block-btn.is-section-active .hl-swiss-block-bottom,
.hl-swiss-block-btn[aria-expanded="true"] .hl-swiss-block-bottom {
    color: #F00607;
}

.hl-swiss-plus {
    flex-shrink: 0;
    transition: transform 0.24s cubic-bezier(0.23, 1, 0.32, 1);
}

.hl-swiss-block-btn[aria-expanded="true"] .hl-swiss-plus {
    transform: rotate(45deg);
}

/* Bloques arquitectónicos CTA (Contacto Rojo UBS + Portal Accionista Blanco) */
.hl-swiss-tile-col {
    display: flex;
    align-items: stretch;
    padding: 10px 5px;
}

.hl-swiss-tile {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 3px;
    text-decoration: none;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.16s cubic-bezier(0.23, 1, 0.32, 1);
}

.hl-swiss-tile:active {
    transform: scale(0.98);
}

.hl-swiss-tile-arrow {
    align-self: flex-end;
    display: inline-flex;
    transition: transform 0.18s cubic-bezier(0.23, 1, 0.32, 1);
}

.hl-swiss-tile:hover .hl-swiss-tile-arrow {
    transform: translate(2px, -2px);
}

.hl-swiss-tile-label {
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: -0.005em;
    line-height: 1.2;
}

.hl-swiss-tile-primary {
    background-color: #F00607;
    color: #FFFFFF;
    border: 1px solid #F00607;
}

.hl-swiss-tile-primary:hover,
.hl-swiss-tile-primary.is-current {
    background-color: #C00506;
    border-color: #C00506;
    color: #FFFFFF;
}

.hl-swiss-tile-portal {
    background-color: transparent;
    color: #1C1C1C;
    border: 1px solid transparent;
}

.hl-swiss-tile-portal .hl-swiss-tile-arrow {
    color: #6B7280;
}

.hl-swiss-tile-portal:hover,
.hl-swiss-tile-portal.is-current {
    background-color: #F0F2F5;
    border-color: transparent;
    color: #1C1C1C;
}

.hl-swiss-tile-portal:hover .hl-swiss-tile-arrow,
.hl-swiss-tile-portal.is-current .hl-swiss-tile-arrow {
    color: #F00607;
}

/* Selector de idioma minimalista en esquina inferior derecha */
.hl-swiss-lang-col {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 18px 0 20px 6px;
}

.hl-swiss-lang-btn {
    padding: 4px 8px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Mega-paneles arquitectónicos desplegables (+) */
.hl-swiss-megapanel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 24px 48px rgba(17, 24, 39, 0.10);
    z-index: 995;
    transform-origin: top center;
}

.hl-swiss-megapanel:not([hidden]) {
    animation: hlSwissMegaIn 0.22s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes hlSwissMegaIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hl-swiss-megapanel-inner {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
}

.hl-swiss-mega-4 {
    grid-template-columns: repeat(4, 1fr);
}

.hl-swiss-mega-3 {
    grid-template-columns: repeat(3, 1fr);
}

.hl-swiss-mega-item {
    padding: 28px 26px 30px 26px;
    text-decoration: none;
    border-right: 1px solid #F1F5F9;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background-color 0.16s ease;
}

.hl-swiss-mega-item:first-child {
    padding-left: 0;
}

.hl-swiss-mega-item:last-child {
    border-right: none;
    padding-right: 0;
}

.hl-swiss-mega-item:hover {
    background-color: #FAFAFA;
}

.hl-swiss-mega-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hl-swiss-mega-title {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1C1C1C;
    transition: color 0.16s ease;
}

.hl-swiss-mega-head .hl-swiss-corner {
    color: #9CA3AF;
    flex-shrink: 0;
    transition: transform 0.18s cubic-bezier(0.23, 1, 0.32, 1), color 0.16s ease;
}

.hl-swiss-mega-item:hover .hl-swiss-mega-title,
.hl-swiss-mega-item.is-active .hl-swiss-mega-title {
    color: #F00607;
}

.hl-swiss-mega-item:hover .hl-swiss-corner,
.hl-swiss-mega-item.is-active .hl-swiss-corner {
    color: #F00607;
    transform: translate(2px, -2px);
}

.hl-swiss-mega-desc {
    margin: 0;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.48;
    color: #6B7280;
    text-wrap: pretty;
}

.hl-swiss-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.24);
    z-index: 980;
}

/* Barra móvil (oculta en escritorio > 1024px) */
.hl-swiss-mobile-bar {
    display: none;
}

@media (max-width: 1180px) {
    .hl-swiss-grid {
        grid-template-columns: minmax(150px, 0.9fr) 104px minmax(150px, 1fr) minmax(175px, 1fr) 132px 144px 44px;
        padding: 0 18px;
    }
    .hl-swiss-tagline {
        display: none;
    }
    .hl-swiss-brand {
        align-items: center;
        padding-top: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 1024px) {
    .hl-swiss-desktop {
        display: none;
    }

    .hl-swiss-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        height: 64px;
        background: #FFFFFF;
    }

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

    .hl-swiss-mobile-logo img {
        height: 32px;
        width: auto;
        max-width: 165px;
        object-fit: contain;
        display: block;
    }

    .hl-swiss-mobile-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .hl-swiss-header .mobile-toggle {
        display: flex;
    }

    .hl-subpage-banner {
        padding-top: 104px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 84px;
    }
}

/* ==========================================================================
   v3.1.0 — DESPLEGABLES ANCLADOS POR HOVER (ICREON/SINCRO) + HERO SPLIT SUIZO
   Fondo blanco puro (#FFFFFF), titular gigante Frutiger peso 400 a la izquierda
   y reproductor de video limpio enmarcado a la derecha.
   ========================================================================== */

/* 1. Desplegable limpio anclado directamente debajo de su columna en el navbar */
.hl-swiss-nav-col {
    position: relative;
}

.hl-swiss-nav-col.is-open .hl-swiss-block-btn {
    background-color: #F0F2F5;
}

.hl-swiss-dropdown {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    min-width: 280px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-top: none;
    box-shadow: 0 22px 46px rgba(17, 24, 39, 0.12);
    padding: 12px 0;
    z-index: 998;
    display: flex;
    flex-direction: column;
    transform-origin: top left;
}

.hl-swiss-dropdown[hidden] {
    display: none;
}

.hl-swiss-dropdown:not([hidden]) {
    animation: hlSwissDropdownIn 0.18s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes hlSwissDropdownIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hl-swiss-dd-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 22px;
    text-decoration: none;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 14.5px;
    font-weight: 400;
    color: #1C1C1C;
    letter-spacing: -0.005em;
    transition: background-color 0.14s ease, color 0.14s ease;
}

.hl-swiss-dd-link .hl-swiss-corner {
    color: #9CA3AF;
    opacity: 0;
    transform: translate(-2px, 2px);
    transition: opacity 0.15s ease, transform 0.18s cubic-bezier(0.23, 1, 0.32, 1), color 0.15s ease;
}

.hl-swiss-dd-link:hover,
.hl-swiss-dd-link.is-active {
    background-color: #F8F9FA;
    color: #F00607;
}

.hl-swiss-dd-link:hover .hl-swiss-corner,
.hl-swiss-dd-link.is-active .hl-swiss-corner {
    opacity: 1;
    color: #F00607;
    transform: translate(0, 0);
}

/* 2. Hero Split Suizo (Proporción exacta Sincro 65/35 + gran aire editorial + video derecho arriba) */
.hl-swiss-hero {
    background-color: #FFFFFF;
    padding-top: 106px;
    border-bottom: 1px solid #E5E7EB;
    width: 100%;
}

.hl-swiss-hero-grid {
    max-width: 1520px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.85fr 1fr;
    align-items: stretch;
    min-height: clamp(540px, calc(100vh - 160px), 640px);
}

.hl-swiss-hero-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 46px 64px 44px 28px;
    gap: 56px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hl-swiss-hero-brand {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.hl-swiss-hero-logo {
    height: clamp(64px, 6.2vw, 94px);
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.hl-swiss-hero-title {
    margin: 0;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(44px, 4.7vw, 68px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: #0F172A;
    max-width: 15ch;
    text-wrap: balance;
}

.hl-swiss-hero-bottom {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 500px;
}

.hl-swiss-hero-subtitle {
    margin: 0;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.46;
    letter-spacing: -0.008em;
    color: #0F172A;
    text-wrap: pretty;
}

.hl-swiss-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hl-swiss-hero-actions .btn {
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 3px;
}

.hl-swiss-hero-actions .btn-secondary {
    background: #FFFFFF;
    color: #1C1C1C;
    border: 1px solid #D1D5DB;
}

.hl-swiss-hero-actions .btn-secondary:hover {
    background: #F8F9FA;
    border-color: #1C1C1C;
    color: #1C1C1C;
}

/* Mitad derecha (~35%): línea divisoria vertical suiza + video limpio arriba + pie en 2 columnas */
.hl-swiss-hero-right {
    border-left: 1px solid #E5E7EB;
    padding: 36px 28px 44px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
}

.hl-swiss-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 2px;
    overflow: hidden;
    background-color: #111827;
}

.hl-swiss-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hl-swiss-video-controls {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 4;
}

.hl-swiss-vid-btn {
    appearance: none;
    -webkit-appearance: none;
    width: 32px;
    height: 32px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.14s cubic-bezier(0.23, 1, 0.32, 1);
}

.hl-swiss-vid-btn:hover {
    background: #F00607;
    border-color: #F00607;
}

.hl-swiss-vid-btn:active {
    transform: scale(0.95);
}

.hl-swiss-vid-btn [hidden],
.hl-carousel-pause-btn [hidden] {
    display: none !important;
}

.hl-swiss-hero-caption {
    display: grid;
    grid-template-columns: 0.9fr 1.15fr;
    gap: 18px;
    align-items: start;
    padding-top: 2px;
}

.hl-swiss-caption-label {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #1C1C1C;
    line-height: 1.45;
}

.hl-swiss-caption-text {
    margin: 0;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #1C1C1C;
    line-height: 1.48;
    text-wrap: pretty;
}

@media (max-width: 1180px) {
    .hl-swiss-hero-left {
        padding: 44px 32px 44px 20px;
    }
    .hl-swiss-hero-right {
        padding: 36px 20px 36px 32px;
    }
    .hl-swiss-hero-caption {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

@media (max-width: 1024px) {
    .hl-swiss-hero {
        padding-top: 64px;
    }
    .hl-swiss-hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hl-swiss-hero-left {
        padding: 36px 18px 28px 18px;
        gap: 22px;
    }
    .hl-swiss-hero-title {
        font-size: clamp(32px, 8.2vw, 44px);
        max-width: 100%;
    }
    .hl-swiss-hero-subtitle {
        font-size: 15px;
    }
    .hl-swiss-hero-right {
        border-left: none;
        border-top: 1px solid #E5E7EB;
        padding: 24px 18px 34px 18px;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .hl-swiss-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hl-swiss-hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   v3.2.0 — EMPRESAS Y SOCIOS DEL GRUPO (REFERENCIA ICREON · PALETA UBS #F00607)
   Fondo blanco limpio, tarjetas altas gris suave (#F2F4F7), logos originales
   centrados, nombres debajo y barra de progreso horizontal en Rojo UBS.
   ========================================================================== */
.hl-partners-section {
    background-color: #FFFFFF;
    padding: 92px 0;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    overflow: hidden;
}

.hl-partners-shell {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 56px;
    align-items: center;
}

.hl-partners-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hl-partners-title {
    margin: 0;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(32px, 2.75vw, 42px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.028em;
    color: #0F172A;
    text-wrap: balance;
}

.hl-partners-desc {
    margin: 20px 0 30px 0;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.58;
    color: #4B5563;
    text-wrap: pretty;
}

.hl-partners-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border: 1px solid #1C1C1C;
    border-radius: 999px;
    background: transparent;
    color: #1C1C1C;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.14s cubic-bezier(0.23, 1, 0.32, 1);
}

.hl-partners-cta:hover {
    background-color: #F00607;
    border-color: #F00607;
    color: #FFFFFF;
}

.hl-partners-cta:active {
    transform: scale(0.97);
}

/* Riel horizontal derecho */
.hl-partners-rail-wrap {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hl-partners-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.hl-partners-track::-webkit-scrollbar {
    display: none;
}

@media (prefers-reduced-motion: no-preference) {
    .hl-partners-track {
        scroll-behavior: smooth;
    }
}

.hl-partner-card {
    flex: 0 0 310px;
    scroll-snap-align: start;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    color: inherit;
    group: true;
}

.hl-partner-surface {
    position: relative;
    width: 100%;
    height: 360px;
    background-color: #F2F4F7;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.hl-partner-card:hover .hl-partner-surface {
    background-color: #E9ECEF;
}

.hl-partner-arrow-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    color: #9CA3AF;
    opacity: 0;
    transform: translate(-3px, 3px);
    transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), color 0.18s ease;
}

.hl-partner-card:hover .hl-partner-arrow-badge {
    opacity: 1;
    color: #F00607;
    transform: translate(0, 0);
}

.hl-partner-logo-img {
    max-width: 82%;
    max-height: 76px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.26s cubic-bezier(0.23, 1, 0.32, 1);
}

.hl-partner-logo-img.is-dark-logo {
    filter: brightness(0);
    opacity: 0.88;
}

.hl-partner-card:hover .hl-partner-logo-img {
    transform: scale(1.04);
}

.hl-partner-wordmark-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.26s cubic-bezier(0.23, 1, 0.32, 1);
}

.hl-partner-card:hover .hl-partner-wordmark-wrap {
    transform: scale(1.04);
}

.hl-partner-wordmark {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #1C1C1C;
    line-height: 1.15;
}

.hl-partner-wordmark-sub {
    margin-top: 6px;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: #6B7280;
}

.hl-partner-footer-meta {
    display: flex;
    flex-direction: column;
    margin-top: 14px;
    gap: 2px;
}

.hl-partner-name {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.3;
    transition: color 0.16s ease;
}

.hl-partner-card:hover .hl-partner-name {
    color: #F00607;
}

.hl-partner-sub {
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    color: #6B7280;
    line-height: 1.4;
}

/* Barra de progreso inferior en Rojo UBS (#F00607) + controles discretos */
.hl-partners-controls-bar {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hl-partners-progress-track {
    position: relative;
    flex: 1;
    height: 3px;
    background-color: #E5E7EB;
    overflow: hidden;
    border-radius: 2px;
}

.hl-partners-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 34%;
    background-color: #F00607;
    border-radius: 2px;
    transition: transform 0.14s ease-out, width 0.2s ease;
    will-change: transform;
}

.hl-partners-nav-btns {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hl-partners-nav-btn {
    appearance: none;
    -webkit-appearance: none;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #D1D5DB;
    background: #FFFFFF;
    color: #1C1C1C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.14s cubic-bezier(0.23, 1, 0.32, 1);
}

.hl-partners-nav-btn:hover {
    background-color: #F00607;
    border-color: #F00607;
    color: #FFFFFF;
}

.hl-partners-nav-btn:active {
    transform: scale(0.95);
}

@media (max-width: 1120px) {
    .hl-partners-shell {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hl-partners-intro {
        max-width: 560px;
    }
}

@media (max-width: 768px) {
    .hl-partners-section {
        padding: 60px 0;
    }
    .hl-partners-shell {
        padding: 0 18px;
        gap: 28px;
    }
    .hl-partner-card {
        flex: 0 0 76vw;
        max-width: 280px;
    }
    .hl-partner-surface {
        height: 255px;
        padding: 28px;
    }
    .hl-partners-nav-btns {
        display: none;
    }
}

/* Skip Link WCAG 2.4.1 (escritorio y móvil: invisible salvo navegación por teclado) */
.hl-skip-link {
    position: fixed;
    top: -120px;
    left: 16px;
    z-index: 2000;
    background: #F00607;
    color: #FFFFFF;
    padding: 10px 18px;
    font-family: Frutiger, "Frutiger Next", "Helvetica Neue", Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    transition: top 0.15s ease;
}

.hl-skip-link:focus-visible {
    top: 12px;
    outline: 2px solid #1C1C1C;
    outline-offset: 2px;
}

/* v3.3.1 — Móvil: isotipo solo en Hero + isotipo centrado sin divisor en menú hamburguesa */
.hl-swiss-hero-logo-mobile {
    display: none;
}

.mobile-drawer .drawer-header {
    position: relative;
    justify-content: center;
    align-items: center;
    border-bottom: none;
    padding: 6px 0 8px 0;
    margin-bottom: 4px;
}

.mobile-drawer .drawer-logo-symbol {
    height: 46px;
    width: 46px;
    object-fit: contain;
    display: block;
}

.mobile-drawer .drawer-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-drawer .drawer-lang-selector {
    justify-content: center;
    border-bottom: none;
    padding: 6px 0 10px 0;
    margin-bottom: 8px;
}

@media (max-width: 1024px) {
    .hl-hero-logo-desktop {
        display: none;
    }
    .hl-swiss-hero-logo-mobile {
        display: block;
        width: 56px;
        height: 56px;
        object-fit: contain;
    }
}
