/* Legal Pages Styles - Vertex Design System */

/* CSS Variables Fallback */
:root {
    --vertex-cream: #faf8f3;
    --vertex-white: #ffffff;
    --vertex-navy: #1e3a5f;
    --vertex-navy-dark: #152a42;
    --vertex-gold: #c9a961;
    --vertex-text: #2c3e50;
    --vertex-text-light: #5a6c7d;
    --vertex-border: #e8e5df;
    --vertex-accent: #8b4513;
}

/* Header Styles */
header {
    background: var(--vertex-white, #ffffff);
    border-bottom: 4px solid var(--vertex-navy, #1e3a5f);
    padding: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

header nav.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

header .logo-text {
    display: flex;
    flex-direction: column;
}

header .logo-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--vertex-navy, #1e3a5f);
    margin: 0;
    line-height: 1.2;
}

header .logo-subtitle {
    font-size: 0.875rem;
    color: var(--vertex-text-light, #5a6c7d);
    font-style: italic;
    margin-top: 0.25rem;
}

header .nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

header .nav-link {
    padding: 0.875rem 2rem;
    background: var(--vertex-navy, #1e3a5f);
    color: var(--vertex-white, #ffffff);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

header .nav-link:hover {
    background: var(--vertex-navy-dark, #152a42);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

/* Main Content Styles */
main {
    background: var(--vertex-cream, #faf8f3);
    min-height: calc(100vh - 200px);
    padding: 4rem 2rem;
}

main .section {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--vertex-white, #ffffff);
    padding: 4rem 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

main .section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--vertex-gold, #c9a961);
}

main .section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--vertex-navy, #1e3a5f);
    margin: 0;
}

/* Legal Content Styles */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--vertex-border, #e8e5df);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--vertex-navy, #1e3a5f);
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.legal-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--vertex-navy, #1e3a5f);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section p {
    color: var(--vertex-text, #2c3e50);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
    color: var(--vertex-text, #2c3e50);
    line-height: 1.8;
}

.legal-section ul li {
    margin-bottom: 0.75rem;
}

.legal-section ul li strong {
    color: var(--vertex-navy, #1e3a5f);
    font-weight: 600;
}

.info-block {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, rgba(201, 169, 97, 0.2) 100%);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--vertex-gold, #c9a961);
    margin-top: 3rem;
}

.info-block p {
    color: var(--vertex-text, #2c3e50);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.info-block p:last-child {
    margin-bottom: 0;
}

.info-block strong {
    color: var(--vertex-navy, #1e3a5f);
    font-weight: 700;
    font-size: 1.125rem;
}

.company-info {
    margin-top: 1.5rem;
}

.company-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--vertex-navy, #1e3a5f);
    margin-bottom: 1.5rem;
}

/* Footer Styles */
footer.footer {
    background: var(--vertex-navy, #1e3a5f);
    color: var(--vertex-white, #ffffff);
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

footer .footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    line-height: 1.6;
}

footer .footer-links h4,
footer .footer-contact h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--vertex-white);
}

footer .footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

footer .footer-links a:hover {
    color: var(--vertex-gold, #c9a961);
}

footer .footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

footer .footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

footer .footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

footer .footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

footer .footer-legal a:hover {
    color: var(--vertex-gold, #c9a961);
}

footer .logo-title {
    color: var(--vertex-white);
}

footer .logo-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    header nav.container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }
    
    header .nav-links {
        width: 100%;
        justify-content: center;
    }
    
    header .nav-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    main {
        padding: 2rem 1rem;
    }
    
    main .section {
        padding: 2rem 1.5rem;
    }
    
    main .section-title {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.25rem;
    }
    
    footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    footer .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    header .logo-title {
        font-size: 1.5rem;
    }
    
    header .logo-subtitle {
        font-size: 0.8rem;
    }
    
    main .section {
        padding: 1.5rem 1rem;
    }
    
    main .section-title {
        font-size: 1.75rem;
    }
    
    .legal-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .info-block {
        padding: 1.5rem;
    }
}

