/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== VARIABLES DE COLOR ===== */
:root {
    --azul-profundo: #0a1f44;
    --azul-secundario: #1a2f5c;
    --dorado: #c9a961;
    --dorado-claro: #e0c584;
    --blanco-roto: #f8f9fa;
    --gris-oscuro: #2c3e50;
    --texto-claro: #e8e8e8;
    --texto-oscuro: #1a1a1a;
    --borde-sutil: rgba(201, 169, 97, 0.3);
}

/* ===== BASE ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--blanco-roto);
    color: var(--texto-oscuro);
}

/* ===== CONTENEDOR ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ===== HEADER FIJO ===== */
.header {
    background: var(--azul-profundo);
    padding: 1rem 0;
    border-bottom: 2px solid var(--dorado);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    color: var(--dorado);
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.nav ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    flex-wrap: wrap;
}

.nav ul li {
    margin-left: 20px;
}

.nav ul li a {
    color: var(--blanco-roto);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav ul li a:hover {
    color: var(--dorado);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(rgba(248, 248, 248, 0), rgba(255, 255, 255, 0)),
                url('imagenes/hero-red-mundial-de-las-ventas.jpg') no-repeat center center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
}

.hero-content {
    background: rgba(10, 31, 68, 0.6);
    padding: 3rem 2rem;
    border-radius: 10px;
    border: 1px solid var(--borde-sutil);
    max-width: 800px;
}

.hero h2 {
    font-size: 2.8rem;
    color: var(--dorado);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero p {
    margin: 1rem 0;
    font-size: 1.15rem;
    color: var(--texto-claro);
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--dorado);
    color: var(--azul-profundo);
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: var(--dorado-claro);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
}

/* ===== SECCIONES ===== */
.section {
    padding: 4rem 0;
    text-align: center;
}

.section-alt {
    background: var(--azul-profundo);
    color: var(--texto-claro);
}

.section h2 {
    margin-bottom: 2rem;
    color: var(--dorado);
    font-size: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--dorado);
}

.section-alt h2 {
    color: var(--dorado);
}

.section p {
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== TARJETAS GENERALES ===== */
.card {
    background: #ffffff;
    padding: 1.8rem;
    border: 1px solid var(--borde-sutil);
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(10, 31, 68, 0.15);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--azul-profundo);
    font-size: 1.3rem;
}

.card h3 i {
    color: var(--dorado);
    margin-right: 0.5rem;
}

.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--dorado);
    font-weight: bold;
    text-decoration: none;
}

.card-link:hover {
    color: var(--azul-profundo);
}

/* ===== GRID SERVICIOS ===== */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .servicios-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CONSEJO DIRECTIVO ===== */
.directivo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.directivo-card {
    background: #ffffff;
    border: 1px solid var(--borde-sutil);
    border-radius: 10px;
    padding: 1.2rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.directivo-card:hover {
    transform: translateY(-8px);
    border-color: var(--dorado);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.3);
}

.directivo-card a {
    display: block;
    text-decoration: none;
}

.directivo-card img {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 0;
    margin: 0 auto 1rem;
    border: 3px solid var(--dorado);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: block;
}

.directivo-card a:hover img {
    transform: scale(1.05);
    border-color: var(--dorado-claro);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.5);
}

.directivo-card h3 {
    color: var(--azul-profundo);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.directivo-card p {
    font-size: 0.9rem;
    color: var(--gris-oscuro);
    margin: 0.2rem 0;
}

@media (max-width: 900px) {
    .directivo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .directivo-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== MEMBRESÍAS ===== */
.membresias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.membresia-card {
    background: #ffffff;
    border: 2px solid var(--borde-sutil);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}
.membresia-card img {
    width: 80%;
    max-width: 180px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 0;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: block;
}
.membresia-card:hover {
    transform: translateY(-5px);
    border-color: var(--dorado);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.25);
}

.membresia-card.destacado {
    background: var(--azul-secundario);
    color: var(--texto-claro);
    border-color: var(--dorado);
    transform: scale(1.03);
}

.membresia-card h3 {
    color: var(--azul-profundo);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.membresia-card.destacado h3 {
    color: var(--dorado);
}

.membresia-card .price {
    margin-top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--azul-profundo);
}

.membresia-card.destacado .price {
    color: var(--dorado);
}

.membresia-card .price span {
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--gris-oscuro);
}

@media (max-width: 900px) {
    .membresias-grid {
        grid-template-columns: 1fr;
    }
    .membresia-card.destacado {
        transform: none;
    }
}

/* ===== CONTACTO ===== */
#contacto p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

#contacto p i {
    color: var(--dorado);
    margin-right: 0.5rem;
}

#contacto a {
    color: var(--blanco);
    text-decoration: none;
    font-weight: bold;
}

#contacto a:hover {
    color: var(--dorado);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    font-size: 2rem;
    color: var(--azul-profundo);
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    color: var(--dorado);
    transform: scale(1.2);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--azul-profundo);
    color: var(--texto-claro);
    text-align: center;
    padding: 1.5rem 0;
    border-top: 2px solid var(--dorado);
}

.footer a {
    color: var(--dorado);
    text-decoration: none;
    margin: 0 0.3rem;
}

.footer a:hover {
    color: var(--dorado-claro);
    text-decoration: underline;
}

/* ===== ENLACES GENERALES ===== */
a {
    color: var(--azul-secundario);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dorado);
}

/* ===== BANNER DE COOKIES ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--azul-profundo);
    color: var(--texto-claro);
    border-top: 2px solid var(--dorado);
    padding: 1rem;
    display: none;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    z-index: 1000;
}

.cookie-banner p {
    margin: 0;
    flex: 1;
    font-size: 0.95rem;
}

.cookie-banner a {
    color: var(--dorado);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cookie-buttons button {
    background: var(--dorado);
    color: var(--azul-profundo);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-buttons button:hover {
    background: var(--dorado-claro);
}

/* ===== POPUP COOKIES ===== */
.cookie-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 68, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.cookie-popup-content {
    background: #ffffff;
    color: var(--texto-oscuro);
    border: 2px solid var(--dorado);
    border-radius: 10px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
}

.cookie-popup-content h3 {
    color: var(--azul-profundo);
    margin-bottom: 1rem;
}

.cookie-popup-content label {
    display: block;
    margin: 0.8rem 0;
    color: var(--texto-oscuro);
}

.popup-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}

.popup-buttons button {
    background: var(--dorado);
    color: var(--azul-profundo);
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.popup-buttons button:hover {
    background: var(--dorado-claro);
}

/* ===== PÁGINAS DE DIRECTIVOS ===== */
.miembro-section {
    padding: 3rem 0;
}

.miembro-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .miembro-container {
        grid-template-columns: 1fr;
    }
}

.btn-volver {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--azul-profundo);
    color: var(--dorado);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-volver:hover {
    background: var(--dorado);
    color: var(--azul-profundo);
}

.miembro-sidebar {
    background: #ffffff;
    border: 1px solid var(--borde-sutil);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    color: var(--texto-oscuro);
}

.miembro-sidebar img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.miembro-sidebar h2 {
    color: var(--azul-profundo);
    margin-bottom: 0.5rem;
}

.miembro-sidebar p {
    color: var(--gris-oscuro);
    margin: 0.3rem 0;
    font-size: 0.95rem;
}

.cargo {
    color: var(--gris-oscuro);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contacto-directivo {
    margin: 1.2rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--borde-sutil);
    border-bottom: 1px solid var(--borde-sutil);
}

.contacto-directivo p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    text-align: left;
    color: var(--gris-oscuro);
}

.contacto-directivo i {
    color: var(--dorado);
    margin-right: 0.5rem;
    width: 18px;
}

.contacto-directivo a {
    color: var(--azul-secundario);
    font-weight: 500;
}

.contacto-directivo a:hover {
    color: var(--dorado);
}

.miembro-social {
    margin: 1rem 0;
    gap: 1rem;
}

.miembro-social a {
    font-size: 1.5rem;
    color: var(--azul-profundo);
}

.miembro-social a:hover {
    color: var(--dorado);
}

.membresia-badge {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--blanco-roto);
    border: 2px solid var(--dorado);
    border-radius: 10px;
    text-align: center;
}

.membresia-badge h4 {
    color: var(--azul-profundo);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.membresia-badge img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 0.5rem;
    display: block;
    border-radius: 8px;
}

.membresia-tipo {
    color: var(--dorado);
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0;
}

.miembro-content {
    background: #ffffff;
    border: 1px solid var(--borde-sutil);
    border-radius: 10px;
    padding: 2rem;
    color: var(--texto-oscuro);
}

.miembro-content h3 {
    color: var(--azul-profundo);
    border-bottom: 2px solid var(--dorado);
    padding-bottom: 0.4rem;
    margin-top: 1.5rem;
}

.miembro-content h3:first-child {
    margin-top: 0;
}

.miembro-content p,
.miembro-content ul {
    color: var(--texto-oscuro);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.miembro-content ul {
    padding-left: 1.5rem;
    text-align: left;
}

.miembro-content ul li {
    margin-bottom: 0.5rem;
}

.miembro-certificado {
    margin-top: 3rem;
    text-align: center;
}

.miembro-certificado h3 {
    color: var(--azul-profundo);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.miembro-certificado h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--dorado);
}

.certificado-box {
    background: #ffffff;
    border: 2px solid var(--dorado);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(10, 31, 68, 0.1);
}

.certificado-box img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .miembro-sidebar img,
    .membresia-badge img {
        max-width: 250px;
    }
}
/* ===== VENDEDOR DEL MES Y REVISTA ===== */
.destacados-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.destacado-card {
    background: #ffffff;
    border: 2px solid var(--borde-sutil);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destacado-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.3);
    border-color: var(--dorado);
}

.vendedor-mes,
.revista-institucional {
    text-align: center;
}

.vendedor-mes h3,
.revista-institucional h3 {
    color: var(--dorado);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.vendedor-mes h3 i,
.revista-institucional h3 i {
    margin-right: 0.5rem;
}

.vendedor-mes img,
.revista-institucional img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--dorado);
    box-shadow: 0 4px 15px rgba(10, 31, 68, 0.2);
}

.vendedor-info,
.revista-info {
    text-align: left;
    padding: 1rem;
    background: var(--blanco-roto);
    border-radius: 8px;
}

.vendedor-info h4,
.revista-info h4 {
    color: var(--azul-profundo);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.vendedor-info .cargo {
    color: var(--dorado);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.vendedor-info .pais {
    color: var(--gris-oscuro);
    margin-bottom: 1rem;
}

.vendedor-info .pais i {
    margin-right: 0.5rem;
    color: var(--dorado);
}

.vendedor-info .logro {
    font-style: italic;
    color: var(--texto-oscuro);
    margin-bottom: 1rem;
    padding: 1rem;
    background: #ffffff;
    border-left: 4px solid var(--dorado);
    border-radius: 5px;
}

.premio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: var(--azul-profundo);
    color: var(--dorado);
    border-radius: 5px;
    font-weight: bold;
    margin-top: 1rem;
}

.premio i {
    font-size: 1.5rem;
}

.revista-info .tema-principal {
    color: var(--azul-secundario);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contenido-revista {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.contenido-revista li {
    padding: 0.5rem 0;
    color: var(--texto-oscuro);
}

.contenido-revista li i {
    color: var(--dorado);
    margin-right: 0.5rem;
}

.revista-info .btn {
    width: 100%;
    text-align: center;
}

/* Responsive para la nueva sección */
@media (max-width: 900px) {
    .destacados-grid {
        grid-template-columns: 1fr;
    }
    
    .vendedor-mes img,
    .revista-institucional img {
        max-width: 100%;
    }
}

@media (max-width: 500px) {
    .destacado-card {
        padding: 1.5rem;
    }
    
    .vendedor-mes h3,
    .revista-institucional h3 {
        font-size: 1.5rem;
    }
}
/* ===== GRID DE PAÍSES/BANDERAS ===== */
.paises-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pais-card {
    background: #ffffff;
    border: 2px solid var(--borde-sutil);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pais-card:hover {
    transform: translateY(-8px);
    border-color: var(--dorado);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.banderas {
    width: 100%;
    max-width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 1.5rem;
    display: block;
    border: 3px solid var(--dorado);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pais-card h3 {
    color: var(--azul-profundo);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.pais-card p {
    color: var(--gris-oscuro);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.pais-card p i {
    color: var(--dorado);
    margin-right: 0.5rem;
}

.btn-small {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--azul-profundo);
    color: var(--dorado);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: var(--dorado);
    color: var(--azul-profundo);
    transform: translateY(-2px);
}

/* Responsive para el grid de países */
@media (max-width: 1024px) {
    .paises-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .paises-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .banderas {
        max-width: 140px;
        height: 90px;
    }
}

@media (max-width: 500px) {
    .paises-grid {
        grid-template-columns: 1fr;
    }
    
    .banderas {
        max-width: 200px;
        height: 130px;
    }
}