/* Palette: Navy Blue, Gold/Bronze, Ivory */
:root {
    --navy: #0C2D48;
    --gold: #B19777;
    --ivory: #F8F8F8;
    --text: #333333;
    --white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--ivory);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container { width: 85%; max-width: 1100px; margin: 0 auto; }
.section-padding { padding: 100px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; }

/* Header */
.law-header { background: var(--white); padding: 25px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.header-row { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 10px; letter-spacing: 1px; }
.gold { color: var(--gold); }
.scale-icon { font-size: 1.5rem; }

.legal-nav a { margin-left: 30px; font-size: 0.9rem; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; color: #555; }
.legal-nav a:hover, .legal-nav a.active { color: var(--navy); border-bottom: 1px solid var(--gold); }

.btn-gold { background: var(--navy); color: var(--gold) !important; padding: 12px 30px; border: 1px solid var(--navy); }
.btn-gold:hover { background: var(--white); color: var(--navy) !important; }

/* Mobile Menu */
.mobile-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; background: none; border: none; }
.mobile-toggle span { width: 30px; height: 2px; background: var(--navy); }

.mobile-drawer { position: fixed; top: 0; right: -100%; width: 280px; height: 100%; background: var(--navy); z-index: 2000; padding: 40px; transition: 0.4s; }
.mobile-drawer.active { right: 0; }
.close-drawer { position: absolute; top: 20px; right: 20px; color: var(--gold); font-size: 2rem; background: none; border: none; cursor: pointer; }
.mobile-drawer a { display: block; color: var(--white); font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }

@media (max-width: 900px) {
    .legal-nav { display: none; }
    .mobile-toggle { display: flex; }
}

/* Hero */
.hero-law { height: 80vh; background-size: cover; background-position: center; position: relative; }
.overlay-dark { width: 100%; height: 100%; background: linear-gradient(rgba(12, 45, 72, 0.9), rgba(12, 45, 72, 0.6)); display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-content { color: var(--white); max-width: 800px; padding: 20px; }
.firm-tag { color: var(--gold); font-weight: 700; letter-spacing: 3px; font-size: 0.8rem; display: block; margin-bottom: 20px; }
.hero-content h1 { font-family: var(--font-heading); font-size: 4rem; margin-bottom: 30px; line-height: 1.1; }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; color: #ddd; font-weight: 300; }

.cta-group { display: flex; justify-content: center; gap: 20px; }
.btn-primary { background: var(--gold); color: var(--navy); padding: 15px 40px; font-weight: 700; border: none; transition: 0.3s; }
.btn-primary:hover { background: #fff; }
.btn-secondary { border: 1px solid #fff; color: #fff; padding: 14px 40px; font-weight: 700; transition: 0.3s; }
.btn-secondary:hover { background: #fff; color: var(--navy); }

/* Practice Areas */
.section-title h2 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--navy); margin-bottom: 15px; }
.gold-separator { width: 80px; height: 3px; background: var(--gold); margin: 0 auto 50px; }
.gold-separator.left { margin: 20px 0; }
.text-center { text-align: center; }

.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.p-card { background: var(--white); padding: 40px 30px; text-align: center; border: 1px solid #eee; transition: 0.3s; }
.p-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-top: 3px solid var(--gold); }
.p-card .icon { font-size: 3rem; margin-bottom: 20px; }
.p-card h3 { font-family: var(--font-heading); color: var(--navy); margin-bottom: 15px; font-size: 1.3rem; }
.p-card a { color: var(--gold); font-weight: 700; font-size: 0.9rem; }

/* Practice Page Layout */
.practice-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.law-list { margin-top: 30px; list-style: none; }
.law-list li { margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.law-list strong { color: var(--navy); font-family: var(--font-heading); font-size: 1.1rem; display: block; margin-bottom: 5px; }
.img-side img { border: 10px solid var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Attorneys */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.attorney-card { background: var(--white); padding: 40px; text-align: center; border: 1px solid #eee; }
.attorney-card.gold-border { border: 2px solid var(--gold); }
.initials { width: 80px; height: 80px; background: var(--navy); color: var(--gold); border-radius: 50%; font-family: var(--font-heading); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.attorney-card h3 { font-family: var(--font-heading); color: var(--navy); margin-bottom: 5px; }
.role { font-style: italic; color: var(--gold); font-size: 0.9rem; display: block; margin-bottom: 15px; }

/* Contact */
.contact-block { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; background: var(--white); padding: 60px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
.contact-info h2 { font-family: var(--font-heading); color: var(--navy); }
.contact-details p { margin-bottom: 10px; color: #555; }

.classic-form .form-group { margin-bottom: 20px; }
.classic-form label { display: block; font-weight: 700; margin-bottom: 5px; color: var(--navy); font-size: 0.9rem; }
.classic-form input, .classic-form select, .classic-form textarea { width: 100%; padding: 12px; border: 1px solid #ddd; background: var(--ivory); font-family: var(--font-body); }
.btn-submit { width: 100%; background: var(--navy); color: var(--white); border: none; padding: 15px; font-weight: 700; cursor: pointer; letter-spacing: 1px; transition: 0.3s; }
.btn-submit:hover { background: var(--gold); }

/* Legal Text */
.legal-text { max-width: 800px; margin: 0 auto; background: var(--white); padding: 60px; border: 1px solid #eee; }
.legal-text h1 { font-family: var(--font-heading); color: var(--navy); }
.legal-text h3 { color: var(--gold); margin-top: 30px; font-family: var(--font-heading); }

/* Trust Bar & Footer */
.trust-bar { background: var(--navy); color: var(--white); padding: 50px 0; }
.trust-flex { display: flex; justify-content: space-around; text-align: center; }
.trust-item strong { display: block; font-family: var(--font-heading); font-size: 3rem; color: var(--gold); line-height: 1; }
.trust-item span { font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; }

.law-footer { background: #081d2e; color: #aaa; padding: 60px 0 20px; margin-top: 80px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #1a3a52; padding-bottom: 30px; margin-bottom: 20px; }
.f-info h4 { color: var(--white); font-family: var(--font-heading); letter-spacing: 1px; }
.f-links a { color: var(--gold); margin-left: 20px; }
.copyright { text-align: center; font-size: 0.8rem; }

/* Cookie */
.cookie-legal { position: fixed; bottom: 20px; left: 20px; background: var(--white); border-left: 5px solid var(--navy); padding: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 20px; z-index: 3000; display: none; }
.cookie-legal.active { display: flex; }
.cookie-legal button { background: var(--navy); color: var(--white); border: none; padding: 8px 20px; cursor: pointer; }

@media (max-width: 900px) {
    .hero-content h1 { font-size: 2.5rem; }
    .cta-group { flex-direction: column; }
    .practice-grid, .practice-layout, .contact-block, .team-grid { grid-template-columns: 1fr; }
    .trust-flex { flex-direction: column; gap: 30px; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
}