:root {
    --navy: #0b1630;
    --navy-2: #0d1d3e;
    --royal: #173d91;
    --blue: #1e5eff;
    --gold: #ffc400;
    --orange: #ffaa00;
    --green: #16b890;
    --white: #ffffff;
    --bg: #f7f9fc;
    --text: #15213d;
    --muted: #66738e;
    --border: #dfe6f1;
    --shadow: 0 10px 30px rgba(16, 35, 70, .08);
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: "DM Sans", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.announcement-bar {
    background: #071124;
    color: #eef3ff;
    font-size: 11px;
    min-height: 31px;
}

.announcement-container {
    width: 100%;
    min-height: 31px;
    padding: 0 16px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.announcement-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.announcement-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    color: #d6deef;
    white-space: nowrap;
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--gold);
    font-weight: 700;
    white-space: nowrap;
}

.announcement-message {
    color: #d8e1f5;
}

.announcement-text {
    color: #d8e1f5;
    white-space: nowrap;
}

.announcement-spec,
.announcement-helpline,
.announcement-language {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.announcement-right i {
    color: var(--gold);
}

.language-link {
    color: #e9efff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid #e7ebf2;
    transition: box-shadow .25s ease;
}

    .site-header.scrolled {
        box-shadow: 0 7px 24px rgba(10, 25, 55, .11);
    }

.nav-container {
    min-height: 73px;
    display: flex;
    align-items: center;
    gap: 25px;
}

@media (max-width: 768px) {
    .announcement-container {
        flex-wrap: wrap;
        gap: 5px 15px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .announcement-left,
    .announcement-right {
        flex-wrap: wrap;
    }

    .announcement-right {
        justify-content: flex-start;
    }
}

.brand {
    display: flex;
    align-items: center;
    min-width: 255px;
}

.brand-mark,
.footer-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--royal);
    color: white;
    font-size: 20px;
    flex: 0 0 auto;
}

.brand-copy {
    margin-left: 9px;
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-name {
    font-family: "Playfair Display", serif;
    font-size: 18px;
    font-weight: 800;
    color: #18243d;
    white-space: nowrap;
}

    .brand-name b {
        margin-left: 5px;
        font-family: "DM Sans", sans-serif;
        font-size: 9px;
        font-weight: 700;
        color: #9a6900;
        background: #fff3cc;
        border: 1px solid #f2d27a;
        border-radius: 5px;
        padding: 3px 5px;
        vertical-align: middle;
    }

.brand-copy small {
    margin-top: 4px;
    font-size: 8px;
    color: #8290a8;
    letter-spacing: .15px;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.nav-link {
    padding: 10px 9px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    color: #4b5973;
    text-align: center;
}

    .nav-link:hover,
    .nav-link.active {
        color: var(--royal);
        background: #eff4ff;
    }

.desktop-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.btn-login,
.btn-register,
.btn-consultation {
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-login {
    background: #f3f6fb;
    color: #243656;
    border: 1px solid #e0e7f1;
}

.btn-register {
    color: white;
    background: var(--royal);
}

.btn-consultation {
    color: #101d34;
    background: var(--orange);
    border: 1px solid #e19a00;
}

    .btn-login:hover,
    .btn-register:hover,
    .btn-consultation:hover,
    .btn-search:hover,
    .btn-ai:hover,
    .btn-consult:hover {
        transform: translateY(-2px);
    }

.visitor-card {
    min-width: 92px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 9px;
    border-radius: 11px;
    background: #f6f9fd;
    border: 1px solid #dbe3ef;
}

.visitor-dot {
    width: 7px;
    height: 7px;
    background: #14b77f;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #dff8ef;
}

.visitor-card span:last-child {
    display: flex;
    flex-direction: column;
}

.visitor-card strong {
    font-size: 10px;
    color: #33415c;
}

.visitor-card b {
    font-size: 9px;
    color: #65748d;
}

.visitor-card small {
    font-size: 8px;
    color: #7a88a0;
    margin-top: 1px;
}

.mobile-menu-toggle,
.mobile-nav-actions {
    display: none;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #173d91 0%, #102d72 52%, #091a3d 100%);
    color: white;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .19;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.4) 1px, transparent 1.5px);
    background-size: 18px 18px;
    mask-image: linear-gradient(to bottom, #000, rgba(0,0,0,.45));
}

.hero-container {
    position: relative;
    padding: 55px 0 43px;
    text-align: center;
}

.hero-badge,
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255,196,0,.65);
    background: rgba(255,196,0,.08);
    color: var(--gold);
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.hero-title {
    margin: 18px 0 15px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(39px, 5vw, 55px);
    line-height: 1.04;
    letter-spacing: -.8px;
}

    .hero-title span {
        color: var(--gold);
    }

.hero-subtitle {
    margin: 0 auto;
    max-width: 800px;
    color: #e0e8f8;
    font-size: 14px;
    line-height: 1.75;
}

.lawyer-search-panel {
    width: min(770px, 100%);
    margin: 27px auto 0;
    padding: 17px;
    border-radius: 15px;
    background: #f9fbff;
    box-shadow: 0 18px 45px rgba(2, 13, 35, .25);
    color: var(--text);
    text-align: left;
}

.search-fields {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1.1fr auto;
    gap: 8px;
}

.search-control {
    min-width: 0;
    height: 40px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    background: white;
}

    .search-control i {
        color: var(--blue);
        font-size: 14px;
    }

    .search-control select,
    .search-control input {
        width: 100%;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: #394762;
        font-size: 11px;
    }

    .search-control select {
        cursor: pointer;
    }

    .search-control input::placeholder {
        color: #8a96aa;
    }

.btn-search {
    border: 0;
    border-radius: 10px;
    padding: 0 20px;
    background: var(--royal);
    color: white;
    font-size: 11px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease;
}

.popular-searches {
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid #e5eaf2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.popular-label {
    font-size: 10px;
    color: #76839a;
    font-weight: 700;
}

.popular-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.popular-pill {
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    background: #f4f7fb;
    color: #4d5b74;
    padding: 5px 9px;
    font-size: 9px;
    cursor: pointer;
    transition: all .2s ease;
}

    .popular-pill:hover {
        color: var(--royal);
        border-color: #b7c9ed;
        background: #edf3ff;
    }

.quick-actions {
    width: min(770px, 100%);
    margin: 22px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.quick-action {
    min-height: 62px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(151,180,233,.25);
    border-radius: 12px;
    background: rgba(7, 20, 50, .34);
    color: white;
    text-align: left;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

    .quick-action:hover {
        transform: translateY(-2px);
        border-color: rgba(255,255,255,.38);
        background: rgba(7, 20, 50, .52);
    }

.quick-action-gold {
    border-color: rgba(255,196,0,.52);
}

.quick-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 10px;
    background: rgba(30,94,255,.24);
    color: #79a2ff;
}

.quick-action-gold .quick-icon {
    color: var(--gold);
    background: rgba(255,196,0,.15);
}

.quick-icon-green {
    color: #31d4ac;
    background: rgba(22,184,144,.13);
}

.quick-action strong {
    display: block;
    font-size: 11px;
    line-height: 1.25;
}

    .quick-action strong em {
        color: var(--gold);
        font-style: normal;
    }

.quick-action small {
    display: block;
    margin-top: 3px;
    color: #b7c4dc;
    font-size: 9px;
}

.hero-stats {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.hero-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .hero-stat + .hero-stat::before {
        content: "";
        position: absolute;
        left: 0;
        top: 9px;
        width: 1px;
        height: 35px;
        background: rgba(255,255,255,.13);
    }

    .hero-stat strong {
        font-family: "Playfair Display", Georgia, serif;
        font-size: 25px;
        line-height: 1;
    }

    .hero-stat .gold-number {
        color: var(--gold);
    }

    .hero-stat span {
        margin-top: 5px;
        color: #d3dcf0;
        font-size: 9px;
    }

.content-section {
    padding: 46px 0;
    background: var(--bg);
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 13px;
    border-bottom: 1px solid #dde5ef;
}

    .section-heading-row h2 {
        margin: 0;
        font-family: "Playfair Display", Georgia, serif;
        color: #15233e;
        font-size: 25px;
    }

    .section-heading-row p {
        margin: 4px 0 0;
        color: #687792;
        font-size: 10px;
    }

.section-link {
    color: var(--blue);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

    .section-link i {
        margin-left: 4px;
    }

.domain-grid {
    margin-top: 21px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.domain-card {
    min-height: 98px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 8px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: white;
    box-shadow: 0 3px 10px rgba(20, 40, 80, .035);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .domain-card:hover {
        transform: translateY(-4px);
        border-color: #b7c8e8;
        box-shadow: var(--shadow);
    }

.domain-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--blue);
    background: #edf3ff;
    font-size: 15px;
}

.domain-card strong {
    color: #1d2a43;
    font-size: 10px;
}

.domain-card small {
    margin-top: 4px;
    color: #718099;
    font-size: 8px;
}

.advocates-section {
    padding-top: 0;
}

.advocate-grid {
    margin-top: 21px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.advocate-card {
    padding: 13px;
    background: white;
    border: 1px solid #dce4ef;
    border-radius: 13px;
    box-shadow: 0 4px 14px rgba(20, 42, 80, .045);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .advocate-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 34px rgba(20, 42, 80, .10);
    }

.advocate-top {
    display: flex;
    gap: 10px;
}

.lawyer-avatar {
    position: relative;
    width: 58px;
    height: 67px;
    flex: 0 0 auto;
    border-radius: 10px;
    overflow: visible;
    display: grid;
    place-items: center;
    color: white;
    font-family: "Playfair Display", serif;
    font-size: 21px;
    font-weight: 700;
    box-shadow: inset 0 -15px 30px rgba(0,0,0,.12);
}

.avatar-one {
    background: linear-gradient(145deg, #b7d1e6, #415e7b);
}

.avatar-two {
    background: linear-gradient(145deg, #e5a25d, #5e3e39);
}

.avatar-three {
    background: linear-gradient(145deg, #7c93dd, #262f5e);
}

.verified-avatar {
    position: absolute;
    right: -5px;
    bottom: -5px;
    color: var(--royal);
    background: white;
    border-radius: 50%;
    font-size: 15px;
}

.advocate-summary {
    min-width: 0;
    flex: 1;
}

.name-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

    .name-rating h3 {
        overflow: hidden;
        margin: 0;
        color: #173675;
        font-family: "Playfair Display", Georgia, serif;
        font-size: 15px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.rating {
    margin-left: auto;
    flex: 0 0 auto;
    padding: 3px 6px;
    border: 1px solid #efcf73;
    border-radius: 999px;
    color: #805e00;
    background: #fffaf0;
    font-size: 9px;
    font-weight: 700;
}

    .rating i {
        color: #f1b700;
    }

    .rating small {
        color: #927d48;
        font-size: 8px;
    }

.meta-row {
    margin-top: 7px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #687792;
    font-size: 8px;
}

    .meta-row i,
    .location-row i {
        color: var(--blue);
    }

.location-row {
    margin-top: 5px;
    color: #50617e;
    font-size: 9px;
}

.practice-tags {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.practice-tag {
    padding: 5px 7px;
    border-radius: 5px;
    color: #2551a0;
    background: #edf4ff;
    border: 1px solid #d7e5fb;
    font-size: 8px;
    font-weight: 600;
}

.advocate-info-box {
    margin-top: 11px;
    padding: 9px;
    border-radius: 9px;
    border: 1px solid #e3e8f0;
    background: #f8fafc;
    color: #60708b;
    font-size: 8px;
    line-height: 1.55;
}

    .advocate-info-box > div + div {
        margin-top: 3px;
    }

    .advocate-info-box i {
        margin-right: 3px;
        color: #7585a0;
    }

    .advocate-info-box strong {
        color: #4a5871;
    }

.availability {
    color: #15916f;
}

    .availability i {
        color: #16a47e;
    }

.advocate-footer {
    margin-top: 11px;
    padding-top: 10px;
    border-top: 1px solid #edf0f4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.fee-block small {
    display: block;
    color: #8994a7;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .7px;
}

.fee-block strong {
    display: block;
    margin-top: 3px;
    color: #173d91;
    font-size: 14px;
}

    .fee-block strong span {
        color: #77839a;
        font-size: 8px;
        font-weight: 400;
    }

.advocate-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-profile,
.btn-consult {
    border-radius: 9px;
    padding: 8px 9px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.btn-profile {
    border: 1px solid #dfe6f0;
    background: #f4f7fb;
    color: #30415f;
}

.btn-consult {
    color: white;
    background: var(--royal);
    border: 1px solid var(--royal);
    transition: transform .2s ease, box-shadow .2s ease;
}

.ai-section-wrap {
    padding: 0 0 45px;
    background: var(--bg);
}

.ai-cta {
    padding: 27px 29px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: linear-gradient(120deg, #173d91, #10285f);
    box-shadow: 0 12px 30px rgba(15, 40, 95, .16);
    color: white;
}

.ai-badge {
    font-size: 9px;
}

.ai-cta h2 {
    margin: 9px 0 5px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 23px;
}

.ai-cta p {
    max-width: 690px;
    margin: 0;
    color: #d7e0f2;
    font-size: 10px;
    line-height: 1.7;
}

.btn-ai {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: var(--orange);
    color: #101d34;
    font-size: 10px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}

.site-footer {
    padding: 43px 0 18px;
    background: #0b1428;
    color: #d7dfed;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
    gap: 42px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: white;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 17px;
}

.footer-brand-mark {
    width: 34px;
    height: 34px;
    font-size: 17px;
    border-radius: 9px;
}

.footer-about p {
    margin: 14px 0 15px;
    max-width: 390px;
    color: #aebbd0;
    font-size: 10px;
    line-height: 1.75;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

    .footer-badges span {
        padding: 6px 8px;
        border: 1px solid #34445f;
        border-radius: 7px;
        color: #e2e9f5;
        font-size: 8px;
    }

    .footer-badges i {
        color: var(--gold);
    }

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .footer-column h3 {
        margin: 1px 0 11px;
        color: white;
        font-family: "Playfair Display", Georgia, serif;
        font-size: 11px;
    }

    .footer-column a {
        margin-bottom: 7px;
        color: #9eacc2;
        font-size: 9px;
        transition: color .2s ease;
    }

        .footer-column a:hover {
            color: white;
        }

    .footer-column em {
        margin-left: 3px;
        padding: 2px 4px;
        border-radius: 4px;
        color: #151f35;
        background: var(--gold);
        font-style: normal;
        font-size: 7px;
    }

.footer-contact-box {
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    border: 1px solid #34445f;
    border-radius: 9px;
    background: #121f37;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 8px;
}

    .footer-contact-box strong {
        color: var(--gold);
    }

    .footer-contact-box span {
        color: #b4c0d3;
    }

    .footer-contact-box i {
        width: 13px;
        color: #8494b0;
    }

.footer-disclaimer {
    margin-top: 31px;
    padding-top: 18px;
    border-top: 1px solid #263550;
    color: #8997ae;
    font-size: 8px;
    line-height: 1.75;
}

    .footer-disclaimer strong {
        color: #dbe2ef;
    }

.footer-bottom {
    margin-top: 16px;
    padding-top: 13px;
    border-top: 1px solid #263550;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #7f8ca2;
    font-size: 8px;
}

    .footer-bottom div {
        display: flex;
        gap: 15px;
    }

    .footer-bottom a:hover {
        color: white;
    }

.placeholder-page {
    min-height: 65vh;
    padding: 80px 0;
    background: var(--bg);
}

.placeholder-card {
    max-width: 650px;
    margin: auto;
    padding: 45px;
    text-align: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

    .placeholder-card h1 {
        margin: 20px 0 10px;
        font-family: "Playfair Display", serif;
    }

    .placeholder-card p {
        color: var(--muted);
        line-height: 1.7;
        margin-bottom: 25px;
    }

@media (max-width: 1100px) {
    .nav-container {
        gap: 12px;
    }

    .brand {
        min-width: 225px;
    }

    .nav-link {
        padding-inline: 6px;
        font-size: 11px;
    }

    .desktop-actions {
        gap: 4px;
    }

    .visitor-card {
        display: none;
    }

    .domain-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .announcement-message {
        display: none;
    }

    .main-navigation {
        gap: 0;
    }

    .nav-link {
        font-size: 10px;
    }

    .desktop-actions .btn-consultation {
        display: none;
    }

    .advocate-grid {
        grid-template-columns: 1fr;
    }

    .advocate-card {
        max-width: 650px;
        width: 100%;
        margin-inline: auto;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 26px, 560px);
    }

    .announcement-inner {
        justify-content: center;
    }

    .announcement-right span:nth-child(1),
    .announcement-right span:nth-child(2) {
        display: none;
    }

    .nav-container {
        min-height: 64px;
        justify-content: space-between;
    }

    .brand {
        min-width: 0;
    }

    .brand-name {
        font-size: 17px;
    }

    .desktop-actions {
        display: none;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border: 1px solid #dbe3ef;
        border-radius: 9px;
        background: #f5f8fc;
        color: var(--royal);
        font-size: 20px;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 13px 14px;
        background: white;
        border-bottom: 1px solid #dbe3ef;
        box-shadow: 0 15px 25px rgba(20, 40, 80, .11);
    }

        .main-navigation.open {
            display: flex;
        }

    .nav-link {
        padding: 12px;
        text-align: left;
        font-size: 12px;
    }

    .mobile-nav-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 7px;
        margin-top: 7px;
    }

        .mobile-nav-actions .btn-consultation {
            grid-column: 1 / -1;
            text-align: center;
        }

    .hero-container {
        padding: 38px 0 30px;
    }

    .hero-title {
        font-size: 37px;
    }

    .hero-subtitle {
        font-size: 12px;
    }

    .search-fields {
        grid-template-columns: 1fr;
    }

    .search-control {
        height: 43px;
    }

    .btn-search {
        height: 43px;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 22px;
    }

    .hero-stat + .hero-stat::before {
        display: none;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

        .section-heading-row h2 {
            font-size: 22px;
        }

    .domain-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 23px;
    }

    .btn-ai {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 27px;
    }

    .footer-bottom {
        flex-direction: column;
    }

        .footer-bottom div {
            flex-wrap: wrap;
        }
}

@media (max-width: 430px) {
    .brand-copy small {
        display: none;
    }

    .brand-name {
        font-size: 16px;
    }

    .hero-title {
        font-size: 33px;
    }

    .domain-grid {
        grid-template-columns: 1fr;
    }

    .popular-searches {
        align-items: flex-start;
        flex-direction: column;
    }

    .advocate-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .advocate-buttons {
        width: 100%;
    }

    .btn-profile,
    .btn-consult {
        flex: 1;
        text-align: center;
    }
}
/* =========================================================
   AUTHENTICATION MODAL
   ========================================================= */

.auth-modal-dialog {
    max-width: 520px;
}

.auth-modal-content {
    border: none;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}


/* HEADER */

.auth-modal-header {
    position: relative;
    background: #24459a;
    color: white;
    padding: 22px 22px 20px;
}

.auth-badge {
    display: inline-block;
    background: #f7c600;
    color: #111;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 9px;
    border-radius: 3px;
    letter-spacing: .2px;
    margin-bottom: 8px;
}

.auth-modal-header h2 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.auth-modal-header p {
    margin: 5px 0 0;
    color: rgba(255,255,255,.9);
    font-size: 12px;
}

.auth-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .auth-close:hover {
        background: rgba(255,255,255,.25);
    }


/* CLIENT / ADVOCATE TABS */

.auth-user-tabs {
    display: flex;
    background: #f1f4f8;
    padding: 5px;
    gap: 5px;
}

.auth-user-tab {
    flex: 1;
    border: none;
    background: transparent;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #52627a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .auth-user-tab i {
        font-size: 14px;
    }

    .auth-user-tab:first-child i {
        color: #f28c00;
    }

    .auth-user-tab:last-child i {
        color: #00a878;
    }

    .auth-user-tab.active {
        background: #fff;
        color: #173d91;
        box-shadow: 0 2px 8px rgba(0,0,0,.06);
    }


/* BODY */

.auth-modal-body {
    background: #fff;
    padding: 20px 22px 22px;
}


/* FORM */

.auth-form-group {
    margin-bottom: 14px;
}

    .auth-form-group label {
        display: block;
        margin-bottom: 6px;
        font-size: 11px;
        font-weight: 800;
        color: #3e4d66;
        letter-spacing: .35px;
    }

.auth-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .auth-label-row label {
        margin-bottom: 6px;
    }

.forgot-password {
    font-size: 11px;
    font-weight: 700;
    color: #1551d1;
    text-decoration: none;
}

    .forgot-password:hover {
        text-decoration: underline;
    }


/* INPUT */

.auth-input {
    position: relative;
}

    .auth-input i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #91a0b5;
        font-size: 14px;
        pointer-events: none;
    }

    .auth-input input {
        width: 100%;
        height: 42px;
        border: 1px solid #d9e1ec;
        border-radius: 10px;
        background: #f8fafc;
        padding: 0 12px 0 35px;
        outline: none;
        font-size: 12px;
        color: #27364e;
    }

        .auth-input input:focus {
            border-color: #24459a;
            background: #fff;
            box-shadow: 0 0 0 3px rgba(36,69,154,.08);
        }

        .auth-input input::placeholder {
            color: #98a4b5;
        }


/* SELECT */

.auth-form-group select {
    width: 100%;
    height: 42px;
    border: 1px solid #d9e1ec;
    border-radius: 10px;
    background: #f8fafc;
    padding: 0 12px;
    outline: none;
    font-size: 12px;
    color: #27364e;
}

    .auth-form-group select:focus {
        border-color: #24459a;
        background: #fff;
    }


/* TWO COLUMNS */

.auth-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}


/* PRIMARY BUTTON */

.auth-primary-button {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 10px;
    background: #24459a;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: .2s ease;
}

    .auth-primary-button:hover {
        background: #19377f;
    }

    .auth-primary-button i {
        font-size: 15px;
    }


/* DIVIDER */

.auth-divider {
    height: 1px;
    background: #edf0f4;
    margin: 14px 0;
}


/* BOTTOM */

.auth-bottom-text {
    text-align: center;
    color: #718098;
    font-size: 11px;
}

    .auth-bottom-text a {
        color: #1246bd;
        font-weight: 800;
        text-decoration: none;
    }

        .auth-bottom-text a:hover {
            text-decoration: underline;
        }


/* HIDE PANEL */

.auth-panel.d-none {
    display: none !important;
}


/* MOBILE */

@media (max-width: 576px) {

    .auth-modal-dialog {
        margin: 12px;
    }

    .auth-modal-header {
        padding: 18px;
    }

    .auth-modal-body {
        padding: 18px;
    }

    .auth-modal-header h2 {
        font-size: 20px;
    }

    .auth-two-column {
        grid-template-columns: 1fr;
        gap: 0;
    }
}



.active-user-dropdown {
    position: relative;
}

.active-user-trigger {
    min-width: 155px;
    min-height: 48px;
    padding: 6px 10px;
    border: 1px solid #dce5f2;
    border-radius: 12px;
    background: #f8faff;
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    color: #172b4d;
}

    .active-user-trigger:hover {
        background: #f1f5fb;
    }

.active-user-avatar,
.logged-user-avatar {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: #17469e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.active-user-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    line-height: 1.15;
}

    .active-user-content strong {
        max-width: 105px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 12px;
    }

    .active-user-content small {
        margin-top: 3px;
        font-size: 10px;
        color: #64748b;
    }

.active-user-chevron {
    margin-left: auto;
    font-size: 11px;
    color: #64748b;
}

.active-user-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 275px;
    background: #fff;
    border: 1px solid #dce5f2;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(15, 35, 70, .16);
    overflow: hidden;
    display: none;
    z-index: 99999;
}

    .active-user-menu.show {
        display: block;
    }

.active-user-menu-header {
    padding: 12px 15px 8px;
    background: #f8faff;
}

.active-user-menu-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #7b8aa5;
}

.active-user-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    text-decoration: none;
    color: #172b4d;
}

    .active-user-option:hover {
        background: #f6f9fd;
    }

.active-user-option-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    background: #edf4ff;
    color: #17469e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.active-user-option-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

    .active-user-option-text strong {
        font-size: 12px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .active-user-option-text small {
        font-size: 10px;
        color: #7b8aa5;
        margin-top: 2px;
    }

.active-user-check {
    color: #159447;
    font-size: 14px;
}

.active-user-menu-divider {
    height: 1px;
    background: #edf1f6;
}

.active-user-menu-link {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    border: 0;
    background: transparent;
    text-decoration: none;
    color: #263957;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}

    .active-user-menu-link:hover {
        background: #f6f9fd;
    }

    .active-user-menu-link.logout {
        color: #c0392b;
    }

.active-user-logout-form {
    margin: 0;
}

.logged-user-mobile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #dce5f2;
    border-radius: 10px;
    text-decoration: none;
    background: #f8faff;
}

.logged-user-info {
    display: flex;
    flex-direction: column;
}

    .logged-user-info strong {
        font-size: 12px;
        color: #172b4d;
    }

    .logged-user-info small {
        font-size: 10px;
        color: #64748b;
    }

.mobile-logout-form {
    margin: 0;
}

    .mobile-logout-form button {
        width: 100%;
        border: 0;
        text-align: left;
    }
.adv-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 5px;
    background: #16a085;
    color: #fff;
    border-radius: 20px;
    padding: 4px 8px;
    font-size: 10px;
    vertical-align: middle;
}

.adv-pending-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 5px;
    background: #fff4d8;
    color: #9b7100;
    border: 1px solid #f3d27a;
    border-radius: 20px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    vertical-align: middle;
}


.bg-primary {
    background-color: rgb(0 39 96) !important;
}

.btn-primary {
    background-color: rgb(0 39 96) !important;
    border-color: rgb(0 39 96) !important;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active {
        background-color: rgb(0 39 96) !important;
        border-color: rgb(0 39 96) !important;
    }

.btn-outline-primary {
    color: rgb(0 39 96) !important;
    border-color: rgb(0 39 96) !important;
}

    .btn-outline-primary:hover,
    .btn-outline-primary:focus,
    .btn-outline-primary:active {
        color: #fff !important;
        background-color: rgb(0 39 96) !important;
        border-color: rgb(0 39 96) !important;
    }

.text-primary {
    color: rgb(0 39 96) !important;
}

.border-primary {
    border-color: rgb(0 39 96) !important;
}

/* Advocate card details */

.advocate-details {
    min-width: 0;
    flex: 1 1 auto;
}

.advocate-name-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.advocate-name {
    min-width: 0;
    flex: 1 1 auto;
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Verified badge inside advocate cards only */

.advocate-card .advocate-verified-badge {
    position: static !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    max-width: 100%;
    margin: 0;
    padding: 4px 8px;
    border: 1px solid #198754;
    border-radius: 6px;
    background: #198754;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap !important;
    overflow: visible;
    z-index: 1;
}

    .advocate-card .advocate-verified-badge i {
        margin-right: 3px;
        font-size: 10px;
    }


/* =========================================================
   ADVOCATE PROFILE POPUP
   ========================================================= */

.advocate-profile-modal {
    width: 100%;
    max-width: 100%;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    color: #172033;
}

.advocate-profile-header {
    position: relative;
    padding: 28px 30px 0;
    background: linear-gradient(135deg, #071d49, #123d7a);
    color: #ffffff;
}

.advocate-profile-photo-wrapper {
    position: relative;
    flex: 0 0 auto;
}

.advocate-profile-photo,
.advocate-profile-initial {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    background: #dbeafe;
}

.advocate-profile-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #123d7a;
    font-size: 38px;
    font-weight: 700;
}

/* Popup-only verified icon */

.advocate-profile-verified-badge {
    position: absolute;
    right: -4px;
    bottom: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #198754;
    color: #ffffff;
    font-size: 14px;
    z-index: 2;
}

.advocate-profile-header h3 {
    color: #ffffff;
    font-size: 25px;
    font-weight: 700;
}

.advocate-profile-specialization {
    margin-bottom: 8px;
    color: #dbeafe;
    font-size: 14px;
}

.advocate-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: #e5edff;
    font-size: 13px;
}

.advocate-profile-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 25px;
}

    .advocate-profile-tabs button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-height: 36px;
        padding: 10px 14px;
        border: 0;
        border-bottom: 3px solid transparent;
        background: transparent;
        color: #dbeafe;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
    }

        .advocate-profile-tabs button.active,
        .advocate-profile-tabs button:hover {
            border-bottom-color: #fbbf24;
            color: #ffffff;
        }

.advocate-profile-body {
    padding: 25px 30px;
    background: #f8fafc;
    overflow-x: hidden;
}

.advocate-info-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
}

    .advocate-info-card h5 {
        margin-bottom: 12px;
        color: #172033;
        font-size: 17px;
        font-weight: 700;
    }

    .advocate-info-card p {
        margin-bottom: 0;
        color: #526174;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

.advocate-stat-card {
    height: 100%;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
}

    .advocate-stat-card small {
        display: block;
        margin-bottom: 8px;
        color: #64748b;
        font-size: 11px;
        font-weight: 700;
    }

    .advocate-stat-card strong {
        color: #172033;
        font-size: 18px;
    }

.profile-tag {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 20px;
    background: #e8f0ff;
    color: #174ea6;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 576px) {

    .advocate-name-row {
        align-items: flex-start;
        gap: 6px;
    }

    .advocate-card .advocate-verified-badge {
        flex-shrink: 0 !important;
        padding: 3px 6px;
        font-size: 9px;
    }

    .advocate-profile-header {
        padding: 22px 18px 0;
    }

    .advocate-profile-body {
        padding: 18px;
    }

    .advocate-profile-photo,
    .advocate-profile-initial {
        width: 78px;
        height: 78px;
    }

    .advocate-profile-header h3 {
        font-size: 20px;
    }

    .advocate-profile-tabs button {
        padding: 9px 8px;
        font-size: 11px;
    }
}
.advocate-profile-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
}

    .advocate-profile-tabs .advocate-profile-tab {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-height: 36px;
        padding: 10px 14px;
        border: 0;
        border-bottom: 3px solid transparent;
        background: transparent;
        color: #dbeafe;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.3;
        text-decoration: none;
        cursor: pointer;
    }

        .advocate-profile-tabs .advocate-profile-tab.active,
        .advocate-profile-tabs .advocate-profile-tab:hover {
            border-bottom-color: #fbbf24;
            color: #ffffff;
        }

    .advocate-profile-tabs .advocate-profile-book-link {
        white-space: normal;
    }

.advocate-profile-tab-content,
[data-profile-panel] {
    width: 100%;
}

@media (max-width: 576px) {

    .advocate-profile-tabs {
        gap: 4px;
    }

        .advocate-profile-tabs .advocate-profile-tab {
            padding: 9px 8px;
            font-size: 11px;
        }
}

.adv-form-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #344054;
    margin-bottom: 6px;
}

.adv-article-input {
    border: 1px solid #d9e1ec;
    border-radius: 8px;
    font-size: 12px;
    color: #1d2939;
    padding: 10px 12px;
}

    .adv-article-input:focus {
        border-color: #21469b;
        box-shadow: 0 0 0 3px rgba(33, 70, 155, .10);
    }

#write-article-pane .adv-content-card {
    max-width: 100%;
}