/* Palette: Navy Blue, Steel Grey, White */
:root {
    --navy: #003366;
    --dark-navy: #002244;
    --steel: #778899;
    --light-grey: #F4F4F4;
    --white: #FFFFFF;
    --text: #333333;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--white);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; }

/* Header */
.alpha-header { background: var(--white); padding: 20px 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-serif); font-size: 1.8rem; font-weight: 700; color: var(--navy); letter-spacing: 1px; }
.blue { color: var(--steel); font-weight: 400; }

.main-nav a { margin-left: 30px; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; color: #555; }
.main-nav a:hover, .main-nav a.active { color: var(--navy); border-bottom: 2px solid var(--navy); }

/* Mobile Menu */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--navy); }
.mobile-nav-overlay { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--navy); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 0.4s; }
.mobile-nav-overlay.active { right: 0; }
.close-nav { position: absolute; top: 20px; right: 20px; font-size: 2rem; color: var(--white); background: none; border: none; cursor: pointer; }
.mobile-nav-overlay a { color: var(--white); font-family: var(--font-serif); font-size: 2rem; margin: 15px 0; }

@media (max-width: 900px) {
    .main-nav { display: none; }
    .mobile-menu-btn { display: block; }
}

/* Hero */
.hero-section { height: 80vh; background-size: cover; background-position: center; position: relative; }
.hero-overlay { width: 100%; height: 100%; background: linear-gradient(to right, rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.4)); display: flex; align-items: center; }
.hero-content { color: var(--white); max-width: 700px; padding-left: 10%; }
.subtitle { letter-spacing: 3px; font-size: 0.9rem; text-transform: uppercase; color: var(--steel); background: rgba(255,255,255,0.1); padding: 5px 10px; }
.hero-content h1 { font-family: var(--font-serif); font-size: 4rem; line-height: 1.1; margin: 20px 0; }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; color: #ddd; }

.hero-btns { display: flex; gap: 20px; }
.btn-primary { background: var(--white); color: var(--navy); padding: 15px 35px; font-weight: 700; border-radius: 2px; }
.btn-secondary { border: 1px solid var(--white); color: var(--white); padding: 14px 35px; font-weight: 700; border-radius: 2px; }
.btn-secondary:hover { background: var(--white); color: var(--navy); }

/* Services */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-family: var(--font-serif); font-size: 2.5rem; color: var(--navy); }
.divider { width: 60px; height: 3px; background: var(--navy); margin: 20px auto; }
.divider.left { margin: 20px 0; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.service-card { background: var(--light-grey); padding: 40px 30px; text-align: center; border-bottom: 3px solid transparent; transition: 0.3s; }
.service-card:hover { background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-bottom-color: var(--navy); }
.icon { font-size: 3rem; margin-bottom: 20px; }
.service-card h3 { font-family: var(--font-serif); margin-bottom: 15px; color: var(--navy); }

/* Stats */
.stats-bar { background: var(--navy); color: var(--white); padding: 60px 0; }
.stats-flex { display: flex; justify-content: space-around; text-align: center; }
.stat-item strong { display: block; font-family: var(--font-serif); font-size: 3.5rem; color: var(--steel); line-height: 1; }
.stat-item span { text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }

/* Subpages */
.page-header { background: var(--light-grey); padding: 60px 0; text-align: center; margin-bottom: 60px; }
.page-header h1 { font-family: var(--font-serif); font-size: 3rem; color: var(--navy); }

.expertise-list { max-width: 800px; margin: 0 auto; }
.expertise-item { margin-bottom: 40px; border-left: 4px solid var(--navy); padding-left: 20px; }
.expertise-item h2 { font-family: var(--font-serif); color: var(--navy); margin-bottom: 10px; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.lawyer-card { text-align: center; }
.lawyer-img { width: 100%; height: 350px; background-size: cover; background-position: center; margin-bottom: 20px; filter: grayscale(100%); transition: 0.3s; }
.lawyer-card:hover .lawyer-img { filter: grayscale(0%); }
.lawyer-card h3 { font-family: var(--font-serif); color: var(--navy); margin-bottom: 5px; }
.role { color: var(--steel); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; }

.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.alpha-form .form-group { margin-bottom: 20px; }
.alpha-form label { display: block; margin-bottom: 5px; font-weight: 700; color: var(--navy); }
.alpha-form input, .alpha-form select, .alpha-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; font-family: var(--font-sans); }
.btn-submit { background: var(--navy); color: var(--white); padding: 15px 40px; border: none; font-weight: 700; cursor: pointer; }

/* Footer */
.main-footer { background: var(--dark-navy); color: #ccc; padding: 60px 0 20px; margin-top: 80px; }
.footer-content { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 30px; margin-bottom: 20px; }
.footer-logo h4 { color: var(--white); font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 5px; }
.footer-links a { color: #ccc; margin-left: 20px; }
.footer-links a:hover { color: var(--white); }
.copyright { text-align: center; font-size: 0.8rem; }

/* Cookie */
.cookie-box { position: fixed; bottom: 20px; left: 20px; background: var(--white); padding: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.2); border-left: 5px solid var(--navy); display: none; z-index: 3000; max-width: 300px; }
.cookie-box.active { display: block; }
.cookie-box button { background: var(--navy); color: var(--white); border: none; padding: 5px 15px; margin-top: 10px; cursor: pointer; }

@media (max-width: 900px) {
    .services-grid, .team-grid, .stats-flex, .contact-wrapper { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
}