/* ============================= */
/* ESTILO GENERAL – ROYAL GOLD   */
/* ============================= */

body {
    background: #0b0b0b;
    color: #e8e8e8;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

.guia-container {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
}

/* ============================= */
/* TITULOS GENERALES             */
/* ============================= */

h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #f5c542;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(245,197,66,0.5);
}

h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #f5c542;
    text-shadow: 0 0 8px rgba(245,197,66,0.4);
}

h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #ffd875;
}

/* ============================= */
/* HERO PRINCIPAL (INDEX)        */
/* ============================= */

.hero {
    background: linear-gradient(135deg, #1a1205, #0b0b0b);
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 0 25px rgba(0,0,0,0.6), inset 0 0 20px rgba(245,197,66,0.15);
    border: 1px solid rgba(245,197,66,0.25);
}

.hero-content h1 {
    font-size: 36px;
    color: #f5c542;
    text-shadow: 0 0 15px rgba(245,197,66,0.6);
}

.hero-content p {
    font-size: 16px;
    color: #e8e8e8;
    margin-bottom: 20px;
}

/* Botón principal */
.btn-primary {
    display: inline-block;
    padding: 10px 22px;
    background: linear-gradient(135deg, #f5c542, #b88a1e);
    color: #0b0b0b;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(245,197,66,0.7);
    transition: 0.15s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(245,197,66,0.9);
}

/* ============================= */
/* SUB-HERO (PÁGINAS INTERNAS)   */
/* ============================= */

.sub-hero {
    background: linear-gradient(135deg, #1a1205, #0b0b0b);
    padding: 35px 20px;
    margin-bottom: 35px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 25px rgba(0,0,0,0.6), inset 0 0 20px rgba(245,197,66,0.2);
    border: 1px solid rgba(245,197,66,0.25);
    position: relative;
}

.sub-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f5c542, transparent);
    transform: translateX(-50%);
    box-shadow: 0 0 12px #f5c542;
}

.sub-hero h1 {
    font-size: 30px;
    color: #ffd875;
    text-shadow: 0 0 10px rgba(245,197,66,0.6);
    margin-bottom: 12px;
}

/* Botón volver */
.btn-volver {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(245,197,66,0.15);
    color: #ffd875;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    border: 1px solid rgba(245,197,66,0.25);
    transition: 0.2s ease;
}

.btn-volver:hover {
    background: rgba(245,197,66,0.35);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(245,197,66,0.6);
}

/* ============================= */
/* TARJETAS (INDEX)              */
/* ============================= */

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

.card {
    background: rgba(255,255,255,0.04);
    border-radius: 6px;
    padding: 18px;
    text-decoration: none;
    color: #e8e8e8;
    border: 1px solid rgba(245,197,66,0.25);
    box-shadow: 0 0 12px rgba(0,0,0,0.4);
    transition: 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 18px rgba(245,197,66,0.6);
    border-color: #f5c542;
}

.card h3 {
    color: #ffd875;
    text-shadow: 0 0 6px rgba(245,197,66,0.4);
}

/* ============================= */
/* BLOQUES INTERNOS              */
/* ============================= */

.bloque {
    background: rgba(255,255,255,0.06);
    border-left: 4px solid #f5c542;
    padding: 22px;
    margin-bottom: 28px;
    border-radius: 8px;
    box-shadow: 0 0 18px rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    transition: 0.2s ease;
    position: relative;
}

.bloque:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(245,197,66,0.5);
}

.bloque::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #f5c542, #b88a1e);
    box-shadow: 0 0 12px rgba(245,197,66,0.8);
}

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

.footer {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    color: #b8b8b8;
    font-size: 13px;
}

.footer-links a {
    color: #f5c542;
    text-decoration: none;
    margin: 0 6px;
}

.footer-links a:hover {
    color: #ffd875;
}