/* Reset Básico y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

:root {
    --primary-teal: #184A48;    /* Verde azulado profundo */
    --teal-light: #2A6E6B;      /* Verde azulado más claro y luminoso */
    --accent-mint: #53D397;     /* Verde menta esmeralda */
    --teal-dark: #0F3332;       /* Tono oscuro principal */
    --text-dark: #1F2937;
    --text-light: #9CA3AF;
    --bg-light: #143E3C;
    --white: #FFFFFF;
}

body {
    background-color: var(--teal-dark);
    color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar y Estilos del Header */
.navbar {
    background: var(--teal-dark);
    border-bottom: 1px solid #1C4D4A;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.navbar-symbol-icon {
    width: 46px;
    height: 46px;
    object-fit: contain; /* Ajustado a contain para aprovechar la transparencia de la imagen */
}

.brand-text-logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-text-logo .logo-simple {
    color: #79B5B2;
}

.brand-text-logo .logo-capital {
    color: var(--white);
}

/* Divisor Intermedio con Líneas y Símbolo Transparente */
.section-divider-lines-container {
    padding: 35px 0;
    background-color: var(--teal-dark);
}

.divider-lines-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.horizontal-line-left {
    flex-grow: 1;
    height: 3px;
    background-color: #79B5B2;
    border-radius: 2px;
}

.horizontal-line-right {
    flex-grow: 1;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
}

.divider-brand-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px;
    white-space: nowrap;
}

.divider-symbol-icon {
    width: 36px;
    height: 36px;
    object-fit: contain; /* Ajustado a contain para el isotipo transparente */
}

.divider-brand-text-light {
    display: inline-block;
}

.divider-brand-text-light .brand-simple {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: #79B5B2;
}

.divider-brand-text-light .brand-capital {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: var(--white);
}

/* Footer */
.footer {
    background-color: var(--teal-dark);
    color: var(--text-light);
    padding: 50px 0;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #1C4D4A;
}

.footer-brand-container {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.footer-symbol-icon {
    width: 42px;
    height: 42px;
    object-fit: contain; /* Ajustado a contain para lucir limpio sin bordes cuadrados */
}

.footer-brand-text {
    display: inline-block;
}

.footer-brand-text .footer-simple {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #79B5B2;
}

.footer-brand-text .footer-capital {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--white);
}

/* ----------------------------------------------- */

.nav-right {
    display: flex;
    align-items: center;
}

.social-links-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-links-footer {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
}

/* Estilo App Móvil para Iconos Sociales */
.app-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.twitter-app {
    background-color: #000000;
}

.instagram-app {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(15, 51, 50, 0.68) 0%, rgba(24, 74, 72, 0.58) 100%), 
                url('imagen_edicio_modulo_1.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0 150px 0;
    text-align: center;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.status-tag {
    color: var(--accent-mint);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 15px;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.25;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 18px;
    color: #E2F2EE;
    margin-bottom: 35px;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-mint);
    color: var(--teal-dark);
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
    background-color: #43BE83;
    transform: translateY(-1px);
}

/* Secciones Generales */
.about-section, .pillars-section {
    padding: 80px 0;
}

.about-section {
    background-color: var(--teal-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 30px;
    color: var(--white);
}

.divider {
    width: 50px;
    height: 3px;
    background-color: var(--accent-mint);
    margin: 10px auto 0;
}

/* Grids y Tarjetas (Operación y Pilares con Fondo Fotográfico) */
.about-grid, .pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.about-card, .pillar-item {
    position: relative;
    padding: 40px;
    border-radius: 10px;
    color: var(--white);
    overflow: hidden;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 300px;
}

.card-client {
    background: linear-gradient(to top, rgba(15, 51, 50, 0.92) 15%, rgba(24, 74, 72, 0.4) 100%),
                url('https://images.unsplash.com/photo-1541888946425-d0fbb18f1585?q=80&w=800&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.card-investor {
    background: linear-gradient(to top, rgba(15, 51, 50, 0.92) 15%, rgba(24, 74, 72, 0.4) 100%),
                url('https://images.unsplash.com/photo-1559526324-4b87b5e36e44?q=80&w=800&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.pillar-card-1 {
    background: linear-gradient(to top, rgba(15, 51, 50, 0.92) 15%, rgba(24, 74, 72, 0.4) 100%),
                url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?q=80&w=800&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.pillar-card-2 {
    background: linear-gradient(to top, rgba(15, 51, 50, 0.92) 15%, rgba(24, 74, 72, 0.4) 100%),
                url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?q=80&w=800&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.pillar-card-3 {
    background: linear-gradient(to top, rgba(15, 51, 50, 0.92) 15%, rgba(24, 74, 72, 0.4) 100%),
                url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?q=80&w=800&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.card-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--teal-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: inline-block;
    background: var(--accent-mint);
    padding: 4px 10px;
    border-radius: 4px;
    width: fit-content;
}

.about-card h3 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 22px;
}

.about-card p, .pillar-item p {
    color: #E2F2EE;
    font-size: 15px;
    font-weight: 300;
}

.pillar-icon {
    font-size: 14px;
    font-weight: 700;
    color: var(--teal-dark);
    background: var(--accent-mint);
    width: 38px;
    height: 38px;
    line-height: 38px;
    border-radius: 50%;
    margin-bottom: 15px;
    text-align: center;
}

.pillar-item h4 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 12px;
    margin-top: 8px;
    color: #83A3A0;
}

/* Responsive */
@media (max-width: 768px) {
    .brand-text-logo {
        font-size: 22px;
    }
    .navbar-symbol-icon {
        width: 38px;
        height: 38px;
    }
    .divider-symbol-icon {
        width: 30px;
        height: 30px;
    }
    .footer-symbol-icon {
        width: 36px;
        height: 36px;
    }
    .divider-brand-text-light .brand-simple,
    .divider-brand-text-light .brand-capital {
        font-size: 20px;
    }
    .hero h1 {
        font-size: 28px;
    }
    .hero p {
        font-size: 16px;
    }
}