:root {
    --bg-black: #080808;
    --card-bg: #121212;
    --davibank-red: #e11d48; /* Rojo seguridad */
    --davibank-dark-red: #9f1239;
    --white: #ffffff;
    --text-dim: #a0a0a0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-black);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* --- NAVEGACIÓN DAVIBANK --- */
.side-nav {
    position: fixed;
    height: 100vh;
    width: 80px;
    background: #000;
    border-right: 2px solid var(--davibank-red);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    z-index: 1000;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.nav-brand span { color: var(--davibank-red); }

.icon-btn-red {
    background: transparent;
    border: 1px solid var(--davibank-red);
    color: var(--davibank-red);
    padding: 10px 5px;
    font-size: 0.7rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    writing-mode: vertical-rl;
}

.icon-btn-red:hover {
    background: var(--davibank-red);
    color: white;
    box-shadow: 0 0 15px var(--davibank-red);
}

/* --- CONTENEDOR --- */
.scroll-container {
    margin-left: 80px;
}

.panel {
    min-height: 100vh;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- HERO RED --- */
.hero-panel-red {
    background: radial-gradient(circle at center, #2d060e 0%, #080808 100%);
}

.stamp {
    color: var(--davibank-red);
    letter-spacing: 4px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    display: block;
}

h1.split-text {
    font-size: 5rem;
    line-height: 1;
}

h1.split-text span {
    color: transparent;
    -webkit-text-stroke: 1px var(--davibank-red);
}

/* --- GRID DE PRODUCTOS --- */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.grid-item {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    border: 1px solid #222;
}

.grid-overlay-red {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: 0.4s ease;
}

.grid-item:hover .grid-overlay-red { opacity: 1; }

.btn-red {
    background: var(--davibank-red);
    color: white;
    border: none;
    padding: 12px 20px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 20px;
}

/* --- MODAL BÓVEDA --- */
.modal-dark {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
}

.modal-box-red {
    background: var(--card-bg);
    max-width: 400px;
    margin: 10% auto;
    padding: 40px;
    border-top: 4px solid var(--davibank-red);
    text-align: center;
}

.modal-box-red input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background: #000;
    border: 1px solid #333;
    color: white;
}

.close-btn {
    float: right;
    cursor: pointer;
    color: var(--davibank-red);
    font-size: 1.5rem;
}