/* LegalPro - Classic Law Firm */
:root {
    --primary: #1a2332;
    --secondary: #c9a227;
    --accent: #8b7355;
    --white: #ffffff;
    --cream: #f8f6f3;
    --gray: #6b7280;
    --font-display: 'Libre Baskerville', serif;
    --font-body: 'Source Sans Pro', sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--primary); line-height: 1.7; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 0; background: var(--white); transition: all 0.3s; }
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.logo .accent { color: var(--secondary); }
.logo-icon { font-size: 1.75rem; }
.nav-menu { display: flex; list-style: none; gap: 2rem; }
.nav-link { color: var(--primary); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: color 0.3s; }
.nav-link:hover { color: var(--secondary); }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.language-selector { position: relative; }
.lang-btn { padding: 0.5rem 1rem; background: transparent; border: 1px solid var(--primary); color: var(--primary); font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.lang-dropdown { position: absolute; top: calc(100% + 5px); right: 0; background: var(--white); border: 1px solid #eee; min-width: 120px; opacity: 0; visibility: hidden; transition: all 0.3s; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.language-selector.active .lang-dropdown { opacity: 1; visibility: visible; }
.lang-option { display: block; width: 100%; padding: 0.75rem 1rem; background: transparent; border: none; text-align: left; cursor: pointer; font-size: 0.9rem; }
.lang-option:hover, .lang-option.active { background: var(--cream); color: var(--secondary); }
.phone-btn { padding: 0.75rem 1.5rem; background: var(--secondary); color: var(--white); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.phone-btn:hover { background: var(--primary); }
.mobile-toggle { display: none; flex-direction: column; gap: 4px; background: transparent; border: none; cursor: pointer; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--primary); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 80px; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #1a2332 0%, #2d3a4d 50%, #1a2332 100%); }
.hero-bg::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 700px; color: var(--white); }
.hero-tag { display: inline-block; padding: 0.5rem 1rem; background: rgba(201,162,39,0.2); border-left: 3px solid var(--secondary); color: var(--secondary); font-size: 0.9rem; font-weight: 600; margin-bottom: 2rem; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; }
.hero-text { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; max-width: 500px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { padding: 1rem 2rem; background: var(--secondary); color: var(--primary); font-weight: 600; text-decoration: none; transition: all 0.3s; }
.btn-primary:hover { background: var(--white); }
.btn-secondary { padding: 1rem 2rem; background: transparent; border: 2px solid var(--white); color: var(--white); font-weight: 600; text-decoration: none; transition: all 0.3s; }
.btn-secondary:hover { background: var(--white); color: var(--primary); }
.hero-stats { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; gap: 4rem; padding: 2rem; background: var(--white); }
.hero-stats .stat { text-align: center; }
.hero-stats .num { display: block; font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--secondary); }
.hero-stats .label { font-size: 0.9rem; color: var(--gray); }

/* Sections */
section { padding: 100px 0; }
.section-tag { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--secondary); margin-bottom: 1rem; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; color: var(--primary); }
.section-header.centered { text-align: center; margin-bottom: 4rem; }

/* About */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-content p { color: var(--gray); margin: 1.5rem 0 2rem; }
.about-features { display: flex; flex-direction: column; gap: 1rem; }
.feature { display: flex; align-items: center; gap: 1rem; font-weight: 600; }
.feature .icon { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: var(--secondary); color: var(--white); font-size: 0.8rem; border-radius: 50%; }
.about-image { height: 500px; }
.image-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--primary) 0%, #2d3a4d 100%); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { padding: 2.5rem; background: var(--cream); text-align: center; transition: all 0.3s; border: 1px solid transparent; }
.service-card:hover { background: var(--white); border-color: var(--secondary); transform: translateY(-5px); box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.service-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.service-card h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 1rem; }
.service-card p { font-size: 0.95rem; color: var(--gray); }

/* Team */
.team { background: var(--cream); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.team-card { background: var(--white); padding: 2rem; text-align: center; transition: all 0.3s; }
.team-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.team-avatar { width: 100px; height: 100px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; background: var(--primary); color: var(--secondary); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; border-radius: 50%; }
.team-card h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.25rem; }
.team-card p { color: var(--secondary); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; }
.team-card span { font-size: 0.85rem; color: var(--gray); }

/* Contact */
.contact { background: var(--primary); color: var(--white); }
.contact .section-tag { color: var(--secondary); }
.contact .section-title { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; }
.contact-info p { color: rgba(255,255,255,0.7); margin: 1.5rem 0 2rem; }
.info-items { display: flex; flex-direction: column; gap: 1.5rem; }
.info-item { display: flex; gap: 1rem; }
.info-item .icon { font-size: 1.5rem; }
.info-item strong { display: block; margin-bottom: 0.25rem; }
.info-item p { color: rgba(255,255,255,0.7); margin: 0; font-size: 0.95rem; }
.contact-form { background: var(--white); padding: 3rem; }
.form-group { position: relative; margin-bottom: 1.5rem; }
.form-group.full { grid-column: span 2; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 1rem; background: var(--cream); border: 1px solid #ddd; color: var(--primary); font-family: var(--font-body); font-size: 1rem; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--secondary); }
.form-group label { position: absolute; left: 1rem; top: 1rem; color: var(--gray); pointer-events: none; transition: all 0.3s; }
.form-group label.active, .form-group input:focus + label, .form-group input:valid + label, .form-group textarea:focus + label, .form-group textarea:valid + label { top: -0.5rem; left: 0.5rem; font-size: 0.75rem; background: var(--white); padding: 0 0.5rem; color: var(--secondary); }
.submit-btn { width: 100%; padding: 1.25rem; background: var(--secondary); border: none; color: var(--primary); font-family: var(--font-body); font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.submit-btn:hover { background: var(--primary); color: var(--white); }

/* Footer */
.footer { background: #0f1520; color: var(--white); padding: 4rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-brand .logo { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); text-decoration: none; }
.footer-brand .logo span { color: var(--secondary); }
.footer-brand p { color: rgba(255,255,255,0.6); margin-top: 1rem; }
.footer h4 { color: var(--secondary); font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; padding: 0.25rem 0; font-size: 0.95rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--secondary); }
.footer-contact p { color: rgba(255,255,255,0.6); font-size: 0.95rem; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.4); }

/* Responsive */
@media (max-width: 1024px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: var(--white); flex-direction: column; justify-content: center; align-items: center; gap: 2rem; transition: right 0.3s; }
    .nav-menu.active { right: 0; }
    .mobile-toggle { display: flex; }
    .phone-btn { display: none; }
    .hero-stats { flex-direction: column; gap: 1.5rem; position: relative; margin-top: 3rem; }
    .services-grid, .team-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
}
