/* ==========================================================================
   MARK D. HAUSER, ESQUIRE - BESPOKE LEGAL STYLESHEET
   Philadelphia Criminal Defense, DUI, PFA, & Traffic Ticket Attorney
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --navy-dark: #081326;
    --navy: #0b1a36;
    --navy-medium: #11254a;
    --navy-light: #1e3a6e;
    --navy-subtle: #f0f4f9;

    --gold: #c59b27;
    --gold-hover: #b38722;
    --gold-light: #fef9c3;
    --gold-border: #fef08a;

    --danger: #b91c1c;
    --danger-light: #fef2f2;
    --danger-border: #fecaca;

    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-alt: #f1f5f9;

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    --border-color: #e2e8f0;
    --border-dark: #cbd5e1;

    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-accent: 'Cinzel', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-xl: 14px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(11, 26, 54, 0.06);
    --shadow-md: 0 4px 14px rgba(11, 26, 54, 0.08);
    --shadow-lg: 0 10px 28px -4px rgba(11, 26, 54, 0.12), 0 4px 10px -2px rgba(11, 26, 54, 0.04);
    --shadow-xl: 0 20px 38px -6px rgba(11, 26, 54, 0.16);

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Global Reset & Box Sizing --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-secondary);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--gold-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: 2.65rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1.25rem;
}

p:last-child {
    margin-bottom: 0;
}

ul, ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Accessibility */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link:focus {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 999999;
    padding: 10px 18px;
    background: var(--navy);
    color: #fff;
    width: auto;
    height: auto;
    clip: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

/* ========================================================
   TOP EMERGENCY & ANNOUNCEMENT BAR
   ======================================================== */
.top-bar {
    background-color: var(--navy-dark);
    color: #e2e8f0;
    font-size: 0.8rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fca5a5;
    letter-spacing: 0.5px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.top-bar-separator {
    color: rgba(255, 255, 255, 0.2);
}

.top-bar-hours, .top-bar-address, .top-bar-tel {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #cbd5e1;
}

.top-bar-tel {
    color: var(--gold-light);
    font-weight: 500;
}

.top-bar-tel strong {
    color: #ffffff;
    font-weight: 700;
}

.top-bar a:hover {
    color: #ffffff;
}

/* ========================================================
   STICKY MAIN SITE HEADER (DECLUTTERED & STREAMLINED)
   ======================================================== */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

/* Brand Link */
.site-branding {
    flex-shrink: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.brand-crest {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium));
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    box-shadow: 0 2px 6px rgba(11, 26, 54, 0.15);
    flex-shrink: 0;
}

.crest-svg {
    stroke: var(--gold);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy-dark);
    letter-spacing: 0.3px;
    line-height: 1.15;
    white-space: nowrap;
}

.brand-esq {
    font-size: 0.725rem;
    font-family: var(--font-accent);
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    margin-left: 2px;
}

.brand-subline {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 1px;
    white-space: nowrap;
}

/* Desktop Navigation */
.desktop-navigation {
    display: block;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2px;
    padding: 0;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-item a {
    display: inline-block;
    padding: 8px 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    position: relative;
    transition: var(--transition);
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 10px;
    right: 10px;
    height: 2px;
    background-color: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-item a:hover {
    color: var(--navy-dark);
}

.nav-item a:hover::after,
.nav-item.current-menu-item a::after {
    transform: scaleX(1);
}

.nav-item.current-menu-item a {
    color: var(--navy-dark);
    font-weight: 700;
}

/* Subtle accent styling for PFA & Traffic (no loud badges) */
.nav-link-pfa {
    color: var(--navy-dark) !important;
    font-weight: 700 !important;
}

.nav-link-traffic {
    color: var(--navy-dark) !important;
    font-weight: 700 !important;
}

/* Header CTA Button */
.header-cta-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.925rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

/* Refined, Streamlined Consultation Button */
.btn-header-cta {
    height: 40px;
    padding: 0 16px;
    background: linear-gradient(135deg, var(--gold), #d4af37);
    color: var(--navy-dark);
    border: 1px solid #b38722;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.825rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(197, 155, 39, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-header-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: 0.6s ease;
}

.btn-header-cta:hover {
    background: linear-gradient(135deg, #d4af37, #eab308);
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(197, 155, 39, 0.35);
}

.btn-header-cta:hover::after {
    left: 150%;
}

.cta-icon {
    flex-shrink: 0;
}

.cta-label {
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 800;
}

.cta-sep {
    opacity: 0.5;
}

.cta-tel {
    font-weight: 800;
    color: var(--navy-dark);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), #d4af37);
    color: var(--navy-dark);
    border-color: #b38722;
    box-shadow: 0 2px 8px rgba(197, 155, 39, 0.25);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #d4af37, #eab308);
    color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(197, 155, 39, 0.35);
}

.btn-navy {
    background-color: var(--navy);
    color: #ffffff;
    border-color: var(--navy-dark);
}

.btn-navy:hover {
    background-color: var(--navy-dark);
    color: var(--gold-light);
    transform: translateY(-1px);
}

.btn-outline-white {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline-white:hover {
    background-color: #ffffff;
    color: var(--navy-dark);
}

.btn-xl {
    padding: 14px 28px;
    font-size: 1.05rem;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 0.975rem;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 38px;
    height: 38px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 7px;
    cursor: pointer;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--navy-dark);
    transition: var(--transition);
}

/* ========================================================
   MOBILE DRAWER & BLURRED OVERLAY
   ======================================================== */
.mobile-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 19, 38, 0.65);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.is-active {
    display: block;
    opacity: 1;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: #ffffff;
    z-index: 10001;
    overflow-y: auto;
    transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -6px 0 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.is-open {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--navy-dark);
    color: #ffffff;
}

.drawer-title strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.05rem;
}

.drawer-title span {
    font-size: 0.75rem;
    color: var(--gold-light);
}

.mobile-drawer-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.mobile-drawer-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.mobile-nav-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 6px;
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-list li a:hover, .mobile-nav-list li a.mobile-highlight {
    color: var(--navy);
    font-weight: 700;
}

.mobile-drawer-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.w-100 { width: 100%; }

.btn-call-now {
    background: var(--navy);
    color: #fff;
    padding: 12px;
    text-align: center;
    border-radius: var(--radius-md);
    font-weight: 700;
}

.mobile-drawer-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

/* ========================================================
   HERO BANNER SECTION
   ======================================================== */
.hero-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--navy-dark);
    color: #ffffff;
    padding: 85px 0 95px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(8, 19, 38, 0.94) 0%,
        rgba(11, 26, 54, 0.90) 50%,
        rgba(11, 26, 54, 0.82) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 860px;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 155, 39, 0.18);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.pill-svg {
    stroke: var(--gold);
}

.hero-title {
    color: #ffffff;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 18px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.hero-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 14px;
    font-weight: 500;
}

.hero-seo-statement {
    font-size: 1rem;
    color: #cbd5e1;
    border-left: 3px solid var(--gold);
    padding-left: 14px;
    margin-bottom: 28px;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.btn-hero-phone {
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-phone:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
    color: #ffffff;
}

.btn-hero-phone small {
    font-size: 0.75rem;
    color: var(--gold-light);
    font-weight: 500;
}

.hero-quick-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cred-tag {
    font-size: 0.85rem;
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cred-tag .check {
    color: var(--gold);
    font-weight: bold;
}

/* ========================================================
   SPOTLIGHT PRIORITY SECTION: PFA & TRAFFIC TICKETS
   ======================================================== */
.section {
    padding: 70px 0;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 45px;
}

.text-center { text-align: center; }

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-hover);
    margin-bottom: 10px;
}

.section-title {
    margin-bottom: 14px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.spotlight-card {
    position: relative;
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 38px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.spotlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.spotlight-card-pfa {
    border-top: 5px solid var(--gold);
}

.spotlight-card-traffic {
    border-top: 5px solid var(--danger);
}

.spotlight-card-badge {
    position: absolute;
    top: -13px;
    right: 28px;
    font-size: 0.725rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 12px;
    border-radius: var(--radius-full);
}

.spotlight-card-pfa .spotlight-card-badge {
    background-color: var(--gold);
    color: var(--navy-dark);
}

.spotlight-card-traffic .spotlight-card-badge {
    background-color: var(--danger);
    color: #ffffff;
}

.spotlight-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background-color: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--navy);
}

.spotlight-card-pfa .spotlight-icon-wrap {
    color: var(--gold);
    background-color: var(--gold-light);
}

.spotlight-card-traffic .spotlight-icon-wrap {
    color: var(--danger);
    background-color: var(--danger-light);
}

.spotlight-title {
    font-size: 1.75rem;
    margin-bottom: 4px;
}

.spotlight-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.spotlight-text {
    font-size: 0.975rem;
    margin-bottom: 18px;
}

.spotlight-list {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
    flex-grow: 1;
}

.spotlight-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.925rem;
}

.spotlight-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--gold);
    font-size: 0.75rem;
}

.spotlight-card-traffic .spotlight-list li::before {
    color: var(--danger);
}

.spotlight-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

/* ========================================================
   PRACTICE AREAS CAROUSEL & CARDS
   ======================================================== */
.bg-light {
    background-color: var(--bg-light);
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 20px;
}

.carousel-nav-controls {
    display: flex;
    gap: 8px;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-dark);
    background: #ffffff;
    color: var(--navy-dark);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--navy);
    color: #ffffff;
    border-color: var(--navy);
}

.practice-carousel-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
}

.practice-carousel-wrapper::-webkit-scrollbar {
    height: 6px;
}

.practice-carousel-wrapper::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: var(--radius-full);
}

.practice-carousel {
    display: flex;
    gap: 24px;
}

.practice-slide {
    flex: 0 0 360px;
    scroll-snap-align: start;
}

.practice-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.practice-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.practice-card.card-featured {
    border-top: 4px solid var(--gold);
}

.practice-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background-color: var(--navy-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    margin-bottom: 16px;
}

.practice-card.card-featured .practice-icon {
    background-color: var(--gold-light);
    color: #854d0e;
}

.practice-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.practice-desc {
    font-size: 0.925rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

.practice-bullet-list {
    list-style: none;
    padding: 0;
    margin-bottom: 18px;
}

.practice-bullet-list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.practice-bullet-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.card-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-link:hover {
    color: var(--gold-hover);
}

/* ========================================================
   ATTORNEY BIO / PROFILE SECTION
   ======================================================== */
.bio-grid {
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: 48px;
    align-items: center;
}

.portrait-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 3px solid #ffffff;
}

.portrait-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.portrait-badge {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    background: rgba(8, 19, 38, 0.94);
    backdrop-filter: blur(6px);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-number {
    font-family: var(--font-accent);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.plus {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: bold;
}

.badge-label {
    font-size: 0.825rem;
    font-weight: 600;
    line-height: 1.25;
}

.attorney-quick-facts {
    margin-top: 20px;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 18px;
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fact-row strong {
    color: var(--text-primary);
    display: inline-block;
    min-width: 110px;
}

.bio-text-col .section-title {
    margin-bottom: 6px;
}

.bio-role {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-hover);
    margin-bottom: 18px;
}

.bio-paragraph {
    font-size: 1.025rem;
    margin-bottom: 14px;
}

.bio-feature-points {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 24px 0;
}

.bio-point {
    display: flex;
    gap: 14px;
}

.point-num {
    font-family: var(--font-accent);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--gold);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.point-body strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 3px;
}

.point-body p {
    font-size: 0.925rem;
    color: var(--text-muted);
}

.bio-cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ========================================================
   COMMON CHARGES EXPLORER & TABS
   ======================================================== */
.charges-tab-box {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background: var(--navy-dark);
    border-bottom: 2px solid var(--gold);
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-family: var(--font-body);
    font-size: 0.975rem;
    font-weight: 700;
    padding: 16px 20px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: var(--navy-dark);
    background: #ffffff;
}

.tab-pane {
    display: none;
    padding: 32px;
}

.tab-pane.active {
    display: block;
}

.charges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.charge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    background: var(--bg-alt);
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text-primary);
    border-left: 3px solid transparent;
}

.charge-item:hover {
    background: var(--navy-subtle);
    border-left-color: var(--navy);
}

.charge-item.charge-highlight {
    background: var(--gold-light);
    border-left-color: var(--gold);
}

.charge-num {
    font-size: 0.775rem;
    font-weight: 800;
    color: var(--text-muted);
}

.tab-footnote {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.btn-link {
    font-weight: 700;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ========================================================
   YOUTUBE LEGAL GUIDES & VIDEO CENTER
   ======================================================== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 28px;
}

.video-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-thumb-container {
    position: relative;
    height: 230px;
    background-color: var(--navy-dark);
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-play-video {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(197, 155, 39, 0.92);
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
}

.btn-play-video:hover {
    transform: scale(1.08);
    background: var(--gold);
}

.play-triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 16px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 3px;
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

.video-details {
    padding: 22px;
}

.video-tag {
    font-size: 0.725rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--gold-hover);
    display: block;
    margin-bottom: 6px;
}

.video-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.video-description {
    font-size: 0.925rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.video-link {
    font-weight: 700;
    font-size: 0.875rem;
}

.channel-note {
    font-size: 0.975rem;
    color: var(--text-muted);
}

.link-bold {
    font-weight: 700;
    color: var(--navy-dark);
}

/* ========================================================
   REVIEWS & GOOGLE TESTIMONIALS CAROUSEL
   ======================================================== */
.google-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    margin-top: 10px;
}

.google-logo {
    font-weight: 800;
    color: #ea4335;
}

.stars, .stars-large {
    color: #f59e0b;
    letter-spacing: 2px;
}

.score {
    font-weight: 700;
    color: var(--text-primary);
}

.reviews-carousel-wrapper {
    position: relative;
    max-width: 880px;
    margin: 36px auto 0;
    overflow: hidden;
}

.reviews-carousel {
    display: flex;
    transition: transform 0.4s ease;
}

.review-slide {
    min-width: 100%;
    padding: 8px;
}

.review-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
}

.review-stars {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 14px;
    letter-spacing: 3px;
}

.review-quote {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-style: italic;
}

.reviewer-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.reviewer-name {
    font-weight: 800;
    color: var(--navy-dark);
    font-size: 1rem;
}

.reviewer-case {
    font-size: 0.825rem;
    color: var(--text-muted);
}

.carousel-dots-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-dark);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--navy);
    width: 24px;
    border-radius: var(--radius-full);
}

.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }

/* ========================================================
   FAQ ACCORDION SECTION
   ======================================================== */
.faq-container {
    max-width: 840px;
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.is-open {
    border-color: var(--navy);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 18px 22px;
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 1.025rem;
    font-weight: 700;
    color: var(--navy-dark);
    cursor: pointer;
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--gold);
    line-height: 1;
    margin-left: 16px;
    transition: var(--transition);
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 22px 22px;
    font-size: 0.975rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.faq-item.is-open .faq-answer {
    display: block;
}

/* ========================================================
   CONTACT & FORM SECTION
   ======================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 46px;
    align-items: flex-start;
}

.contact-desc {
    font-size: 1.025rem;
    margin-bottom: 24px;
}

.contact-card-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.contact-card-item {
    display: flex;
    gap: 14px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 15px 18px;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background-color: var(--navy-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    flex-shrink: 0;
}

.contact-link-lg {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy-dark);
}

.emergency-badge-text {
    font-size: 0.775rem;
    font-weight: 700;
    color: var(--danger);
}

.map-embed-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* Form Wrapper */
.form-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 34px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    margin-bottom: 22px;
}

.form-title {
    font-size: 1.7rem;
    margin: 8px 0;
}

.form-subtitle {
    font-size: 0.925rem;
    color: var(--text-muted);
}

.hauser-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.form-group label .req {
    color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 11px 13px;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    background-color: var(--bg-white);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(11, 26, 54, 0.12);
}

.form-disclaimer {
    font-size: 0.775rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.btn-submit {
    position: relative;
    padding: 13px 20px;
    font-size: 0.975rem;
}

.btn-spinner {
    display: none;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-feedback {
    margin-top: 10px;
    font-size: 0.925rem;
    line-height: 1.5;
}

.form-feedback.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 12px 16px;
    border-radius: var(--radius-md);
}

.form-feedback.error {
    background-color: var(--danger-light);
    color: var(--danger);
    border: 1px solid var(--danger-border);
    padding: 12px 16px;
    border-radius: var(--radius-md);
}

/* ========================================================
   PRE-FOOTER URGENT BANNER
   ======================================================== */
.consultation-banner {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: #ffffff;
    padding: 55px 0;
    border-top: 3px solid var(--gold);
}

.consultation-banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
}

.banner-content {
    max-width: 680px;
}

.banner-title {
    color: #ffffff;
    font-size: 1.95rem;
    margin: 8px 0 10px;
}

.banner-subtitle {
    color: #cbd5e1;
    font-size: 1.025rem;
}

.banner-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ========================================================
   SITE FOOTER
   ======================================================== */
.site-footer {
    background-color: #050c18;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-trust-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 26px 0;
}

.footer-trust-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.trust-text strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
}

.trust-text span {
    font-size: 0.775rem;
    color: #94a3b8;
}

.footer-main {
    padding: 55px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
}

.footer-brand-sub {
    font-size: 0.775rem;
    color: var(--gold);
    display: block;
    margin-bottom: 14px;
}

.footer-bio-snippet {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.footer-contact-details p {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.footer-contact-details a {
    color: #ffffff;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background-color: var(--gold);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links li a {
    color: #94a3b8;
    font-size: 0.85rem;
}

.footer-links li a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-highlight {
    color: var(--gold-light) !important;
    font-weight: 600;
}

.google-badge-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge-stars {
    color: #f59e0b;
    font-size: 1.05rem;
}

.google-badge-card strong {
    color: #ffffff;
    font-size: 0.875rem;
}

.link-external {
    font-size: 0.775rem;
    color: var(--gold-light);
}

.footer-cta-box {
    margin-top: 18px;
    background: rgba(197, 155, 39, 0.12);
    border: 1px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 12px;
}

.footer-cta-box strong {
    display: block;
    color: #ffffff;
    font-size: 0.875rem;
}

.footer-cta-box span {
    font-size: 0.775rem;
    color: #e2e8f0;
}

.footer-bottom {
    background-color: #02060e;
    padding: 26px 0 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.75rem;
}

.footer-disclaimer p {
    margin-bottom: 18px;
    line-height: 1.5;
    color: #64748b;
}

.footer-copyright-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-legal-links a {
    color: #94a3b8;
}

/* ========================================================
   PRACTICE PAGES & ARTICLE LAYOUT
   ======================================================== */
.page-header {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: #ffffff;
    padding: 55px 0;
    border-bottom: 3px solid var(--gold);
}

.breadcrumb-trail {
    font-size: 0.825rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.breadcrumb-trail a {
    color: #cbd5e1;
}

.page-title {
    color: #ffffff;
    font-size: 2.4rem;
    margin: 8px 0 10px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #e2e8f0;
    max-width: 800px;
}

.page-layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: flex-start;
}

.content-primary {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.lead-box {
    background: var(--bg-alt);
    border-left: 4px solid var(--navy);
    padding: 22px 26px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.content-block h2 {
    font-size: 1.7rem;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.content-block h3 {
    font-size: 1.3rem;
    margin: 18px 0 10px;
}

.content-block p {
    font-size: 1.025rem;
}

/* Specific Callouts & Badges */
.badge-gold {
    display: inline-block;
    background: var(--gold-light);
    color: #854d0e;
    border: 1px solid var(--gold-border);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.badge-urgent {
    display: inline-block;
    background: var(--danger-light);
    color: var(--danger);
    border: 1px solid var(--danger-border);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.alert-box, .alert-box-urgent, .alert-box-warning {
    border-radius: var(--radius-lg);
    padding: 26px;
    margin: 18px 0;
}

.alert-box {
    background: var(--navy-subtle);
    border: 1px solid var(--border-dark);
}

.alert-box-urgent {
    background: var(--danger-light);
    border: 2px solid var(--danger);
}

.alert-box-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.alert-subhead {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--danger);
    margin: 6px 0 12px;
}

/* Numbered Charges Lists */
.charges-numbered-list {
    list-style: none;
    padding: 0;
    margin: 18px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.charges-numbered-list li {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 13px 16px;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

.charges-numbered-list li strong {
    color: var(--navy-dark);
}

/* Tables for Traffic Point System */
.table-responsive {
    overflow-x: auto;
    margin: 22px 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.legal-table th, .legal-table td {
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.legal-table th {
    background: var(--navy-dark);
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.875rem;
}

.legal-table td {
    font-size: 0.925rem;
}

.point-badge {
    background: var(--navy-subtle);
    color: var(--navy);
    font-weight: 800;
    padding: 4px 9px;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.point-badge.badge-warning {
    background: var(--gold-light);
    color: #854d0e;
}

.point-badge.badge-danger {
    background: var(--danger-light);
    color: var(--danger);
}

/* Entry Content Tables & Callouts */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin: 24px 0;
}

.entry-content th, .entry-content td {
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.entry-content th {
    background: var(--navy-dark);
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.875rem;
}

.entry-content td {
    font-size: 0.925rem;
}

.entry-content tr:nth-child(even) td {
    background: #f8fafc;
}

.courthouse-card {
    background: #ffffff;
    border-left: 4px solid var(--navy);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 24px 0;
    box-shadow: var(--shadow-sm);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.courthouse-card h4 {
    margin-top: 0;
    margin-bottom: 8px;
    color: var(--navy-dark);
}

.article-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--navy-dark);
    font-weight: 500;
    margin-bottom: 24px;
}

/* PFA Jump Nav Bar */
.pfa-jump-bar {
    background: var(--bg-alt);
    padding: 22px 0;
    border-bottom: 1px solid var(--border-color);
}

.pfa-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pfa-nav-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pfa-nav-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.pfa-nav-card-urgent {
    border-top: 4px solid var(--danger);
}

.pfa-nav-icon {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.pfa-nav-card strong {
    font-size: 1rem;
    color: var(--navy-dark);
}

.pfa-nav-card span {
    font-size: 0.825rem;
    color: var(--text-muted);
}

/* Sidebar Widgets */
.sidebar-secondary {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sidebar-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h3, .sidebar-card h4 {
    margin-bottom: 12px;
}

.sidebar-card-cta {
    background: var(--navy-subtle);
    border-color: var(--navy);
}

.sidebar-phone-btn {
    display: block;
    background: #ffffff;
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 11px;
    text-align: center;
    margin: 14px 0;
    color: var(--navy-dark);
}

.sidebar-phone-btn strong {
    font-size: 1.2rem;
    display: block;
}

.sidebar-phone-btn small {
    color: var(--danger);
    font-weight: 700;
}

.sidebar-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.sidebar-menu-list li a {
    display: block;
    padding: 9px 12px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--slate);
}

.sidebar-menu-list li a.active, .sidebar-menu-list li a:hover {
    color: var(--navy-dark);
    background-color: var(--bg-alt);
}

.sidebar-highlight {
    color: var(--gold-hover) !important;
}

.sidebar-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-bullets li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.sidebar-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* ========================================================
   REVIEWS & BLOG LISTINGS
   ======================================================== */
.google-review-banner {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px 36px;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 36px;
}

.google-badge-pill {
    background: #ea4335;
    color: #fff;
    font-size: 0.725rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 6px;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-num {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.reviews-grid-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.review-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-date {
    font-size: 0.775rem;
    color: var(--text-muted);
}

.review-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.review-text {
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 14px;
    color: var(--text-secondary);
}

.reviewer-footer {
    font-size: 0.85rem;
    color: var(--navy-dark);
}

.review-cta-box {
    margin-top: 45px;
    background: var(--bg-alt);
    border-radius: var(--radius-xl);
    padding: 36px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    font-size: 0.825rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-card-title {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.blog-card-excerpt {
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

/* Floating Mobile Action Bar */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--navy-dark);
    z-index: 9999;
    padding: 8px 12px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.25);
    gap: 8px;
}

.mobile-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.mobile-action-call {
    background: #ffffff;
    color: var(--navy-dark);
}

.mobile-action-consult {
    background: var(--gold);
    color: var(--navy-dark);
}

/* ========================================================
   MODAL DIALOG STYLES
   ======================================================== */
.consultation-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    overflow-y: auto;
    padding: 20px;
}

.consultation-modal.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 19, 38, 0.75);
    backdrop-filter: blur(4px);
}

.modal-dialog {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 620px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 32px;
    z-index: 2;
    margin: auto;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-header {
    margin-bottom: 22px;
}

.modal-title {
    font-size: 1.65rem;
    margin: 6px 0;
}

.modal-subtitle {
    font-size: 0.925rem;
    color: var(--text-muted);
}

/* ========================================================
   SCROLL REVEAL ANIMATIONS (INTERSECTIONOBSERVER)
   ======================================================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-reveal="left"] {
    transform: translateX(-35px);
}

[data-reveal="right"] {
    transform: translateX(35px);
}

[data-reveal="fade"] {
    transform: none;
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* ========================================================
   RESPONSIVE BREAKPOINTS (FIXES CLUTTERED HEADER)
   ======================================================== */
/* At 1220px, switch cleanly to mobile toggle so 8 items never wrap! */
@media (max-width: 1220px) {
    .desktop-navigation { display: none; }
    .mobile-menu-toggle { display: flex; }
    .header-cta-group .btn-header-cta .cta-sep,
    .header-cta-group .btn-header-cta .cta-tel { display: none; }
    .header-cta-group .btn-header-cta { padding: 0 12px; }
}

@media (max-width: 1024px) {
    .hero-title { font-size: 2.25rem; }
    .spotlight-grid { grid-template-columns: 1fr; }
    .bio-grid { grid-template-columns: 1fr; }
    .charges-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-trust-container { grid-template-columns: repeat(2, 1fr); }
    .page-layout-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar-hours, .top-bar-address, .top-bar-separator { display: none; }
    .top-bar-container { justify-content: center; }
    
    .hero-banner { padding: 55px 0 75px; }
    .hero-title { font-size: 1.95rem; }
    .hero-lead { font-size: 1.1rem; }
    .hero-cta-row { flex-direction: column; align-items: stretch; }
    .hero-cta-row .btn { width: 100%; }

    .header-cta-group .btn-header-cta { display: none; }
    .mobile-action-bar { display: flex; }
    
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .videos-grid { grid-template-columns: 1fr; }
    .reviews-grid-full { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .pfa-nav-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-trust-container { grid-template-columns: 1fr; }
    
    body { padding-bottom: 60px; }
}
