/* ============================================
   INVERSORES MASTER CSS - ARCHIVO CONSOLIDADO
   Contiene todos los estilos para el portal de inversores
   ============================================ */

/* Importar Work Sans desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;600;700&display=swap');

/* Neo Sans W1G - Configuración de fuentes locales */
@font-face {
    font-family: 'Neo Sans';
    src: url('../fonts/neo-sans-w1g-medium_freefontdownload_org/neo-sans-w1g-medium.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Neo Sans';
    src: url('../fonts/neo-sans-w1g-medium_freefontdownload_org/neo-sans-w1g-medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Neo Sans';
    src: url('../fonts/neo-sans-w1g-medium_freefontdownload_org/neo-sans-w1g-medium.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Neo Sans';
    src: url('../fonts/neo-sans-w1g-bold-italic_freefontdownload_org/neo-sans-w1g-bold-italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Neo Sans';
    src: url('../fonts/neo-sans-w1g-light-italic_freefontdownload_org/neo-sans-w1g-light-italic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography hierarchy */
h1 {
    font-family: 'Neo Sans W1G', 'Neo Sans', sans-serif;
    font-size: 36px;
    font-weight: 600;
}

h2 {
    font-family: 'Neo Sans W1G', 'Neo Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
}

h3 {
    font-family: 'Neo Sans W1G', 'Neo Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
}

h4,
h5,
h6 {
    font-family: 'Neo Sans W1G', 'Neo Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

/* Header and navigation text */
.header-text,
.logo-text,
.nav-text,
.heading-text {
    font-family: 'Neo Sans W1G', 'Neo Sans', sans-serif;
}

/* ============================================
   HEADER INVERSORES - UNIVERSAL
   ============================================ */
.header-inversores {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    margin: 0 auto;
    height: 110px !important;
    min-height: 110px !important;
    max-height: 110px !important;
    z-index: 9999 !important;
}

/* Override explícito para vencer header[style] si JS agrega estilos */
header.header-inversores[style] {
    height: 110px !important;
    min-height: 110px !important;
}

.header-content-inversores {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    padding: 0 40px;
}

.logo-section-inversores {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section-inversores img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
    display: block;
}

.logo-section-inversores span {
    color: #f5f5f5 !important;
    font-weight: 600;
    font-size: 28px;
    transition: font-size 0.3s ease;
    font-family: 'Neo Sans W1G', 'Neo Sans', sans-serif;
    line-height: 1.2;
    margin-top: 2px;
    /* Ajuste óptico */
    display: inline-block;
}

.user-section-inversores {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info-inversores {
    color: #f5f5f5 !important;
    font-size: 20px;
    transition: font-size 0.3s ease;
}

#username {
    color: #f5f5f5 !important;
}

/* High specificity selectors to override any conflicting styles */
.header-inversores .user-section-inversores .user-info-inversores,
.header-inversores .user-section-inversores .user-info-inversores span,
.header-inversores .user-section-inversores span,
body header .user-section-inversores .user-info-inversores,
body header .user-section-inversores .user-info-inversores span {
    color: #f5f5f5 !important;
}

.logout-btn-inversores {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: normal;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logout-btn-inversores:hover {
    background: #2d2d2d;
    color: #f9751c;
    transform: translateY(-1px);
}

/* ============================================
   SEARCH BOX - ESTATURADO DEL INDEX
   ============================================ */
.search-box-header {
    display: flex;
    gap: 5px;
    align-items: center;
    position: relative;
}

.search-box-header input {
    padding: 6px 12px;
    border: 1px solid #555;
    background: #2a2a2a;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    width: 130px;
    transition: all 0.3s ease;
    outline: none;
}

.search-box-header input:focus {
    border-color: #f9751c;
    width: 180px;
}

.search-box-header input::placeholder {
    color: #999;
}

.search-box-header button {
    padding: 6px 12px;
    background: transparent;
    border: none;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box-header button i {
    font-size: 16px;
    color: #f7f6f2;
}

.search-box-header button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f9751c !important;
}


/* ============================================
   MAIN CONTENT INVERSORES
   ============================================ */
.inversores-main {
    min-height: var(--scaled-vh, 100vh) !important;
    background: #f7f6f2 !important;
    padding: 110px 0 0 0 !important;
    margin: 0 !important;
    width: 100%;
    /* Removed !important to allow scaling container to control it if needed */
    max-width: none !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Fix for desktop scaling removed as it is handled by desktop-scaling-overrides.css */

/* Sobrescribir cualquier contenedor que pueda interferir */
.inversores-main .container,
.inversores-main>.container,
body .container {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================
   CONTACTO INVERSOR - PÁGINA ESPECÍFICA
   ============================================ */

/* Título de la página */
.page-title {
    text-align: center !important;
    margin-bottom: 30px !important;
    padding: 20px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    flex-shrink: 0 !important;
}

.page-title h1 {
    color: #1a1a1a !important;
    font-family: 'Neo Sans W1G', 'Neo Sans', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

.page-title p {
    color: #666 !important;
    font-family: 'Work Sans', sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

/* Grid de Contacto - SOLO DESKTOP */
@media (min-width: 1024px) {
    .contact-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
        margin: 0 auto !important;
        align-items: stretch !important;
        flex: 1 !important;
        width: 1824px !important;
        /* Traducido de 95vw para 1920 */
        max-width: none !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }

    /* Formulario */
    .contact-form {
        background: transparent !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        height: 100% !important;
        width: 100% !important;
        max-width: none !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .contact-form iframe {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        flex: 1 !important;
        border: none !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    /* Información */
    .contact-info {
        background: #fff !important;
        padding: 30px 40px !important;
        border-radius: 8px !important;
        color: #333 !important;
        height: 100% !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid #eee !important;
        width: 100% !important;
        max-width: none !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
    }
}

.contact-info h2 {
    color: #1a1a1a;
    font-family: 'Neo Sans W1G', 'Neo Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 0;
}

.info-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

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

.info-item h3 {
    color: #f9751c;
    font-family: 'Neo Sans W1G', 'Neo Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.info-item p {
    color: #555;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 5px;
}

.info-item strong {
    color: #f9751c;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
}

/* ============================================
   PÁGINA INVERSORES PRINCIPAL - ESTILOS ESPECÍFICOS
   ============================================ */

/* Estilos para el logo dentro de la sección */
.logo-in-section {
    position: absolute;
    top: 20px;
    left: 80px;
    z-index: 10;
    margin: 0;
}

.logo-center {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.logo-center img {
    height: 100px;
    vertical-align: middle;
}

/* Estilos para el botón de retroceso */
.back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.6);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(26, 26, 26, 0.6);
}

.back-button:hover {
    background: rgba(26, 26, 26, 0.9);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.3);
    border-color: rgba(26, 26, 26, 0.9);
}

.back-button:hover .flecha-retorno {
    filter: brightness(0) saturate(100%) invert(52%) sepia(86%) saturate(1769%) hue-rotate(359deg) brightness(98%) contrast(92%);
    transform: rotate(0deg);
}

.back-button .flecha-retorno {
    height: 20px;
    vertical-align: middle;
}

/* Estilos para el logo y la flecha - Igual que en index */
.logo-final {
    display: flex;
    align-items: center;
    gap: -25px;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    justify-self: start;
    text-decoration: none;
}

.logo-final img {
    height: 80px;
}

.logo-final .flecha {
    color: white;
    font-size: 32px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logo-final .flecha-retorno {
    width: 35px;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-final:hover .flecha-retorno {
    transform: translateX(-3px);
    filter: brightness(1.2);
}

.logo-final:hover .flecha {
    transform: translateX(-5px);
}

/* Header fijo con espaciado amplio */
main {
    margin-top: 0;
    padding-top: 120px;
}

/* Forzar header con estilos inline */
header[style] {
    height: 110px !important;
    min-height: 110px !important;
}

/* Estilos para el encabezado - Mismo estilo que index */
header,
header .nav-bar,
header .nav-inner {
    background-color: #1a1a1a !important;
    padding: 15px 0;
}

header .logo,
header .nav-link {
    color: #ffffff !important;
    font-size: 1.1em;
}

/* Asegurar que el logo tenga el tamaño correcto */
header .logo img {
    height: 40px;
    vertical-align: middle;
}

/* Quote Card Styling - Asegurando estilos */
.inversores-project .project-card {
    background-color: rgba(26, 26, 26, 0.4);
    color: #ffffff;
    padding: 45px 15px;
    margin: 2rem 0;
    border-radius: 8px;
    max-width: 200px;
    float: right;
    clear: both;
    box-shadow: 0 4px 8px rgba(26, 26, 26, 0.1);
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    width: 90%;
    margin-top: 100px;
    margin-right: 150px;
    backdrop-filter: blur(5px);
}

.inversores-project .project-card blockquote {
    margin: 0 !important;
    padding: 0 !important;
    font-style: italic !important;
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
    color: #ffffff !important;
    position: relative !important;
    z-index: 1 !important;
    font-weight: 500 !important;
}

.inversores-project .project-card blockquote::before,
.inversores-project .project-card blockquote::after {
    content: '"' !important;
    font-size: 2rem !important;
    color: #ffffff !important;
    opacity: 0.7 !important;
    line-height: 0 !important;
    margin: 0 0.2em !important;
    position: relative !important;
    top: 0.5em !important;
}

/* Global Refactoring for Main container in this specific page if needed */
main {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Video Container - Simple Left Alignment */
.video-container-centered {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 20px;
    margin: 0;
    overflow: visible;
}

/* Hide mobile elements on desktop */
@media (min-width: 1025px) {
    .mobile-only {
        display: none !important;
    }
}

/* Estilo Global para el video de fondo */
.hero-video-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block;
}

@media (max-width: 1023px) {

    #section-vision,
    .inversores-vision {
        padding-top: 0 !important;
        height: auto !important;
        min-height: auto !important;
        background: whitesmoke !important;
        position: relative !important;
        overflow: hidden !important;
        margin-top: 0 !important;
        display: block !important;
    }

    .hero-video-mobile {
        position: relative !important;
        /* Changed to relative to dictate height */
        top: auto;
        left: auto;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        /* Changed to contain to show full video */
        z-index: 0;
        display: block !important;
    }

    .relative-content {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        padding-bottom: 50px !important;
    }

    /* New Mobile Hero Image Style */
    .mobile-hero-image {
        display: block !important;
        width: 90% !important;
        height: auto !important;
        margin: 0 auto 30px auto !important;
        border-radius: 20px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
        object-fit: cover !important;
    }

    .vision-card {
        margin: 0 auto 40px auto !important;
        max-width: 90% !important;
        background: rgba(26, 26, 26, 0.6) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        padding: 30px !important;
        border-radius: 15px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
        color: #f5f5f5 !important;
    }

    .collaboration-card {
        margin: 0 auto !important;
        max-width: 90% !important;
        background: rgba(26, 26, 26, 0.6) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        padding: 30px !important;
        border-radius: 15px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
        color: #f5f5f5 !important;
    }

    .vision-card blockquote,
    .collaboration-card p {
        color: #f5f5f5 !important;
    }

    .inversores-project {
        height: auto !important;
        min-height: 100vh !important;
        padding: 50px 0 !important;
    }

    .project-card {
        float: none !important;
        margin: 0 auto 40px auto !important;
        max-width: 90% !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .video-container-centered {
        grid-column: auto !important;
        grid-row: auto !important;
        height: auto !important;
        padding: 0 20px !important;
    }

    .navigation-bar-bottom {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        flex-direction: column !important;
        width: 100% !important;
        margin-top: 20px !important;
    }

    .nav-item {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 10px !important;
        /* Match Desktop Style */
        background: rgba(26, 26, 26, 0.8) !important;
        color: white !important;
        padding: 12px 16px !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(10px) !important;
        border-radius: 6px !important;
    }
}

/* Removed zoom effect from video */
.inversores-project:hover .video-container-centered .inversores-video {
    box-shadow: 0 8px 30px rgba(26, 26, 26, 0.15);
}

.inversores-video {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(26, 26, 26, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    max-height: 70vh;
}

/* Estilos de Secciones y Cards - SOLO DESKTOP */
@media (min-width: 1024px) {

    /* Common Section Styles */
    .inversores-vision {
        position: relative;
        width: 100%;
        height: 1080px;
        min-height: 1080px;
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        padding-top: 70px;
    }

    /* Video Positioning for Desktop - Shift content down slightly */
    .inversores-vision .hero-video-mobile {
        object-position: center 20%;
    }

    .inversores-project {
        position: relative;
        width: 100%;
        height: 1080px;
        min-height: 1080px;
        background: #f7f6f2;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }

    /* Container for relative positioning of inner elements */
    .relative-content {
        position: relative;
        z-index: 2;
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr auto;
        padding-top: 50px;
        padding-bottom: 50px;
        column-gap: 40px;
    }

    /* Vision Card - Section 1 */
    /* Vision Card - Section 1 */
    .vision-card {
        grid-column: 1;
        align-self: flex-end;
        background: rgba(26, 26, 26, 0.4);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        padding: 25px 40px;
        border: none;
        max-width: 700px;
        border-radius: 15px;
        margin-left: 100px;
        margin-bottom: 100px;
        position: relative;
        color: #f5f5f5;
    }

    .vision-card blockquote {
        color: #f5f5f5;
        margin: 0;
        font-family: 'Work Sans', sans-serif;
        font-weight: 600;
        font-style: italic;
        font-size: 22px;
        line-height: 1.5;
    }

    .vision-card strong {
        color: #fff;
        font-weight: 700;
        /* Bold or Semibold */
    }

    /* ... omitted code ... */

    /* Top Right Project Card - Section 2 */
    .project-card {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: start;
        max-width: 450px !important;
        background: rgba(26, 26, 26, 0.6) !important;
        backdrop-filter: blur(5px);
        padding: 45px 15px !important;
        border-radius: 15px;
        margin-top: 100px;
        margin-right: 150px;
        position: relative;
    }

    /* ... omitted code ... */

    .inversores-project .project-card blockquote {
        margin: 0 !important;
        padding: 0 !important;
        font-family: 'Work Sans', sans-serif !important;
        font-style: italic !important;
        font-size: 22px !important;
        line-height: 1.5 !important;
        color: #ffffff !important;
        position: relative !important;
        z-index: 1 !important;
        font-weight: 600 !important;
    }

    /* Bottom Left Collaboration Card - Section 1 */
    .collaboration-card {
        align-self: flex-start;
        max-width: 250px;
        background: rgba(26, 26, 26, 0.4);
        backdrop-filter: blur(5px);
        padding: 70px 20px;
        border-radius: 15px;
        margin-bottom: 50px;
        margin-left: auto;
        margin-right: 60px;
        position: relative;
    }

    /* ... omitted code ... */
    /* Video Section Fixes - Restoring and Updating */
    .video-container-centered {
        grid-column: 1 / -1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        margin-top: 50px !important;
    }

    .inversores-video {
        width: 80% !important;
        max-width: 1400px !important;
        height: auto !important;
        max-height: 80vh !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
    }

    .video-container-centered .navigation-bar-bottom {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        display: flex !important;
        justify-content: center !important;
        flex-wrap: nowrap;
        gap: 15px !important;
        z-index: 999 !important;
        padding-left: 0;
        margin-top: 30px !important;
        width: 100% !important;
    }
}

.collaboration-card p {
    color: white;
    font-family: 'Work Sans', sans-serif;
    /* Texto de párrafo */
    font-size: 19px;
    /* 14-16px -> 19px */
    font-weight: 400;
    /* Regular or Semibold */
    line-height: 1.6;
    margin: 0;
}

.nav-item {
    background: rgba(26, 26, 26, 0.8);
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    font-family: 'Neo Sans W1G', 'Neo Sans', sans-serif;
    /* Elementos destacados/Banners */
    font-weight: 500;
    /* Medium */
    font-size: 16px;
    /* Maybe small for banners, but ok for nav */
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.nav-item:hover {
    background: rgba(26, 26, 26, 0.6);
    color: #f9751c;
    border-color: rgba(26, 26, 26, 0.6);
}

.nav-item.active {
    background: rgba(26, 26, 26, 0.6);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-item.active:hover {
    background: rgba(26, 26, 26, 0.6);
    color: #f9751c;
    border-color: rgba(26, 26, 26, 0.6);
}

/* ============================================
/* ============================================
   DISEÑO 5: Footer - (Sincronizado con index.html)
   ============================================ */
.footer-final {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 0 20px;
    font-family: 'Arial', sans-serif;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0;
    padding: 0 40px;
    text-align: left;
}

.footer-design5 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Fila Superior */
.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}

.footer-link-large {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    transition: color 0.3s;
}

.footer-link-large:hover {
    color: #f9751c;
}

.footer-portal-link a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s;
    line-height: 1.3;
    display: inline-block;
    font-family: inherit;
    font-weight: normal;
}

/* Estilo para el texto ACER en el pie de página */
.footer-portal-link a span {
    font-family: 'Neo Sans', 'Arial', sans-serif !important;
    font-weight: 500 !important;
    font-size: 28px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #f7f6f2 !important;
    text-decoration: underline !important;
    text-decoration-color: #f9751c !important;
}

/* Botón WhatsApp Circular */
.whatsapp-circle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.whatsapp-circle-btn:hover {
    transform: scale(1.1);
}

.whatsapp-circle-btn img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Línea Divisoria */
.footer-divider {
    height: 2px;
    background: #444;
    width: 100%;
}

/* Fila Inferior */
.footer-bottom-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.footer-bottom-left {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-center {
    flex: 0 0 auto;
    display: flex;
    gap: 30px;
    margin-bottom: 10px;
    margin-left: 100px;
}

.footer-bottom-right {
    position: absolute;
    right: 200px;
    bottom: 40px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.social-buttons-row {
    display: flex;
    gap: 15px;
    padding: 6px;
}

.social-rect-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    border-radius: 8px;
    transition: all 0.3s;
    border: none;
}

.social-rect-btn img {
    width: 35px;
    height: 35px;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.social-rect-btn:hover {
    background: #252525;
    transform: translateY(-2px);
}

.contact-mini-info {
    font-size: 12px;
    color: #f5f5f5;
    background: rgba(26, 26, 26, 0.75);
    border: 1px solid rgba(192, 192, 192, 0.65);
    border-radius: 8px;
    height: 50px;
    box-sizing: border-box;
    padding: 6px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.contact-mini-info p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
    color: #f5f5f5;
}

/* Centro: Legales - Override específico */
.footer-bottom-row .footer-bottom-center {
    display: flex;
    gap: 30px;
    margin-bottom: 10px;
    margin-left: 200px;
    position: relative;
    left: 0;
}

.footer-bottom-center a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f9751c;
    padding-bottom: 2px;
    transition: color 0.3s;
}

.footer-bottom-center a:hover {
    color: #f9751c;
}

/* Derecha: Logo Grande */
.footer-logo-large {
    display: flex;
    align-items: center;
    gap: 0px;
    font-size: 54px;
    font-weight: 400;
    color: #fff;
}

.footer-logo-large img {
    height: 110px;
    margin: 0;
    padding: 0;
}

.footer-logo-large span {
    margin: 0;
    padding: 0;
    margin-left: -35px;
    font-family: 'Neo Sans', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 34px;
    color: #f7f6f2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.3;
    text-decoration: none;
}

/* FORZAR ESCALADO DE 1920x1080 EN DESKTOP (1024px - 1919px) */
.desktop-scaling-active .footer-final,
.desktop-scaling-active .footer-design5 {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding: 40px 0 20px !important;
}

.desktop-scaling-active .footer-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    width: 100% !important;
}

.desktop-scaling-active .footer-bottom-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    width: 100% !important;
    gap: 0 !important;
}

.desktop-scaling-active .footer-logo-large {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

.desktop-scaling-active .footer-logo-large img {
    height: 110px !important;
    width: auto !important;
}

.desktop-scaling-active .footer-logo-large span {
    font-size: 54px !important;
    margin-left: -35px !important;
    display: inline-block !important;
}

.desktop-scaling-active .footer-bottom-center {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px !important;
    margin: 0 auto !important;
    width: auto !important;
}

.desktop-scaling-active .footer-bottom-center a {
    font-size: 14px !important;
    border-bottom: 1px solid #f9751c !important;
    padding-bottom: 2px !important;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1023px) {
    body:not(.desktop-scaling-active) .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
        width: 90%;
    }

    body:not(.desktop-scaling-active) .contact-info {
        order: -1;
        margin-bottom: 20px;
    }

    body:not(.desktop-scaling-active) .contact-form iframe {
        height: 1200px !important;
    }
}

/* ============================================
   ANIMACIONES SECCIÓN INTRO
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.inversores-vision .vision-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

.inversores-vision .collaboration-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

@media (max-width: 768px) {
    body:not(.desktop-scaling-active) .header-inversores {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 8px 0 !important;
        /* Reduced padding */
        background: #1a1a1a !important;
        /* Solid background to hide overlap */
    }

    body:not(.desktop-scaling-active) .header-content-inversores {
        padding: 5px 15px;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px;
        /* Reduced gap */
        height: auto !important;
        width: 100% !important;
    }

    body:not(.desktop-scaling-active) .logo-section-inversores {
        flex-direction: row !important;
        /* Side by side */
        align-items: center !important;
        justify-content: center !important;
        gap: 8px;
        width: 100% !important;
    }

    body:not(.desktop-scaling-active) .logo-section-inversores img {
        height: 35px !important;
        /* Smaller logo */
        width: auto !important;
        margin: 0 !important;
    }

    body:not(.desktop-scaling-active) .logo-section-inversores span {
        font-size: 16px !important;
        /* Smaller text */
        text-align: left !important;
        display: block !important;
        margin: 0 !important;
    }

    body:not(.desktop-scaling-active) .user-section-inversores {
        flex-direction: row !important;
        /* Horizontal layout */
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px;
        width: 100% !important;
        margin-top: 5px !important;
    }

    body:not(.desktop-scaling-active) .user-info-inversores {
        width: 100% !important;
        font-size: 12px !important;
        text-align: center !important;
        display: block !important;
        margin-bottom: 2px !important;
        color: #ccc !important;
    }

    body:not(.desktop-scaling-active) .logout-btn-inversores {
        width: auto !important;
        flex: 1 !important;
        min-width: 110px !important;
        text-align: center !important;
        justify-content: center !important;
        font-size: 12px !important;
        padding: 6px 10px !important;
    }

    body:not(.desktop-scaling-active) .search-box-header {
        width: auto !important;
        flex: 1 !important;
        min-width: 130px !important;
        justify-content: center !important;
        max-width: none !important;
    }

    body:not(.desktop-scaling-active) .search-box-header input {
        width: 100% !important;
        padding: 6px 10px !important;
        font-size: 12px !important;
    }

    /* Padding top body fix - Reduced */
    body:not(.desktop-scaling-active) .inversores-main {
        padding-top: 130px !important;
        /* Adjusted to remove white space */
    }

    /* Ajustes generales de página */
    body:not(.desktop-scaling-active) .page-title h1 {
        font-size: 28px;
    }

    body:not(.desktop-scaling-active) .contact-info {
        padding: 25px;
    }

    body:not(.desktop-scaling-active) .contact-form iframe {
        height: 1000px !important;
    }

    body:not(.desktop-scaling-active) .contact-grid {
        width: 95%;
    }
}