/* ==========================================================================
   LawVetted Design System & Public Stylesheet
   Version: 2026.10.29-v3
   Target: 100% Mockup Fidelity + Google Anti-AI Compliance + Sticky Ad Placements
   ========================================================================== */

:root {
    --lc-navy-deep: #0a192f;
    --lc-navy: #102a4e;
    --lc-navy-light: #1b3a6b;
    --lc-blue: #245fe8;
    --lc-blue-hover: #194bc0;
    --lc-gold: #f6c343;
    --lc-gold-hover: #e5b230;
    --lc-green: #059669;
    --lc-ink: #17243b;
    --lc-muted: #64748b;
    --lc-line: #dce4ef;
    --lc-page: #f4f7fb;
    --lc-paper: #ffffff;
    --lc-soft: #edf3ff;
    --lc-shadow-sm: 0 4px 12px rgba(16, 42, 78, 0.06);
    --lc-shadow-md: 0 10px 28px rgba(16, 42, 78, 0.08);
    --lc-shadow-lg: 0 18px 45px rgba(16, 42, 78, 0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
html, body {
    max-width: 100%;
    overflow-x: clip;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    background: var(--lc-page);
    color: var(--lc-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

img, svg, video, canvas, audio, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

a { color: var(--lc-blue); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--lc-blue-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid #91b4ff;
    outline-offset: 2px;
}

/* ==========================================================================
   Header Navigation & Glitter / Shimmer Sweep System
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, var(--lc-navy-deep), var(--lc-navy));
    color: #fff;
    padding: 0 clamp(16px, 4vw, 48px);
    box-shadow: 0 4px 20px rgba(10, 25, 47, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header-inner {
    max-width: 1320px;
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo with Gold Scales */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}
.brand-mark-gold {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e3a61, #0d223f);
    border: 1.5px solid rgba(246, 195, 67, 0.4);
    color: var(--lc-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: #ffffff; }
.brand-copy small { font-size: 11px; font-weight: 500; color: #9bb7de; letter-spacing: 0.04em; }

/* Glitter / Shimmer Pill Navigation Bar */
.glitz-nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: visible;
}

/* Sweeping Light Beam Across Menu */
.glitz-sweep {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), rgba(246, 195, 67, 0.5), transparent);
    pointer-events: none;
    transform: translateX(-150%) skewX(-20deg);
    animation: glitterSweepCycle 7.5s ease-in-out infinite;
}

@keyframes glitterSweepCycle {
    0% {
        transform: translateX(-150%) skewX(-20deg);
        opacity: 0;
    }
    5% {
        opacity: 0.9;
    }
    22% {
        transform: translateX(350%) skewX(-20deg);
        opacity: 0;
    }
    /* Blinking effect 2-3 times */
    24% { opacity: 0; }
    27% { opacity: 0.8; }
    30% { opacity: 0; }
    33% { opacity: 0.85; }
    36% { opacity: 0; }
    39% { opacity: 0.9; }
    42% { opacity: 0; }
    /* Pause until next cycle */
    100% {
        transform: translateX(350%) skewX(-20deg);
        opacity: 0;
    }
}

/* Individual Pill Buttons */
.nav-pill-btn {
    position: relative;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    color: #dbe7f6;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.nav-pill-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.nav-pill-btn.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--lc-blue), #1e52cf);
    box-shadow: 0 4px 14px rgba(36, 95, 232, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.sparkle-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lc-gold);
    opacity: 0;
    box-shadow: 0 0 6px var(--lc-gold);
    animation: sparkleBlink 7.5s infinite;
}

@keyframes sparkleBlink {
    0%, 23% { opacity: 0; transform: scale(0.5); }
    26%, 28% { opacity: 1; transform: scale(1.4); }
    29%, 31% { opacity: 0; transform: scale(0.5); }
    32%, 34% { opacity: 1; transform: scale(1.4); }
    35%, 37% { opacity: 0; transform: scale(0.5); }
    38%, 40% { opacity: 1; transform: scale(1.4); }
    41%, 100% { opacity: 0; transform: scale(0.5); }
}

/* Header Right Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.header-search-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #d0e1f7;
    transition: all 0.2s;
}
.header-search-icon:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.header-login-link {
    color: #dbe7f6;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
}
.header-login-link:hover { color: #fff; text-decoration: underline; }
.header-signup-btn {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    background: linear-gradient(135deg, var(--lc-blue), #1c50ca);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 14px rgba(36, 95, 232, 0.35);
    transition: all 0.2s;
}
.header-signup-btn:hover {
    background: linear-gradient(135deg, #1a54dc, #1443ad);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(36, 95, 232, 0.45);
    color: #fff;
}
.nav-toggle { display: none; }

/* ==========================================================================
   Homepage Hero Section Aligned 100% with Mockup
   ========================================================================== */
.mockup-hero-section {
    position: relative;
    background: linear-gradient(90deg, rgba(8, 20, 39, 0.96) 0%, rgba(10, 25, 47, 0.82) 48%, rgba(13, 34, 63, 0.35) 100%),
                url('../images/hero-banner.jpg') center right / cover no-repeat;
    color: #fff;
    padding: clamp(52px, 7vw, 96px) clamp(16px, 4vw, 48px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 -40px 60px -20px rgba(8, 20, 39, 0.9);
    overflow: hidden;
}
.mockup-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 75% 30%, rgba(246, 195, 67, 0.12) 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(36, 95, 232, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}
.mockup-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
    gap: 40px;
    align-items: center;
}

/* Hero Left Column (Pure, Unobstructed Text & Search) */
.hero-left-col {
    position: relative;
    z-index: 2;
}

/* Hero Right Column: Clean Legal Team Trust Card Over Panoramic Banner */
.hero-right-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.hero-lawyers-team-card {
    width: 100%;
    max-width: 420px;
    background: rgba(10, 25, 47, 0.76);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(246, 195, 67, 0.38);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 25px rgba(246, 195, 67, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-lawyers-team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.7), 0 0 30px rgba(246, 195, 67, 0.2);
}
.team-card-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: #f6c343;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.gold-badge-dot {
    font-size: 10px;
    color: #f6c343;
    animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}
.team-card-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.25;
}
.team-card-desc {
    font-size: 13px;
    color: #cbdcf2;
    line-height: 1.55;
    margin: 0 0 18px;
}
.team-stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 18px;
}
.team-stat-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}
.stat-digit {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.stat-label {
    font-size: 10.5px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 2px;
}
.team-stat-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15);
}
.team-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 14px;
}
.lawyers-avatar-stack {
    display: flex;
    align-items: center;
}
.lawyer-avatar-mini {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #0a192f;
    background-size: cover;
    background-position: top center;
    margin-left: -9px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.lawyer-avatar-mini:first-child {
    margin-left: 0;
}
.lawyer-avatar-plus {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0a192f;
    margin-left: -9px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.team-verified-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #a7f3d0;
}
.tag-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #059669;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 900;
}

@keyframes gentleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

@keyframes thumbBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    35% { transform: scale(1.2) rotate(-8deg); }
    70% { transform: scale(1.08) rotate(4deg); }
}

.hero-trust-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(5, 150, 105, 0.18);
    border: 1px solid rgba(5, 150, 105, 0.4);
    color: #a7f3d0;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}
.kicker-star { color: var(--lc-gold); font-size: 15px; }

.hero-main-title {
    font-size: clamp(34px, 4.2vw, 52px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 16px;
    color: #fff;
}
.gradient-text {
    background: linear-gradient(135deg, #74a4ff 0%, #b3ceff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtext {
    font-size: 16px;
    color: #c2d4ea;
    max-width: 620px;
    line-height: 1.6;
    margin: 0 0 28px;
}

/* Multi-Input Search Bar */
.hero-search-bar {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.1fr auto;
    gap: 8px;
    background: #fff;
    padding: 8px;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.search-input-field {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 12px;
}
.search-input-field .field-icon { font-size: 14px; color: var(--lc-muted); }
.search-input-field input, .search-input-field select {
    border: none;
    background: transparent;
    width: 100%;
    min-height: 46px;
    font-size: 13.5px;
    color: var(--lc-ink);
    outline: none;
}
.hero-search-btn {
    border: none;
    background: linear-gradient(135deg, var(--lc-blue), #184ecc);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 0 24px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(36, 95, 232, 0.4);
    transition: all 0.2s;
    white-space: nowrap;
}
.hero-search-btn:hover {
    background: linear-gradient(135deg, #184ecc, #123fa8);
    transform: translateY(-1px);
}

.hero-trust-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
    font-size: 13px;
    color: #cbdcf2;
}
.hero-sponsors-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    font-size: 12px;
    color: #8da6c6;
}
.sponsor-pill {
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2edf8;
    font-weight: 600;
}
.sponsor-pill:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* Right Hero Graphic & Customizer Panel */
.hero-right-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.scales-emblem-wrap {
    margin-bottom: -15px;
    filter: drop-shadow(0 12px 28px rgba(246, 195, 67, 0.3));
}
.hero-theme-customizer {
    width: 100%;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}
.customizer-header { display: flex; flex-direction: column; gap: 4px; }
.customizer-badge {
    color: var(--lc-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}
.hero-theme-customizer h3 { margin: 0; font-size: 18px; color: #fff; font-weight: 700; }
.customizer-desc { font-size: 12.5px; color: #c4d7ee; margin: 6px 0 14px; }

.theme-swatches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}
.swatch-btn {
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2.5px solid #fff;
    background-color: var(--swatch) !important;
    background: var(--swatch) !important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s, box-shadow 0.15s;
    justify-self: center;
    padding: 0;
}
.swatch-btn:hover, .swatch-btn[aria-pressed="true"] {
    transform: scale(1.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8);
}
.btn-theme-reset {
    width: 100%;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.btn-theme-reset:hover { background: rgba(255, 255, 255, 0.2); }

.customizer-trust-box {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.customizer-trust-box .trust-shield { font-size: 20px; }
.customizer-trust-box strong { display: block; font-size: 12px; color: #fff; }
.customizer-trust-box small { display: block; font-size: 11px; color: #9bb7de; line-height: 1.3; }

/* ==========================================================================
   Featured Lawyers Section (Mockup Match)
   ========================================================================== */
.page-container {
    max-width: 1320px;
    margin: 40px auto;
    padding: 0 clamp(16px, 4vw, 48px);
}
.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}
.section-heading-row.text-center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.eyebrow-tag {
    color: var(--lc-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.section-heading-row h2 {
    margin: 4px 0 0;
    font-size: clamp(24px, 2.5vw, 32px);
    color: var(--lc-navy);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.heading-action-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--lc-blue);
}
.section-subtext {
    font-size: 15px;
    color: var(--lc-muted);
    max-width: 600px;
    margin: 6px auto 0;
}

.featured-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}
.featured-lawyer-card {
    background: #fff;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-md);
    box-shadow: var(--lc-shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.featured-lawyer-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--lc-shadow-md);
}
.card-media-wrap {
    position: relative;
    width: 100%;
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    flex: 0 0 200px !important;
    overflow: hidden !important;
    background: #e9eff8;
    box-sizing: border-box;
}
.card-avatar-img {
    width: 100% !important;
    height: 100% !important;
    max-height: 200px !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
}
.card-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 48px;
    font-weight: 800;
    color: var(--lc-navy);
    background: linear-gradient(135deg, #e3effd, #c9ddf8);
}
.card-verified-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--lc-blue);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 2;
}
.card-save-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--lc-line);
    color: #dc3545;
    font-size: 16px;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.card-content-wrap {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    background: #ffffff;
    box-sizing: border-box;
}
.card-content-wrap h3,
.card-lawyer-name {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}
.card-content-wrap h3 a,
.card-lawyer-name a {
    color: var(--lc-navy);
    text-decoration: none;
}
.card-content-wrap h3 a:hover,
.card-lawyer-name a:hover {
    color: var(--lc-blue);
}
.card-firm-name,
.card-lawyer-firm {
    margin: 0 0 10px;
    font-size: 12.5px;
    color: var(--lc-muted);
    font-weight: 500;
    line-height: 1.4;
    word-break: break-word;
}
.card-tags-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.specialty-chip,
.card-specialty-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--lc-soft);
    color: var(--lc-blue);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.4;
}
.language-chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: #f1f5f9;
    color: #475569;
    font-size: 11.5px;
    font-weight: 600;
}
.card-meta-line,
.card-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    margin: 8px 0 16px;
    color: var(--lc-muted);
}
.rating-stars,
.card-rating-num { color: #d97706; font-weight: 700; }
.card-actions-grid,
.card-action-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}
.btn-view-profile,
.btn-intake-match {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.15s ease;
}
.btn-view-profile {
    background: var(--lc-blue);
    color: #fff !important;
    border: 1px solid var(--lc-blue);
}
.btn-view-profile:hover {
    background: #1d4ed8;
}
.btn-intake-match {
    background: transparent;
    color: var(--lc-blue) !important;
    border: 1px solid var(--lc-blue);
}
.btn-intake-match:hover {
    background: var(--lc-soft);
}

/* Common Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
    text-align: center;
    text-decoration: none;
}
.btn-primary {
    background: var(--lc-blue);
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(36, 95, 232, 0.25);
}
.btn-primary:hover {
    background: var(--lc-blue-hover);
    transform: translateY(-1px);
}
.btn-secondary {
    background: #e2eaf7;
    color: var(--lc-navy) !important;
}
.btn-secondary:hover { background: #d0def3; }
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--lc-blue);
    color: var(--lc-blue) !important;
}
.btn-outline:hover {
    background: var(--lc-soft);
    border-color: var(--lc-blue-hover);
}
.btn-outline-light {
    background: transparent;
    border: 1.5px solid #fff;
    color: #fff !important;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.15); }
.btn-gold {
    background: linear-gradient(135deg, var(--lc-gold), #e5b230);
    color: #0d223f !important;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(246, 195, 67, 0.35);
}
.btn-gold:hover {
    background: linear-gradient(135deg, #e5b230, #c8971f);
    transform: translateY(-1px);
}
.btn-sm { padding: 7px 12px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius-md); }
.full-width { width: 100%; }

/* ==========================================================================
   Sponsor Showcase Banner (Mockup Thomson Reuters / Westlaw)
   ========================================================================== */
.sponsor-showcase-section { margin-top: 20px; }
.sponsor-showcase-card {
    background: linear-gradient(135deg, #ffffff, #f7faff);
    border: 1px solid var(--lc-line);
    border-left: 4px solid var(--lc-gold);
    border-radius: var(--radius-md);
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-shadow: var(--lc-shadow-sm);
}
.sponsor-card-left h3 { margin: 6px 0 6px; font-size: 20px; color: var(--lc-navy); }
.sponsor-card-left p { margin: 0; color: var(--lc-muted); font-size: 14px; max-width: 750px; }
.sponsored-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    background: #fff8e6;
    color: #b45309;
    border: 1px solid #fde68a;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ==========================================================================
   Popular Legal Categories (Mockup 8-Icon Grid)
   ========================================================================== */
.categories-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}
.category-icon-card {
    background: #fff;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-md);
    padding: 22px;
    text-align: center;
    box-shadow: var(--lc-shadow-sm);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--lc-ink);
}
.category-icon-card:hover {
    transform: translateY(-4px);
    border-color: var(--lc-blue);
    box-shadow: var(--lc-shadow-md);
}
.cat-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--lc-soft);
    display: grid;
    place-items: center;
    font-size: 28px;
    margin-bottom: 14px;
}
.category-icon-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: var(--lc-navy); }
.category-icon-card p { margin: 0 0 14px; font-size: 12.5px; color: var(--lc-muted); }
.cat-explore-link { font-size: 12.5px; font-weight: 700; color: var(--lc-blue); margin-top: auto; }

/* ==========================================================================
   Mid-Page Full Width CTA Banner
   ========================================================================== */
.mid-page-cta-banner {
    background: radial-gradient(circle at 10% 20%, rgba(36, 95, 232, 0.3) 0%, transparent 40%),
                linear-gradient(135deg, var(--lc-navy-deep), #102a4e);
    color: #fff;
    padding: 64px clamp(16px, 4vw, 48px);
    text-align: center;
    margin: 56px 0;
}
.cta-banner-content { max-width: 820px; margin: 0 auto; }
.cta-banner-content h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; margin: 0 0 16px; color: #fff; }
.cta-banner-content p { font-size: 16px; color: #c4d7ee; line-height: 1.6; margin: 0 0 28px; }
.cta-buttons-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ==========================================================================
   Custom Paid Sponsorship Plans Section
   ========================================================================== */
.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 36px;
}
.pricing-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    box-shadow: var(--lc-shadow-sm);
    display: flex;
    flex-direction: column;
}
.pricing-card.is-popular-plan {
    border: 2px solid var(--lc-blue);
    box-shadow: var(--lc-shadow-lg);
    transform: scale(1.02);
}
.popular-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lc-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.05em;
}
.plan-badge-label {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--lc-soft);
    color: var(--lc-blue);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}
.plan-header h3 { margin: 0 0 6px; font-size: 22px; color: var(--lc-navy); }
.plan-desc { color: var(--lc-muted); font-size: 13px; margin: 0 0 20px; min-height: 38px; }
.plan-price-wrap {
    display: flex;
    align-items: baseline;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--lc-line);
}
.plan-price-wrap .currency { font-size: 24px; font-weight: 700; color: var(--lc-navy); }
.plan-price-wrap .price-val { font-size: 42px; font-weight: 800; color: var(--lc-navy); line-height: 1; }
.plan-price-wrap .cycle { font-size: 14px; color: var(--lc-muted); margin-left: 6px; }

.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.plan-features-list li {
    font-size: 13.5px;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.plan-features-list .check-icon {
    color: var(--lc-green);
    font-weight: 800;
}
.plan-footer { margin-top: auto; }

/* ==========================================================================
   Latest Legal Articles Section
   ========================================================================== */
.articles-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}
.article-summary-card {
    background: #fff;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--lc-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.article-summary-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--lc-shadow-md);
}
.article-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.article-cat-pill {
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--lc-soft);
    color: var(--lc-blue);
    font-size: 11.5px;
    font-weight: 700;
}
.article-read-time { font-size: 12px; color: var(--lc-muted); }
.article-summary-card h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.35; }
.article-summary-card h3 a { color: var(--lc-navy); }
.article-summary-card h3 a:hover { color: var(--lc-blue); }
.article-summary-card p {
    color: var(--lc-muted);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 20px;
    flex: 1;
}
.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--lc-line);
    font-size: 12.5px;
}
.article-author { color: #475569; font-weight: 600; }
.read-more-link { font-weight: 700; color: var(--lc-blue); }

/* ==========================================================================
   Directory Page & Inner Pages: Universal 2-Column Sticky Sidebar Layout
   ========================================================================== */
.inner-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
}

.directory-page-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.directory-layout-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

/* Sticky Sidebar Wrapping */
.sidebar-sticky-wrap {
    position: -webkit-sticky;
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Sidebar Sticky Ad Card */
.sidebar-ad-card {
    background: #fff;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--lc-shadow-sm);
    text-align: center;
}
.sidebar-ad-card .ad-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lc-muted);
    margin-bottom: 8px;
}
.fallback-sponsor-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 18px 14px;
}
.fallback-sponsor-box strong { display: block; font-size: 15px; color: var(--lc-navy); margin-bottom: 6px; }
.fallback-sponsor-box p { font-size: 12.5px; color: var(--lc-muted); margin: 0 0 12px; }

/* Sidebar Widgets */
.sidebar-widget {
    background: #fff;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--lc-shadow-sm);
}
.sidebar-widget h3, .sidebar-widget h4 { margin: 0 0 10px; font-size: 16px; color: var(--lc-navy); }
.sidebar-widget p { font-size: 13px; color: var(--lc-muted); line-height: 1.5; margin: 0 0 14px; }
.sidebar-widget .widget-icon { font-size: 26px; margin-bottom: 8px; }

.trust-bullets { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #475569; margin-bottom: 14px; }
.widget-nav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.widget-nav-list a { font-size: 13px; font-weight: 600; color: #334155; }
.widget-nav-list a:hover { color: var(--lc-blue); }

/* Directory Filter Box */
.directory-filter-box {
    background: #fff;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--lc-shadow-sm);
}
.filter-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.filter-header h3 { margin: 0; font-size: 17px; color: var(--lc-navy); }
.reset-link { font-size: 12px; font-weight: 700; color: #dc3545; }
.filter-form { display: flex; flex-direction: column; gap: 14px; }
.filter-group label { display: block; font-size: 12.5px; font-weight: 700; color: #334155; margin-bottom: 5px; }
.form-control {
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: #fff;
    color: var(--lc-ink);
}
.custom-checkbox { display: flex; align-items: center; gap: 8px; font-weight: 600 !important; cursor: pointer; }

/* Directory Results List */
.directory-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.directory-results-bar h1, .directory-results-bar h2 { margin: 0 0 4px; font-size: 26px; color: var(--lc-navy); font-weight: 800; }
.results-count { font-size: 14px; color: var(--lc-muted); margin: 0; }
.trust-pill-badge {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 12px;
    font-weight: 700;
}

/* Directory Lawyer Cards */
.directory-cards-list { display: flex; flex-direction: column; gap: 16px; }
.directory-lawyer-card {
    background: #fff;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--lc-shadow-sm);
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 160px;
    gap: 20px;
    align-items: center;
    transition: transform 0.15s, box-shadow 0.15s;
}
.directory-lawyer-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--lc-shadow-md);
}
.directory-lawyer-card.is-sponsored-card {
    border-color: #fde68a;
    background: linear-gradient(180deg, #fffdf8, #fff);
}

.card-left-avatar {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    background: #e6eef8;
}
.lawyer-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.lawyer-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 38px;
    font-weight: 800;
    color: var(--lc-navy);
    background: linear-gradient(135deg, #e3effd, #c9ddf8);
}
.verified-check-pill {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--lc-blue);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
    border: 2px solid #fff;
}

.card-middle-info { display: flex; flex-direction: column; min-width: 0; }
.card-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.card-title-row h3 { margin: 0; font-size: 18px; font-weight: 800; }
.lawyer-name-link { color: var(--lc-navy); }
.lawyer-name-link:hover { color: var(--lc-blue); }
.lawyer-firm { margin: 0 0 8px; font-size: 13px; color: var(--lc-muted); }

.lawyer-chips-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.card-meta-row { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--lc-muted); }
.rating-meta { color: #d97706; font-weight: 700; }

.card-right-actions { display: flex; flex-direction: column; gap: 8px; }

/* Matched In-Feed Native Ad Card */
.directory-matched-ad-container { margin: 4px 0; }
.matched-partner-card {
    border: 1.5px dashed #93c5fd;
    background: linear-gradient(135deg, #f0f7ff, #ffffff);
}
.partner-placeholder { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #b45309; }
.partner-summary { font-size: 13px; color: #475569; margin: 0; line-height: 1.45; }

/* Pagination */
.directory-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 36px 0 16px;
}
.page-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: #fff;
    border: 1px solid var(--lc-line);
    color: var(--lc-navy);
    font-size: 13px;
    font-weight: 700;
}
.page-link:hover { background: var(--lc-soft); border-color: var(--lc-blue); }
.page-current { font-size: 13.5px; color: var(--lc-muted); font-weight: 600; }

/* ==========================================================================
   Lawyer Profile Page Layout
   ========================================================================== */
.profile-page-layout { display: flex; flex-direction: column; gap: 24px; }
.profile-breadcrumb, .directory-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--lc-muted);
    margin-bottom: 8px;
}

.profile-hero-card {
    background: #fff;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--lc-shadow-sm);
}
.profile-hero-inner {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) 220px;
    gap: 28px;
    align-items: center;
}
.profile-hero-avatar {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 16px;
    overflow: hidden;
    background: #e6eef8;
}
.hero-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.hero-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 52px;
    font-weight: 800;
    color: var(--lc-navy);
    background: linear-gradient(135deg, #e3effd, #c9ddf8);
}
.hero-verified-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: var(--lc-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.profile-hero-details h1 { margin: 0 0 4px; font-size: clamp(24px, 3vw, 34px); color: var(--lc-navy); font-weight: 800; }
.hero-firm-name { margin: 0 0 10px; font-size: 15px; color: var(--lc-muted); font-weight: 600; }
.hero-meta-strip { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: #475569; margin-bottom: 12px; }
.rating-gold { color: #d97706; font-weight: 700; }
.state-badge { font-weight: 600; }
.hero-specialties-row { display: flex; flex-wrap: wrap; gap: 8px; }

.profile-hero-actions { display: flex; flex-direction: column; gap: 10px; }

.profile-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}
.profile-main-col { display: flex; flex-direction: column; gap: 24px; }
.profile-section-card {
    background: #fff;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-md);
    padding: 26px;
    box-shadow: var(--lc-shadow-sm);
}
.profile-section-card h2 { margin: 0 0 14px; font-size: 20px; color: var(--lc-navy); font-weight: 800; }
.profile-bio-text { color: #334155; font-size: 14.5px; line-height: 1.8; }

.credentials-badge-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border-radius: var(--radius-sm);
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    margin-bottom: 20px;
}
.credentials-badge-box .cred-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lc-green);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    flex-shrink: 0;
}
.credentials-badge-box strong { color: #065f46; font-size: 14px; display: block; margin-bottom: 3px; }
.credentials-badge-box p { color: #047857; font-size: 12.5px; margin: 0; line-height: 1.45; }

.credentials-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.credentials-table th, .credentials-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--lc-line);
    text-align: left;
}
.credentials-table th { color: var(--lc-muted); font-weight: 600; width: 35%; }
.credentials-table td { color: var(--lc-ink); font-weight: 600; }
.status-active-badge {
    padding: 3px 8px;
    border-radius: 4px;
    background: #dcfce7;
    color: #15803d;
    font-size: 12px;
    font-weight: 700;
}

.map-container-wrap { margin-top: 14px; }
.map-frame { width: 100%; min-height: 340px; border: 1px solid var(--lc-line); border-radius: var(--radius-sm); }
.map-footer-links { margin-top: 10px; }
.map-note { font-size: 12px; color: var(--lc-muted); margin-top: 10px; }
.profile-disclaimer-box {
    padding: 16px;
    border-radius: var(--radius-sm);
    background: #f1f5f9;
    font-size: 12px;
    color: var(--lc-muted);
}

.quick-facts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.quick-facts-list li {
    display: flex;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--lc-line);
    font-size: 12.5px;
}
.quick-facts-list .fact-label { color: var(--lc-muted); font-weight: 600; }
.quick-facts-list .fact-value { font-weight: 700; text-align: right; }
.text-success { color: var(--lc-green) !important; }

.related-lawyer-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--lc-line);
}
.related-lawyer-item:last-child { border-bottom: none; }
.rel-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--lc-soft);
    color: var(--lc-blue);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 15px;
}
.rel-info strong { display: block; font-size: 13px; color: var(--lc-navy); }
.rel-info small { font-size: 11.5px; color: var(--lc-muted); }

/* ==========================================================================
   Inner Pages (About, Contact, Privacy, Consultation, Terms, Cookies)
   ========================================================================== */
.inner-main-column { min-width: 0; }
.page-header-banner { margin-bottom: 24px; }
.page-header-banner h1 { margin: 6px 0 8px; font-size: clamp(26px, 3.2vw, 36px); color: var(--lc-navy); font-weight: 800; }
.page-header-banner .subtitle { font-size: 15px; color: var(--lc-muted); margin: 0; }

.rich-card {
    background: #fff;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--lc-shadow-sm);
}

.core-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0;
}
.pillar-card {
    background: #f8fafc;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-sm);
    padding: 20px;
}
.pillar-icon { font-size: 26px; margin-bottom: 8px; }
.pillar-card h3 { margin: 0 0 6px; font-size: 15px; color: var(--lc-navy); }
.pillar-card p { margin: 0; font-size: 12.5px; color: var(--lc-muted); line-height: 1.5; }

/* Executive Team Section */
.team-section { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--lc-line); }
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.team-member-card {
    background: #f8fafc;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.team-initial {
    display: grid;
    place-items: center;
    background: var(--lc-navy);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
}
.team-member-card h3 { margin: 0 0 4px; font-size: 16px; color: var(--lc-navy); }
.team-role { font-size: 12px; color: var(--lc-blue); font-weight: 700; margin: 0 0 10px; }
.team-bio { font-size: 12px; color: var(--lc-muted); line-height: 1.5; margin: 0 0 12px; }
.team-contact-link { font-size: 12px; font-weight: 700; color: var(--lc-blue); }

/* Contact Page Components */
.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}
.contact-channel-card {
    background: #fff;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--lc-shadow-sm);
    text-align: center;
}
.contact-channel-card .channel-icon { font-size: 28px; margin-bottom: 8px; }
.contact-channel-card h3 { margin: 0 0 6px; font-size: 16px; color: var(--lc-navy); }
.contact-channel-card p { font-size: 12.5px; color: var(--lc-muted); margin: 0 0 10px; }
.channel-link { font-size: 13px; font-weight: 700; color: var(--lc-blue); }
.channel-badge { display: inline-block; padding: 3px 8px; border-radius: 4px; background: #e2e8f0; font-size: 11px; font-weight: 600; color: #475569; }

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 18px;
}
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 12.5px; font-weight: 700; color: #334155; margin-bottom: 6px; }
.form-group .req { color: #dc3545; }
.form-notice { font-size: 12px; color: var(--lc-muted); line-height: 1.5; margin-bottom: 14px; }

.mt-4 { margin-top: 24px; }
.ml-2 { margin-left: 8px; }
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    margin-bottom: 20px;
}
.alert-success { background: #dcfce7; border: 1px solid #86efac; color: #166534; }
.alert-danger { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; }

/* Consultation Page Matches & Step Layout */
.consultation-matches {
    display: grid;
    gap: 10px;
    margin: 16px 0 24px;
}
.consultation-match {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-sm);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s;
}
.consultation-match:hover { border-color: var(--lc-blue); }
.consultation-match label { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.match-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--lc-soft);
    color: var(--lc-blue);
    display: grid;
    place-items: center;
    font-weight: 800;
}
.match-details strong { display: block; font-size: 14px; color: var(--lc-navy); }
.match-details small { font-size: 12px; color: var(--lc-muted); }
.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: #475569;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    border: 1px solid var(--lc-line);
}
.privacy-reminder { font-size: 12px; color: #64748b; margin: 12px 0; }

/* Policy & Cookie Grid */
.cookie-types-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 18px 0;
}
.cookie-type-card {
    padding: 16px;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-sm);
    background: #f8fafc;
}
.cookie-type-card h3 { margin: 0 0 6px; font-size: 15px; color: var(--lc-navy); }
.cookie-type-card p { margin: 0; font-size: 12.5px; color: var(--lc-muted); }

/* ==========================================================================
   Multi-Column Footer Matching Mockup
   ========================================================================== */
.site-footer {
    background: var(--lc-navy-deep);
    color: #c4d7ee;
    padding: 60px 0 0;
    margin-top: 72px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer-inner-multi {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 36px;
}
.footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: 0.02em;
}
.footer-col nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col nav a {
    color: #9bb7de;
    font-size: 13.5px;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-col nav a:hover { color: #fff; text-decoration: underline; }

.footer-brand { margin-bottom: 12px; }
.footer-tagline { font-size: 13px; color: #8faecf; line-height: 1.6; margin: 0 0 18px; max-width: 320px; }
.footer-social-links { display: flex; gap: 10px; }
.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    color: #dbe7f6;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s;
}
.social-icon:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

.footer-disclaimer-bar {
    margin-top: 48px;
    padding: 24px clamp(16px, 4vw, 48px);
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-disclaimer-content { max-width: 1320px; margin: 0 auto; }
.footer-disclaimer-content p { font-size: 11.5px; color: #7693b8; line-height: 1.6; margin: 0 0 14px; }
.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #8da6c6;
}

/* ==========================================================================
   Multi-Device Responsive Engine (Phones, Phablets, Tablets, Laptops & TVs)
   ========================================================================== */

/* Universal Form & Grid Helpers */
.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

/* 1. Large Laptops & Tablets Landscape (<= 1080px) */
@media (max-width: 1080px) {
    .featured-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .categories-icon-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 2. Tablets Portrait & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
    .mockup-hero-inner { grid-template-columns: 1fr; gap: 32px; }
    .hero-left-col { order: 1; }
    .hero-right-col { order: 2; margin-top: 10px; width: 100%; display: flex; justify-content: center; }
    .hero-lawyers-team-card { max-width: 100%; width: 100%; }
    .featured-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .categories-icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pricing-cards-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
    .inner-page-layout, .profile-content-grid { grid-template-columns: 1fr; }
    .directory-layout-grid { grid-template-columns: 1fr; }
    .site-footer-inner-multi { grid-template-columns: 1fr 1fr; gap: 32px; }
    .legalzoom-columns-grid { grid-template-columns: 1fr; }
    .hero-intake-banner-grid { grid-template-columns: 1fr; text-align: center; gap: 20px; }
    .hero-intake-banner-grid .intake-trust-pills { justify-content: center; }
}

/* 3. Phablets & Mobile Landscape (<= 768px) */
@media (max-width: 768px) {
    .page-container {
        margin: 24px auto;
        padding: 0 16px;
    }
    .hero-search-bar { grid-template-columns: 1fr; gap: 8px; }
    .hero-search-btn { width: 100%; padding: 13px; font-size: 15px; }
    .featured-cards-grid { grid-template-columns: 1fr; }
    .directory-lawyer-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 18px 16px;
    }
    .card-left-avatar { margin: 0 auto 10px; }
    .card-title-row, .lawyer-chips-row, .card-meta-row { justify-content: center; }
    .card-right-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        gap: 10px;
        margin-top: 14px;
    }
    .card-right-actions .btn { flex: 1 1 0; }
    .profile-hero-inner { grid-template-columns: 1fr; text-align: center; }
    .profile-hero-avatar { margin: 0 auto; }
    .hero-meta-strip, .hero-specialties-row { justify-content: center; }
    .articles-cards-grid { grid-template-columns: 1fr; }
    .core-pillars-grid, .team-grid, .contact-channels-grid { grid-template-columns: 1fr; }
    .site-footer-inner-multi { grid-template-columns: 1fr; gap: 28px; }
    .form-row-2col { grid-template-columns: 1fr; gap: 12px; }
    .intake-urgency-grid, .intake-next-steps { grid-template-columns: 1fr; }
    .footer-bottom-row {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .directory-results-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* 4. Small Smartphones & Apple/Android Handhelds (<= 480px) */
@media (max-width: 480px) {
    .page-container { padding: 0 12px; }
    .mockup-hero-section { padding: 24px 12px !important; }
    .hero-main-title { font-size: 26px !important; }
    .hero-trust-kicker { font-size: 11.5px; }
    .hero-trust-bullets { flex-direction: column; gap: 6px; }
    .categories-icon-grid { grid-template-columns: 1fr; }
    .card-actions-grid { grid-template-columns: 1fr; }
    .card-right-actions { flex-direction: column; }
    .contact-form-grid { grid-template-columns: 1fr; }
    .cookie-types-grid { grid-template-columns: 1fr; }
    .showcase-photo-frame { height: 200px; }
    .team-stats-row { gap: 6px; }
    .stat-digit { font-size: 17px; }
    .stat-label { font-size: 10px; }
    .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
    .sitemap-links-grid-2 { grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   Google Trends & Popular Searches Pills
   ========================================================================== */
.directory-trending-tags-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    margin-bottom: 20px;
    box-shadow: var(--lc-shadow-sm);
    flex-wrap: wrap;
}
.trending-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--lc-navy);
    white-space: nowrap;
}
.trending-tags-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.trending-tag-pill {
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}
.trending-tag-pill:hover,
.trending-tag-pill.active-tag {
    background: var(--lc-blue);
    border-color: var(--lc-blue);
    color: #fff;
}

/* ==========================================================================
   Law Firm Details & Profile Tabs (LegalConnect PK Style)
   ========================================================================== */
.firm-nav-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 0;
    border-bottom: 2px solid var(--lc-line);
    margin-bottom: 20px;
    scrollbar-width: thin;
}
.firm-nav-tab {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}
.firm-nav-tab:hover,
.firm-nav-tab.active {
    background: var(--lc-navy);
    color: #fff;
}

.firm-practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 14px;
}
.firm-practice-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 18px;
    transition: transform 0.15s, border-color 0.15s;
}
.firm-practice-card:hover {
    transform: translateY(-2px);
    border-color: var(--lc-blue);
}
.practice-card-icon {
    font-size: 24px;
    margin-bottom: 10px;
    display: inline-block;
}
.firm-practice-card h4 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--lc-navy);
}
.firm-practice-card p {
    font-size: 12.5px;
    color: var(--lc-muted);
    line-height: 1.5;
    margin: 0;
}

.firm-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 14px;
}
.firm-team-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 16px;
}
.team-card-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #e3effd, #c9ddf8);
    display: grid;
    place-items: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--lc-navy);
    flex-shrink: 0;
}
.team-card-info h4 {
    margin: 0 0 2px;
    font-size: 15px;
    font-weight: 700;
    color: var(--lc-navy);
}
.team-card-role {
    font-size: 12px;
    color: var(--lc-blue);
    font-weight: 600;
    margin: 0 0 4px;
}
.team-card-bar {
    font-size: 11px;
    color: var(--lc-muted);
    margin: 0;
}

.profile-reviews-summary {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 22px;
    margin-bottom: 20px;
}
.reviews-big-score {
    text-align: center;
}
.score-number {
    font-size: 42px;
    font-weight: 900;
    color: var(--lc-navy);
    line-height: 1;
    margin-bottom: 6px;
}
.score-stars {
    color: #f59e0b;
    font-size: 18px;
    margin-bottom: 4px;
}
.score-count {
    font-size: 12px;
    color: var(--lc-muted);
}
.reviews-bars-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.review-bar-row {
    display: grid;
    grid-template-columns: 120px 1fr 40px;
    gap: 12px;
    align-items: center;
    font-size: 12px;
    color: #475569;
}
.review-meter-track {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}
.review-meter-fill {
    height: 100%;
    background: #f59e0b;
    border-radius: 4px;
}

/* ==========================================================================
   Lead Generation Intake Wizard (LegalConnect App Style)
   ========================================================================== */
.intake-wizard-card {
    background: #fff;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--lc-shadow-sm);
    overflow: hidden;
    margin-bottom: 24px;
}
.intake-stepper-header {
    background: #f8fafc;
    border-bottom: 1px solid var(--lc-line);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.intake-step-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
}
.intake-step-indicator.active {
    color: var(--lc-navy);
}
.step-num-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
}
.intake-step-indicator.active .step-num-circle {
    background: var(--lc-blue);
    color: #fff;
}
.intake-step-divider {
    color: #cbd5e1;
    font-size: 14px;
}
.intake-body {
    padding: 28px;
}
.intake-trust-strip {
    display: flex;
    justify-content: space-around;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 24px;
    font-size: 12.5px;
    font-weight: 700;
    color: #166534;
    flex-wrap: wrap;
    gap: 8px;
}

.intake-urgency-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 6px;
}
.urgency-radio-box {
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
    background: #fff;
}
.urgency-radio-box input { display: none; }
.urgency-radio-box strong { display: block; font-size: 13px; color: var(--lc-navy); }
.urgency-radio-box small { font-size: 11px; color: var(--lc-muted); }
.urgency-radio-box.selected,
.urgency-radio-box:hover {
    border-color: var(--lc-blue);
    background: #eff6ff;
}

.intake-confirmation-box {
    text-align: center;
    padding: 36px 20px;
}
.intake-success-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 38px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    font-weight: 800;
}
.intake-ref-code {
    display: inline-block;
    padding: 6px 16px;
    background: #f1f5f9;
    border: 1px dashed #94a3b8;
    border-radius: var(--radius-pill);
    font-family: monospace;
    font-size: 15px;
    font-weight: 700;
    color: var(--lc-navy);
    margin: 10px 0 20px;
}
.intake-next-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 28px 0;
    text-align: left;
}
.next-step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 16px;
}
.next-step-card .step-idx {
    font-size: 11px;
    font-weight: 800;
    color: var(--lc-blue);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.next-step-card strong {
    display: block;
    font-size: 13.5px;
    color: var(--lc-navy);
    margin-bottom: 4px;
}
.next-step-card p {
    font-size: 12px;
    color: var(--lc-muted);
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   Comprehensive FAQ Component
   ========================================================================== */
.legal-faq-section {
    padding: 48px 0 24px;
    margin-top: 36px;
    border-top: 1px solid var(--lc-line);
}
.faq-container {
    max-width: 960px;
    margin: 0 auto;
}
.faq-accordion-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--lc-line);
    border-radius: var(--radius-md);
    box-shadow: var(--lc-shadow-sm);
    overflow: hidden;
    transition: border-color 0.15s;
}
.faq-item[open] {
    border-color: #93c5fd;
}
.faq-summary {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--lc-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    user-select: none;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary:hover {
    background: #f8fafc;
}
.faq-chevron {
    font-size: 18px;
    color: var(--lc-muted);
    transition: transform 0.2s;
}
.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    color: var(--lc-blue);
}
.faq-answer-content {
    padding: 0 20px 18px;
    color: #475569;
    font-size: 14px;
    line-height: 1.65;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}
.faq-answer-content p { margin: 0; }
.faq-help-cta {
    margin-top: 32px;
    background: linear-gradient(135deg, #1e3a8a, #0f172a);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 24px 28px;
}
.faq-help-cta .cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.faq-help-cta h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: #fff; }
.faq-help-cta p { margin: 0; font-size: 13.5px; color: #cbd5e1; }

@media (max-width: 768px) {
    .intake-urgency-grid,
    .intake-next-steps,
    .profile-reviews-summary {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   LegalZoom-Style 3-Column Knowledge Hub & Legal Tools Architecture
   ========================================================================== */
.legalzoom-hub-section {
    background: #ffffff;
    border-top: 1px solid var(--lc-line);
    border-bottom: 1px solid var(--lc-line);
    padding: 56px 0;
    margin: 40px 0;
}
.legalzoom-columns-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
}
.hub-col {
    display: flex;
    flex-direction: column;
}
.hub-col-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}
.hub-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.hub-links-list li a {
    color: #1e293b;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
    display: inline-block;
}
.hub-links-list li a:hover {
    color: var(--lc-blue);
    transform: translateX(3px);
}
.hub-col-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 2px solid #0f172a;
}
.hub-action-link {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.15s;
}
.hub-action-link:hover {
    color: var(--lc-blue);
}
.btn-pill-black {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #000000;
    color: #ffffff !important;
    border: 2px solid #000000;
    border-radius: 9999px;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.btn-pill-black:hover {
    background: #1e293b;
    border-color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
    .legalzoom-columns-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* Live Lawyer Availability Indicators (Online, Away, Busy) */
.lawyer-availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    width: fit-content;
    margin-bottom: 6px;
}
.lawyer-availability-badge.is-online {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.lawyer-availability-badge.is-online .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35);
    animation: livePulse 1.8s infinite;
}
.lawyer-availability-badge.is-away {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}
.lawyer-availability-badge.is-away .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f59e0b;
}
.lawyer-availability-badge.is-busy {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.lawyer-availability-badge.is-busy .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
}
@keyframes livePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   LAWVETTED 2026 MOBILE RESPONSIVE ENGINE (ZERO-OVERFLOW & TOUCH-OPTIMIZED)
   ========================================================================== */

/* 1. Global Zero-Overflow & Text Wrapping Guard */
html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative !important;
    -webkit-text-size-adjust: 100% !important;
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

img, svg, video, iframe, embed, object {
    max-width: 100% !important;
    height: auto !important;
}

h1, h2, h3, h4, h5, h6, p, span, a, label, li, td, th {
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

/* 2. Global Containers Constraint */
.page-container,
.profile-page-layout,
.directory-page-layout,
.inner-page-layout {
    width: 100% !important;
    max-width: 1320px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

/* 3. Header & Navigation Mobile System */
@media (max-width: 1080px) {
    .site-header {
        padding: 0 14px !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .site-header-inner {
        min-height: 62px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .brand {
        order: 1 !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        gap: 8px !important;
    }
    .brand-copy {
        min-width: 0 !important;
        overflow: hidden !important;
    }
    .brand-copy strong {
        font-size: 17px !important;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .brand-copy small { display: none !important; }
    .header-actions {
        order: 2 !important;
        margin-left: auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }
    .header-theme-dropdown-wrap { display: none !important; }
    .header-lang-btn {
        padding: 6px 10px !important;
        font-size: 12px !important;
        min-height: 36px !important;
    }
    .header-lang-btn .lang-arrow { display: none !important; }
    .header-search-icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }
    .nav-toggle {
        order: 3 !important;
        display: inline-flex !important;
        padding: 7px 12px !important;
        font-size: 13px !important;
        min-height: 36px !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }
}

@media (max-width: 480px) {
    .site-header { padding: 0 10px !important; }
    .site-header-inner { min-height: 56px !important; }
    .brand-mark-gold { width: 32px !important; height: 32px !important; border-radius: 8px !important; }
    .brand-copy strong { font-size: 15px !important; }
    .header-actions { gap: 4px !important; }
    .header-lang-btn { padding: 4px 6px !important; }
    .header-lang-btn .lang-globe-icon { display: none !important; }
    .nav-toggle { padding: 6px 9px !important; font-size: 12px !important; }
}

/* 4. Homepage Hero Section Mobile Adaptation */
@media (max-width: 900px) {
    .mockup-hero-section {
        padding: clamp(24px, 5vw, 44px) 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .mockup-hero-inner {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        width: 100% !important;
    }
    .hero-main-title {
        font-size: clamp(24px, 6.5vw, 36px) !important;
        line-height: 1.2 !important;
    }
    .hero-subtext {
        font-size: 14.5px !important;
        margin-bottom: 20px !important;
    }
    .hero-search-bar {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 10px !important;
        width: 100% !important;
    }
    .search-input-field {
        width: 100% !important;
        min-height: 48px !important;
    }
    .hero-search-btn {
        width: 100% !important;
        min-height: 48px !important;
        padding: 12px !important;
        font-size: 15px !important;
    }
    .hero-right-col {
        width: 100% !important;
        margin-top: 0 !important;
    }
    .hero-lawyers-team-card {
        max-width: 100% !important;
        width: 100% !important;
    }
    .hero-intake-banner-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        padding: 20px 16px !important;
        gap: 16px !important;
    }
    .hero-intake-banner-grid .intake-trust-pills {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    .categories-icon-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

@media (max-width: 480px) {
    .categories-icon-grid {
        grid-template-columns: 1fr !important;
    }
}

/* 5. Attorney Profile Page Mobile Layout (lawyer.php) */
@media (max-width: 860px) {
    .profile-hero-card {
        padding: 18px 14px !important;
        border-radius: 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .profile-hero-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 16px !important;
        width: 100% !important;
    }
    .profile-hero-avatar {
        width: 110px !important;
        height: 110px !important;
        margin: 0 auto !important;
        border-radius: 14px !important;
        flex-shrink: 0 !important;
    }
    .hero-avatar-placeholder {
        font-size: 40px !important;
    }
    .profile-hero-details {
        width: 100% !important;
        text-align: center !important;
    }
    .profile-hero-details h1 {
        font-size: clamp(20px, 5.5vw, 26px) !important;
        line-height: 1.25 !important;
        word-break: break-word !important;
        margin: 0 0 6px !important;
    }
    .hero-firm-name {
        font-size: 13.5px !important;
        margin: 0 0 10px !important;
    }
    .hero-meta-strip {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        font-size: 12px !important;
    }
    .hero-specialties-row {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    .profile-hero-actions {
        width: 100% !important;
        max-width: 380px !important;
        margin: 10px auto 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    .profile-hero-actions .btn {
        width: 100% !important;
        min-height: 46px !important;
        font-size: 14px !important;
        box-sizing: border-box !important;
    }
    .firm-nav-tabs {
        display: flex !important;
        gap: 6px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        white-space: nowrap !important;
        padding: 8px 2px !important;
        scrollbar-width: none !important;
    }
    .firm-nav-tabs::-webkit-scrollbar { display: none !important; }
    .firm-nav-tab {
        flex-shrink: 0 !important;
        padding: 8px 14px !important;
        font-size: 12.5px !important;
    }
    .profile-content-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
    }
    .profile-section-card {
        padding: 18px 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* 6. Directory Page Mobile Layout (lawyers.php) */
@media (max-width: 960px) {
    .directory-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
    }
    .directory-sidebar-col {
        width: 100% !important;
    }
    .directory-filter-box {
        padding: 16px 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .directory-results-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .directory-lawyer-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 20px 14px !important;
        gap: 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .card-left-avatar {
        margin: 0 auto !important;
        width: 80px !important;
        height: 80px !important;
    }
    .card-middle-info {
        width: 100% !important;
        text-align: center !important;
    }
    .card-title-row {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    .lawyer-chips-row {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    .card-meta-row {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    .card-right-actions {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-top: 8px !important;
    }
    .card-right-actions .btn {
        width: 100% !important;
        min-height: 44px !important;
        font-size: 13.5px !important;
        box-sizing: border-box !important;
    }
}

/* 7. Consultation Intake Wizard Mobile Layout (consultation.php) */
@media (max-width: 768px) {
    .intake-stepper-header {
        padding: 12px 14px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .intake-step-divider { display: none !important; }
    .intake-step-indicator {
        font-size: 12.5px !important;
    }
    .intake-body {
        padding: 18px 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .intake-trust-strip {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 6px !important;
        padding: 10px !important;
        font-size: 12px !important;
    }
    .intake-urgency-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .form-row-2col {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .intake-next-steps {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* 8. Pricing & Knowledge Hub Mobile Adaptation */
@media (max-width: 768px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }
    .legalzoom-columns-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .site-footer-inner-multi {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        text-align: center !important;
    }
    .footer-col {
        align-items: center !important;
    }
    .footer-links-list {
        align-items: center !important;
    }
    .footer-bottom-row {
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
    }
}


/* Breadcrumb Safe Touch Horizontal Scroll */
.profile-breadcrumb,
.directory-breadcrumb {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    font-size: 13px !important;
    margin-bottom: 16px !important;
    max-width: 100% !important;
}
.profile-breadcrumb::-webkit-scrollbar,
.directory-breadcrumb::-webkit-scrollbar { display: none !important; }

/* Ensure modal never overflows on small screens */
.lc-modal-card {
    max-width: min(92vw, 440px) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}


/* Force-hide site-nav on mobile when not open */
@media (max-width: 1080px) {
    .site-nav:not(.is-open) {
        display: none !important;
    }
    .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
}

