/* =====================================================
   BASE.CSS - ESTRUCTURA GENERAL (NO ESPECÍFICO)
===================================================== */

/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =====================================================
   BODY
===================================================== */

body {
    font-family: Arial, sans-serif;
    background: #f6f7f9;
    color: #222;
    line-height: 1.6;
}

/* =====================================================
   SECCIONES
===================================================== */

section {
    padding: 40px 20px;
    max-width: 1100px;
    margin: auto;
}

/* =====================================================
   HERO GENERAL (TODAS LAS PÁGINAS)
===================================================== */

.hero {
    position: relative;
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.video-fondo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.logo-titulo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo {
    height: 42px;
}

/* =====================================================
   MENÚ PRINCIPAL
===================================================== */

.menu-hero {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.menu-hero a {
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 10px;

    background: rgba(255,255,255,0.85);
    color: #000;

    border: 1px solid rgba(0,0,0,0.15);
    transition: 0.3s;
}

.menu-hero a:hover {
    background: #D4AF37;
    transform: translateY(-2px);
}

/* =====================================================
   BOTONES BASE
===================================================== */

.btn {
    background: #D4AF37;
    color: #111;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
}

/* =====================================================
   GRID BASE (NO ESPECÍFICO)
===================================================== */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* =====================================================
   CARDS BASE (GENÉRICA, SIN DISEÑO ESPECÍFICO)
===================================================== */

.card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.10);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-6px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    padding: 10px 15px;
}

.card p {
    padding: 0 15px 15px;
}

/* =====================================================
   ASESORES (BASE SIMPLE)
===================================================== */

.asesores {
    text-align: center;
}

.card-asesor {
    display: inline-block;
    width: 200px;
    margin: 15px;
    padding: 15px;
    background: #1f1f1f;
    color: white;
    border-radius: 15px;
}

.card-asesor img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
}

/* =====================================================
   FOOTER
===================================================== */

footer {
    text-align: center;
    padding: 20px;
    background: #111;
    color: #D4AF37;
}
