:root {
    --bg: #f6f3ed;
    --text: #16202a;
    --muted: #5d6873;
    --navy: #10233f;
    --gold: #b08a3c;
    --white: #ffffff;
    --line: rgba(16, 35, 63, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    background: var(--bg);
    color: var(--text);
}

.container {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    color: var(--navy);
    font-weight: 700;
    font-size: 22px;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
}

.hero {
    padding: 96px 0;
    background:
        linear-gradient(120deg, rgba(16,35,63,0.94), rgba(16,35,63,0.76)),
        radial-gradient(circle at top right, rgba(176,138,60,0.35), transparent 36%);
    color: var(--white);
}

.eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 13px;
    font-weight: 700;
}

.hero h1 {
    max-width: 820px;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 0.96;
    margin: 16px 0 22px;
    letter-spacing: -0.045em;
}

.hero-text {
    max-width: 720px;
    color: rgba(255,255,255,0.82);
    font-size: 20px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.45);
    color: var(--white);
}

.site-footer {
    padding: 34px 0;
    background: var(--navy);
    color: rgba(255,255,255,0.75);
}

@media (max-width: 760px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    .main-nav {
        gap: 14px;
    }

    .hero {
        padding: 68px 0;
    }
}

.content-section {
    padding: 84px 0;
    background: var(--bg);
}

.content-section h1 {
    max-width: 820px;
    margin: 12px 0 20px;
    color: var(--navy);
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.content-section p {
    max-width: 760px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.7;
}

.eyebrow.dark {
    color: var(--gold);
}

.main-nav a.active {
    color: var(--gold);
    font-weight: 700;
}

.cms-body {
    max-width: 820px;
    margin-top: 28px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.75;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 42px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(16, 35, 63, 0.08);
}

.service-kicker {
    margin: 0 0 12px;
    color: var(--gold) !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.service-card h2 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: 25px;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.service-card p {
    font-size: 16px;
    line-height: 1.65;
}

.card-link {
    display: inline-flex;
    margin-top: 8px;
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--gold);
}

.service-hero {
    padding: 86px 0;
    background:
        linear-gradient(120deg, rgba(16,35,63,0.96), rgba(16,35,63,0.80)),
        radial-gradient(circle at top right, rgba(176,138,60,0.34), transparent 34%);
    color: var(--white);
}

.service-hero h1 {
    max-width: 900px;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 0.98;
    margin: 16px 0 22px;
    letter-spacing: -0.045em;
}

.service-detail-body {
    max-width: 850px;
    color: var(--text);
    font-size: 19px;
    line-height: 1.8;
}

.service-detail-body p {
    color: var(--text);
}

@media (max-width: 980px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 24px;
    }
}

.related-block {
    margin-top: 52px;
}

.related-block h2 {
    max-width: 760px;
    margin: 12px 0 18px;
    color: var(--navy);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.insight-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 42px;
}

.insight-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 18px 45px rgba(16, 35, 63, 0.08);
}

.insight-card h2 {
    max-width: 850px;
    margin: 0 0 14px;
    color: var(--navy);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.insight-card p {
    max-width: 850px;
    font-size: 17px;
    line-height: 1.7;
}

.article-meta {
    margin-top: 24px;
    color: rgba(255,255,255,0.72);
    font-size: 15px;
}

.insight-body {
    max-width: 850px;
    color: var(--text);
    font-size: 20px;
    line-height: 1.85;
}

.insight-body p {
    color: var(--text);
    margin: 0 0 24px;
}

.article-actions {
    margin-top: 36px;
}

/* Homepage commercial service storefront cards */
.home-services-section {
    background:
        radial-gradient(circle at top left, rgba(196, 146, 45, 0.14), transparent 34%),
        linear-gradient(180deg, #f7f3ea 0%, #efe7d8 100%);
    padding: 86px 0 96px;
}

.home-services-header {
    max-width: 900px;
    margin-bottom: 38px;
}

.home-services-header h2 {
    margin: 8px 0 14px;
    color: var(--navy);
    font-family: Georgia, serif;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.04;
}

.home-services-header p {
    max-width: 780px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.75;
}

.law-service-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.law-service-card {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(12, 32, 56, 0.96), rgba(18, 61, 53, 0.98)),
        #10233b;
    border: 1px solid rgba(196, 146, 45, 0.36);
    box-shadow: 0 24px 65px rgba(8, 21, 35, 0.22);
    color: #fff8ea;
}

.law-service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,.08), transparent 32%),
        radial-gradient(circle at bottom right, rgba(196,146,45,.22), transparent 38%);
    pointer-events: none;
}

.law-service-card > * {
    position: relative;
    z-index: 1;
}

.law-service-card-top {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.law-service-tag,
.law-service-featured {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.law-service-tag {
    color: #f2d37a;
    border: 1px solid rgba(242, 211, 122, .42);
    background: rgba(255, 255, 255, .06);
}

.law-service-featured {
    color: #071523;
    background: linear-gradient(135deg, #f2d37a, #b8892b);
}

.law-service-card h3 {
    margin: 8px 0 0;
    font-family: Georgia, serif;
    font-size: 29px;
    line-height: 1.12;
    color: #fff;
}

.law-service-subtitle {
    margin: 0;
    color: rgba(255, 248, 234, .82);
    font-weight: 800;
    font-size: 16px;
    line-height: 1.5;
}

.law-service-description {
    margin: 0;
    color: rgba(255, 248, 234, .74);
    font-size: 16px;
    line-height: 1.68;
}

.law-service-offer-box {
    margin-top: auto;
    border: 1px solid rgba(242, 211, 122, .32);
    border-radius: 18px;
    padding: 15px 16px;
    background: rgba(255, 248, 234, .06);
}

.law-service-offer-box span {
    display: block;
    color: rgba(255, 248, 234, .68);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.law-service-offer-box strong {
    display: block;
    margin-top: 6px;
    color: #f2d37a;
    font-family: Georgia, serif;
    font-size: 20px;
    line-height: 1.2;
}

.law-service-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.law-card-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

@media (max-width: 1050px) {
    .law-service-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .home-services-section {
        padding: 56px 0 68px;
    }

    .law-service-card-grid {
        grid-template-columns: 1fr;
    }

    .law-service-card {
        min-height: auto;
        padding: 23px;
    }

    .law-service-card h3 {
        font-size: 25px;
    }
}

/* Service detail sales-page redesign */
.service-sales-page {
    background: #f6f1e8;
}

.service-sales-hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 88px;
    background:
        radial-gradient(circle at 78% 18%, rgba(196, 146, 45, 0.24), transparent 34%),
        linear-gradient(135deg, #071523 0%, #10243b 44%, #143c36 100%);
    color: #fff8ea;
}

.service-sales-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: .32;
    pointer-events: none;
}

.service-sales-hero .container {
    position: relative;
    z-index: 1;
}

.service-back-link {
    display: inline-flex;
    margin-bottom: 28px;
    color: rgba(255, 248, 234, .74);
    font-weight: 900;
    text-decoration: none;
}

.service-back-link:hover {
    color: #f2d37a;
}

.service-sales-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 430px;
    gap: 42px;
    align-items: start;
}

.service-kicker {
    display: inline-flex;
    margin: 0 0 18px;
    color: #f2d37a;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.service-kicker.dark {
    color: #a8751c;
}

.service-sales-hero h1 {
    max-width: 980px;
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(46px, 7vw, 92px);
    line-height: .96;
    letter-spacing: -.055em;
    color: #fff;
}

.service-sales-lead {
    max-width: 850px;
    margin: 26px 0 0;
    color: rgba(255, 248, 234, .9);
    font-size: 24px;
    line-height: 1.48;
    font-weight: 800;
}

.service-sales-summary {
    max-width: 840px;
    margin: 22px 0 0;
    color: rgba(255, 248, 234, .78);
    font-size: 18px;
    line-height: 1.75;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.service-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.service-proof-row span {
    border: 1px solid rgba(242, 211, 122, .32);
    border-radius: 999px;
    padding: 10px 13px;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 248, 234, .82);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.service-hero-panel {
    position: sticky;
    top: 24px;
    border: 1px solid rgba(242, 211, 122, .42);
    border-radius: 32px;
    padding: 30px;
    background:
        linear-gradient(145deg, rgba(255, 248, 234, .11), rgba(255, 248, 234, .055)),
        rgba(7, 21, 35, .72);
    box-shadow: 0 30px 85px rgba(0,0,0,.34);
    backdrop-filter: blur(14px);
}

.panel-label,
.sticky-kicker {
    color: #f2d37a;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.service-hero-panel h2,
.sticky-card h2 {
    margin: 12px 0 12px;
    font-family: Georgia, serif;
    font-size: 32px;
    line-height: 1.05;
    color: #fff;
}

.service-hero-panel p {
    color: rgba(255, 248, 234, .76);
    line-height: 1.68;
}

.panel-checklist {
    display: grid;
    gap: 12px;
    margin: 22px 0 24px;
}

.panel-checklist div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: start;
    border: 1px solid rgba(242, 211, 122, .22);
    border-radius: 16px;
    padding: 12px;
    background: rgba(255, 248, 234, .06);
}

.panel-checklist strong {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f2d37a, #b8892b);
    color: #071523;
    font-weight: 950;
}

.panel-checklist span {
    color: rgba(255, 248, 234, .86);
    font-weight: 800;
    line-height: 1.45;
}

.panel-main-cta,
.sticky-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.panel-secondary-link,
.sticky-muted-link {
    display: block;
    margin-top: 14px;
    color: rgba(255, 248, 234, .74);
    font-weight: 900;
    text-align: center;
}

.panel-note {
    margin: 20px 0 0;
    color: rgba(255, 248, 234, .54) !important;
    font-size: 13px;
}

.service-scan-section {
    padding: 34px 0;
    background: #fffaf0;
    border-bottom: 1px solid rgba(8, 21, 35, .08);
}

.service-scan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-scan-card {
    border: 1px solid rgba(8, 21, 35, .1);
    border-radius: 26px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 16px 46px rgba(8, 21, 35, .08);
}

.service-scan-card span {
    color: #a8751c;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.service-scan-card h2 {
    margin: 10px 0 10px;
    color: #071523;
    font-family: Georgia, serif;
    font-size: 25px;
    line-height: 1.12;
}

.service-scan-card p {
    margin: 0;
    color: #516072;
    line-height: 1.66;
}

.service-detail-sales-section {
    padding: 78px 0 92px;
    background:
        radial-gradient(circle at 90% 8%, rgba(196,146,45,.16), transparent 34%),
        #f6f1e8;
}

.service-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: start;
}

.service-section-heading {
    max-width: 850px;
    margin-bottom: 28px;
}

.service-section-heading h2 {
    margin: 0;
    color: #071523;
    font-family: Georgia, serif;
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.05;
}

.service-section-heading p {
    margin: 16px 0 0;
    color: #516072;
    font-size: 18px;
    line-height: 1.7;
}

.service-rich-content {
    display: grid;
    gap: 22px;
}

.service-rich-content .service-sales-block,
.service-rich-content > section,
.service-rich-content > div,
.service-rich-content > h2,
.service-rich-content > p,
.service-rich-content > ul {
    border: 1px solid rgba(8, 21, 35, .10);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(8, 21, 35, .08);
}

.service-rich-content .service-sales-block,
.service-rich-content > section,
.service-rich-content > div {
    padding: 34px;
}

.service-rich-content > h2,
.service-rich-content > p,
.service-rich-content > ul {
    padding: 28px 34px;
}

.service-rich-content h2 {
    margin: 0 0 16px;
    color: #071523;
    font-family: Georgia, serif;
    font-size: clamp(28px, 4vw, 43px);
    line-height: 1.08;
}

.service-rich-content h3 {
    margin: 24px 0 8px;
    color: #10243b;
    font-family: Georgia, serif;
    font-size: 25px;
    line-height: 1.18;
}

.service-rich-content p {
    color: #39485a;
    font-size: 18px;
    line-height: 1.78;
    margin: 0 0 18px;
}

.service-rich-content p:last-child {
    margin-bottom: 0;
}

.service-rich-content ul {
    display: grid;
    gap: 11px;
    margin: 18px 0 0;
    padding-left: 0;
    list-style: none;
}

.service-rich-content li {
    position: relative;
    padding: 12px 14px 12px 44px;
    border-radius: 16px;
    background: #f8f2e7;
    color: #263548;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 700;
}

.service-rich-content li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 12px;
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #c4922d;
    color: #071523;
    font-size: 13px;
    font-weight: 950;
}

.service-rich-content .service-sales-intro {
    border-color: rgba(196,146,45,.32);
    background:
        linear-gradient(135deg, rgba(196,146,45,.14), transparent 36%),
        #fff;
}

.service-rich-content .service-sales-cta {
    background:
        linear-gradient(135deg, #071523, #143c36);
    color: #fff8ea;
}

.service-rich-content .service-sales-cta h2,
.service-rich-content .service-sales-cta p {
    color: #fff8ea;
}

.service-rich-content .service-sales-disclaimer {
    background: #fffaf0;
    box-shadow: none;
}

.service-sticky-cta {
    position: sticky;
    top: 24px;
}

.sticky-card {
    border: 1px solid rgba(196,146,45,.34);
    border-radius: 28px;
    padding: 28px;
    background:
        linear-gradient(145deg, #10243b, #123d35);
    box-shadow: 0 22px 65px rgba(8,21,35,.18);
    color: #fff8ea;
}

.sticky-card p {
    color: rgba(255, 248, 234, .76);
    line-height: 1.66;
}

.sticky-card ul {
    display: grid;
    gap: 10px;
    margin: 20px 0 24px;
    padding: 0;
    list-style: none;
}

.sticky-card li {
    border: 1px solid rgba(242,211,122,.24);
    border-radius: 14px;
    padding: 10px 12px;
    color: rgba(255, 248, 234, .84);
    font-weight: 800;
}

.service-bottom-cta {
    padding: 0 0 92px;
    background: #f6f1e8;
}

.service-bottom-cta-box {
    border-radius: 34px;
    padding: 46px;
    background:
        radial-gradient(circle at top right, rgba(242,211,122,.26), transparent 32%),
        linear-gradient(135deg, #071523, #10243b 48%, #143c36);
    color: #fff8ea;
    box-shadow: 0 28px 75px rgba(8,21,35,.2);
}

.service-bottom-cta-box h2 {
    max-width: 760px;
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.04;
    color: #fff;
}

.service-bottom-cta-box p {
    max-width: 820px;
    color: rgba(255, 248, 234, .78);
    font-size: 19px;
    line-height: 1.7;
}

@media (max-width: 1050px) {
    .service-sales-hero-grid,
    .service-detail-layout {
        grid-template-columns: 1fr;
    }

    .service-hero-panel,
    .service-sticky-cta {
        position: static;
    }

    .service-scan-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .service-sales-hero {
        padding: 48px 0 58px;
    }

    .service-sales-hero h1 {
        font-size: clamp(40px, 14vw, 58px);
    }

    .service-sales-lead {
        font-size: 20px;
    }

    .service-hero-actions {
        display: grid;
    }

    .service-rich-content .service-sales-block,
    .service-rich-content > section,
    .service-rich-content > div,
    .service-rich-content > h2,
    .service-rich-content > p,
    .service-rich-content > ul {
        padding: 24px;
        border-radius: 22px;
    }

    .service-bottom-cta-box {
        padding: 30px;
    }
}

/* L.30B multilingual homepage language switcher */
.header-inner {
    gap: 22px;
}

.language-switcher {
    position: relative;
    margin-left: 8px;
    flex-shrink: 0;
}

.language-switcher summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid rgba(16, 35, 63, 0.16);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(239,244,251,0.95));
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(16, 35, 63, 0.10);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.language-switcher summary::-webkit-details-marker {
    display: none;
}

.language-switcher summary:hover {
    transform: translateY(-1px);
    border-color: rgba(181, 139, 78, 0.45);
    box-shadow: 0 16px 32px rgba(16, 35, 63, 0.15);
}

.language-switcher[open] summary {
    border-color: rgba(181, 139, 78, 0.55);
}

.language-switcher-globe {
    font-size: 1rem;
    line-height: 1;
}

.language-switcher-current {
    white-space: nowrap;
}

.language-switcher-arrow {
    font-size: 0.9rem;
    color: var(--gold);
}

.language-switcher-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 999;
    width: 260px;
    max-height: min(70vh, 520px);
    overflow: auto;
    padding: 10px;
    border: 1px solid rgba(16, 35, 63, 0.12);
    border-radius: 20px;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 24px 60px rgba(16, 35, 63, 0.22);
    backdrop-filter: blur(14px);
}

html[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 8px;
}

html[dir="rtl"] .language-switcher-menu {
    right: auto;
    left: 0;
}

.language-switcher-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 12px;
    border-radius: 14px;
    color: var(--navy);
    text-decoration: none;
    transition: background 0.16s ease, transform 0.16s ease;
}

.language-switcher-option:hover {
    background: rgba(181, 139, 78, 0.12);
    transform: translateX(2px);
}

html[dir="rtl"] .language-switcher-option:hover {
    transform: translateX(-2px);
}

.language-switcher-option.active {
    background: rgba(16, 35, 63, 0.08);
    box-shadow: inset 0 0 0 1px rgba(181, 139, 78, 0.22);
}

.language-switcher-native {
    font-weight: 800;
}

.language-switcher-option small {
    color: rgba(16, 35, 63, 0.58);
    font-size: 0.74rem;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .header-inner {
        align-items: stretch;
    }

    .language-switcher {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .language-switcher summary {
        width: 100%;
        justify-content: center;
    }

    .language-switcher-menu {
        position: static;
        width: 100%;
        max-height: none;
        margin-top: 10px;
        box-shadow: 0 14px 34px rgba(16, 35, 63, 0.14);
    }
}

/* A-1 mobile bookstore-style header */
.site-header {
    background: linear-gradient(135deg, #081a30 0%, #10233f 55%, #081a30 100%);
    border-bottom: 1px solid rgba(176, 138, 60, 0.35);
}

.header-inner {
    min-height: 96px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: #f5efe2;
    text-decoration: none;
    min-width: 0;
}

.site-brand-mark {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background:
        radial-gradient(circle at 35% 25%, rgba(176, 138, 60, 0.48), transparent 34%),
        linear-gradient(145deg, #081a30, #10233f);
    color: #d7b36b;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: 0.04em;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255,255,255,0.08);
}

.site-brand-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.site-brand-title {
    color: #eef3ff;
    font-size: 27px;
    line-height: 0.94;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.site-brand-subtitle {
    color: rgba(214, 180, 108, 0.92);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.desktop-nav a {
    color: rgba(245, 239, 226, 0.86);
}

.desktop-nav a.active {
    color: var(--gold);
}

.mobile-menu {
    display: none;
}

.mobile-menu summary::-webkit-details-marker {
    display: none;
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1140px);
    }

    .site-header {
        background: linear-gradient(135deg, #081a30 0%, #10233f 55%, #081a30 100%);
    }

    .header-inner {
        min-height: 164px;
        padding: 18px 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        position: relative;
    }

    .site-brand {
        flex: 1 1 auto;
        gap: 14px;
        min-width: 0;
    }

    .site-brand-mark {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
        border-radius: 20px;
        font-size: 24px;
    }

    .site-brand-title {
        font-size: clamp(24px, 7vw, 32px);
        line-height: 0.98;
        letter-spacing: 0.05em;
        max-width: 390px;
    }

    .site-brand-subtitle {
        font-size: 12px;
        letter-spacing: 0.24em;
    }

    .desktop-nav,
    .desktop-language-switcher {
        display: none;
    }

    .mobile-menu {
        display: block;
        flex: 0 0 auto;
    }

    .mobile-menu > summary {
        width: 92px;
        height: 78px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 9px;
        border-radius: 24px;
        border: 1px solid rgba(176, 138, 60, 0.18);
        background: linear-gradient(145deg, #10233f, #162f4b);
        box-shadow: 0 16px 34px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.05);
        cursor: pointer;
        list-style: none;
    }

    .mobile-menu > summary span {
        width: 38px;
        height: 5px;
        border-radius: 999px;
        background: #7b2e12;
        box-shadow: 0 1px 0 rgba(255,255,255,0.08);
    }

    .mobile-menu-panel {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% - 8px);
        z-index: 1000;
        padding: 18px;
        border: 1px solid rgba(176, 138, 60, 0.24);
        border-radius: 24px;
        background: rgba(19, 24, 32, 0.98);
        box-shadow: 0 28px 70px rgba(0,0,0,0.42);
    }

    .mobile-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 14px;
    }

    .mobile-nav a {
        color: rgba(245, 239, 226, 0.9);
        text-decoration: none;
        font-size: 20px;
        line-height: 1.15;
        padding: 10px 0;
    }

    .mobile-nav a.active {
        color: var(--gold);
        font-weight: 800;
    }

    .mobile-language-list {
        margin-top: 18px;
        padding-top: 16px;
        border-top: 1px solid rgba(176, 138, 60, 0.2);
        display: flex;
        flex-wrap: wrap;
        gap: 9px;
    }

    .mobile-language-title {
        width: 100%;
        color: rgba(214, 180, 108, 0.9);
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.18em;
        text-transform: uppercase;
    }

    .mobile-language-option {
        color: rgba(245, 239, 226, 0.88);
        text-decoration: none;
        border: 1px solid rgba(176, 138, 60, 0.22);
        border-radius: 999px;
        padding: 8px 12px;
        font-size: 15px;
    }

    .mobile-language-option.active {
        color: #10233f;
        background: var(--gold);
        font-weight: 800;
    }
}

/* A-1.5 fix mobile header overlap and match approved mobile look */
@media (max-width: 760px) {
    .site-header {
        background:
            radial-gradient(circle at 50% 40%, rgba(176, 138, 60, 0.18), transparent 44%),
            linear-gradient(90deg, #140b02, #2a1b08 50%, #140b02);
    }

    .header-inner {
        min-height: 184px;
        padding: 30px 0;
        display: grid;
        grid-template-columns: 150px minmax(0, 1fr) 150px;
        align-items: center;
        gap: 18px;
    }

    .site-brand {
        display: contents;
    }

    .site-brand-mark {
        grid-column: 1;
        justify-self: start;
        width: 150px;
        height: 150px;
        flex-basis: 150px;
        border-radius: 28px;
        font-size: 45px;
    }

    .site-brand-text {
        grid-column: 2;
        justify-self: center;
        text-align: left;
        width: 100%;
        max-width: 390px;
        overflow: hidden;
    }

    .site-brand-title {
        font-size: clamp(38px, 6.4vw, 48px);
        line-height: 0.92;
        letter-spacing: 0.065em;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
    }

    .site-brand-subtitle {
        margin-top: 10px;
        font-size: clamp(18px, 3vw, 23px);
        line-height: 0.95;
        letter-spacing: 0.28em;
        white-space: normal;
    }

    .mobile-menu {
        grid-column: 3;
        justify-self: end;
    }

    .mobile-menu > summary {
        width: 150px;
        height: 150px;
        border-radius: 30px;
        gap: 16px;
    }

    .mobile-menu > summary span {
        width: 70px;
        height: 8px;
    }

    .mobile-menu-panel {
        top: calc(100% - 10px);
    }
}

@media (max-width: 430px) {
    .header-inner {
        grid-template-columns: 144px minmax(0, 1fr) 144px;
        gap: 12px;
    }

    .site-brand-mark {
        width: 144px;
        height: 144px;
        flex-basis: 144px;
        font-size: 43px;
    }

    .mobile-menu > summary {
        width: 144px;
        height: 144px;
    }

    .mobile-menu > summary span {
        width: 66px;
    }

    .site-brand-title {
        font-size: 42px;
    }

    .site-brand-subtitle {
        font-size: 19px;
    }
}

@media (max-width: 390px) {
    .header-inner {
        grid-template-columns: 132px minmax(0, 1fr) 132px;
        gap: 10px;
    }

    .site-brand-mark,
    .mobile-menu > summary {
        width: 132px;
        height: 132px;
    }

    .site-brand-mark {
        flex-basis: 132px;
        font-size: 39px;
    }

    .mobile-menu > summary span {
        width: 60px;
        height: 7px;
    }

    .site-brand-title {
        font-size: 36px;
        letter-spacing: 0.055em;
    }

    .site-brand-subtitle {
        font-size: 16px;
    }
}

/* A-1.6 clean mobile header proportions: logo | text | burger */
@media (max-width: 760px) {
    .site-header {
        background: linear-gradient(135deg, #081a30 0%, #10233f 55%, #081a30 100%);
    }

    .header-inner {
        min-height: 128px;
        padding: 16px 0;
        display: grid;
        grid-template-columns: 74px minmax(0, 1fr) 74px;
        align-items: center;
        gap: 14px;
    }

    .site-brand {
        display: contents;
    }

    .site-brand-mark {
        grid-column: 1;
        justify-self: start;
        width: 74px;
        height: 74px;
        flex-basis: 74px;
        border-radius: 18px;
        font-size: 24px;
    }

    .site-brand-text {
        grid-column: 2;
        justify-self: start;
        width: 100%;
        min-width: 0;
        max-width: none;
        overflow: visible;
        text-align: left;
    }

    .site-brand-title {
        display: block;
        color: #eef3ff;
        font-size: 27px;
        line-height: 0.95;
        letter-spacing: 0.055em;
        font-weight: 800;
        text-transform: uppercase;
        white-space: normal;
        overflow: visible;
        word-break: normal;
    }

    .site-brand-subtitle {
        display: block;
        margin-top: 8px;
        color: rgba(214, 180, 108, 0.92);
        font-family: Arial, Helvetica, sans-serif;
        font-size: 11px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: 0.24em;
        text-transform: uppercase;
        white-space: normal;
    }

    .mobile-menu {
        grid-column: 3;
        justify-self: end;
    }

    .mobile-menu > summary {
        width: 74px;
        height: 74px;
        border-radius: 20px;
        gap: 7px;
    }

    .mobile-menu > summary span {
        width: 34px;
        height: 4px;
    }

    .mobile-menu-panel {
        top: calc(100% - 6px);
    }
}

@media (max-width: 390px) {
    .header-inner {
        grid-template-columns: 68px minmax(0, 1fr) 68px;
        gap: 12px;
    }

    .site-brand-mark,
    .mobile-menu > summary {
        width: 68px;
        height: 68px;
    }

    .site-brand-mark {
        flex-basis: 68px;
        font-size: 22px;
    }

    .mobile-menu > summary span {
        width: 31px;
        height: 4px;
    }

    .site-brand-title {
        font-size: 24px;
    }

    .site-brand-subtitle {
        font-size: 10px;
        letter-spacing: 0.22em;
    }
}

/* A-2.1 use uploaded logo image in header */
.site-brand-mark {
    overflow: hidden;
    padding: 0;
    background: none;
}

.site-brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* A-2.4 sticky header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 5000;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.mobile-menu-panel {
    z-index: 6000;
}

/* A-2.6 premium mobile menu redesign */
@media (max-width: 760px) {
    .mobile-menu > summary {
        background:
            radial-gradient(circle at 30% 20%, rgba(214, 180, 108, 0.12), transparent 34%),
            linear-gradient(145deg, #07182d 0%, #10233f 100%);
        border: 1px solid rgba(214, 180, 108, 0.30);
        box-shadow:
            0 18px 38px rgba(0, 0, 0, 0.34),
            inset 0 0 0 1px rgba(255, 255, 255, 0.055);
        transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    }

    .mobile-menu > summary:hover {
        transform: translateY(-1px);
        border-color: rgba(214, 180, 108, 0.52);
        box-shadow:
            0 22px 44px rgba(0, 0, 0, 0.42),
            inset 0 0 0 1px rgba(255, 255, 255, 0.075);
    }

    .mobile-menu > summary span {
        background: linear-gradient(90deg, #8f3518, #b6532a);
        opacity: 0.94;
    }

    .mobile-menu[open] > summary span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .mobile-menu[open] > summary span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu[open] > summary span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .mobile-menu-panel {
        left: 0;
        right: 0;
        top: calc(100% + 10px);
        padding: 22px;
        border-radius: 26px;
        border: 1px solid rgba(214, 180, 108, 0.30);
        background:
            linear-gradient(180deg, rgba(8, 26, 48, 0.98), rgba(5, 13, 25, 0.98));
        box-shadow:
            0 30px 80px rgba(0, 0, 0, 0.55),
            inset 0 1px 0 rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(18px);
        max-height: calc(100vh - 190px);
        overflow-y: auto;
    }

    .mobile-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mobile-nav a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 54px;
        padding: 0 4px;
        border-bottom: 1px solid rgba(214, 180, 108, 0.14);
        color: rgba(245, 239, 226, 0.92);
        font-size: 24px;
        line-height: 1.1;
        letter-spacing: 0.03em;
        text-decoration: none;
    }

    .mobile-nav a::after {
        content: "›";
        color: rgba(214, 180, 108, 0.58);
        font-size: 24px;
        line-height: 1;
    }

    .mobile-nav a.active {
        color: #d6b46c;
        font-weight: 800;
    }

    .mobile-nav a.active::after {
        color: #d6b46c;
    }

    .mobile-language-list {
        margin-top: 22px;
        padding-top: 18px;
        border-top: 1px solid rgba(214, 180, 108, 0.22);
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .mobile-language-title {
        grid-column: 1 / -1;
        width: auto;
        margin-bottom: 2px;
        color: rgba(214, 180, 108, 0.92);
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.24em;
        text-transform: uppercase;
    }

    .mobile-language-option {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        width: 100%;
        padding: 10px 12px;
        border-radius: 999px;
        border: 1px solid rgba(214, 180, 108, 0.24);
        background: rgba(255, 255, 255, 0.025);
        color: rgba(245, 239, 226, 0.88);
        font-size: 17px;
        line-height: 1;
        text-align: center;
        text-decoration: none;
        white-space: nowrap;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
    }

    .mobile-language-option.active {
        border-color: rgba(214, 180, 108, 0.95);
        background: linear-gradient(135deg, #c8a24f, #9f7931);
        color: #07182d;
        font-weight: 900;
        box-shadow: 0 12px 28px rgba(214, 180, 108, 0.18);
    }
}

@media (max-width: 390px) {
    .mobile-menu-panel {
        padding: 18px;
        border-radius: 22px;
        max-height: calc(100vh - 170px);
    }

    .mobile-nav a {
        min-height: 50px;
        font-size: 22px;
    }

    .mobile-language-option {
        min-height: 42px;
        font-size: 15px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* A-7.20: Improve justified text wrapping and hyphenation on public content */
.hero-text,
.home-services-header p:not(.eyebrow),
.service-card p,
.service-card-description,
.service-description,
.service-summary,
.service-excerpt,
.card-description,
.service-detail-content p,
.service-content p {
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
}

/* A-7.20: Keep headings and short labels visually clean */
.service-card h1,
.service-card h2,
.service-card h3,
.service-card h4,
.service-card .service-title,
.home-services-header .eyebrow,
.hero .eyebrow {
    text-align: left;
    hyphens: none;
    overflow-wrap: normal;
}

/* A-7.20: Reduce ugly justified gaps on narrow screens */
@media (max-width: 640px) {
    .hero-text,
    .home-services-header p:not(.eyebrow),
    .service-card p,
    .service-card-description,
    .service-description,
    .service-summary,
    .service-excerpt,
    .card-description,
    .service-detail-content p,
    .service-content p {
        text-align: left;
        hyphens: auto;
        -webkit-hyphens: auto;
        overflow-wrap: break-word;
    }
}

/* A-7.21: Strong final override for justified public paragraphs and service cards */
.hero-text,
.home-services-header > p:not(.eyebrow),
.home-services-header p:not(.eyebrow),
.law-service-description,
.law-service-card .law-service-description,
.law-service-card p,
.service-card p,
.service-detail-content p,
.service-content p {
    text-align: justify !important;
    text-align-last: left !important;
    text-justify: inter-word !important;

    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
    hyphenate-character: "-" !important;

    overflow-wrap: anywhere !important;
    word-wrap: break-word !important;
    word-break: normal !important;

    min-width: 0 !important;
}

/* A-7.21: Override the earlier mobile rule too */
@media (max-width: 640px) {
    .hero-text,
    .home-services-header > p:not(.eyebrow),
    .home-services-header p:not(.eyebrow),
    .law-service-description,
    .law-service-card .law-service-description,
    .law-service-card p,
    .service-card p,
    .service-detail-content p,
    .service-content p {
        text-align: justify !important;
        text-align-last: left !important;

        hyphens: auto !important;
        -webkit-hyphens: auto !important;
        -ms-hyphens: auto !important;
        hyphenate-character: "-" !important;

        overflow-wrap: anywhere !important;
        word-wrap: break-word !important;
        word-break: normal !important;

        min-width: 0 !important;
    }
}

/* A-7.21: Keep headings/buttons/labels clean */
.law-service-card h1,
.law-service-card h2,
.law-service-card h3,
.law-service-card h4,
.service-card h1,
.service-card h2,
.service-card h3,
.service-card h4,
.law-service-card-actions,
.law-service-card-actions a,
.hero-actions,
.hero-actions a,
.home-services-header .eyebrow,
.hero .eyebrow {
    text-align: left !important;
    hyphens: none !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

/* A-7.23: Premium Regulatory Intelligence footer */
.premium-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(176, 138, 60, 0.20), transparent 34%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 30%),
        #07182d;
    color: #e9dfc9;
    margin-top: 0;
}

.premium-footer-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.10;
    pointer-events: none;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        linear-gradient(45deg, rgba(176, 138, 60, 0.20) 1px, transparent 1px);
    background-size: 34px 34px;
}

.premium-footer-container {
    position: relative;
    padding-top: 56px;
    padding-bottom: 28px;
}

.premium-footer-shell {
    border: 1px solid rgba(176, 138, 60, 0.28);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.055);
    padding: 28px;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.28),
        0 0 42px rgba(176, 138, 60, 0.08);
    backdrop-filter: blur(8px);
}

.premium-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.75fr 0.9fr 1fr;
    gap: 22px;
}

.premium-footer-card {
    border: 1px solid rgba(176, 138, 60, 0.22);
    border-radius: 24px;
    background: rgba(7, 24, 45, 0.68);
    padding: 24px;
    box-shadow: 0 0 15px rgba(176, 138, 60, 0.08);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.premium-footer-card:hover {
    border-color: rgba(176, 138, 60, 0.46);
    box-shadow: 0 0 28px rgba(176, 138, 60, 0.22);
    transform: translateY(-2px);
}

.premium-footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff8e8;
    text-decoration: none;
}

.premium-footer-logo {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    overflow: hidden;
    flex: 0 0 auto;
    border: 1px solid rgba(176, 138, 60, 0.55);
    box-shadow: 0 0 26px rgba(176, 138, 60, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.premium-footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.premium-footer-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.premium-footer-brand-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #fff8e8;
}

.premium-footer-brand-subtitle {
    margin-top: 7px;
    font-size: 11px;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #d6b46c;
}

.premium-footer-description {
    margin: 22px 0 0;
    max-width: 420px;
    font-size: 14px;
    line-height: 1.75;
    color: rgba(233, 223, 201, 0.88);
    text-align: left;
}

.premium-footer-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    border-radius: 999px;
    padding: 12px 18px;
    color: #07182d;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #d6b46c, #a67c2f);
    box-shadow: 0 14px 30px rgba(176, 138, 60, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.premium-footer-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(176, 138, 60, 0.34);
}

.premium-footer-card h2 {
    margin: 0 0 18px;
    color: #fff8e8;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.20em;
}

.premium-footer-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.premium-footer-card li + li {
    margin-top: 12px;
}

.premium-footer-card a {
    color: rgba(233, 223, 201, 0.88);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.premium-footer-card a:hover {
    color: #d6b46c;
}

.premium-footer-network-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.premium-footer-link-icon {
    color: #d6b46c;
    font-size: 10px;
    width: 14px;
    flex: 0 0 auto;
}

.premium-footer-bottom {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: rgba(233, 223, 201, 0.78);
    font-size: 12px;
}

.premium-footer-bottom p {
    margin: 0;
}

.premium-footer-bottom a {
    color: #d6b46c;
    text-decoration: none;
}

.premium-footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 980px) {
    .premium-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .premium-footer-container {
        padding-top: 38px;
        padding-bottom: 24px;
    }

    .premium-footer-shell {
        border-radius: 26px;
        padding: 18px;
    }

    .premium-footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .premium-footer-card {
        border-radius: 20px;
        padding: 20px;
    }

    .premium-footer-brand {
        align-items: flex-start;
    }

    .premium-footer-logo {
        width: 52px;
        height: 52px;
    }

    .premium-footer-brand-title {
        font-size: 21px;
    }

    .premium-footer-brand-subtitle {
        font-size: 10px;
        letter-spacing: 0.16em;
    }

    .premium-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* A8.15 footer description alignment START */
.ri-footer-description {
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: normal;
    word-break: normal;
}

@media (max-width: 720px) {
    .ri-footer-description {
        text-align: left;
        hyphens: auto;
        -webkit-hyphens: auto;
    }
}
/* A8.15 footer description alignment END */


/* A8.16 footer final cleanup START */
.ri-footer-description,
.premium-footer-description.ri-footer-description {
    text-align: left !important;
    text-align-last: left !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: normal;
    word-break: normal;
}

.premium-footer-brand-card .premium-footer-button {
    display: none !important;
}
/* A8.16 footer final cleanup END */


/* A14.1 responsive header: tablet burger + small-iPhone brand fit START */
@media (min-width: 761px) and (max-width: 1120px) {
    .header-inner {
        min-height: 104px;
        padding: 14px 0;
        position: relative;
        flex-wrap: nowrap;
        gap: 18px;
    }

    .site-brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .site-brand-mark {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
    }

    .site-brand-text {
        min-width: 0;
    }

    .site-brand-title {
        font-size: 27px;
        line-height: 0.95;
        white-space: normal;
    }

    .desktop-nav,
    .desktop-language-switcher {
        display: none;
    }

    .mobile-menu {
        display: block;
        flex: 0 0 auto;
        margin-inline-start: auto;
    }

    .mobile-menu > summary {
        width: 74px;
        height: 74px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 7px;
        border-radius: 20px;
        border: 1px solid rgba(214, 180, 108, 0.30);
        background:
            radial-gradient(
                circle at 30% 20%,
                rgba(214, 180, 108, 0.12),
                transparent 34%
            ),
            linear-gradient(145deg, #07182d 0%, #10233f 100%);
        box-shadow:
            0 18px 38px rgba(0, 0, 0, 0.34),
            inset 0 0 0 1px rgba(255, 255, 255, 0.055);
        cursor: pointer;
        list-style: none;
        transition:
            transform 0.18s ease,
            border-color 0.18s ease,
            box-shadow 0.18s ease;
    }

    .mobile-menu > summary:hover {
        transform: translateY(-1px);
        border-color: rgba(214, 180, 108, 0.52);
        box-shadow:
            0 22px 44px rgba(0, 0, 0, 0.42),
            inset 0 0 0 1px rgba(255, 255, 255, 0.075);
    }

    .mobile-menu > summary span {
        width: 34px;
        height: 4px;
        border-radius: 999px;
        background: linear-gradient(90deg, #8f3518, #b6532a);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
        opacity: 0.94;
    }

    .mobile-menu[open] > summary span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .mobile-menu[open] > summary span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu[open] > summary span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .mobile-menu-panel {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 10px);
        z-index: 6000;
        padding: 22px;
        border-radius: 26px;
        border: 1px solid rgba(214, 180, 108, 0.30);
        background:
            linear-gradient(
                180deg,
                rgba(8, 26, 48, 0.98),
                rgba(5, 13, 25, 0.98)
            );
        box-shadow:
            0 30px 80px rgba(0, 0, 0, 0.55),
            inset 0 1px 0 rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(18px);
        max-height: calc(100vh - 150px);
        overflow-y: auto;
    }

    .mobile-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mobile-nav a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 54px;
        padding: 0 4px;
        border-bottom: 1px solid rgba(214, 180, 108, 0.14);
        color: rgba(245, 239, 226, 0.92);
        font-size: 24px;
        line-height: 1.1;
        letter-spacing: 0.03em;
        text-decoration: none;
    }

    .mobile-nav a::after {
        content: "›";
        color: rgba(214, 180, 108, 0.58);
        font-size: 24px;
        line-height: 1;
    }

    .mobile-nav a.active {
        color: #d6b46c;
        font-weight: 800;
    }

    .mobile-nav a.active::after {
        color: #d6b46c;
    }

    .mobile-language-list {
        margin-top: 22px;
        padding-top: 18px;
        border-top: 1px solid rgba(214, 180, 108, 0.22);
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .mobile-language-title {
        grid-column: 1 / -1;
        width: auto;
        margin-bottom: 2px;
        color: rgba(214, 180, 108, 0.92);
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.24em;
        text-transform: uppercase;
    }

    .mobile-language-option {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        width: 100%;
        padding: 10px 12px;
        border-radius: 999px;
        border: 1px solid rgba(214, 180, 108, 0.24);
        background: rgba(255, 255, 255, 0.025);
        color: rgba(245, 239, 226, 0.88);
        font-size: 17px;
        line-height: 1;
        text-align: center;
        text-decoration: none;
        white-space: nowrap;
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.025);
    }

    .mobile-language-option.active {
        border-color: rgba(214, 180, 108, 0.95);
        background: linear-gradient(135deg, #c8a24f, #9f7931);
        color: #07182d;
        font-weight: 900;
        box-shadow: 0 12px 28px rgba(214, 180, 108, 0.18);
    }
}

@media (max-width: 390px) {
    .header-inner {
        grid-template-columns: 64px minmax(0, 1fr) 64px;
        gap: 10px;
    }

    .site-brand-mark,
    .mobile-menu > summary {
        width: 64px;
        height: 64px;
    }

    .site-brand-mark {
        flex-basis: 64px;
    }

    .site-brand-text {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }

    .site-brand-title {
        max-width: 100%;
        font-size: clamp(19px, 5.8vw, 22px);
        letter-spacing: 0.035em;
        line-height: 0.95;
    }

    .site-brand-subtitle {
        font-size: 9px;
        letter-spacing: 0.16em;
    }

    .mobile-menu > summary span {
        width: 29px;
    }
}
/* A14.1 responsive header: tablet burger + small-iPhone brand fit END */

/* A14.2 Kazakh desktop navigation fit START */
@media (min-width: 1121px) {
    html[lang^="kk"] .header-inner {
        gap: 16px;
    }

    html[lang^="kk"] .site-brand {
        gap: 12px;
        flex: 0 1 auto;
    }

    html[lang^="kk"] .site-brand-title {
        font-size: 25px;
        letter-spacing: 0.045em;
    }

    html[lang^="kk"] .desktop-nav {
        flex-wrap: nowrap;
        gap: 14px;
    }

    html[lang^="kk"] .desktop-nav a {
        font-size: 14px;
        white-space: nowrap;
    }

    html[lang^="kk"] .desktop-language-switcher {
        flex: 0 0 auto;
    }
}
/* A14.2 Kazakh desktop navigation fit END */

/* A14.3 — French and German single-line desktop navigation */
@media (min-width: 761px) {
    html[lang="fr"] .desktop-nav,
    html[lang="de"] .desktop-nav {
        min-width: 0;
        flex: 1 1 auto;
        flex-wrap: nowrap;
        justify-content: center;
        gap: clamp(7px, 1.15vw, 15px);
        white-space: nowrap;
    }

    html[lang="fr"] .desktop-nav a,
    html[lang="de"] .desktop-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: clamp(0.78rem, 1.25vw, 0.96rem);
        letter-spacing: 0;
    }

    html[lang="fr"] .header-inner,
    html[lang="de"] .header-inner {
        gap: clamp(10px, 1.4vw, 18px);
    }
}

/* A14.4 Corporate Bank Account mobile hero fix */
@media (max-width: 900px) {
    .ri-cba .ri-cba-hero-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100%;
        max-width: 100%;
    }

    .ri-cba .ri-cba-hero-copy,
    .ri-cba .ri-cba-visual,
    .ri-cba .ri-cba-hero-grid > * {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .ri-cba .ri-cba-visual {
        box-sizing: border-box;
        justify-self: stretch;
    }

    .ri-cba .ri-cba-visual img {
        display: block;
        width: min(100%, 390px);
        max-width: 100%;
        height: auto;
        margin-inline: auto;
    }
}

@media (max-width: 560px) {
    .ri-cba .ri-cba-hero-grid {
        gap: 24px;
    }

    .ri-cba .ri-cba-hero-copy,
    .ri-cba .ri-cba-title,
    .ri-cba .ri-cba-lead,
    .ri-cba .ri-cba-positioning {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .ri-cba .ri-cba-title,
    .ri-cba .ri-cba-lead,
    .ri-cba .ri-cba-positioning {
        overflow-wrap: normal;
        word-break: normal;
    }
}
