:root {
    --navy-950: #071426;
    --navy-900: #0b1e36;
    --navy-800: #102b4c;
    --navy-700: #173b63;
    --gold-600: #a97728;
    --gold-500: #bf8c37;
    --gold-100: #f7ecd8;
    --ivory: #fbfaf6;
    --surface: #ffffff;
    --slate-900: #172033;
    --slate-700: #3f4a5d;
    --slate-600: #5b6576;
    --slate-500: #778091;
    --slate-300: #d7dce4;
    --slate-200: #e9ecf1;
    --slate-100: #f5f6f8;
    --success: #087a5b;
    --whatsapp: #128c63;
    --shadow-sm: 0 10px 30px rgba(7, 20, 38, 0.07);
    --shadow-md: 0 20px 60px rgba(7, 20, 38, 0.12);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Cairo", Tahoma, Arial, sans-serif;
    color: var(--slate-900);
    background: var(--ivory);
    line-height: 1.75;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 250, 246, 0.94);
    border-bottom: 1px solid rgba(11, 30, 54, 0.08);
    backdrop-filter: blur(18px);
}

.header-wrapper {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--gold-500);
    background: var(--navy-900);
    box-shadow: 0 10px 24px rgba(7, 20, 38, 0.16);
}

.brand-icon svg {
    width: 26px;
    height: 26px;
}

.brand-content {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.brand-content strong {
    font-size: 16px;
    color: var(--navy-900);
}

.brand-content small {
    color: var(--slate-500);
    font-size: 11px;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-navigation > a {
    position: relative;
    color: var(--slate-700);
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
}

.main-navigation > a:not(.nav-login)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -9px;
    width: 0;
    height: 2px;
    background: var(--gold-500);
    transition: width 0.2s ease;
}

.main-navigation > a:hover,
.main-navigation > a.active {
    color: var(--navy-900);
}

.main-navigation > a:hover::after,
.main-navigation > a.active::after {
    width: 100%;
}

.nav-login {
    padding: 11px 19px;
    border: 1px solid var(--navy-900);
    border-radius: 10px;
}

.nav-login:hover {
    color: white !important;
    background: var(--navy-900);
}

.mobile-menu-button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--navy-900);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-button span {
    width: 21px;
    height: 2px;
    border-radius: 10px;
    background: white;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 96px 0 86px;
    color: white;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(191, 140, 55, 0.15),
            transparent 30%
        ),
        linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );
    background-size: 54px 54px;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 68px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--gold-500);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: currentColor;
}

.hero-content h1 {
    max-width: 650px;
    margin: 19px 0 23px;
    font-size: clamp(42px, 5.3vw, 72px);
    line-height: 1.24;
    letter-spacing: -2.2px;
}

.hero-content h1 span {
    display: block;
    color: var(--gold-500);
}

.hero-content > p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.77);
    font-size: 17px;
    line-height: 2;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.button {
    min-height: 48px;
    padding: 11px 23px;
    border: 1px solid transparent;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: white;
    background: var(--gold-600);
    box-shadow: 0 13px 30px rgba(169, 119, 40, 0.24);
}

.button-primary:hover {
    background: var(--gold-500);
}

.button-secondary {
    color: var(--navy-900);
    border-color: var(--slate-300);
    background: white;
}

.hero-section .button-secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
}

.hero-section .button-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.button-whatsapp {
    color: white;
    background: var(--whatsapp);
}

.full-button {
    width: 100%;
}

.hero-trust {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
}

.hero-visual {
    position: relative;
    padding: 35px 0;
}

.dashboard-preview {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 23px;
    background: #f7f8fa;
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.38);
    transform: perspective(1100px) rotateY(-4deg) rotateX(2deg);
}

.preview-topbar {
    height: 47px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--slate-500);
    background: white;
    border-bottom: 1px solid var(--slate-200);
    font-size: 11px;
}

.preview-topbar > div {
    display: flex;
    gap: 5px;
}

.preview-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--slate-300);
}

.preview-body {
    min-height: 355px;
    display: grid;
    grid-template-columns: 68px 1fr;
}

.preview-sidebar {
    padding: 26px 17px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: var(--navy-900);
}

.preview-sidebar span {
    height: 9px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.18);
}

.preview-sidebar span.active {
    background: var(--gold-500);
}

.preview-content {
    padding: 32px 25px;
}

.preview-title {
    width: 42%;
    height: 13px;
    margin-bottom: 26px;
    border-radius: 20px;
    background: var(--navy-900);
}

.preview-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
}

.preview-stat {
    padding: 17px;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    background: white;
}

.preview-stat strong {
    display: block;
    color: var(--navy-900);
    font-size: 20px;
}

.preview-stat span {
    color: var(--slate-500);
    font-size: 9px;
}

.preview-chart {
    height: 170px;
    margin-top: 22px;
    padding: 20px 22px 0;
    border: 1px solid var(--slate-200);
    border-radius: 13px;
    background: white;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 11px;
}

.preview-chart span {
    width: 12%;
    min-height: 20px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(var(--gold-500), var(--gold-100));
}

.floating-card {
    position: absolute;
    z-index: 2;
    min-width: 220px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy-900);
    box-shadow: var(--shadow-md);
}

.floating-card-top {
    top: 0;
    left: -22px;
}

.floating-card-bottom {
    right: -25px;
    bottom: 4px;
}

.floating-icon {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: white;
    background: var(--gold-600);
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 12px;
}

.floating-card small {
    color: var(--slate-500);
    font-size: 9px;
}

.stats-section {
    position: relative;
    z-index: 3;
    margin-top: -1px;
    border-bottom: 1px solid var(--slate-200);
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 30px;
    text-align: center;
    border-left: 1px solid var(--slate-200);
}

.stat-item:last-child {
    border-left: 0;
}

.stat-item strong {
    display: block;
    color: var(--navy-900);
    font-size: 27px;
}

.stat-item span {
    color: var(--slate-500);
    font-size: 12px;
}

.section {
    padding: 92px 0;
}

.section-heading {
    margin-bottom: 43px;
}

.section-heading.centered {
    max-width: 740px;
    margin-inline: auto;
    margin-bottom: 47px;
    text-align: center;
}

.section-heading.centered .eyebrow {
    justify-content: center;
}

.section-heading h2,
.about-grid h2 {
    margin: 13px 0;
    color: var(--navy-900);
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.4;
    letter-spacing: -1.2px;
}

.section-heading p,
.about-grid p {
    max-width: 720px;
    margin: 0;
    color: var(--slate-600);
}

.heading-with-action {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    position: relative;
    min-height: 245px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(191, 140, 55, 0.5);
    box-shadow: var(--shadow-md);
}

.feature-number {
    position: absolute;
    top: 13px;
    left: 20px;
    color: rgba(11, 30, 54, 0.06);
    font-size: 55px;
    font-weight: 800;
}

.feature-card h3 {
    margin: 55px 0 10px;
    color: var(--navy-900);
    font-size: 19px;
}

.feature-card p {
    margin: 0;
    color: var(--slate-600);
    font-size: 13px;
}

.firms-section {
    background: #f3f1ea;
}

.firms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.firm-card {
    overflow: hidden;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.firm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.firm-card-cover {
    position: relative;
    height: 145px;
    display: block;
    overflow: hidden;
    background: var(--navy-900);
}

.firm-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.firm-cover-pattern,
.profile-cover-pattern {
    position: absolute;
    inset: 0;
    display: block;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(191, 140, 55, 0.3),
            transparent 28%
        ),
        linear-gradient(135deg, var(--navy-900), var(--navy-700));
}

.firm-cover-pattern::after,
.profile-cover-pattern::after {
    content: "⚖";
    position: absolute;
    left: 30px;
    bottom: -35px;
    color: rgba(255, 255, 255, 0.08);
    font-size: 130px;
    line-height: 1;
}

.featured-label {
    position: absolute;
    top: 13px;
    right: 13px;
    padding: 5px 10px;
    border-radius: 30px;
    color: var(--navy-900);
    background: var(--gold-100);
    font-size: 10px;
    font-weight: 800;
}

.firm-card-content {
    padding: 22px;
}

.firm-card-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: -48px;
    position: relative;
    z-index: 2;
}

.firm-logo,
.profile-logo {
    overflow: hidden;
    flex: 0 0 auto;
    border: 4px solid white;
    display: grid;
    place-items: center;
    color: white;
    background: var(--navy-800);
    box-shadow: 0 7px 20px rgba(7, 20, 38, 0.14);
}

.firm-logo {
    width: 70px;
    height: 70px;
    border-radius: 17px;
}

.firm-logo img,
.profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.firm-logo span,
.profile-logo span {
    font-size: 28px;
    font-weight: 800;
}

.firm-card-heading > div:last-child {
    min-width: 0;
    padding-top: 35px;
}

.firm-title-line {
    display: flex;
    align-items: center;
    gap: 7px;
}

.firm-title-line h3 {
    margin: 0;
    color: var(--navy-900);
    font-size: 15px;
    line-height: 1.5;
}

.verified-badge {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    flex: 0 0 18px;
    color: white;
    border-radius: 50%;
    background: var(--success);
    font-size: 10px;
}

.firm-location {
    margin: 3px 0 0;
    color: var(--slate-500);
    font-size: 10px;
}

.firm-summary {
    min-height: 76px;
    margin: 21px 0 15px;
    color: var(--slate-600);
    font-size: 12px;
}

.firm-tags {
    min-height: 31px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.firm-tags span {
    padding: 4px 9px;
    border-radius: 30px;
    color: var(--navy-700);
    background: var(--slate-100);
    font-size: 9px;
    font-weight: 600;
}

.firm-card-footer {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-600);
    font-size: 12px;
    font-weight: 800;
}

.text-link span {
    transition: transform 0.2s ease;
}

.text-link:hover span {
    transform: translateX(-4px);
}

.large-link {
    margin-top: 18px;
    font-size: 14px;
}

.icon-link {
    color: var(--navy-800);
    font-size: 11px;
    font-weight: 700;
}

.about-section {
    color: white;
    background: var(--navy-900);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.about-grid h2 {
    color: white;
}

.about-grid p {
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 14px;
}

.about-points {
    display: grid;
    gap: 13px;
}

.about-points div {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.about-points strong {
    color: var(--gold-500);
    font-size: 13px;
}

.about-points span {
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
}

.page-hero {
    padding: 75px 0;
    color: white;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(191, 140, 55, 0.16),
            transparent 30%
        ),
        linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.compact-page-hero {
    padding: 65px 0 72px;
}

.page-hero h1 {
    margin: 13px 0 10px;
    max-width: 850px;
    font-size: clamp(37px, 5vw, 58px);
    line-height: 1.35;
}

.page-hero p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    color: rgba(255, 255, 255, 0.57);
    font-size: 11px;
}

.breadcrumbs a:hover {
    color: white;
}

.directory-section {
    padding-top: 0;
}

.directory-filters {
    position: relative;
    z-index: 3;
    margin-top: -42px;
    padding: 24px;
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 0.8fr;
    gap: 15px;
    align-items: end;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-md);
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.filter-field label {
    color: var(--slate-700);
    font-size: 11px;
    font-weight: 700;
}

.filter-field input,
.filter-field select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--slate-300);
    border-radius: 10px;
    outline: none;
    color: var(--slate-900);
    background: white;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.filter-field input:focus,
.filter-field select:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(191, 140, 55, 0.12);
}

.check-filter {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--slate-700);
    cursor: pointer;
    font-size: 11px;
}

.check-filter input {
    width: 17px;
    height: 17px;
    accent-color: var(--gold-600);
}

.clear-filters {
    color: var(--slate-500);
    text-align: center;
    font-size: 11px;
    text-decoration: underline;
}

.directory-results-heading {
    margin: 50px 0 27px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.directory-results-heading h2 {
    margin: 0;
    color: var(--navy-900);
    font-size: 28px;
}

.directory-results-heading p {
    margin: 3px 0 0;
    color: var(--slate-500);
    font-size: 12px;
}

.pagination {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

.pagination-button {
    min-width: 90px;
    padding: 9px 16px;
    border: 1px solid var(--slate-300);
    border-radius: 10px;
    color: var(--navy-900);
    background: white;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
}

.pagination-button:not(.disabled):hover {
    border-color: var(--gold-500);
    color: var(--gold-600);
}

.pagination-button.disabled {
    color: var(--slate-300);
    cursor: not-allowed;
}

.pagination-status {
    color: var(--slate-500);
    font-size: 11px;
}

.empty-state {
    padding: 80px 25px;
    border: 1px dashed var(--slate-300);
    border-radius: var(--radius-md);
    background: white;
    text-align: center;
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    margin: auto;
    display: grid;
    place-items: center;
    color: var(--gold-600);
    border-radius: 50%;
    background: var(--gold-100);
    font-size: 30px;
}

.empty-state h2 {
    margin: 17px 0 6px;
    color: var(--navy-900);
}

.empty-state p {
    margin: 0 0 22px;
    color: var(--slate-500);
}

.firm-profile-hero {
    position: relative;
    padding-bottom: 45px;
    color: white;
    background: var(--navy-900);
}

.firm-profile-cover {
    position: relative;
    height: 290px;
    overflow: hidden;
    background: var(--navy-800);
}

.firm-profile-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(7, 20, 38, 0.1),
        var(--navy-900)
    );
}

.firm-profile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-breadcrumbs {
    position: relative;
    margin-top: -240px;
    margin-bottom: 92px;
}

.firm-profile-heading {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 25px;
}

.profile-logo {
    width: 135px;
    height: 135px;
    border-width: 6px;
    border-radius: 25px;
}

.profile-logo span {
    font-size: 50px;
}

.profile-heading-content {
    padding-bottom: 7px;
}

.profile-title-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.profile-title-line h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.4;
}

.verified-profile-badge {
    padding: 5px 11px;
    border-radius: 30px;
    color: white;
    background: var(--success);
    font-size: 10px;
    font-weight: 700;
}

.profile-heading-content > p {
    max-width: 800px;
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
}

.firm-profile-section {
    padding-top: 55px;
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 355px;
    gap: 28px;
    align-items: start;
}

.profile-main {
    display: grid;
    gap: 22px;
}

.profile-panel,
.contact-card {
    padding: 31px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-sm);
}

.panel-label {
    color: var(--gold-600);
    font-size: 11px;
    font-weight: 800;
}

.profile-panel h2,
.contact-card h2 {
    margin: 7px 0 16px;
    color: var(--navy-900);
    font-size: 24px;
}

.profile-description {
    color: var(--slate-600);
    font-size: 14px;
    line-height: 2.1;
}

.consultation-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.consultation-options > div {
    padding: 18px;
    border: 1px solid var(--slate-200);
    border-radius: 13px;
    background: var(--slate-100);
}

.consultation-options strong,
.consultation-options span {
    display: block;
}

.consultation-options strong {
    color: var(--navy-900);
    font-size: 13px;
}

.consultation-options span {
    margin-top: 4px;
    color: var(--slate-500);
    font-size: 10px;
}

.office-address {
    margin-bottom: 20px;
    color: var(--slate-600);
}

.profile-sidebar {
    position: sticky;
    top: 105px;
}

.contact-card > p {
    margin: 0 0 20px;
    color: var(--slate-600);
    font-size: 12px;
}

.contact-actions {
    display: grid;
    gap: 9px;
}

.contact-details {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--slate-200);
    display: grid;
    gap: 13px;
}

.contact-details div {
    display: grid;
    gap: 2px;
}

.contact-details span {
    color: var(--slate-500);
    font-size: 9px;
}

.contact-details strong,
.contact-details a {
    overflow-wrap: anywhere;
    color: var(--navy-900);
    font-size: 11px;
}

.contact-details a {
    color: var(--gold-600);
    font-weight: 700;
}

.legal-note {
    display: block;
    margin-top: 20px;
    padding: 13px;
    border-radius: 10px;
    color: var(--slate-500);
    background: var(--slate-100);
    font-size: 8px;
    line-height: 1.8;
}

.site-footer {
    padding: 67px 0 20px;
    color: white;
    background: var(--navy-950);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.7fr;
    gap: 70px;
}

.footer-brand .brand-content strong {
    color: white;
}

.footer-description {
    max-width: 420px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 12px;
}

.footer-grid h3 {
    margin: 0 0 16px;
    font-size: 14px;
}

.footer-links {
    display: grid;
    gap: 9px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--gold-500);
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 19px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 9px;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1,
    .hero-content > p {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        width: min(100%, 700px);
        margin-inline: auto;
    }

    .features-grid,
    .firms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .directory-filters {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-field {
        grid-column: 1 / -1;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        position: static;
    }
}

@media (max-width: 820px) {
    .mobile-menu-button {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 82px;
        right: 0;
        bottom: 0;
        width: min(330px, 88vw);
        padding: 28px;
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
        background: var(--ivory);
        box-shadow: -20px 30px 70px rgba(7, 20, 38, 0.2);
        transform: translateX(110%);
        transition: transform 0.25s ease;
    }

    .main-navigation.open {
        transform: translateX(0);
    }

    .main-navigation > a {
        font-size: 15px;
    }

    .nav-login {
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-left: 0;
    }

    .stat-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--slate-200);
    }

    .heading-with-action,
    .firm-profile-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .hero-section {
        padding: 72px 0 60px;
    }

    .hero-content h1 {
        letter-spacing: -1px;
    }

    .floating-card {
        display: none;
    }

    .dashboard-preview {
        transform: none;
    }

    .preview-body {
        min-height: 300px;
        grid-template-columns: 52px 1fr;
    }

    .preview-content {
        padding: 22px 14px;
    }

    .preview-stat-grid {
        grid-template-columns: 1fr;
    }

    .preview-stat:nth-child(n + 2) {
        display: none;
    }

    .section {
        padding: 70px 0;
    }

    .features-grid,
    .firms-grid,
    .directory-filters,
    .consultation-options {
        grid-template-columns: 1fr;
    }

    .search-field {
        grid-column: auto;
    }

    .heading-with-action {
        align-items: stretch;
    }

    .directory-filters {
        margin-top: -30px;
    }

    .firm-profile-cover {
        height: 220px;
    }

    .profile-breadcrumbs {
        margin-top: -180px;
        margin-bottom: 65px;
    }

    .profile-logo {
        width: 105px;
        height: 105px;
    }

    .profile-panel,
    .contact-card {
        padding: 23px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-grid > div:first-child {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
.consultation-form-card {
    margin-top: 20px;
    padding: 28px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-sm);
}

.consultation-form-card h2 {
    margin: 7px 0 10px;
    color: var(--navy-900);
    font-size: 22px;
    line-height: 1.5;
}

.consultation-form-intro {
    margin: 0 0 22px;
    color: var(--slate-600);
    font-size: 11px;
}

.consultation-form {
    position: relative;
}

.consultation-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.consultation-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.consultation-field.full-field {
    grid-column: 1 / -1;
}

.consultation-field label {
    color: var(--slate-700);
    font-size: 10px;
    font-weight: 700;
}

.consultation-field label span {
    color: #b42318;
}

.consultation-field input,
.consultation-field select,
.consultation-field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--slate-300);
    border-radius: 10px;
    outline: none;
    color: var(--slate-900);
    background: white;
    font-size: 11px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.consultation-field input,
.consultation-field select {
    min-height: 45px;
}

.consultation-field textarea {
    resize: vertical;
    line-height: 1.8;
}

.consultation-field input:focus,
.consultation-field select:focus,
.consultation-field textarea:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(191, 140, 55, 0.12);
}

.consultation-field > small:not(.field-hint) {
    color: #b42318;
    font-size: 9px;
}

.field-hint {
    color: var(--slate-500);
    font-size: 8px;
}

.consultation-consent {
    margin: 18px 0;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--slate-600);
    font-size: 9px;
    cursor: pointer;
}

.consultation-consent input {
    width: 17px;
    height: 17px;
    margin-top: 3px;
    flex: 0 0 17px;
    accent-color: var(--gold-600);
}

.form-success-message,
.form-error-message {
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 11px;
    font-size: 10px;
}

.form-success-message {
    color: #05603a;
    border: 1px solid #a6f4c5;
    background: #ecfdf3;
}

.form-error-message {
    color: #912018;
    border: 1px solid #fecdca;
    background: #fef3f2;
}

.form-success-message strong,
.form-success-message span {
    display: block;
}

.form-error-message ul {
    margin: 7px 0 0;
    padding-right: 18px;
}

.website-field {
    position: absolute !important;
    right: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 640px) {
    .consultation-form-grid {
        grid-template-columns: 1fr;
    }

    .consultation-field.full-field {
        grid-column: auto;
    }

    .consultation-form-card {
        padding: 22px;
    }
}
/* ONLINE PRESENCE: SUPABASE PUBLIC PROFILE */
.online-firm-hero {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, .28), transparent 36%),
        linear-gradient(135deg, #0f172a, #123c46 58%, #0f766e);
}

.online-firm-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-firm-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, .96), rgba(15, 23, 42, .62)),
        linear-gradient(0deg, rgba(15, 23, 42, .46), transparent);
}

.online-firm-hero-content {
    position: relative;
    z-index: 1;
    min-height: 460px;
    padding-top: 38px;
    padding-bottom: 54px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.online-firm-breadcrumbs {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, .72);
}

.online-firm-breadcrumbs a {
    color: #fff;
}

.online-firm-logo {
    width: 84px;
    height: 84px;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    color: #0f766e;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 900;
}

.online-firm-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-firm-title-line {
    width: 100%;
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.online-firm-title-line h1 {
    max-width: 850px;
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.25;
}

.online-firm-title-line p {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, .7);
}

.online-verified-badge {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    white-space: nowrap;
}

.online-firm-lead {
    max-width: 780px;
    margin: 17px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 17px;
    line-height: 1.9;
}

.online-firm-meta,
.online-firm-actions {
    margin-top: 19px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.online-firm-meta span {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    font-size: 13px;
}

.online-public-layout,
.online-lawyer-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
    align-items: start;
}

.online-public-main {
    display: grid;
    gap: 22px;
}

.online-public-sidebar,
.online-lawyer-profile-grid > aside {
    position: sticky;
    top: 20px;
    display: grid;
    gap: 18px;
}

.online-practice-tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.online-practice-tags span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 12px;
    font-weight: 800;
}

.online-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.online-service-card {
    padding: 17px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fbfcfd;
}

.online-service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eef6f5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.online-service-card h3 {
    margin: 13px 0 7px;
}

.online-service-card p {
    min-height: 46px;
    margin: 0;
    color: #64748b;
    line-height: 1.75;
    font-size: 13px;
}

.online-service-meta {
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.online-service-meta span {
    padding: 6px 8px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
}

.online-service-card small {
    display: block;
    margin-top: 10px;
    color: #64748b;
}

.online-card-link {
    margin-top: 14px;
    color: #0f766e;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
}

.online-lawyers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.online-lawyer-card {
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
}

.online-lawyer-photo {
    width: 100%;
    aspect-ratio: 1 / .78;
    border-radius: 13px;
    overflow: hidden;
    background: #eef6f5;
    color: #0f766e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 900;
}

.online-lawyer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-lawyer-title {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.online-lawyer-title h3 {
    margin: 0;
}

.online-lawyer-title span {
    color: #d97706;
}

.online-lawyer-card p {
    margin: 5px 0;
    color: #64748b;
}

.online-lawyer-card small {
    color: #64748b;
}

.online-lawyer-profile-section {
    background: #f8fafc;
}

.online-lawyer-profile-card {
    padding: 24px;
}

.online-lawyer-profile-heading {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}

.online-lawyer-profile-photo {
    width: 190px;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    background: #eef6f5;
    color: #0f766e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
    font-weight: 900;
}

.online-lawyer-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-lawyer-profile-heading h1 {
    margin: 8px 0 5px;
}

.online-lawyer-profile-heading p {
    color: #64748b;
}

.online-lawyer-facts {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.online-lawyer-facts div {
    padding: 14px;
    border-radius: 13px;
    background: #f8fafc;
}

.online-lawyer-facts span,
.online-lawyer-facts strong {
    display: block;
}

.online-lawyer-facts span {
    margin-bottom: 5px;
    color: #64748b;
    font-size: 12px;
}

.online-lawyer-section-block {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.online-lawyer-section-block h2 {
    margin-top: 0;
}

@media (max-width: 1100px) {
    .online-public-layout,
    .online-lawyer-profile-grid {
        grid-template-columns: 1fr;
    }

    .online-public-sidebar,
    .online-lawyer-profile-grid > aside {
        position: static;
    }

    .online-lawyers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .online-firm-title-line {
        display: grid;
    }

    .online-verified-badge {
        width: fit-content;
    }

    .online-services-grid,
    .online-lawyers-grid,
    .online-lawyer-facts {
        grid-template-columns: 1fr;
    }

    .online-lawyer-profile-heading {
        grid-template-columns: 1fr;
    }

    .online-lawyer-profile-photo {
        width: 100%;
        height: 320px;
    }
}
/* END ONLINE PRESENCE: SUPABASE PUBLIC PROFILE */
/* CONSULTATION AVAILABILITY SLOTS */
.availability-status {
    display: block;
    min-height: 20px;
    color: #64748b;
    line-height: 1.5;
}

.consultation-field select:disabled {
    cursor: not-allowed;
    opacity: .62;
    background: #f1f5f9;
}
/* END CONSULTATION AVAILABILITY SLOTS */


/* ================= PREMIUM MARKETING V3 ================= */
:root{
--lux-ink:#071426;--lux-navy:#102b4c;--lux-teal:#0d9488;--lux-teal-dark:#08766e;
--lux-soft:#f5f8fa;--lux-muted:#697588;--lux-line:#e3e8ee;--lux-white:#fff;
}
.lux-hero{position:relative;overflow:hidden;padding:82px 0 0;background:radial-gradient(circle at 12% 5%,rgba(13,148,136,.08),transparent 28%),linear-gradient(180deg,#fff 0%,#fafcfd 66%,#f4f7f9 100%)}
.lux-hero:before{content:"";position:absolute;inset:0;opacity:.45;background-image:linear-gradient(rgba(7,20,38,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(7,20,38,.025) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,#000,transparent 72%)}
.lux-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:.9fr 1.1fr;gap:68px;align-items:center}
.lux-pill{display:inline-flex;padding:8px 12px;border:1px solid #dfe8e8;border-radius:999px;color:var(--lux-teal-dark);background:#fff;font-size:10px;font-weight:900;box-shadow:0 10px 25px rgba(7,20,38,.05)}
.lux-copy h1{margin:22px 0 18px;color:var(--lux-ink);font-size:clamp(44px,5.5vw,76px);line-height:1.07;letter-spacing:-3px;font-weight:900}
.lux-copy h1 span{display:block;color:var(--lux-teal-dark)}
.lux-copy>p{max-width:650px;margin:0;color:#5f6a7c;font-size:15px;line-height:2;font-weight:500}
.lux-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.lux-btn{display:inline-flex;min-height:48px;padding:0 19px;align-items:center;justify-content:center;border:1px solid transparent;border-radius:12px;font-size:11px;font-weight:900;transition:.22s}
.lux-btn:hover{transform:translateY(-2px)}
.lux-btn-primary{color:#fff;background:linear-gradient(135deg,var(--lux-teal-dark),var(--lux-teal));box-shadow:0 14px 32px rgba(13,148,136,.22)}
.lux-btn-secondary{color:var(--lux-ink);border-color:#d8e0e8;background:#fff}
.lux-proof{display:flex;flex-wrap:wrap;gap:16px;margin-top:22px;color:#7f8997;font-size:9px;font-weight:800}
.lux-stage{position:relative;padding:15px 0 35px;perspective:1200px}
.lux-browser{overflow:hidden;border:1px solid rgba(7,20,38,.11);border-radius:22px;background:#fff;box-shadow:0 50px 100px rgba(7,20,38,.17);transform:rotateY(-3deg) rotateX(1deg)}
.lux-browser-bar{height:42px;padding:0 13px;display:flex;align-items:center;gap:5px;border-bottom:1px solid #e9edf2;background:#fafbfc;direction:ltr}
.lux-browser-bar i{width:8px;height:8px;border-radius:50%;background:#d5dbe2}.lux-browser-bar span{margin:auto;color:#96a0ae;font-size:7px}
.lux-app{min-height:420px;display:grid;grid-template-columns:56px 1fr;background:#f6f8fa}
.lux-app aside{padding:14px 0;display:flex;flex-direction:column;align-items:center;gap:13px;background:var(--lux-ink)}
.lux-app aside b{display:grid;width:28px;height:28px;margin-bottom:7px;place-items:center;border-radius:8px;color:#fff;background:var(--lux-teal);font-size:11px}
.lux-app aside i{width:27px;height:24px;border-radius:7px;background:rgba(255,255,255,.08)}.lux-app aside i.active{background:var(--lux-teal)}
.lux-app-main{padding:22px}.lux-app-main header{display:flex;align-items:center;justify-content:space-between}.lux-app-main header small,.lux-app-main header strong{display:block}.lux-app-main header small{color:#8b96a5;font-size:7px}.lux-app-main header strong{margin-top:3px;color:var(--lux-ink);font-size:12px}.lux-app-main header em{display:grid;width:30px;height:30px;place-items:center;border-radius:9px;color:var(--lux-navy);background:#e6edf4;font-size:7px;font-style:normal;font-weight:900}
.lux-stats{margin-top:22px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.lux-stats article{padding:13px;border:1px solid #e7ecf1;border-radius:11px;background:#fff}.lux-stats span,.lux-stats small,.lux-stats b{display:block}.lux-stats span{color:#8994a3;font-size:6px}.lux-stats b{margin:4px 0;color:var(--lux-ink);font-size:19px}.lux-stats small{color:var(--lux-teal-dark);font-size:6px}
.lux-dashboard-grid{margin-top:12px;display:grid;grid-template-columns:1.4fr .8fr;gap:10px}.lux-dashboard-grid section{min-height:205px;padding:14px;border:1px solid #e7ecf1;border-radius:11px;background:#fff}.lux-panel-head{display:flex;justify-content:space-between}.lux-panel-head b{color:var(--lux-ink);font-size:8px}.lux-panel-head small{color:#9aa4b1;font-size:6px}
.lux-bars{height:140px;padding-top:20px;display:flex;align-items:flex-end;gap:9px;border-bottom:1px solid #edf0f3}.lux-bars i{flex:1;border-radius:5px 5px 1px 1px;background:linear-gradient(#55bcb1,#0d9488)}.lux-bars i:nth-child(1){height:45%}.lux-bars i:nth-child(2){height:64%}.lux-bars i:nth-child(3){height:53%}.lux-bars i:nth-child(4){height:77%}.lux-bars i:nth-child(5){height:68%}.lux-bars i:nth-child(6){height:92%}
.lux-agenda{display:flex;flex-direction:column;gap:8px}.lux-agenda span{padding:8px;border-radius:7px;color:#778292;background:#f7f9fb;font-size:6px}
.lux-floating{position:absolute;z-index:3;min-width:185px;padding:11px 13px;display:flex;gap:9px;align-items:center;border:1px solid rgba(7,20,38,.08);border-radius:13px;background:rgba(255,255,255,.96);box-shadow:0 22px 44px rgba(7,20,38,.14)}.lux-floating.one{right:-20px;top:90px}.lux-floating.two{left:-24px;bottom:70px}.lux-floating>b{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;color:var(--lux-teal-dark);background:#dcf7f2;font-size:8px}.lux-floating strong,.lux-floating small{display:block}.lux-floating strong{color:var(--lux-ink);font-size:8px}.lux-floating small{margin-top:2px;color:#929caa;font-size:6px}
.lux-strip{position:relative;z-index:2;min-height:76px;margin-top:58px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:15px;color:#728092;border-top:1px solid rgba(7,20,38,.07);font-size:9px;font-weight:800}.lux-strip i{width:4px;height:4px;border-radius:50%;background:#c8d0d9}
.lux-section{padding:105px 0;background:#fff}.lux-section.soft{background:#f7f9fb}.lux-section.directory{background:#f8fafb;border-top:1px solid #edf0f3}
.lux-heading{max-width:690px;margin-bottom:42px}.lux-heading.center{margin-inline:auto;text-align:center}.lux-heading>span,.lux-ai-grid>div>span{color:var(--lux-teal-dark);font-size:9px;font-weight:900}.lux-heading h2,.lux-ai h2,.lux-final h2{margin:12px 0;color:var(--lux-ink);font-size:clamp(31px,4vw,48px);line-height:1.3;letter-spacing:-1.5px;font-weight:900}.lux-heading p,.lux-ai p,.lux-final p{color:var(--lux-muted);font-size:12px;line-height:2}
.lux-problem-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.lux-problem-grid article{min-height:215px;padding:24px;border:1px solid var(--lux-line);border-radius:18px;background:#fbfcfd}.lux-problem-grid small{padding:5px 8px;border-radius:7px;color:#7f8997;background:#edf1f4;font-size:8px;font-weight:900}.lux-problem-grid h3{margin:27px 0 10px;color:var(--lux-ink);font-size:15px}.lux-problem-grid p{color:var(--lux-muted);font-size:10px;line-height:1.9}.lux-problem-grid .solution{color:#fff;border-color:transparent;background:linear-gradient(145deg,var(--lux-ink),#12375e);box-shadow:0 24px 50px rgba(7,20,38,.17)}.lux-problem-grid .solution h3,.lux-problem-grid .solution p{color:#fff}.lux-problem-grid .solution p{opacity:.7}.lux-problem-grid .solution small{color:#8ff4e8;background:rgba(13,148,136,.18)}
.lux-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.lux-feature-grid article{min-height:255px;padding:28px;border:1px solid var(--lux-line);border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(7,20,38,.04)}.lux-feature-grid article>b{color:var(--lux-teal-dark);font-size:8px}.lux-feature-grid h3{margin:55px 0 10px;color:var(--lux-ink);font-size:17px}.lux-feature-grid p{color:var(--lux-muted);font-size:10px;line-height:1.9}.lux-feature-grid article.dark{color:#fff;border-color:transparent;background:linear-gradient(145deg,var(--lux-ink),#12375e)}.lux-feature-grid article.dark h3,.lux-feature-grid article.dark p{color:#fff}.lux-feature-grid article.dark p{opacity:.7}.lux-feature-grid article.dark>b{color:#7de0d6}
.lux-ai{padding:105px 0;color:#fff;background:radial-gradient(circle at 80% 20%,rgba(13,148,136,.2),transparent 30%),linear-gradient(135deg,#071426,#0b223d 65%,#0f3555)}.lux-ai-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:75px;align-items:center}.lux-ai h2{color:#fff}.lux-ai p{color:rgba(255,255,255,.66)}
.lux-ai-card{padding:20px;border:1px solid rgba(255,255,255,.12);border-radius:23px;background:rgba(4,15,28,.55);box-shadow:0 35px 80px rgba(0,0,0,.28)}.lux-ai-card header{display:flex;justify-content:space-between}.lux-ai-card header b{color:#75e0d5;font-size:9px}.lux-ai-card header small{color:#718298;font-size:7px}.lux-ai-card .prompt,.lux-ai-card .answer{max-width:86%;margin-top:22px;padding:15px 17px;border-radius:15px;font-size:9px;line-height:1.9}.lux-ai-card .prompt{margin-right:auto;background:rgba(255,255,255,.09)}.lux-ai-card .answer{color:#d7e5ed;border:1px solid rgba(112,236,223,.12);background:rgba(13,148,136,.08)}.lux-ai-card .answer b,.lux-ai-card .answer span{display:block}.lux-ai-card .answer b{color:#78e1d6}
.lux-split{display:grid;grid-template-columns:1fr 1fr;gap:75px;align-items:center}.lux-public-preview{width:min(85%,430px);margin:auto;padding:0 24px 25px;overflow:hidden;border:1px solid #dce3e9;border-radius:20px;background:#fff;box-shadow:0 30px 70px rgba(7,20,38,.14);text-align:center}.lux-public-preview .cover{height:125px;margin:0 -24px;background:linear-gradient(135deg,#0b1e36,#21486b)}.lux-public-preview .logo{display:grid;width:72px;height:72px;margin:-36px auto 15px;place-items:center;border:5px solid #fff;border-radius:18px;color:#fff;background:var(--lux-ink);font-size:24px;font-weight:900}.lux-public-preview>strong,.lux-public-preview>small{display:block}.lux-public-preview>strong{color:var(--lux-ink);font-size:12px}.lux-public-preview>small{margin-top:5px;color:#8a95a4;font-size:8px}.lux-public-preview .tags{margin:22px 0;display:flex;justify-content:center;gap:6px}.lux-public-preview .tags span{padding:6px 9px;border-radius:999px;color:#607082;background:#f0f4f7;font-size:7px}.lux-public-preview button{width:100%;min-height:40px;border:0;border-radius:10px;color:#fff;background:var(--lux-teal-dark);font-family:inherit;font-size:9px;font-weight:900}
.lux-checks{padding:0;list-style:none}.lux-checks li{position:relative;padding:8px 25px 8px 0;color:#687486;font-size:10px}.lux-checks li:before{content:"✓";position:absolute;right:0;color:var(--lux-teal-dark);font-weight:900}.lux-link{display:inline-block;margin-top:14px;color:var(--lux-teal-dark);font-size:10px;font-weight:900}
.lux-pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.lux-pricing article{position:relative;min-height:430px;padding:30px;display:flex;flex-direction:column;border:1px solid var(--lux-line);border-radius:22px;background:#fff}.lux-pricing article.featured{color:#fff;border-color:transparent;background:var(--lux-ink);box-shadow:0 30px 70px rgba(7,20,38,.18);transform:translateY(-8px)}.lux-pricing em{position:absolute;top:18px;left:18px;padding:5px 8px;border-radius:7px;color:#89f1e6;background:rgba(13,148,136,.13);font-size:7px;font-style:normal;font-weight:900}.lux-pricing small{color:var(--lux-teal-dark);font-size:9px;font-weight:900}.lux-pricing h3{margin:14px 0 8px;color:var(--lux-ink);font-size:20px}.lux-pricing p{color:#758091;font-size:10px;line-height:1.8}.lux-pricing ul{padding:0;margin:18px 0;list-style:none}.lux-pricing li{padding:7px 0;color:#697588;font-size:9px}.lux-pricing li:before{content:"✓";margin-left:8px;color:var(--lux-teal-dark)}.lux-pricing .lux-btn{width:100%;margin-top:auto}.lux-pricing .featured h3,.lux-pricing .featured p,.lux-pricing .featured li,.lux-pricing .featured small{color:#fff}.lux-pricing .featured p,.lux-pricing .featured li{opacity:.7}
.lux-heading.row{max-width:none;display:flex;align-items:end;justify-content:space-between;gap:30px}.lux-final{padding:65px;border-radius:30px;color:#fff;background:radial-gradient(circle at 80% 20%,rgba(13,148,136,.3),transparent 30%),linear-gradient(135deg,#071426,#0d2947);box-shadow:0 36px 80px rgba(7,20,38,.18);text-align:center}.lux-final>span{color:#75e0d5;font-size:9px;font-weight:900}.lux-final h2{max-width:800px;margin-inline:auto;color:#fff}.lux-final p{max-width:700px;margin:0 auto 25px;color:rgba(255,255,255,.65)}
@media(max-width:1050px){.lux-hero-grid,.lux-ai-grid,.lux-split{grid-template-columns:1fr}.lux-copy{text-align:center}.lux-pill{margin:auto}.lux-copy>p{margin:auto}.lux-actions,.lux-proof{justify-content:center}.lux-stage{max-width:820px;margin:auto}.lux-problem-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.lux-browser{transform:none}.lux-floating{display:none}.lux-feature-grid,.lux-pricing{grid-template-columns:1fr}.lux-pricing article.featured{transform:none}.lux-heading.row{display:block}.lux-heading.row .lux-btn{margin-top:15px}}
@media(max-width:620px){.lux-hero{padding-top:58px}.lux-copy h1{font-size:44px;letter-spacing:-1.7px}.lux-copy>p{font-size:13px}.lux-actions .lux-btn{width:100%}.lux-app{min-height:330px;grid-template-columns:45px 1fr}.lux-app-main{padding:13px}.lux-stats{grid-template-columns:1fr}.lux-stats article:nth-child(n+2),.lux-agenda{display:none}.lux-dashboard-grid{grid-template-columns:1fr}.lux-problem-grid{grid-template-columns:1fr}.lux-section{padding:75px 0}.lux-final{padding:45px 20px}}
/* ================= END PREMIUM MARKETING V3 ================= */


/* DIRECTORY CARD: SUPABASE ONLINE PRESENCE SYNC */
.directory-synced-card .firm-summary {
    line-height: 1.85;
}

.directory-service-tags {
    min-height: 34px;
}

.directory-card-footer {
    gap: 14px;
}

.directory-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.directory-book-link,
.directory-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 11px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 800;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.directory-book-link {
    color: white;
    background: var(--navy-900);
}

.directory-contact-link {
    color: var(--navy-900);
    background: var(--gold-100);
}

.directory-book-link:hover,
.directory-contact-link:hover {
    transform: translateY(-1px);
}

@media (max-width: 520px) {
    .directory-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* END DIRECTORY CARD: SUPABASE ONLINE PRESENCE SYNC */

.firm-logo {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    overflow: hidden;
    background: #0f2d52;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(15, 45, 82, 0.18);
}

.firm-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.firm-logo-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.firm-logo-icon svg {
    width: 100%;
    height: 100%;
}

/* ===== LEGAL OFFICE VIDEO SHOWCASE V4 ===== */
.lo-tour-video {
    position: relative;
    padding: clamp(76px, 8vw, 128px) 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 8%, rgba(10,143,131,.09), transparent 30%),
        linear-gradient(180deg,#f7f9fb 0%,#fff 100%);
}
.lo-tour-video__heading {
    width: min(880px,100%);
    margin: 0 auto 34px;
    text-align: center;
}
.lo-tour-video__heading>span {
    display:inline-flex;
    margin-bottom:12px;
    color:#0a8f83;
    font-size:12px;
    font-weight:900;
    letter-spacing:.04em;
}
.lo-tour-video__heading h2 {
    margin:0;
    color:#071a31;
    font-size:clamp(34px,4vw,58px);
    line-height:1.15;
    letter-spacing:-1.8px;
}
.lo-tour-video__heading p {
    max-width:760px;
    margin:18px auto 0;
    color:#66758a;
    font-size:clamp(14px,1.3vw,18px);
    line-height:1.95;
}
.lo-tour-video__frame {
    position:relative;
    width:min(1180px,100%);
    aspect-ratio:16/9;
    margin:0 auto;
    overflow:hidden;
    border:1px solid rgba(10,31,55,.12);
    border-radius:28px;
    background:#06172c;
    box-shadow:0 35px 90px rgba(6,23,44,.18);
}
.lo-tour-video__frame iframe,
.lo-tour-video__frame video {
    display:block;
    width:100%;
    height:100%;
    border:0;
    object-fit:cover;
    background:#06172c;
}
.lo-tour-video__placeholder {
    position:absolute;
    inset:0;
    display:grid;
    place-content:center;
    gap:12px;
    padding:32px;
    text-align:center;
    color:#fff;
    background:
        radial-gradient(circle at 50% 48%,rgba(20,151,138,.18),transparent 25%),
        linear-gradient(135deg,#06172c 0%,#0a2442 62%,#0b3d4a 100%);
}
.lo-tour-video__placeholder::before {
    content:'';
    position:absolute;
    inset:0;
    opacity:.15;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
    background-size:48px 48px;
}
.lo-tour-video__placeholder>* { position:relative; z-index:1; }
.lo-tour-video__play {
    width:82px;
    height:82px;
    margin:0 auto 8px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.28);
    border-radius:50%;
    background:rgba(255,255,255,.09);
    box-shadow:0 16px 38px rgba(0,0,0,.22);
}
.lo-tour-video__play span {
    width:0;
    height:0;
    margin-left:6px;
    border-top:12px solid transparent;
    border-bottom:12px solid transparent;
    border-left:19px solid #d7aa59;
}
.lo-tour-video__placeholder strong { font-size:22px; }
.lo-tour-video__placeholder small { color:rgba(255,255,255,.66); font-size:13px; }
@media (max-width:767px) {
    .lo-tour-video { padding:62px 0; }
    .lo-tour-video__heading { margin-bottom:24px; }
    .lo-tour-video__heading h2 { font-size:34px; letter-spacing:-1px; }
    .lo-tour-video__frame { border-radius:18px; }
    .lo-tour-video__play { width:62px; height:62px; }
}
/* ===== END LEGAL OFFICE VIDEO SHOWCASE V4 ===== */

/* ===== LEGAL OFFICE FINAL HOMEPAGE REVIEW ===== */
.lor-home{--navy:#07182d;--navy2:#0c2a47;--ink:#08172b;--muted:#69778a;--gold:#d9a84f;--gold2:#f1c878;--line:#dfe5eb;--soft:#f6f7f8;color:var(--ink);background:#fff;font-family:"Cairo","Tajawal","Segoe UI",Arial,sans-serif}.lor-home *,.lor-footer *{box-sizing:border-box}.lor-home .container,.lor-footer .container{width:min(1460px,calc(100% - 48px));margin-inline:auto}.lor-heading>span,.lor-eyebrow{display:inline-flex;align-items:center;gap:9px;margin-bottom:14px;color:#96631a;font-size:13px;font-weight:900}.lor-heading>span:before,.lor-eyebrow:before{content:"";width:32px;height:1px;background:currentColor}.lor-heading h2{margin:0;font-size:clamp(34px,4vw,60px);line-height:1.24;letter-spacing:-1.5px}.lor-heading p{max-width:760px;margin:18px 0 0;color:var(--muted);line-height:2}.lor-heading.center{max-width:930px;margin-inline:auto;text-align:center}.lor-heading.center p{margin-inline:auto}

.lor-hero{padding:clamp(76px,8vw,132px) 0 86px;overflow:hidden;color:#fff;background:radial-gradient(circle at 8% 16%,rgba(217,168,79,.13),transparent 25%),linear-gradient(125deg,#071421,#0a1d34 60%,#102b4a)}.lor-hero-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:clamp(40px,6vw,90px);align-items:center}.lor-hero-copy h1{margin:0;font-size:clamp(49px,5.6vw,86px);line-height:1.08;letter-spacing:-2.7px}.lor-hero-copy h1 em{font-style:normal;color:var(--gold2)}.lor-hero-copy>p{max-width:690px;margin:24px 0 0;color:rgba(255,255,255,.7);font-size:17px;line-height:2}.lor-hero .lor-eyebrow{color:var(--gold2)}.lor-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.lor-btn{display:inline-flex;min-height:52px;padding:0 24px;align-items:center;justify-content:center;border-radius:12px;text-decoration:none;font-weight:900}.lor-btn-gold{color:#102036;background:linear-gradient(135deg,#f1c878,#d8a34d);box-shadow:0 14px 30px rgba(217,168,79,.2)}.lor-btn-outline{color:#fff;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.04)}.lor-proof{display:flex;flex-wrap:wrap;gap:18px;margin-top:25px;color:rgba(255,255,255,.58);font-size:13px}.lor-proof span:before{content:"✓";margin-inline-end:7px;color:#6bd0ad}

.lor-hero-media{min-width:0;overflow:visible!important}.lor-browser{overflow:visible;border:1px solid rgba(255,255,255,.15);border-radius:23px;background:#f4f6f8;box-shadow:0 36px 90px rgba(0,0,0,.32)}.lor-browser header{min-height:52px;display:flex;align-items:center;gap:7px;padding:0 17px;border-radius:23px 23px 0 0;border-bottom:1px solid #e3e7ec;background:#fff}.lor-browser header i{width:9px;height:9px;border-radius:50%;background:#d3dae2}.lor-browser header b{margin-inline:auto;color:#687587;font-size:12px}.lor-screen{padding:10px;overflow:visible!important}.lor-screen img,.lor-hero-media img{display:block;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important;border-radius:13px}.lor-browser.light{border-color:#dfe5eb;box-shadow:0 25px 60px rgba(8,23,43,.09)}

.lor-video,.lor-showcase,.lor-booking,.lor-conversion,.lor-presence,.lor-operations,.lor-lawyers{padding:100px 0}.lor-video-frame{width:min(1180px,100%);aspect-ratio:16/9;margin:34px auto 0;overflow:hidden;border:1px solid var(--line);border-radius:24px;background:var(--navy);box-shadow:0 30px 70px rgba(8,23,43,.15)}.lor-video-frame iframe,.lor-video-frame video{display:block;width:100%;height:100%;border:0}.lor-video-empty{height:100%;display:grid;place-content:center;gap:10px;text-align:center;color:#fff;background:linear-gradient(145deg,#061425,#0c2947)}.lor-video-empty b{width:68px;height:68px;display:grid;place-items:center;margin:auto;border-radius:50%;color:#13263d;background:var(--gold2)}.lor-video-empty small{color:rgba(255,255,255,.58)}

.lor-showcase,.lor-conversion,.lor-operations{background:var(--soft)}.lor-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;width:max-content;max-width:100%;margin:32px auto 24px;padding:6px;border:1px solid #dce3e9;border-radius:14px;background:#fff;box-shadow:0 12px 28px rgba(8,23,43,.05)}.lor-tabs span{padding:11px 17px;border-radius:9px;color:#687587;font-size:13px;font-weight:900}.lor-tabs span.active{color:#fff;background:var(--navy)}.lor-main-shot{width:min(1240px,100%);margin:auto;padding:12px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 26px 70px rgba(7,24,45,.09)}.lor-main-shot img{display:block;width:100%;height:auto;object-fit:contain;border-radius:14px}

.lor-growth,.lor-connected{padding:110px 0;color:#fff;background:linear-gradient(135deg,#061321,#0a1c31 62%,#0e2d49)}.lor-growth-grid,.lor-connected-grid,.lor-split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(42px,6vw,90px);align-items:center}.lor-growth h2{margin:0;font-size:clamp(40px,4.2vw,64px);line-height:1.25}.lor-growth p{color:rgba(255,255,255,.64);line-height:2}.lor-eyebrow.light{color:var(--gold2)}.lor-journey{padding:17px;border:1px solid rgba(255,255,255,.1);border-radius:24px;background:rgba(255,255,255,.03)}.lor-journey article{display:grid;grid-template-columns:62px 1fr;gap:17px;align-items:center;min-height:88px;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.08)}.lor-journey article:last-child{border-bottom:0}.lor-journey article>b{width:47px;height:47px;display:grid;place-items:center;border:1px solid rgba(217,168,79,.34);border-radius:14px;color:var(--gold2);background:rgba(217,168,79,.08)}.lor-journey strong,.lor-journey small{display:block}.lor-journey small{margin-top:5px;color:rgba(255,255,255,.5)}.lor-journey .accent{margin-top:8px;border:1px solid rgba(217,168,79,.3);border-radius:15px;background:rgba(217,168,79,.07)}

.lor-two{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:36px}.lor-panel{min-height:480px;padding:32px;overflow:hidden;border:1px solid var(--line);border-radius:23px;background:#fafbfc}.lor-panel.dark{color:#fff;border-color:transparent;background:linear-gradient(145deg,#0a1b31,#10304d)}.lor-panel .tag{color:#96631a;font-weight:900}.lor-panel.dark .tag{color:var(--gold2)}.lor-panel h3{margin:13px 0 0;font-size:clamp(28px,2.6vw,42px);line-height:1.35}.lor-panel p{color:#69778a;line-height:1.9}.lor-panel.dark p{color:rgba(255,255,255,.62)}.lor-panel-image{height:240px;margin-top:24px;padding:9px;border-radius:17px;background:#fff}.lor-panel-image img{width:100%;height:100%;object-fit:contain}.lor-booking-mock{margin-top:25px;padding:22px;border:1px solid var(--line);border-radius:17px;background:#fff}.lor-booking-mock .days,.lor-booking-mock .times{display:flex;gap:8px;margin-top:16px}.lor-booking-mock .days i{flex:1;height:44px;border-radius:9px;background:#eef1f4}.lor-booking-mock .days i.on{background:var(--gold)}.lor-booking-mock .times span{padding:7px 10px;border-radius:8px;background:#f0f2f4;color:#536174;font-size:12px}.lor-status{display:grid;gap:9px;margin-top:24px}.lor-status div{display:flex;justify-content:space-between;gap:15px;padding:15px;border:1px solid rgba(255,255,255,.09);border-radius:13px;background:rgba(255,255,255,.04)}.lor-status span{color:var(--gold2);font-size:12px}

.lor-steps{position:relative;display:grid;grid-template-columns:repeat(5,1fr);gap:13px;margin-top:40px}.lor-steps:before{content:"";position:absolute;top:37px;inset-inline:8%;height:1px;background:#d8dee5}.lor-steps article{position:relative;z-index:1;min-height:185px;padding:22px 16px;text-align:center;border:1px solid var(--line);border-radius:19px;background:#fff}.lor-steps article>b{width:52px;height:52px;display:grid;place-items:center;margin:0 auto 20px;border-radius:15px;color:#906322;background:#f7eddc}.lor-steps strong,.lor-steps small{display:block}.lor-steps small{margin-top:7px;color:#7a8798}.lor-steps .active{border-color:#bc8b3c;box-shadow:0 15px 36px rgba(188,139,60,.12)}

.lor-checks{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:25px}.lor-checks span{padding:12px 14px;border-radius:11px;background:#f3f5f7;color:#465568;font-size:13px;font-weight:900}.lor-checks span:before{content:"✓";margin-inline-end:7px;color:#118d76}.lor-site{min-height:480px;padding:11px;border:1px solid var(--line);border-radius:23px;background:#f5f6f7;box-shadow:0 25px 65px rgba(8,23,43,.08)}.lor-site>img{display:block;width:100%;height:auto;max-height:550px;object-fit:contain;border-radius:15px;background:#fff}.lor-site-mock{min-height:455px;overflow:hidden;border-radius:15px;background:#fff}.lor-site-mock header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #edf0f3}.lor-site-mock header b{padding:9px 13px;border-radius:8px;color:#fff;background:var(--navy);font-size:12px}.lor-site-mock .hero{padding:62px 38px;color:#fff;background:linear-gradient(135deg,#10243b,#1e405d)}.lor-site-mock .hero small{color:var(--gold2)}.lor-site-mock .hero strong{display:block;margin-top:12px;font-size:32px;line-height:1.35}.lor-site-mock .hero p{color:rgba(255,255,255,.6)}.lor-site-mock .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:20px}.lor-site-mock .cards i{height:82px;border-radius:12px;background:#f1f3f5}

.lor-op-list{display:grid;gap:9px;margin-top:27px}.lor-op-list article{display:grid;grid-template-columns:50px 1fr;gap:14px;align-items:center;padding:15px;border:1px solid var(--line);border-radius:14px;background:#fff}.lor-op-list b{color:#a97220}.lor-op-list strong,.lor-op-list small{display:block}.lor-op-list small{margin-top:4px;color:#748193}

.lor-lawyer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px;margin-top:38px}.lor-lawyer-grid>article{padding:25px;border:1px solid var(--line);border-radius:21px;background:#fff;box-shadow:0 14px 34px rgba(8,23,43,.05)}.lor-lawyer-grid .avatar{width:52px;height:52px;display:grid;place-items:center;float:right;margin-left:13px;border-radius:14px;color:var(--gold2);background:var(--navy);font-size:20px;font-weight:900}.lor-lawyer-grid strong,.lor-lawyer-grid small{display:block}.lor-lawyer-grid small{margin-top:4px;color:#8993a1}.lor-lawyer-grid p{clear:both;padding-top:18px;color:#687587;line-height:1.8}.lor-lawyer-grid article>div:last-child{display:flex;flex-wrap:wrap;gap:6px}.lor-lawyer-grid article>div:last-child span{padding:6px 9px;border-radius:999px;background:#f3f5f7;color:#566376;font-size:11px;font-weight:800}

.dark-heading h2,.dark-heading p{color:#fff}.dark-heading p{opacity:.62}.dark-heading>span{color:var(--gold2)}.lor-dashboard-art{overflow:hidden;border:1px solid rgba(217,168,79,.22);border-radius:23px;background:#0b1d30;box-shadow:0 30px 65px rgba(0,0,0,.25)}.lor-dashboard-art>header{display:flex;justify-content:space-between;padding:17px 19px;border-bottom:1px solid rgba(255,255,255,.08)}.lor-dashboard-art>header strong{color:var(--gold2)}.lor-dashboard-art>header span{color:rgba(255,255,255,.48)}.lor-dashboard-art .grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:rgba(255,255,255,.08)}.lor-dashboard-art .grid article{min-height:110px;padding:20px;background:#0b1d30}.lor-dashboard-art small,.lor-dashboard-art b{display:block}.lor-dashboard-art small{color:rgba(255,255,255,.42)}.lor-dashboard-art b{margin-top:9px;color:#fff}.lor-dashboard-art .activity{display:flex;gap:13px;align-items:center;padding:19px}.lor-dashboard-art .activity>i{width:11px;height:11px;border-radius:50%;background:#63c8a7;box-shadow:0 0 0 6px rgba(99,200,167,.08)}.lor-dashboard-art .activity strong,.lor-dashboard-art .activity small{display:block}.lor-dashboard-art .activity small{margin-top:4px;color:rgba(255,255,255,.48)}

.lor-final{padding:84px 0;background:#f5f6f7}.lor-final-box{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:43px;border-radius:25px;color:#fff;background:linear-gradient(135deg,#0b1d31,#123452)}.lor-final-box span{color:var(--gold2);font-weight:900}.lor-final-box h2{max-width:900px;margin:8px 0 0;font-size:clamp(29px,3vw,46px);line-height:1.35}

.lor-footer{padding:68px 0 0;color:#fff;background:linear-gradient(180deg,#06111e,#050d17);font-family:"Cairo","Tajawal","Segoe UI",Arial,sans-serif}.lor-footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,.7fr);gap:46px;padding-bottom:54px}.lor-footer .logo{display:flex;gap:12px;align-items:center}.lor-footer .logo>span{width:50px;height:50px;display:grid;place-items:center;border:1px solid rgba(217,168,79,.3);border-radius:15px;color:#f1c878;background:rgba(255,255,255,.035);font-size:22px}.lor-footer .logo strong,.lor-footer .logo small{display:block}.lor-footer .logo small{margin-top:3px;color:rgba(255,255,255,.45)}.lor-footer .brand p{max-width:470px;margin:18px 0 0;color:rgba(255,255,255,.48);font-size:13px;line-height:2}.lor-footer .col{display:flex;flex-direction:column;gap:11px}.lor-footer .col h3{margin:0 0 7px;font-size:14px}.lor-footer .col a{color:rgba(255,255,255,.5);text-decoration:none;font-size:13px}.lor-footer .col a:hover{color:#f1c878}.lor-footer-bottom{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.33);font-size:11px}

@media(max-width:1100px){.lor-hero-grid,.lor-growth-grid,.lor-connected-grid,.lor-split{grid-template-columns:1fr}.lor-hero-copy{text-align:center}.lor-hero-copy>p{margin-inline:auto}.lor-actions,.lor-proof{justify-content:center}.lor-two{grid-template-columns:1fr}.lor-steps{grid-template-columns:repeat(3,1fr)}.lor-steps:before{display:none}.lor-lawyer-grid{grid-template-columns:1fr 1fr}.lor-footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.lor-home .container,.lor-footer .container{width:min(100% - 28px,1460px)}.lor-hero{padding:62px 0 58px}.lor-hero-copy h1{font-size:43px;letter-spacing:-1.4px}.lor-heading h2{font-size:35px;letter-spacing:-1px}.lor-video,.lor-showcase,.lor-booking,.lor-conversion,.lor-presence,.lor-operations,.lor-lawyers,.lor-growth,.lor-connected{padding:68px 0}.lor-browser{border-radius:16px}.lor-browser header{min-height:43px;border-radius:16px 16px 0 0}.lor-screen{padding:6px}.lor-tabs{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap}.lor-tabs span{white-space:nowrap}.lor-steps{grid-template-columns:1fr}.lor-checks{grid-template-columns:1fr}.lor-lawyer-grid{grid-template-columns:1fr}.lor-panel{min-height:auto;padding:23px}.lor-final-box{flex-direction:column;align-items:flex-start;padding:28px 23px}.lor-footer-grid{grid-template-columns:1fr;gap:30px}.lor-footer-bottom{align-items:flex-start;flex-direction:column;justify-content:center;padding-block:18px}}
/* ===== END LEGAL OFFICE FINAL HOMEPAGE REVIEW ===== */

/* ===== LEGAL OFFICE CURRENT HEADER V2 ===== */

html {
    scroll-behavior: smooth;
}

#home,
#product-video,
#system,
#growth,
#booking,
#conversion,
#online-presence,
#operations,
#lawyers,
#connected {
    scroll-margin-top: 105px;
}

.lo-current-header {
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(15, 39, 71, .08);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-family: "Cairo", "Tajawal", "Segoe UI", Arial, sans-serif;
}

.lo-current-header__inner {
    min-height: 78px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}

.lo-current-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #0d223f;
    text-decoration: none;
    white-space: nowrap;
}

.lo-current-header__mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(202,151,62,.28);
    border-radius: 13px;
    color: #c89a45;
    background: #0c2038;
}

.lo-current-header__mark svg {
    width: 24px;
    height: 24px;
}

.lo-current-header__brand-copy strong,
.lo-current-header__brand-copy small {
    display: block;
}

.lo-current-header__brand-copy strong {
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
}

.lo-current-header__brand-copy small {
    margin-top: 3px;
    color: #7b8797;
    font-size: 10px;
    font-weight: 700;
}

.lo-current-header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.lo-current-header__nav a {
    position: relative;
    padding: 11px 12px;
    border-radius: 9px;
    color: #556276;
    text-decoration: none;
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 800;
    transition: .2s ease;
}

.lo-current-header__nav a:hover {
    color: #0d223f;
    background: #f5f7f9;
}

.lo-current-header__nav a::after {
    content: "";
    position: absolute;
    right: 12px;
    left: 12px;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: #d1a04b;
    transform: scaleX(0);
    transition: .2s ease;
}

.lo-current-header__nav a:hover::after {
    transform: scaleX(1);
}

.lo-current-header__actions {
    display: flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
}

.lo-current-header__login,
.lo-current-header__cta {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
}

.lo-current-header__login {
    color: #24364f;
    border: 1px solid #dde3e9;
    background: #fff;
}

.lo-current-header__cta {
    color: #13233a;
    border: 1px solid #d3a04a;
    background: linear-gradient(135deg,#f0c778,#d9a64f);
}

.lo-current-header__menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid #dde3e9;
    border-radius: 11px;
    background: #fff;
}

.lo-current-header__menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    border-radius: 999px;
    background: #17314f;
}

@media (max-width: 1240px) {
    .lo-current-header__inner {
        gap: 18px;
    }

    .lo-current-header__nav a {
        padding-inline: 8px;
        font-size: 11.5px;
    }

    .lo-current-header__brand-copy small {
        display: none;
    }
}

@media (max-width: 980px) {
    .lo-current-header__inner {
        position: relative;
        grid-template-columns: auto auto 1fr;
    }

    .lo-current-header__menu-btn {
        display: block;
        grid-column: 2;
    }

    .lo-current-header__actions {
        grid-column: 3;
        justify-self: end;
    }

    .lo-current-header__nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid #dde3e9;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 18px 44px rgba(13,34,63,.12);
    }

    .lo-current-header__nav.is-open,
    .lo-current-header__nav.open,
    .lo-current-header__nav.active {
        display: flex;
    }

    .lo-current-header__nav a {
        width: 100%;
        padding: 12px 14px;
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .lo-current-header__inner {
        min-height: 70px;
        gap: 10px;
    }

    .lo-current-header__brand-copy strong {
        font-size: 14px;
    }

    .lo-current-header__login {
        display: none;
    }

    .lo-current-header__cta {
        min-height: 39px;
        padding: 0 13px;
        font-size: 11px;
    }

    .lo-current-header__mark {
        width: 40px;
        height: 40px;
    }
}

/* ===== END LEGAL OFFICE CURRENT HEADER V2 ===== */

/* ===== LEGAL SEO FOOTER LINKS ===== */
.legal-seo-footer-links{padding:28px 0 34px;border-top:1px solid rgba(255,255,255,.08)}
.legal-seo-footer-links>strong{display:block;margin-bottom:15px;color:#fff;font-family:"Cairo","Tajawal","Segoe UI",Arial,sans-serif;font-size:14px}
.legal-seo-footer-links>div{display:flex;flex-wrap:wrap;gap:8px 18px}
.legal-seo-footer-links a{color:rgba(255,255,255,.5);font-family:"Cairo","Tajawal","Segoe UI",Arial,sans-serif;font-size:12px;text-decoration:none}
.legal-seo-footer-links a:hover{color:#f1c878}
@media(max-width:700px){.legal-seo-footer-links>div{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:480px){.legal-seo-footer-links>div{grid-template-columns:1fr}}
/* ===== END LEGAL SEO FOOTER LINKS ===== */

/* ===== LEGAL OFFICE WHATSAPP V1 ===== */
.lo-current-header__actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    white-space:nowrap;
}

.lo-current-header__whatsapp{
    display:inline-flex;
    min-height:44px;
    padding:0 17px;
    align-items:center;
    justify-content:center;
    gap:9px;
    border:1px solid #1fb85c;
    border-radius:11px;
    color:#fff;
    background:#25D366;
    box-shadow:0 10px 24px rgba(37,211,102,.18);
    text-decoration:none;
    font-family:"Cairo","Tajawal","Segoe UI",Arial,sans-serif;
    font-size:12.5px;
    font-weight:900;
    transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}

.lo-current-header__whatsapp:hover{
    color:#fff;
    background:#1fbe5b;
    transform:translateY(-1px);
    box-shadow:0 13px 28px rgba(37,211,102,.23);
}

.lo-current-header__whatsapp svg{
    width:20px;
    height:20px;
    flex:0 0 20px;
}

.lo-floating-whatsapp{
    position:fixed;
    left:22px;
    bottom:22px;
    z-index:1200;
    display:inline-flex;
    min-height:58px;
    padding:7px 18px 7px 8px;
    align-items:center;
    gap:10px;
    border:1px solid rgba(255,255,255,.25);
    border-radius:999px;
    color:#fff;
    background:#25D366;
    box-shadow:0 15px 35px rgba(12,35,23,.24);
    text-decoration:none;
    font-family:"Cairo","Tajawal","Segoe UI",Arial,sans-serif;
    font-size:14px;
    font-weight:900;
    transition:transform .2s ease,box-shadow .2s ease;
}

.lo-floating-whatsapp:hover{
    color:#fff;
    transform:translateY(-3px);
    box-shadow:0 19px 40px rgba(12,35,23,.3);
}

.lo-floating-whatsapp__icon{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    flex:0 0 44px;
    border-radius:50%;
    color:#fff;
    background:rgba(0,0,0,.08);
}

.lo-floating-whatsapp__icon svg{
    width:28px;
    height:28px;
}

@media(max-width:640px){
    .lo-current-header__whatsapp{
        min-height:40px;
        padding:0 12px;
        font-size:11px;
    }

    .lo-current-header__whatsapp svg{
        width:18px;
        height:18px;
    }

    .lo-floating-whatsapp{
        left:16px;
        bottom:16px;
        width:56px;
        height:56px;
        min-height:56px;
        padding:6px;
        justify-content:center;
    }

    .lo-floating-whatsapp__icon{
        width:44px;
        height:44px;
    }

    .lo-floating-whatsapp__text{
        display:none;
    }
}
/* ===== END LEGAL OFFICE WHATSAPP V1 ===== */

/* ===== LEGAL OFFICE SYSTEM TABS GALLERY ===== */
.lor-system-gallery .lor-heading p{margin:10px auto 0;color:#758195;font-size:14px}
.lor-system-tabs{display:flex;width:max-content;max-width:100%;margin:28px auto 30px;padding:6px;align-items:center;gap:4px;overflow-x:auto;border:1px solid #dde4ec;border-radius:17px;background:#fff;box-shadow:0 10px 30px rgba(15,39,71,.06);scrollbar-width:none}
.lor-system-tabs::-webkit-scrollbar{display:none}
.lor-system-tab{flex:0 0 auto;min-height:52px;padding:0 19px;border:0;border-radius:12px;color:#526176;background:transparent;font-family:"Cairo","Tajawal","Segoe UI",Arial,sans-serif;font-size:13px;font-weight:900;cursor:pointer;transition:.2s ease}
.lor-system-tab:hover{color:#102947;background:#f5f7f9}
.lor-system-tab.active{color:#fff;background:#081d36;box-shadow:0 7px 18px rgba(8,29,54,.14)}
.lor-system-shot{position:relative;overflow:hidden;min-height:300px;border-radius:25px;border:1px solid #e0e6ec;background:#f7f9fb;box-shadow:0 20px 60px rgba(13,34,63,.08)}
.lor-system-shot img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center top;opacity:1;transition:opacity .18s ease}
.lor-system-shot.is-loading img{opacity:.38}
.lor-system-loader{position:absolute;top:50%;left:50%;z-index:2;width:32px;height:32px;margin:-16px 0 0 -16px;border:3px solid rgba(8,29,54,.12);border-top-color:#d4a34c;border-radius:50%;opacity:0;pointer-events:none;animation:lorSystemSpin .8s linear infinite}
.lor-system-shot.is-loading .lor-system-loader{opacity:1}
@keyframes lorSystemSpin{to{transform:rotate(360deg)}}
@media(max-width:760px){.lor-system-tabs{width:100%;justify-content:flex-start;margin-bottom:20px}.lor-system-tab{min-height:46px;padding:0 14px;font-size:12px}.lor-system-shot{border-radius:18px}}
/* ===== END LEGAL OFFICE SYSTEM TABS GALLERY ===== */

/* ===== BOOKING IMAGE FULL WIDTH FIX ===== */

/*
The old booking screenshot wrapper was fixed at 240px height.
Because the screenshot is relatively tall, object-fit: contain made the
actual interface appear tiny in the middle of a large white area.

This override lets the screenshot use the full card width.
*/
.lor-booking .lor-panel-image{
    width:100%;
    height:auto !important;
    min-height:0;
    margin-top:28px;
    padding:0;
    overflow:hidden;
    border:1px solid #e3e8ee;
    border-radius:18px;
    background:#fff;
    box-shadow:0 14px 34px rgba(13,34,63,.07);
}

.lor-booking .lor-panel-image img{
    display:block;
    width:100% !important;
    height:auto !important;
    max-width:none;
    max-height:none !important;
    object-fit:unset !important;
    object-position:center top;
}

/* Give the real screenshot a little more room than the old 50/50 card. */
@media(min-width:901px){
    .lor-booking .lor-two{
        grid-template-columns:minmax(0,1.22fr) minmax(360px,.78fr);
        align-items:stretch;
    }
}

@media(max-width:900px){
    .lor-booking .lor-two{
        grid-template-columns:1fr;
    }

    .lor-booking .lor-panel-image{
        border-radius:15px;
    }
}

/* After removing the first CTA, keep the remaining hero action aligned cleanly. */
.lor-hero .lor-actions{
    gap:10px;
}

/* ===== END BOOKING IMAGE FULL WIDTH FIX ===== */

/* ===== LEGAL OFFICE MOBILE DRAWER V3 ===== */

html,
body{
    max-width:100%;
}

body{
    overflow-x:hidden;
}

.lo-mobile-drawer-backdrop{
    position:fixed;
    inset:0;
    z-index:2147482000;
    opacity:0;
    background:rgba(3,14,29,.54);
    transition:opacity .18s ease;
}

.lo-mobile-drawer-backdrop.is-visible{
    opacity:1;
}

html.lo-drawer-open,
body.lo-drawer-open{
    overflow:hidden !important;
    overscroll-behavior:none !important;
}

/* Neutralize any stale state from public/js/website.js */
body.menu-open:not(.lo-drawer-open){
    overflow-y:auto !important;
    overflow-x:hidden !important;
}

@media(max-width:980px){

    .lo-current-header{
        width:100% !important;
        min-width:0 !important;
        z-index:2147482500 !important;
    }

    .lo-current-header__inner{
        width:min(100% - 24px,1180px) !important;
        min-height:68px !important;
        margin-inline:auto !important;
        display:flex !important;
        align-items:center !important;
        justify-content:space-between !important;
        gap:10px !important;
        position:relative !important;
    }

    .lo-current-header__brand{
        min-width:0 !important;
        max-width:calc(100% - 112px) !important;
        gap:8px !important;
        flex:1 1 auto !important;
    }

    .lo-current-header__mark{
        width:38px !important;
        height:38px !important;
        flex:0 0 38px !important;
        border-radius:10px !important;
    }

    .lo-current-header__brand-copy{
        min-width:0 !important;
        overflow:hidden !important;
    }

    .lo-current-header__brand-copy strong{
        display:block !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
        white-space:nowrap !important;
        font-size:12px !important;
    }

    .lo-current-header__brand-copy small{
        display:none !important;
    }

    .lo-current-header__actions{
        flex:0 0 auto !important;
        margin-inline-start:auto !important;
    }

    .lo-current-header__whatsapp{
        width:40px !important;
        min-width:40px !important;
        height:40px !important;
        min-height:40px !important;
        padding:0 !important;
        border-radius:10px !important;
    }

    .lo-current-header__whatsapp span{
        display:none !important;
    }

    #mobileMenuButton{
        position:relative !important;
        z-index:2147483400 !important;
        display:flex !important;
        width:40px !important;
        min-width:40px !important;
        height:40px !important;
        padding:9px !important;
        margin:0 !important;
        align-items:center !important;
        justify-content:center !important;
        flex-direction:column !important;
        gap:4px !important;
        border:1px solid #dce3ea !important;
        border-radius:10px !important;
        background:#fff !important;
        cursor:pointer !important;
    }

    #mobileMenuButton span{
        display:block !important;
        width:20px !important;
        height:2px !important;
        margin:0 !important;
        border-radius:999px !important;
        background:#0c2745 !important;
        transition:transform .18s ease,opacity .18s ease !important;
    }

    #mobileMenuButton.is-active{
        position:fixed !important;
        top:14px !important;
        right:18px !important;
        left:auto !important;
    }

    #mobileMenuButton.is-active span:nth-child(1){
        transform:translateY(6px) rotate(45deg) !important;
    }

    #mobileMenuButton.is-active span:nth-child(2){
        opacity:0 !important;
    }

    #mobileMenuButton.is-active span:nth-child(3){
        transform:translateY(-6px) rotate(-45deg) !important;
    }

    /*
     * mainNavigation is moved under <body> on mobile by JS.
     * It now has no transformed/filter ancestor, so fixed means VIEWPORT fixed.
     */
    body > #mainNavigation{
        position:fixed !important;
        top:0 !important;
        right:0 !important;
        bottom:0 !important;
        left:auto !important;
        z-index:2147483000 !important;

        width:min(84vw,320px) !important;
        height:100dvh !important;
        max-height:100dvh !important;
        min-height:100vh !important;

        margin:0 !important;
        padding:76px 16px 24px !important;

        display:flex !important;
        flex-direction:column !important;
        align-items:stretch !important;
        justify-content:flex-start !important;
        gap:4px !important;

        overflow-x:hidden !important;
        overflow-y:auto !important;
        -webkit-overflow-scrolling:touch !important;
        overscroll-behavior:contain !important;

        border:0 !important;
        border-radius:0 !important;
        background:#fff !important;
        box-shadow:-22px 0 60px rgba(3,17,34,.18) !important;

        transform:translate3d(105%,0,0) !important;
        visibility:hidden !important;
        opacity:0 !important;
        pointer-events:none !important;

        transition:
            transform .22s ease,
            opacity .16s ease,
            visibility .22s ease !important;
    }

    body > #mainNavigation.is-open{
        transform:translate3d(0,0,0) !important;
        visibility:visible !important;
        opacity:1 !important;
        pointer-events:auto !important;
    }

    body > #mainNavigation.open:not(.is-open),
    body > #mainNavigation.active:not(.is-open){
        transform:translate3d(105%,0,0) !important;
        visibility:hidden !important;
        opacity:0 !important;
        pointer-events:none !important;
    }

    body > #mainNavigation::before{
        content:"القائمة";
        display:block;
        margin-bottom:12px;
        padding:0 6px 13px;
        border-bottom:1px solid #edf0f3;
        color:#a7792f;
        font-size:12px;
        font-weight:900;
    }

    body > #mainNavigation a{
        position:relative !important;
        display:flex !important;
        width:100% !important;
        min-height:46px !important;
        padding:0 14px !important;
        align-items:center !important;

        border:0 !important;
        border-radius:10px !important;
        color:#314158 !important;
        background:transparent !important;

        text-align:right !important;
        white-space:normal !important;
        font-family:"Cairo","Tajawal","Segoe UI",Arial,sans-serif !important;
        font-size:13px !important;
        font-weight:800 !important;
        line-height:1.5 !important;
        text-decoration:none !important;
    }

    body > #mainNavigation a:hover,
    body > #mainNavigation a:focus{
        color:#0b223e !important;
        background:#f3f6f8 !important;
    }

    body > #mainNavigation a::after{
        display:none !important;
    }

    .lor-home,
    .lor-home section,
    .lor-home .container{
        max-width:100% !important;
    }

    .lor-home{
        overflow-x:hidden !important;
    }
}

@media(max-width:520px){
    .lo-current-header__inner{
        width:calc(100% - 18px) !important;
    }

    .lo-current-header__actions{
        display:none !important;
    }

    .lo-current-header__brand{
        max-width:calc(100% - 52px) !important;
    }

    body > #mainNavigation{
        width:min(86vw,300px) !important;
    }
}

/* ===== END LEGAL OFFICE MOBILE DRAWER V3 ===== */
