/* === NAVBAR === */
.navbar {
    position: relative;
    height: 112px;
    background: var(--bg-white);
}

/* Capa 1 — pastilla negra central */
.nav-black-pill {
    position: absolute;
    left: 230px;
    right: 180px;
    top: 46px;
    height: 66px;
    background: var(--navy-dark);
    border-radius: 30px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 8px;
}

.nav-tab {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-nav);
    letter-spacing: 0.01em;
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    white-space: nowrap;
}
.nav-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-tab.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 20px;
}
.nav-logo-pill {
    position: absolute;
    left: 39px;
    top: 65%;
    transform: translateY(-50%);
    width: 155px;
    height: 57px;
    background: #1E3A5F;
    border-radius: 30px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 16px;
}

.nav-logo-icon {
    display: none;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
}
.nav-logo-name {
    font-weight: 700;
    font-size: 12px;
    color: #ffffff !important;
    line-height: 1.2;
    letter-spacing: 0.02em;
}


.nav-logo-sub {
    font-weight: 300;
    font-size: 9px;
    color: rgba(255,255,255,0.7) !important;
    line-height: 1.2;
}



/* Capa 2b — overlay semitransparente sobre logo */
.nav-logo-overlay {
    position: absolute;
    left: 168px;
    top: 70px;
    width: 145px;
    height: 42px;
    background: rgba(10, 15, 30, 0.71);
    border-radius: 30px;
    z-index: 1;
    pointer-events: none;
}
/* Capa 3 — pastilla azul R² (derecha) */
.nav-r2-pill {
    position: absolute;
    right: 19px;
    top: 56px;
    width: 145px;
    height: 47px;
    background: var(--navy-mid);
    border-radius: 30px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-r2-text {
    right: 49px;
    top: 56px;
    height: 47px;
    width: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-nav);
    z-index: 4;
}

/* Capa 3b — overlay semitransparente sobre R² */
.nav-r2-overlay {
    position: absolute;
    right: 69px;
    top: 63px;
    width: 151px;
    height: 47px;
    background: rgba(10, 15, 30, 0.71);
    border-radius: 30px;
    z-index: 2;
    pointer-events: none;
}
/* === HERO (solo visible en tab Predicción) === */

.hero {
    position: relative;
    background: var(--bg-white);
    padding: 75px 49px 40px 49px;
    overflow: visible;
}

.hero-col-left {
    position: relative;
    z-index: 10;
    max-width: 720px;
    padding-left: 48px;
    padding-top: 20px;
}

.hero-label {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: 0.01em;
    color: #0A0F1E;
    margin-bottom: 8px;
}

.hero-titulo {
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #0A0F1E;
    line-height: 1.1;
    margin-bottom: 18px;
    white-space: nowrap;

}

.hero-franja {
    position: absolute;
    left: 390px;
    top: -5px;
    width: 400px;
    height: 160px;
    background: rgba(217, 217, 217, 0.79);
    border-radius: 0 30px 30px 0;
    z-index: 0;
    pointer-events: none;
}

.hero-descripcion {
    position: relative;
    z-index: 1;
    font-weight: 400;
    font-size: 14px;
    color: #0A0F1E !important;
    line-height: 1;
    max-width: 620px;
    margin-top: 16px;
}

.hero-col-right {
    position: absolute;
    top: -100px;
    right: -40px;
    width: 720px;
    z-index: 1;
    overflow: visible;
}

.hero-col-right svg {
    width: 100%;
    height: auto;
}
/* === TABS BAR (debajo del hero) === */
.tabs-bar {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--border);
    padding: 0 49px;
    background: var(--bg-white);
}

.tabs-bar-btn {
    font-weight: 700;
    font-size: 13px;
    color: var(--text-muted);
    padding: 12px 24px;
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    cursor: pointer;
    white-space: nowrap;
    margin-bottom: -1px;
}

.tabs-bar-btn.active {
    color: var(--navy-mid);
    border-bottom-color: var(--navy-mid);
}

/* === FOOTER === */
.footer {
    background: var(--navy-dark);
    border-radius: 30px;
    margin: 24px 49px 32px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-text {
    font-weight: 300;
    font-size: 11px;
    color: var(--text-nav);
    letter-spacing: 0.04em;
}
