/* PREMIUM LEGAL/FINANCIAL THEME - SEO OPTIMIZED */

:root {
    /* Colors - Defined in Config but overwritten here for strict control */
    --primary: #0a192f;   /* Deep Navy - Authority */
    --primary-light: #172a46;
    --accent: #c5a059;    /* Muted Gold - Prestige */
    --accent-dark: #a38346;
    --bg-paper: #fdfbf7;  /* Off-white paper feel */
    --text-main: #1f2937;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-serif: "Merriweather", serif;
    --font-sans: "Lato", sans-serif;
    
    --container-width: 1100px;
}

/* 1. RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}
a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent); }
p { margin-bottom: 1.5rem; }
img { max-width: 100%; height: auto; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 2. HEADER (Newspaper Style) */
.top-bar {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar-inner { display: flex; justify-content: space-between; }
.top-contact a { color: inherit; }

.header-main {
    padding: 2rem 0;
    border-bottom: 4px solid var(--primary); /* The signature thick line */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}
.brand { text-align: left; }
.brand a { display: flex; flex-direction: column; line-height: 1; text-transform: uppercase; letter-spacing: 0.05em; }
.brand-city { font-size: 1.2rem; color: var(--accent); font-weight: 900; font-family: var(--font-sans); }
.brand-name { font-size: 2.5rem; color: var(--primary); font-weight: 900; font-family: var(--font-serif); }

.main-nav > ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}
.main-nav > ul > li {
    position: relative;
}
.main-nav a {
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    display: block;
    color: var(--primary);
}
.main-nav > ul > li > a:not(.btn-header)::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}
.main-nav > ul > li > a:not(.btn-header):hover::after { width: 100%; }

/* DROPDOWN MENU */
.main-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 3px solid var(--accent);
    z-index: 100;
    flex-direction: column;
    padding: 1rem 0;
}
.main-nav li:hover > .dropdown-menu {
    display: flex;
}
.main-nav .dropdown-menu li {
    margin: 0;
}
.main-nav .dropdown-menu a {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    text-transform: none;
    border-bottom: 1px solid #f1f5f9;
}
.main-nav .dropdown-menu a:hover {
    background: #f8fafc;
    color: var(--accent);
}
.main-nav .dropdown-menu a::after { display: none; }

.btn-header {
    background: var(--primary);
    color: #fff !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 2px;
    font-size: 0.85rem !important;
    transition: background 0.2s;
}
.btn-header:hover { background: var(--accent); }

/* Mobile Menu */
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

/* 3. HERO (Authority Statement) */
.hero-section {
    padding: 5rem 0;
    background: var(--bg-paper);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.2rem;
}
.hero-title { font-size: 3rem; margin-bottom: 1.5rem; color: var(--primary); }
.hero-lead { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2.5rem; font-family: var(--font-serif); font-style: italic; }

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; }

/* 4. SECTIONS & GRID */
.section { padding: 4rem 0; border-bottom: 1px solid var(--border-color); }
.section-title {
    font-size: 1.8rem;
    border-left: 5px solid var(--accent);
    padding-left: 1rem;
    margin-bottom: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-card {
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s;
}
.service-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--accent);
}
.service-icon { font-size: 2rem; color: var(--primary); margin-bottom: 1.5rem; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 1rem; }

/* 5. NEWS / ARTICLES (List Style) */
.news-list { display: flex; flex-direction: column; gap: 2rem; }
.news-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}
.news-item:last-child { border-bottom: none; }
.news-meta { color: var(--text-muted); font-size: 0.9rem; font-family: var(--font-sans); }
.news-content h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.news-content h3 a { color: var(--primary); }
.news-content h3 a:hover { color: var(--accent); text-decoration: underline; }

/* 6. FOOTER */
.site-footer {
    background: var(--primary);
    color: #cbd5e1;
    padding: 4rem 0;
    font-size: 0.95rem;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}
.brand-small { font-family: var(--font-serif); font-size: 1.5rem; color: #fff; margin-bottom: 1rem; }
.footer-desc { color: #94a3b8; max-width: 400px; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #cbd5e1; }
.footer-links a:hover { color: var(--accent); }
.copyright { margin-top: 2rem; font-size: 0.8rem; opacity: 0.6; }

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .header-main { padding: 1rem 0; }
    .brand-name { font-size: 1.8rem; }
    .brand-city { font-size: 1rem; }
    .mobile-menu-toggle { display: block; margin-left: auto; }
    
    .main-nav {
        display: none;
        width: 100%;
        margin-top: 1rem;
        border-top: 1px solid var(--border-color);
        padding-top: 1rem;
    }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
    .main-nav li { width: 100%; }
    .dropdown-menu { 
        position: static; 
        display: none; 
        box-shadow: none; 
        border-top: none;
        padding-left: 1rem;
        background: #f8fafc;
    }
    .main-nav li:hover .dropdown-menu { display: flex; }
    
    .hero-title { font-size: 2.2rem; }
    .news-item { grid-template-columns: 1fr; gap: 0.5rem; }
    .news-meta { order: -1; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* TYPOGRAPHY FOR POSTS */
.typography a {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 3px;
}

.typography a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent-dark);
}