/* ============================================================
   Newman Injury Law — Shared Site Styles
   Used by every page except / (homepage keeps its own inlined
   styles so the showcase page loads in a single HTTP request).
   ============================================================ */

:root {
    --bg: #faf8f3;
    --surface: #ffffff;
    --surface-2: #f3efe6;
    --border: #e2dccb;
    --text: #14213d;
    --text-muted: #5a6478;
    --ink: #0a1626;
    --accent: #b08d3a;
    --accent-hover: #8d6f24;
    --accent-light: #f7eedf;
    --navy: #14213d;
    --navy-light: #1f3158;
    --red: #b91c1c;
    --shadow: 0 8px 24px rgba(20,33,61,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px;
}

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > .reveal { transition-delay: calc(var(--i,0) * 0.08s); }

/* --- TOPBAR --- */
.topbar {
    background: var(--navy);
    color: #fff;
    font-size: 0.83rem;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    text-align: center;
    letter-spacing: 0.02em;
}
.topbar a { color: var(--accent-light); text-decoration: none; font-weight: 700; }
.topbar a:hover { color: #fff; }
.topbar .sep { opacity: 0.4; margin: 0 0.75rem; }

/* --- NAV --- */
nav.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 248, 243, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}
nav.site-nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 12px rgba(20,33,61,0.05); }
.nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}
.logo {
    color: var(--navy);
    text-decoration: none;
    line-height: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.logo .brand-logo { height: 40px; width: auto; display: block; }
.logo .sub { font-size: 0.62rem; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 560px) { .logo .brand-logo { height: 32px; } .logo .sub { font-size: 0.55rem; } }

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
    position: relative;
}
.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width 0.3s cubic-bezier(0.16,1,0.3,1);
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-links a:hover { color: var(--navy); }
.nav-cta {
    background: var(--navy);
    color: white !important;
    padding: 0.65rem 1.4rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(176,141,58,0.3); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.3s; }

/* --- BUTTONS --- */
.btn-primary {
    background: var(--navy);
    color: white;
    padding: 0.95rem 1.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(176,141,58,0.3); }
.btn-secondary {
    background: transparent;
    color: var(--navy);
    padding: 0.95rem 1.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}
.btn-secondary:hover { background: var(--navy); color: white; transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

/* --- LAYOUT --- */
section.s { max-width: 1240px; margin: 0 auto; padding: 90px 1.75rem; }
section.s.narrow { max-width: 880px; }

.section-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 0.85rem;
}
.s-head {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.1;
}
.s-head em { font-style: italic; color: var(--accent); font-weight: 600; }
.s-sub { color: var(--text-muted); font-size: 1.1rem; max-width: 640px; line-height: 1.65; }
.s-sub.center { margin-left: auto; margin-right: auto; text-align: center; }
.s-header { text-align: center; margin-bottom: 3.5rem; }
.s-header.left { text-align: left; }

/* --- PAGE HEADER (sub-page hero) --- */
.page-header {
    background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
    padding: 80px 1.75rem 60px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.page-header .inner { max-width: 880px; margin: 0 auto; }
.page-header .breadcrumb { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.page-header .breadcrumb a { color: var(--accent); text-decoration: none; }
.page-header .breadcrumb a:hover { text-decoration: underline; }
.page-header h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--navy);
    margin-bottom: 1rem;
}
.page-header h1 em { font-style: italic; color: var(--accent); font-weight: 600; }
.page-header p.lede {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.65;
}

/* --- PROSE (article body) --- */
.prose { max-width: 720px; margin: 0 auto; font-size: 1.05rem; line-height: 1.78; color: var(--text); }
.prose h2 { font-family: 'Fraunces', serif; font-size: 1.8rem; font-weight: 700; color: var(--navy); margin: 2.5rem 0 1rem; letter-spacing: -0.02em; }
.prose h3 { font-family: 'Fraunces', serif; font-size: 1.35rem; font-weight: 700; color: var(--navy); margin: 2rem 0 0.75rem; }
.prose p { margin-bottom: 1.25rem; }
.prose ul, .prose ol { margin: 1rem 0 1.5rem 1.25rem; }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--accent); font-weight: 600; }
.prose blockquote {
    border-left: 3px solid var(--accent);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 1.5rem 0;
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--navy);
}

/* --- CTA STRIP (shared) --- */
.cta-strip {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: #fff;
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: '';
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(ellipse at top right, rgba(176,141,58,0.25), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(176,141,58,0.15), transparent 50%);
    pointer-events: none;
}
.cta-strip h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    position: relative;
}
.cta-strip h2 em { font-style: italic; color: var(--accent); font-weight: 600; }
.cta-strip p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 580px; margin: 0 auto 2rem; position: relative; }
.cta-strip .ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-strip .btn-primary { background: var(--accent); color: var(--navy); }
.cta-strip .btn-primary:hover { background: #fff; }
.cta-strip .btn-secondary { border-color: rgba(255,255,255,0.4); color: #fff; }
.cta-strip .btn-secondary:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* --- FOOTER --- */
footer.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.7);
    padding: 4rem 1.75rem 1.5rem;
    margin-top: 4rem;
}
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { display: block; margin-bottom: 1rem; }
.footer-brand .footer-logo { height: 44px; width: auto; display: block; }
.footer-brand p { font-size: 0.92rem; line-height: 1.65; margin-bottom: 1.25rem; max-width: 320px; }
.footer-brand .addr { font-size: 0.9rem; line-height: 1.6; }
.footer-brand .addr strong { color: #fff; }
.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom .legal-links { display: flex; gap: 1.5rem; }
.footer-bottom .legal-links a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-bottom .legal-links a:hover { color: #fff; }
.footer-disclaimer {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.55;
    margin-top: 1.5rem;
}

/* --- TWO-COLUMN ARTICLE LAYOUT (PA + location pages) --- */
.article-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3.5rem;
    align-items: start;
}
.article-main { min-width: 0; }
.article-side { position: sticky; top: 100px; }
@media (max-width: 980px) {
    .article-grid { grid-template-columns: 1fr; gap: 2rem; }
    .article-side { position: static; }
}

/* --- SIDEBAR CTA CARD --- */
.side-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    position: relative;
}
.side-card::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #e0c067);
    border-radius: 14px 14px 0 0;
}
.side-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.side-card p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 1.25rem; line-height: 1.55; }
.side-card .phone-big {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}
.side-card .phone-sub { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.side-card ul { list-style: none; }
.side-card li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}
.side-card li:last-child { border-bottom: none; }
.side-card li::before { content: '✓'; color: var(--accent); font-weight: 800; flex-shrink: 0; }

/* --- FACT GRID (TX legal facts, 2-col grid) --- */
.fact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}
.fact-tile {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    padding: 1.25rem 1.4rem;
}
.fact-tile .label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 0.35rem;
}
.fact-tile .val { font-size: 1rem; color: var(--navy); font-weight: 600; line-height: 1.45; }
.fact-tile .val span { color: var(--text-muted); font-weight: 400; font-size: 0.92rem; display: block; margin-top: 0.2rem; }
@media (max-width: 560px) { .fact-grid { grid-template-columns: 1fr; } }

/* --- DAMAGES / CAUSES LIST (checklist style) --- */
.check-list {
    list-style: none;
    margin: 1.5rem 0 2rem;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 1.5rem;
}
.check-list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.97rem;
    color: var(--text);
}
.check-list li::before {
    content: '';
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--accent-light);
    border: 1.5px solid var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23b08d3a' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
@media (max-width: 560px) { .check-list { grid-template-columns: 1fr; } }

/* --- FAQ ACCORDION --- */
.faq-block { margin: 2rem 0 3rem; }
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    padding: 1.25rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    list-style: none;
    transition: color 0.2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--accent); }
.faq-q::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 400;
    transition: transform 0.25s;
    flex-shrink: 0;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
    padding: 0 0 1.5rem 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}
.faq-a p { margin-bottom: 0.85rem; }
.faq-a p:last-child { margin-bottom: 0; }

/* --- RELATED PRACTICE AREAS --- */
.related-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}
.related-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.related-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20,33,61,0.06); border-color: var(--accent); }
.related-card h4 { font-family: 'Fraunces', serif; font-size: 1.05rem; color: var(--navy); margin-bottom: 0.3rem; }
.related-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }

/* --- LOCATION PAGE: stats strip --- */
.city-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 0 0 3rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 14px;
    color: #fff;
}
.city-stats .stat .num {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 0.2rem;
}
.city-stats .stat .label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
@media (max-width: 768px) { .city-stats { grid-template-columns: repeat(2, 1fr); } }

/* --- LOCATION PAGE: directions card --- */
.directions {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
    margin: 2.5rem 0;
}
.directions h3 { font-family: 'Fraunces', serif; font-size: 1.35rem; color: var(--navy); margin-bottom: 1rem; }
.directions p { color: var(--text-muted); margin-bottom: 0.85rem; line-height: 1.65; }
.directions a { color: var(--accent); font-weight: 600; text-decoration: none; }

/* --- IMAGE HERO (used by sub-pages with a hero photo) --- */
.page-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.page-hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    filter: saturate(85%);
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(10,22,38,0.55) 0%, rgba(10,22,38,0.85) 100%),
        radial-gradient(ellipse at top right, rgba(176,141,58,0.35), transparent 60%);
}
.page-hero .inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 90px 1.75rem 70px;
    width: 100%;
}
.page-hero .breadcrumb {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}
.page-hero .breadcrumb a { color: var(--accent); text-decoration: none; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 1rem;
    max-width: 880px;
}
.page-hero h1 em { font-style: italic; color: var(--accent); font-weight: 600; }
.page-hero p.lede {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 640px;
    line-height: 1.65;
}

/* --- TRUST BADGES BAR --- */
.trust-bar {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 1.75rem;
}
.trust-bar-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}
.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.2s;
}
.trust-badge:hover { color: var(--navy); }
.trust-badge .seal {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border: 2px solid var(--accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Fraunces', serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0;
    box-shadow: 0 4px 14px rgba(20,33,61,0.18), inset 0 0 0 3px rgba(176,141,58,0.18);
    line-height: 1;
    text-align: center;
}
.trust-badge .seal .seal-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-top: 2px;
    text-transform: uppercase;
}
.trust-badge .seal .seal-star { color: var(--accent); font-size: 1.5rem; line-height: 1; }
.trust-badge .seal .seal-amount { color: var(--accent); font-size: 1.1rem; }
.trust-badge .label-line { line-height: 1.3; }
@media (max-width: 768px) { .trust-bar-inner { gap: 1.5rem; } .trust-badge .seal { width: 48px; height: 48px; font-size: 0.85rem; } }

/* --- COUNTER GRID (animated) --- */
.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}
.counter-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}
.counter-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #e0c067);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.counter-card.visible::before, .counter-card:hover::before { transform: scaleX(1); }
.counter-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(20,33,61,0.08); border-color: var(--accent); }
.counter-card .icon-circle {
    width: 56px; height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}
.counter-card .num {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    display: block;
}
.counter-card .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
@media (max-width: 880px) { .counter-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- SVG BAR CHART (settlement results) --- */
.chart-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2.5rem;
    margin: 2rem 0;
}
.chart-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.chart-card .chart-sub {
    color: var(--text-muted);
    font-size: 0.97rem;
    margin-bottom: 2rem;
}
.bar-chart { display: flex; flex-direction: column; gap: 1.1rem; }
.bar-row { display: grid; grid-template-columns: 160px 1fr 110px; gap: 1rem; align-items: center; }
.bar-row .bar-label {
    font-size: 0.92rem;
    color: var(--navy);
    font-weight: 600;
}
.bar-row .bar-label small { display: block; color: var(--text-muted); font-weight: 400; font-size: 0.78rem; margin-top: 2px; }
.bar-track {
    height: 28px;
    background: var(--surface-2);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}
.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, #d4a843 100%);
    border-radius: 6px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.16,1,0.3,1);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.chart-animate.chart-visible .bar-fill { width: var(--target-width, 100%); }
.bar-row .bar-amount {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent);
    text-align: right;
}
@media (max-width: 720px) {
    .bar-row { grid-template-columns: 1fr; gap: 0.4rem; }
    .bar-row .bar-amount { text-align: left; font-size: 0.95rem; }
    .chart-card { padding: 1.5rem; }
}

/* --- SVG DONUT CHART --- */
.donut-section {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: center;
}
.donut-wrap { position: relative; width: 260px; height: 260px; margin: 0 auto; }
.donut-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut-svg circle { fill: none; stroke-width: 26; }
.donut-svg .track { stroke: var(--surface-2); }
.donut-svg .slice {
    stroke-dasharray: var(--dasharray);
    stroke-dashoffset: var(--dashoffset);
    transition: stroke-dashoffset 1.4s cubic-bezier(0.16,1,0.3,1), stroke-dasharray 1.4s cubic-bezier(0.16,1,0.3,1);
}
.chart-animate:not(.chart-visible) .donut-svg .slice {
    stroke-dasharray: 0 1000;
}
.donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.donut-center .num {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}
.donut-center .lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 0.25rem;
}
.donut-legend { display: flex; flex-direction: column; gap: 0.85rem; }
.legend-item { display: flex; align-items: center; gap: 0.85rem; }
.legend-swatch { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
.legend-text { flex: 1; font-size: 0.93rem; color: var(--navy); font-weight: 600; }
.legend-text small { color: var(--text-muted); font-weight: 400; }
.legend-pct {
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
}
@media (max-width: 768px) { .donut-section { grid-template-columns: 1fr; gap: 2rem; } }

/* --- ATTORNEY PHOTO CARD (upgraded) --- */
.attorney-photo-frame {
    position: relative;
    aspect-ratio: 1 / 1.2;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(10,22,38,0.35);
    background:
        linear-gradient(180deg, transparent 50%, rgba(10,22,38,0.85) 100%),
        url('https://images.unsplash.com/photo-1556157382-97eda2d62296?w=800&auto=format&fit=crop&q=80') center 30% / cover no-repeat,
        linear-gradient(135deg, var(--navy-light), var(--accent-hover));
}
.attorney-photo-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(176,141,58,0.12), transparent 60%);
    pointer-events: none;
}
.attorney-photo-frame .badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    color: #fff;
    z-index: 2;
}
.attorney-photo-frame .badge .name {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 0.25rem;
}
.attorney-photo-frame .badge .title {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
}
.attorney-photo-frame .stars-pill {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255,255,255,0.95);
    color: var(--navy);
    padding: 0.45rem 0.85rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    z-index: 2;
}
.attorney-photo-frame .stars-pill .star { color: var(--accent); font-size: 0.95rem; }

/* --- SERVICE AREA MAP --- */
.service-map-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2.5rem;
    margin: 2rem 0;
}
.service-map-wrap h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.service-map-wrap .map-sub {
    color: var(--text-muted);
    font-size: 0.97rem;
    margin-bottom: 1.5rem;
}
.service-map-svg {
    width: 100%;
    height: auto;
    max-height: 480px;
    display: block;
}
.service-map-svg .land { fill: #ece5d2; stroke: #c8bea0; stroke-width: 1.5; }
.service-map-svg .road { stroke: #9a8e6a; stroke-width: 2; fill: none; opacity: 0.85; stroke-linecap: round; }
.service-map-svg .road-dashed { stroke-dasharray: 8 5; opacity: 0.6; }
.service-map-svg .road-dotted { stroke-dasharray: 2 7; opacity: 0.4; }
.service-map-svg .pin { fill: var(--accent); stroke: #fff; stroke-width: 2; transition: r 0.25s, fill 0.25s; cursor: pointer; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2)); }
.service-map-svg .pin:hover { fill: var(--navy); }
.service-map-svg .pin.primary { fill: var(--navy); stroke: var(--accent); stroke-width: 3; }
.service-map-svg .pin.primary-ring { fill: none; stroke: var(--accent); stroke-width: 2.5; opacity: 0.65; animation: pin-pulse 2.4s ease-in-out infinite; filter: none; }
@keyframes pin-pulse {
    0%, 100% { opacity: 0.7; r: 16; }
    50% { opacity: 0; r: 32; }
}
.service-map-svg .pin-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    fill: var(--navy);
}
.service-map-svg .pin-label.primary { fill: var(--navy); font-size: 12px; }

/* --- BLOG POST LAYOUT --- */
.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.post-meta .meta-sep { opacity: 0.5; }
.post-meta .tag {
    background: rgba(176,141,58,0.15);
    border: 1px solid rgba(176,141,58,0.35);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.post-body {
    max-width: 740px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.78;
    color: var(--text);
}
.post-body h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--navy);
    margin: 2.75rem 0 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.post-body h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    margin: 2rem 0 0.75rem;
    letter-spacing: -0.01em;
}
.post-body h4 {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin: 1.75rem 0 0.5rem;
}
.post-body p { margin-bottom: 1.35rem; }
.post-body ul, .post-body ol { margin: 1rem 0 1.5rem 1.5rem; }
.post-body li { margin-bottom: 0.5rem; }
.post-body a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--accent-hover); }
.post-body strong { color: var(--navy); font-weight: 700; }
.post-body em { color: var(--text); }
.post-body blockquote {
    border-left: 3px solid var(--accent);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 1.75rem 0;
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--navy);
}
.post-body .disclaimer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.88rem;
    color: var(--text-muted);
    font-style: italic;
}

/* --- BLOG INDEX --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(20,33,61,0.08); border-color: var(--accent); }
.blog-card .card-thumb {
    aspect-ratio: 16 / 9;
    background:
        linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%),
        radial-gradient(ellipse at top right, rgba(176,141,58,0.4), transparent 60%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}
.blog-card .card-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(176,141,58,0.25), transparent 65%);
}
.blog-card .card-thumb svg { position: relative; z-index: 1; }
.blog-card .card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}
.blog-card .tag-line {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.blog-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    letter-spacing: -0.01em;
}
.blog-card p {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}
.blog-card .card-foot {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.blog-card .card-foot .read-more {
    color: var(--accent);
    font-weight: 700;
}
@media (max-width: 980px) { .blog-grid { grid-template-columns: 1fr; gap: 1.25rem; } }

/* --- FLOATING CALL --- */
.floating-call {
    position: fixed;
    bottom: 20px; right: 20px;
    background: var(--navy);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 24px rgba(20,33,61,0.3);
    z-index: 90;
    display: none;
    align-items: center;
    gap: 0.5rem;
}
.floating-call:hover { background: var(--accent); }

/* --- RESPONSIVE --- */
@media (max-width: 980px) {
    section.s { padding: 60px 1.25rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 1.5rem; gap: 1.25rem; border-bottom: 1px solid var(--border); align-items: stretch; }
    .nav-links.open { display: flex; }
    .nav-cta { width: 100%; text-align: center; }
    .mobile-toggle { display: block; }
    .floating-call { display: inline-flex; }
    .topbar { font-size: 0.78rem; padding: 0.5rem 1rem; }
    .topbar .sep { display: none; }
    .cta-strip { padding: 3rem 1.5rem; }
    .page-header { padding: 50px 1.25rem 40px; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
}
