:root {
    --navy: #0d2b4e;
    --blue: #2980b9;
    --light-blue: #3498db;
    --red: #c0392b;
    --white: #ffffff;
    --grey: #f4f4f4;
    --text: #333;
    
    --font-main: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    color: var(--text);
    background-color: var(--grey);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Top Bar */
.top-bar { background-color: var(--navy); color: var(--white); padding: 5px 0; font-size: 0.9rem; }
.top-flex { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--light-blue); font-weight: bold; }

/* Header */
.legal-header { background-color: var(--white); padding: 20px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.header-row { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 1.8rem; font-weight: 700; color: var(--navy); letter-spacing: 1px; }
.logo .blue { color: var(--blue); }

.main-nav ul { display: flex; gap: 25px; list-style: none; align-items: center; }
.main-nav a { font-weight: 500; color: var(--text); text-transform: uppercase; font-size: 0.9rem; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); }

.btn-primary { background-color: var(--red); color: var(--white) !important; padding: 10px 25px; border-radius: 4px; font-weight: bold; }
.btn-primary:hover { background-color: #a93226; }

/* Mobile Menu */
.mobile-toggle { display: none; background: none; border: 1px solid var(--navy); padding: 5px 10px; cursor: pointer; color: var(--navy); font-weight: bold; }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 250px; height: 100%; background: var(--white); z-index: 2000; padding: 40px; display: flex; flex-direction: column; transition: 0.3s; border-left: 5px solid var(--blue); }
.mobile-menu.active { right: 0; }
.close-menu { align-self: flex-end; font-size: 1.5rem; margin-bottom: 20px; background: none; border: none; cursor: pointer; }
.mobile-menu a { padding: 10px 0; border-bottom: 1px solid #eee; font-weight: bold; color: var(--navy); }

/* Hero */
.hero-legal {
    height: 600px; background-size: cover; background-position: center; position: relative;
}
.hero-overlay {
    background: linear-gradient(90deg, rgba(13, 43, 78, 0.9) 0%, rgba(13, 43, 78, 0.6) 100%);
    width: 100%; height: 100%; display: flex; align-items: center;
}
.hero-content { padding-left: 10%; max-width: 700px; color: var(--white); }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 700; }
.hero-content p { font-size: 1.3rem; margin-bottom: 40px; opacity: 0.9; }

.cta-group { display: flex; gap: 20px; }
.btn-action { background-color: var(--blue); color: var(--white); padding: 15px 35px; border-radius: 4px; font-weight: bold; font-size: 1.1rem; }
.btn-action:hover { background-color: var(--light-blue); }
.btn-transparent { border: 2px solid var(--white); color: var(--white); padding: 15px 35px; border-radius: 4px; font-weight: bold; }
.btn-transparent:hover { background-color: var(--white); color: var(--navy); }

/* Areas Grid */
.section-padding { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 { font-size: 2.5rem; color: var(--navy); }
.line { width: 80px; height: 4px; background-color: var(--blue); margin: 15px auto; }

.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.area-card { background-color: var(--white); padding: 30px; border-radius: 8px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; border-bottom: 4px solid transparent; }
.area-card:hover { transform: translateY(-10px); border-bottom-color: var(--blue); }
.icon { font-size: 3rem; margin-bottom: 20px; color: var(--navy); }
.area-card h3 { color: var(--blue); margin-bottom: 15px; }

/* About */
.page-header { background-color: var(--navy); color: var(--white); text-align: center; padding: 60px 0; }
.page-header h1 { font-size: 3rem; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.text-content h2 { color: var(--navy); margin-bottom: 20px; }
.line-left { width: 50px; height: 3px; background-color: var(--red); margin-bottom: 30px; }
.check-list { list-style: none; margin-top: 20px; }
.check-list li { margin-bottom: 10px; font-weight: bold; padding-left: 25px; position: relative; }
.check-list li::before { content: "✓"; color: var(--blue); position: absolute; left: 0; }
.image-content img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Cases */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.case-card { background-color: var(--white); padding: 30px; border: 1px solid #ddd; border-radius: 8px; }
.case-badge { display: inline-block; background-color: var(--light-blue); color: var(--white); padding: 5px 10px; font-size: 0.8rem; font-weight: bold; border-radius: 4px; margin-bottom: 15px; }
.case-card h3 { color: var(--navy); margin-bottom: 10px; }
.case-card p { font-style: italic; color: #666; margin-bottom: 15px; }
.client { font-weight: bold; color: var(--text); text-align: right; }

/* Form */
.contact-layout { display: flex; gap: 50px; }
.contact-info { flex: 1; }
.contact-info h2 { color: var(--navy); margin-bottom: 20px; }
.info-box { margin-top: 20px; border-left: 4px solid var(--blue); padding-left: 15px; }

.legal-form { flex: 1.5; background-color: var(--white); padding: 40px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-family: var(--font-main); font-size: 1rem; }
.checkbox-group { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 0.9rem; }
.submit-btn { width: 100%; background-color: var(--navy); color: var(--white); border: none; padding: 15px; font-weight: bold; font-size: 1.1rem; border-radius: 4px; cursor: pointer; transition: 0.3s; }
.submit-btn:hover { background-color: var(--blue); }

/* Legal Doc */
.legal-doc { max-width: 800px; margin: 0 auto; background-color: var(--white); padding: 60px; border: 1px solid #ddd; }
.legal-doc h1 { color: var(--navy); text-align: center; }
.legal-doc h3 { color: var(--blue); margin-top: 30px; margin-bottom: 10px; }

/* Footer */
.legal-footer { background-color: var(--navy); color: #fff; padding: 50px 0; text-align: center; margin-top: auto; }
.f-brand { font-size: 1.5rem; font-weight: bold; letter-spacing: 2px; margin-bottom: 10px; }
.f-links a { color: #ccc; margin: 0 15px; text-decoration: none; }
.f-links a:hover { color: var(--white); text-decoration: underline; }
.copyright { margin-top: 20px; font-size: 0.8rem; color: #aaa; }

@media (max-width: 900px) {
    .main-nav { display: none; }
    .mobile-toggle { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content { padding-left: 20px; text-align: center; }
    .cta-group { justify-content: center; flex-direction: column; }
    .areas-grid, .about-grid, .cases-grid, .contact-layout { grid-template-columns: 1fr; flex-direction: column; gap: 30px; }
}