/* =========================================
   ESTILOS PARA PÁGINAS ESTÁTICAS Y LEGALES
   ========================================= */

/* Contenedor principal con fondo coherente */
.about-container, .legal-text-wrapper {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1.5px solid #bf953f; /* Marco dorado fino */
    border-radius: 20px;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Hero de las páginas (Títulos) */
.about-hero {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.about-hero h1 {
    font-size: 2.5rem;
    color: #efb810; /* Dorado para títulos principales */
    margin-bottom: 10px;
}

.subtitle, .legal-info {
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* Cuerpo de texto */
.about-content, .legal-text-wrapper {
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-content h2, .legal-text-wrapper h2 {
    color: #efb810;
    margin-top: 30px;
    font-size: 1.5rem;
    border-left: 4px solid #efb810;
    padding-left: 15px;
}

.about-content p, .legal-text-wrapper p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

/* Listas en páginas legales */
.legal-text-wrapper ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.legal-text-wrapper li {
    margin-bottom: 10px;
    list-style-type: none;
    position: relative;
}

.legal-text-wrapper li::before {
    content: "⬥";
    color: #efb810;
    position: absolute;
    left: -20px;
}

/* Bloques de Citas o Notas importantes */
.about-quote {
    background: rgba(239, 184, 16, 0.1);
    border-left: 4px solid #efb810;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    border-radius: 0 10px 10px 0;
}

/* Estilos para el Grid de "Sobre Nosotros" */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 40px 0;
}

.about-grid.reverse {
    direction: rtl;
}

.about-grid.reverse .about-text {
    direction: ltr;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Enlaces dentro del texto */
.legal-text-wrapper a, .about-content a {
    color: #efb810;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.legal-text-wrapper a:hover, .about-content a:hover {
    text-shadow: 0 0 10px rgba(239, 184, 16, 0.5);
    text-decoration: underline;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-container, .legal-text-wrapper {
        margin: 20px;
        padding: 20px;
    }
}