/* ============================================
   The Brunner Law Firm
   Stylesheet
   ============================================ */

:root {
    --navy: #0a1f3d;
    --navy-dark: #061226;
    --navy-light: #173766;
    --gold: #c9a55a;
    --gold-dark: #a78440;
    --gold-light: #e1c181;
    --charcoal: #2a2a2a;
    --gray-dark: #4a4a4a;
    --gray: #6b7280;
    --gray-light: #e5e7eb;
    --off-white: #f7f5f0;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(10, 31, 61, 0.08);
    --shadow-lg: 0 10px 40px rgba(10, 31, 61, 0.15);
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--navy);
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1.1rem; color: var(--gray-dark); }

a { color: var(--gold-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--navy); }

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }

/* ====== Top Bar ====== */
.top-bar {
    background: var(--navy-dark);
    color: var(--off-white);
    font-size: 0.85rem;
    padding: 0.5rem 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.top-bar i { color: var(--gold); margin-right: 0.4rem; }
.top-bar a { color: var(--off-white); }
.top-bar a:hover { color: var(--gold); }

/* ====== Header / Navigation ====== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}
.logo-mark {
    width: 48px;
    height: 48px;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid var(--gold);
}
.logo-text {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
}
.logo-text .firm { font-size: 1.1rem; display: block; }
.logo-text .sub { font-size: 0.7rem; color: var(--gold-dark); letter-spacing: 2px; text-transform: uppercase; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}
.nav-menu li { position: relative; }
.nav-menu a {
    color: var(--navy);
    font-weight: 500;
    padding: 0.6rem 0.9rem;
    font-size: 0.95rem;
    display: block;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold-dark); }
.nav-menu .has-dropdown > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.65rem;
    margin-left: 0.35rem;
}
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-top: 3px solid var(--gold);
    list-style: none;
    padding: 0.5rem 0;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown a {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 400;
}
.dropdown a:hover { background: var(--off-white); color: var(--gold-dark); }

.btn-nav {
    background: var(--gold);
    color: var(--navy) !important;
    padding: 0.7rem 1.4rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem !important;
}
.btn-nav:hover { background: var(--navy) !important; color: var(--white) !important; }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy);
    cursor: pointer;
}

/* ====== Buttons ====== */
.btn {
    display: inline-block;
    padding: 0.95rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: var(--font-sans);
}
.btn-gold {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}
.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--navy);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}
.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.btn-navy:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

/* ====== Hero ====== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(10,31,61,0.92) 0%, rgba(6,18,38,0.88) 100%),
        url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-content {
    max-width: 800px;
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}
.hero-eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}
.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--gold); font-style: italic; }
.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
    max-width: 650px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ====== Page Hero ====== */
.page-hero {
    background:
        linear-gradient(135deg, rgba(10,31,61,0.94) 0%, rgba(6,18,38,0.92) 100%),
        url('https://images.unsplash.com/photo-1589994965851-a8f479c573a9?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 5rem 0 4rem;
    text-align: center;
    border-bottom: 4px solid var(--gold);
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 700px; margin: 1rem auto 0; }
.breadcrumb,
.breadcrumbs {
    padding: 0.9rem 0;
    background: var(--off-white);
    font-size: 0.85rem;
    color: var(--gray);
    border-bottom: 1px solid var(--gray-light);
}
.breadcrumb a, .breadcrumbs a { color: var(--gold-dark); }
.breadcrumb .sep { margin: 0 0.5rem; color: var(--gray); }
.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    margin: 0;
    padding: 0;
}
.breadcrumbs ol li { display: flex; align-items: center; color: var(--gray); }
.breadcrumbs ol li + li::before {
    content: '\203A';
    margin-right: 0.5rem;
    color: var(--gold-dark);
    font-weight: 700;
}

/* ====== Blog Post Header ====== */
.blog-post-header {
    background: linear-gradient(135deg, #061226 0%, #173766 100%);
    color: var(--white);
    padding: 4rem 0 3.5rem;
    border-bottom: 4px solid var(--gold);
}
.blog-post-header .post-tag {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    padding: 0.3rem 0.85rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 1rem;
}
.blog-post-header h1 { color: var(--white); margin-bottom: 1rem; }
.blog-post-header .post-meta { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.blog-post-header .post-meta span { margin-right: 1.25rem; }
.blog-post-header .post-meta i { color: var(--gold); margin-right: 0.4rem; }

/* ====== Sections ====== */
section { padding: 5rem 0; }
.section-bg-light { background: var(--off-white); }
.section-bg-navy { background: var(--navy); color: var(--white); }
.section-bg-navy h2, .section-bg-navy h3 { color: var(--white); }
.section-bg-navy p { color: rgba(255,255,255,0.8); }

.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow {
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: inline-block;
}
.section-bg-navy .section-eyebrow { color: var(--gold); }
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 1rem auto 1.5rem;
}

/* ====== About Section ====== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-img {
    position: relative;
}
.about-img img {
    width: 100%;
    border: 4px solid var(--gold);
    box-shadow: var(--shadow-lg);
}
.about-img::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    bottom: -20px;
    left: 20px;
    border: 2px solid var(--navy);
    z-index: -1;
}
.about-content h2 { margin-bottom: 0.5rem; }
.about-content .tagline {
    color: var(--gold-dark);
    font-style: italic;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}
.about-content ul {
    list-style: none;
    margin: 1.5rem 0;
}
.about-content li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--gray-dark);
}
.about-content li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--gold);
    position: absolute;
    left: 0;
    top: 0.7rem;
}

/* ====== Practice Areas Grid ====== */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.practice-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    padding: 2.25rem 1.75rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    color: inherit;
}
.practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
}
.practice-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--gold);
}
.practice-card:hover::before { transform: scaleX(1); }
.practice-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border-radius: 50%;
    transition: var(--transition);
}
.practice-card:hover .practice-icon { background: var(--gold); color: var(--navy); }
.practice-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.practice-card p { font-size: 0.92rem; margin-bottom: 1rem; }
.practice-card .more {
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ====== Why Choose ====== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.why-card {
    text-align: left;
    padding: 1.5rem;
    background: rgba(255,255,255,0.04);
    border-left: 3px solid var(--gold);
}
.why-card .num {
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}
.why-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

/* ====== Process Steps ====== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    counter-reset: step-counter;
}
.process-step {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    position: relative;
    border: 1px solid var(--gray-light);
    counter-increment: step-counter;
}
.process-step::before {
    content: counter(step-counter, decimal-leading-zero);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
}
.process-step h3 { font-size: 1.1rem; margin-top: 1rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.9rem; }

/* ====== Testimonials ====== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.testimonial {
    background: var(--white);
    padding: 2.5rem 2rem;
    position: relative;
    border-top: 3px solid var(--gold);
    box-shadow: var(--shadow);
}
.testimonial::before {
    content: '\201C';
    position: absolute;
    top: -25px;
    left: 25px;
    font-family: var(--font-serif);
    font-size: 5rem;
    color: var(--gold);
    line-height: 1;
}
.testimonial-text {
    font-style: italic;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--gray-light);
    padding-top: 1rem;
}
.testimonial-author .name {
    font-weight: 700;
    color: var(--navy);
    font-family: var(--font-serif);
}
.testimonial-author .case { font-size: 0.85rem; color: var(--gray); display: block; }
.stars { color: var(--gold); margin-bottom: 0.75rem; }

/* ====== FAQ ====== */
.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-light);
    margin-bottom: 1rem;
    overflow: hidden;
}
.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--navy);
    font-family: var(--font-serif);
    font-size: 1.05rem;
    transition: var(--transition);
}
.faq-question:hover { background: var(--off-white); }
.faq-question i { color: var(--gold); transition: var(--transition); flex-shrink: 0; margin-left: 1rem; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1.5rem;
}
.faq-item.active .faq-answer { max-height: 800px; padding-bottom: 1.25rem; }

/* ====== CTA Section ====== */
.cta-section {
    background:
        linear-gradient(135deg, rgba(10,31,61,0.94) 0%, rgba(6,18,38,0.94) 100%),
        url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}
.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.85); max-width: 650px; margin: 1rem auto 2rem; }

/* ====== Contact Form ====== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}
.contact-info {
    background: var(--navy);
    color: var(--white);
    padding: 2.5rem;
}
.contact-info h3 { color: var(--white); margin-bottom: 1.5rem; }
.contact-info p { color: rgba(255,255,255,0.8); }
.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-top: 0.25rem;
}
.contact-detail strong { display: block; color: var(--white); margin-bottom: 0.25rem; }
.contact-detail span { color: rgba(255,255,255,0.75); font-size: 0.95rem; }

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--gray-light);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--white);
    transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,165,90,0.15);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.form-disclaimer {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 1rem;
    line-height: 1.5;
}

.map-wrap {
    margin-top: 2.5rem;
    border: 4px solid var(--gold);
    overflow: hidden;
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ====== Blog ====== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.blog-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,31,61,0.4));
}
.blog-card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gold);
    color: var(--navy);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}
.blog-card-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-meta {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.blog-card-meta i { color: var(--gold); margin-right: 0.3rem; }
.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--gold-dark); }
.blog-card p { font-size: 0.95rem; flex: 1; }
.blog-card .read-more {
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 1rem;
    display: inline-block;
}

/* ====== Blog Post ====== */
.post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}
.post-content { background: var(--white); }
.post-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
}
.post-content h3 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
}
.post-content p { font-size: 1.05rem; line-height: 1.8; }
.post-content ul, .post-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.post-content li { margin-bottom: 0.5rem; color: var(--gray-dark); line-height: 1.7; }
.post-content blockquote {
    border-left: 4px solid var(--gold);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--off-white);
    font-style: italic;
    color: var(--charcoal);
    font-family: var(--font-serif);
    font-size: 1.1rem;
}

.post-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.post-meta-bar i { color: var(--gold); margin-right: 0.4rem; }

.post-featured-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 4px solid var(--gold);
}

.toc {
    background: var(--off-white);
    padding: 1.75rem;
    margin: 2rem 0;
    border-left: 4px solid var(--gold);
}
.toc h3 {
    font-size: 1.15rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--navy);
}
.toc ol { margin-left: 1.25rem; }
.toc li { margin-bottom: 0.4rem; color: var(--gray-dark); }
.toc a { color: var(--gold-dark); font-weight: 500; }

.author-box {
    display: flex;
    gap: 1.5rem;
    background: var(--off-white);
    padding: 2rem;
    margin: 3rem 0 2rem;
    border-left: 4px solid var(--gold);
}
.author-box img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
    border: 3px solid var(--gold);
}
.author-box h4 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.author-box .role {
    color: var(--gold-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    display: block;
}
.author-box p { font-size: 0.93rem; margin-bottom: 0; }

.post-cta {
    background: var(--navy);
    color: var(--white);
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
}
.post-cta h3 { color: var(--white); margin-bottom: 0.75rem; }
.post-cta p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }

.prev-next-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}
.prev-next-nav a {
    background: var(--off-white);
    padding: 1.25rem;
    color: var(--navy);
    display: block;
    border-left: 3px solid var(--gold);
    transition: var(--transition);
}
.prev-next-nav a:hover {
    background: var(--navy);
    color: var(--white);
}
.prev-next-nav .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-dark);
    display: block;
    margin-bottom: 0.3rem;
}
.prev-next-nav a:hover .label { color: var(--gold); }
.prev-next-nav .next { text-align: right; }

.sidebar {
    position: sticky;
    top: 100px;
}
.sidebar-box {
    background: var(--off-white);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    border-top: 3px solid var(--gold);
}
.sidebar-box h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--navy);
}
.sidebar-box ul { list-style: none; }
.sidebar-box li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.92rem;
}
.sidebar-box li:last-child { border-bottom: none; }
.sidebar-box a { color: var(--navy); }
.sidebar-box a:hover { color: var(--gold-dark); padding-left: 5px; }

.related-posts {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--gold);
}

/* ====== Practice Area Page ====== */
.pa-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}
.pa-content h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
}
.pa-content h3 { font-size: 1.25rem; margin-top: 1.75rem; }
.pa-content p, .pa-content li { font-size: 1.02rem; line-height: 1.75; }
.pa-content ul { margin: 1rem 0 1.5rem 1.5rem; }
.pa-content li { margin-bottom: 0.6rem; color: var(--gray-dark); }
.pa-feature-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 4px solid var(--gold);
}

/* ====== Footer ====== */
.footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}
.footer p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; font-size: 0.92rem; }
.footer ul a { color: rgba(255,255,255,0.65); }
.footer ul a:hover { color: var(--gold); padding-left: 5px; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.footer-logo .logo-mark { width: 44px; height: 44px; font-size: 1.4rem; }
.footer-logo .firm { color: var(--white); font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; }
.footer-logo .sub { color: var(--gold); font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; }
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--gold); }
.footer-disclaimer {
    background: var(--navy-dark);
    padding: 1.5rem 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ====== Animations ====== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====== Responsive ====== */
@media (max-width: 992px) {
    .about-grid, .contact-grid, .post-layout, .pa-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-img::after { display: none; }
    .sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 5rem 1.5rem 2rem;
        transition: right 0.3s ease;
        gap: 0;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    .nav-menu.active { right: 0; }
    .nav-menu a { padding: 1rem 0; border-bottom: 1px solid var(--gray-light); }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
        border-top: none;
        display: none;
    }
    .has-dropdown.open .dropdown { display: block; }
    .form-row { grid-template-columns: 1fr; }
    .prev-next-nav { grid-template-columns: 1fr; }
    .prev-next-nav .next { text-align: left; }
    section { padding: 3.5rem 0; }
    .hero { min-height: 70vh; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .top-bar { font-size: 0.78rem; }
    .top-bar .container { justify-content: center; text-align: center; }
}
