/* CSS específico para la página Sobre Nosotros (pages/sobre-nosotros.html) */

/* Variables CSS basadas en el sistema de colores extraído del original */
:root {
    /* Colores extraídos del sistema wsw-* del original */
    --wsw-17: #000;             /* Títulos principales - blanco */
    --wsw-33: #f4d03f;             /* Marca y destacados - dorado */
    --wsw-43: #e8c547;             /* Texto especial - dorado claro */
    --wsw-27: #d4af37;             /* Títulos especiales - dorado oscuro */
    --wsw-47: #c9a96e;             /* Texto de énfasis - dorado apagado */
    --wsw-23: #ffd700;             /* Color de acento adicional - dorado brillante */
    --wsw-13: #f8f9fa;             /* Color para elementos importantes del método VERITAS */
    --wsw-09: #e9ecef;             /* Color para texto descriptivo */
    
    /* Colores base */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-background: #000;
    --color-overlay-black: rgba(0, 0, 0, 0.6);
    
    /* Espaciado exacto del original */
    --section-padding: 60px 0; /* Exact 60px spacing as specified in task */
    --container-max-width: 1200px;
    --container-padding: 0 20px;
    
    /* Tipografía del original */
    --font-family: 'Montserrat', sans-serif;
    --font-size-hero: 2.2rem;
    --font-size-quote: 1.8rem;
    --font-size-subtitle: 1.2rem;
    --font-size-section: 1.5rem;
    --font-size-text: 1rem;
    --font-size-large: 1.4rem; /* 140% del tamaño base para cita final */
    --line-height-base: 1.6;
    
    /* Responsive */
    --mobile-breakpoint: 37.5em; /* 600px */
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-background);
}

/* Container común */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* === MAIN CONTAINER === */
.sobre-nosotros-main {
    margin-top: 0;
}

/* === SECCIÓN HERO === */
/* Basada en imagen de fondo con overlay-black */
.hero-section {
    background-image: url('../img/Justicia_1.jpg'); /* Mapeo a imagen local disponible */
    background-size: cover;
    background-position: top center; /* bgpos-top-center del original */
    background-attachment: scroll; /* bgatt-scroll del original */
    min-height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: var(--color-overlay-black); /* overlay-black del original */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 60px 20px;
}

/* === MÉTODO VERITAS === */
.metodo-veritas-title {
    color: var(--wsw-17); /* wsw-17 para títulos principales */
    font-size: var(--font-size-hero);
    font-weight: bold;
    margin-bottom: 40px;
    line-height: 1.2;
    text-align: center;
}

/* Asegurar que el método VERITAS mantenga el color wsw-17 correcto */
.metodo-veritas-title.wsw-17,
.metodo-veritas-title strong {
    color: var(--wsw-17) !important;
}

.metodo-description {
    color: var(--wsw-17);
    font-size: var(--font-size-subtitle);
    margin-bottom: 40px;
    text-align: center;
}

.metodo-description strong {
    color: var(--wsw-17);
    font-weight: bold;
}

/* Lista del método VERITAS */
.veritas-list {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.veritas-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.veritas-list li {
    color: var(--wsw-17);
    font-size: var(--font-size-text);
    line-height: 1.8;
    margin: 20px 0;
    padding-left: 0;
}

.veritas-letter {
    color: var(--wsw-13); /* wsw-13 para letras iniciales del método VERITAS */
    font-weight: bold;
}

/* === SECCIÓN DE CITA PRINCIPAL === */
.quote-section {
    padding: var(--section-padding);
    background-color: var(--color-background);
    text-align: center;
}

.main-quote {
    color: var(--color-text); /* Usar color de texto normal para mejor contraste en fondo blanco */
    font-size: var(--font-size-quote);
    font-weight: bold;
    line-height: 1.3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Aplicar wsw-17 específicamente cuando se use la clase */
.main-quote.wsw-17 {
    color: var(--wsw-17);
}

/* === SECCIÓN DESCRIPCIÓN DE EMPRESA === */
.company-description {
    padding: var(--section-padding);
    background-color: var(--color-background);
}

.company-intro {
    font-size: var(--font-size-text);
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--color-text);
}

.company-name {
    color: var(--wsw-23); /* wsw-23 para TACTIIKA VERITAS */
    font-weight: bold;
}

/* Asegurar que todos los elementos con wsw-23 mantengan el color correcto */
.company-description .wsw-23,
.diferencia-content .wsw-23 {
    color: var(--wsw-23) !important;
    font-weight: bold;
}

.company-description p {
    font-size: var(--font-size-text);
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--color-text);
}

/* Visión y Misión */
.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.vision h3,
.mission h3 {
    color: var(--color-text);
    font-size: var(--font-size-section);
    margin-bottom: 15px;
    font-weight: bold;
}

.vision p,
.mission p {
    color: var(--color-text);
    font-size: var(--font-size-text);
    line-height: 1.6;
}

/* === SECCIÓN DIFERENCIADORA === */
.diferencia-section {
    padding: var(--section-padding);
    background-color: var(--color-background);
}

.diferencia-title {
    color: var(--color-text); /* Usar color de texto normal para mejor contraste en fondo blanco */
    font-size: var(--font-size-section);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}

/* Aplicar wsw-17 específicamente cuando se use la clase */
.diferencia-title.wsw-17 {
    color: var(--wsw-17);
}

.diferencia-content {
    max-width: 900px;
    margin: 0 auto;
}

.diferencia-content p {
    font-size: var(--font-size-text);
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--color-text);
}

.highlight {
    color: var(--wsw-23); /* wsw-23 para texto destacado */
    font-weight: bold;
}

/* === SECCIÓN CITA FINAL === */
.final-quote-section {
    padding: var(--section-padding);
    background-color: var(--color-background);
    text-align: center;
}

.final-quote {
    font-size: var(--font-size-large); /* wnd-font-size-140 (140% del tamaño base) */
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto;
    color: var(--wsw-17); /* wsw-17 para la cita final */
}

.poder-text {
    color: var(--wsw-23); /* wsw-23 para "PODER ESTRATÉGICO LEGALMENTE BLINDADO" */
    font-weight: bold;
}

/* === CLASES DE COLOR ESPECÍFICAS DEL SISTEMA ORIGINAL === */
.wsw-17 { color: var(--wsw-17) !important; }
.wsw-33 { color: var(--wsw-33) !important; }
.wsw-43 { color: var(--wsw-43) !important; }
.wsw-27 { color: var(--wsw-27) !important; }
.wsw-47 { color: var(--wsw-47) !important; }
.wsw-23 { color: var(--wsw-23) !important; }
.wsw-13 { color: var(--wsw-13) !important; }
.wsw-09 { color: var(--wsw-09) !important; }

/* === ESTILOS ESPECÍFICOS PARA CUMPLIR REQUISITOS DE LA TAREA === */

/* 1. Método VERITAS con wsw-17 - Asegurar que todos los elementos del método mantengan el color correcto */
.hero-section .wsw-17,
.metodo-veritas-title .wsw-17,
.hero-content h1.wsw-17 {
    color: var(--wsw-17) !important;
    font-weight: bold;
}

/* 2. Cita principal destacada - Estilo específico para la cita principal */
.main-quote {
    position: relative;
    padding: 30px 20px;
    border-left: 4px solid var(--wsw-33);
    background: rgba(244, 208, 63, 0.05);
    border-radius: 8px;
    font-style: italic;
}

.main-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--wsw-33);
    position: absolute;
    top: -10px;
    left: 15px;
    line-height: 1;
}

.main-quote::after {
    content: '"';
    font-size: 3rem;
    color: var(--wsw-33);
    position: absolute;
    bottom: -20px;
    right: 15px;
    line-height: 1;
}

/* 3. Descripción con wsw-23 - Formateo específico para elementos destacados */
.company-description .wsw-23,
.diferencia-content .wsw-23,
.company-name,
.highlight {
    color: var(--wsw-23) !important;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* 4. Sección diferenciadora - Estilos específicos */
.diferencia-section {
    background: linear-gradient(135deg, rgba(244, 208, 63, 0.02) 0%, rgb(33, 30, 123) 100%);
    border-top: 1px solid rgba(244, 208, 63, 0.2);
    border-bottom: 1px solid rgba(244, 208, 63, 0.2);
}

.diferencia-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.diferencia-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--wsw-33);
    border-radius: 2px;
}

/* === RESPONSIVE DESIGN === */

/* Tablet */
@media screen and (max-width: 768px) {
    :root {
        --font-size-hero: 1.8rem;
        --font-size-quote: 1.5rem;
        --font-size-subtitle: 1.1rem;
        --font-size-section: 1.3rem;
        --font-size-large: 1.2rem;
        --section-padding: 40px 0;
    }
    
    .hero-content {
        padding: 40px 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        min-height: 60vh;
    }
    
    .vision-mission {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .veritas-list {
        max-width: 100%;
    }
    
    .veritas-list li {
        font-size: 0.95rem;
        margin: 15px 0;
    }
}

/* Mobile */
@media screen and (max-width: 37.5em) {
    :root {
        --font-size-hero: 1.5rem;
        --font-size-quote: 1.3rem;
        --font-size-subtitle: 1rem;
        --font-size-section: 1.2rem;
        --font-size-large: 1.1rem;
        --section-padding: 30px 0;
    }
    
    .hero-section {
        min-height: 50vh;
    }
    
    .hero-content {
        padding: 30px 15px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .metodo-veritas-title {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }
    
    .metodo-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    .veritas-list li {
        font-size: 0.9rem;
        margin: 12px 0;
        line-height: 1.6;
    }
    
    .main-quote {
        font-size: 1.2rem;
    }
    
    .diferencia-title {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .company-intro,
    .company-description p,
    .diferencia-content p {
        font-size: 0.95rem;
    }
    
    .final-quote {
        font-size: 1rem;
    }
    
    .vision-mission {
        gap: 25px;
    }
    
    .vision h3,
    .mission h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .vision p,
    .mission p {
        font-size: 0.9rem;
    }
}

/* === ENLACES === */
a {
    color: var(--wsw-33);
    text-decoration: none;
}

a:hover {
    color: var(--wsw-43);
    text-decoration: underline;
}

/* === COMPATIBILIDAD CON HEADER Y FOOTER EXISTENTES === */
main {
    margin-top: 0;
}

.hero-section {
    margin-top: 0;
    padding-top: 0;
}

/* === ACCESIBILIDAD === */
@media (prefers-reduced-motion: reduce) {
    .hero-section {
        background-attachment: scroll;
    }
}

/* Focus states para accesibilidad */
a:focus {
    outline: 2px solid var(--wsw-33);
    outline-offset: 2px;
}

/* === PRINT STYLES === */
@media print {
    .hero-section {
        background: none;
        color: black;
    }
    
    .hero-overlay {
        background: none;
    }
    
    .metodo-veritas-title,
    .main-quote,
    .diferencia-title,
    .final-quote,
    .company-name,
    .highlight,
    .poder-text,
    .veritas-letter {
        color: black !important;
    }
    
    .veritas-list li {
        color: black !important;
    }
    
    /* Asegurar que todos los colores wsw-* se impriman en negro */
    .wsw-17, .wsw-33, .wsw-43, .wsw-27, .wsw-47, .wsw-23, .wsw-13, .wsw-09 {
        color: black !important;
    }
}

/* === MEJORAS ADICIONALES === */

/* Espaciado mejorado para secciones */
section + section {
    margin-top: 0;
}

/* Mejorar la legibilidad del método VERITAS */
.veritas-list li {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mejorar el contraste en la sección hero */
.hero-content {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Espaciado consistente entre elementos */
.quote-section,
.company-description,
.diferencia-section,
.final-quote-section {
    border-bottom: 1px solid transparent;
}

/* Asegurar que los textos destacados mantengan el color correcto */
.company-name,
.highlight,
.poder-text {
    text-decoration: none;
}

/* Mejorar la presentación de la lista VERITAS */
.veritas-list ul {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

/* Efectos hover para elementos interactivos */
.company-name:hover,
.highlight:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Separadores visuales sutiles */
.quote-section::after,
.company-description::after,
.diferencia-section::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background: var(--wsw-33);
    margin: 0 auto;
    margin-top: 40px;
    opacity: 0.3;
}

.final-quote-section::after {
    display: none;
}

/* Animaciones sutiles para mejorar la experiencia */
@media (prefers-reduced-motion: no-preference) {
    .hero-content,
    .main-quote,
    .diferencia-title,
    .final-quote {
        animation: fadeInUp 0.8s ease-out;
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}