:root {
    --inner-container: 1240px;
    --inner-section-space: clamp(72px, 8vw, 118px);
    --inner-ink-soft: #4f4546;
    --inner-warm-deep: #efe3d8;
    --inner-orange-soft: rgba(248, 112, 24, 0.1);
    --inner-copper-soft: rgba(160, 80, 24, 0.1);
}

body.internal-page {
    min-width: 0;
    background:
        radial-gradient(circle at 8% 22%, rgba(248, 112, 24, 0.06), transparent 25rem),
        var(--color-surface-warm);
}

.skip-link {
    position: fixed;
    inset-block-start: 12px;
    inset-inline-start: 12px;
    z-index: 9999;
    padding: 10px 18px;
    color: #fff;
    background: var(--color-brand-charcoal);
    border-radius: 999px;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    color: #fff;
    transform: translateY(0);
}

.internal-page header .navbar-nav {
    gap: 2px;
}

.internal-page header .nav-link[aria-current="page"] {
    color: var(--color-brand-primary) !important;
    background: rgba(248, 112, 24, 0.09);
}

.internal-page .news-ticker a {
    color: inherit;
}

.internal-page main {
    min-height: 50vh;
}

/* Keep side-entry AOS motion inside the viewport without suppressing animation. */
html:not(.no-js) body.internal-page [data-aos][data-aos="fade-left"],
html:not(.no-js) body.internal-page [data-aos][data-aos="fade-right"] {
    -webkit-transform: translate3d(0, 36px, 0);
    transform: translate3d(0, 36px, 0);
}

html:not(.no-js) body.internal-page [data-aos][data-aos="fade-left"].aos-animate,
html:not(.no-js) body.internal-page [data-aos][data-aos="fade-right"].aos-animate {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.page-masthead {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 430px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 12% 20%, rgba(248, 112, 24, 0.32), transparent 26rem),
        linear-gradient(120deg, #201820 0%, #3c261d 54%, #503018 100%);
}

.page-masthead::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("../images/EcDBYSfUm3wX.webp") center / cover no-repeat;
    opacity: 0.16;
    mix-blend-mode: screen;
}

.page-masthead::after {
    content: "";
    position: absolute;
    inset-block-start: -210px;
    inset-inline-start: -120px;
    z-index: -1;
    width: 520px;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 52px rgba(248, 112, 24, 0.06),
        0 0 0 104px rgba(255, 255, 255, 0.025);
}

.page-masthead__inner {
    width: min(calc(100% - 34px), var(--inner-container));
    margin: auto;
    padding-block: 74px;
}

.page-masthead__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
    align-items: center;
    gap: clamp(34px, 6vw, 90px);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.breadcrumb-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "\f104";
    font-family: "Font Awesome 6 Free";
    color: var(--color-brand-primary);
    font-weight: 900;
}

.breadcrumb-list a {
    color: #fff;
}

.page-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 14px;
    color: var(--color-brand-primary);
    font-size: 13px;
    font-weight: 800;
}

.page-kicker {
    padding: 7px 13px;
    color: #fff;
    background: rgba(248, 112, 24, 0.2);
    border: 1px solid rgba(248, 112, 24, 0.45);
    border-radius: 999px;
}

.page-masthead h1 {
    max-width: 800px;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(36px, 5vw, 66px);
    font-weight: 800;
    line-height: 1.25;
}

.page-masthead__lead {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 2;
}

.masthead-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: min(270px, 62vw);
    aspect-ratio: 1;
    margin-inline: auto;
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 44% 56% 58% 42% / 45% 46% 54% 55%;
    box-shadow: inset 0 0 0 18px rgba(248, 112, 24, 0.06);
}

.masthead-mark::before,
.masthead-mark::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(248, 112, 24, 0.42);
}

.masthead-mark::before {
    inset: 20px;
}

.masthead-mark::after {
    inset: 46px;
    border-color: rgba(255, 255, 255, 0.13);
}

.masthead-mark i {
    position: relative;
    z-index: 1;
    color: var(--color-brand-primary);
    font-size: clamp(58px, 8vw, 92px);
}

body[data-page-family="guidance"] .page-masthead {
    background:
        radial-gradient(circle at 16% 18%, rgba(248, 112, 24, 0.25), transparent 24rem),
        linear-gradient(125deg, #201820, #33242a 52%, #503018);
}

body[data-page-family="service"] .page-masthead {
    background:
        radial-gradient(circle at 84% 18%, rgba(248, 112, 24, 0.3), transparent 26rem),
        linear-gradient(120deg, #201820, #4a2b1d 68%, #6a3516);
}

body[data-page-family="people"] .page-masthead {
    background:
        radial-gradient(circle at 16% 85%, rgba(160, 80, 24, 0.32), transparent 28rem),
        linear-gradient(120deg, #201820, #352628 58%, #503018);
}

.inner-section {
    position: relative;
    padding-block: var(--inner-section-space);
}

.inner-section--white {
    background: #fff;
}

.inner-section--warm {
    background: var(--color-surface-warm);
}

.inner-section--dark {
    color: #fff;
    background:
        linear-gradient(135deg, rgba(248, 112, 24, 0.08), transparent 42%),
        var(--color-brand-charcoal);
}

.inner-section--line {
    border-block: 1px solid var(--color-line);
}

.inner-container {
    width: min(calc(100% - 34px), var(--inner-container));
    margin-inline: auto;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto clamp(36px, 5vw, 58px);
    text-align: center;
}

.section-heading--start {
    margin-inline: 0;
    text-align: start;
}

.section-heading h2 {
    margin: 0 0 14px;
    color: var(--color-brand-charcoal);
    font-size: clamp(28px, 3.6vw, 46px);
    font-weight: 800;
    line-height: 1.35;
}

.inner-section--dark .section-heading h2 {
    color: #fff;
}

.section-heading p {
    margin: 0;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.95;
}

.inner-section--dark .section-heading p {
    color: rgba(255, 255, 255, 0.68);
}

.split-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(34px, 6vw, 86px);
}

.split-layout--reverse > :first-child {
    order: 2;
}

.content-stack > * + * {
    margin-top: 20px;
}

.content-stack h2,
.content-stack h3 {
    margin: 0;
    color: var(--color-brand-charcoal);
    font-weight: 800;
    line-height: 1.45;
}

.content-stack h2 {
    font-size: clamp(30px, 4vw, 50px);
}

.content-stack h3 {
    font-size: clamp(23px, 2.8vw, 34px);
}

.content-stack p {
    margin-bottom: 0;
    color: var(--inner-ink-soft);
    line-height: 2.05;
}

.visual-frame {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    background: linear-gradient(145deg, #fff, #f2e8df);
    border: 1px solid rgba(160, 80, 24, 0.13);
    border-radius: 34px;
    box-shadow: var(--shadow-soft);
}

.visual-frame img {
    width: 100%;
    height: 100%;
    min-height: 470px;
    object-fit: cover;
}

.visual-frame::after {
    content: "";
    position: absolute;
    inset: 18px;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 25px;
}

.visual-frame__badge {
    position: absolute;
    inset-inline-end: 24px;
    inset-block-end: 24px;
    z-index: 2;
    padding: 16px 21px;
    color: #fff;
    background: var(--color-brand-charcoal);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(32, 24, 32, 0.2);
}

.visual-frame__badge strong {
    display: block;
    color: var(--color-brand-primary);
    font-size: 28px;
}

.abstract-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 430px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 20% 25%, rgba(248, 112, 24, 0.44), transparent 13rem),
        linear-gradient(135deg, var(--color-brand-charcoal), var(--color-brand-brown));
    border-radius: 34px;
    box-shadow: var(--shadow-card);
}

.abstract-visual::before,
.abstract-visual::after {
    content: "";
    position: absolute;
    width: 290px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.abstract-visual::before {
    inset-block-start: -90px;
    inset-inline-start: -70px;
    box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.025);
}

.abstract-visual::after {
    inset-block-end: -130px;
    inset-inline-end: -80px;
    box-shadow: 0 0 0 55px rgba(248, 112, 24, 0.07);
}

.abstract-visual__center {
    position: relative;
    z-index: 1;
    max-width: 340px;
    padding: 35px;
    text-align: center;
}

.abstract-visual__center i {
    margin-bottom: 22px;
    color: var(--color-brand-primary);
    font-size: 74px;
}

.abstract-visual__center strong {
    display: block;
    margin-bottom: 10px;
    font-size: 26px;
}

.abstract-visual__center p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
}

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

.feature-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card {
    position: relative;
    min-width: 0;
    padding: 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(80, 48, 24, 0.07);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(248, 112, 24, 0.35);
    box-shadow: 0 20px 44px rgba(80, 48, 24, 0.12);
}

.feature-card::after {
    content: "";
    position: absolute;
    inset-block-start: -70px;
    inset-inline-end: -70px;
    width: 140px;
    aspect-ratio: 1;
    pointer-events: none;
    background: rgba(248, 112, 24, 0.06);
    border-radius: 50%;
}

.feature-card__icon,
.icon-orb {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    color: var(--color-brand-primary);
    background: var(--inner-orange-soft);
    border: 1px solid rgba(248, 112, 24, 0.18);
    border-radius: 17px;
    font-size: 24px;
}

.feature-card h3 {
    margin: 0 0 10px;
    color: var(--color-brand-charcoal);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.55;
}

.feature-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.95;
}

.feature-card--dark {
    color: #fff;
    background: linear-gradient(145deg, var(--color-brand-charcoal), #38251f);
    border-color: rgba(255, 255, 255, 0.08);
}

.feature-card--dark h3 {
    color: #fff;
}

.feature-card--dark p {
    color: rgba(255, 255, 255, 0.66);
}

.feature-card--dark .feature-card__icon {
    color: #fff;
    background: rgba(248, 112, 24, 0.2);
}

.check-list,
.arrow-list,
.mini-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li,
.arrow-list li,
.mini-list li {
    position: relative;
    padding-inline-start: 30px;
    color: var(--inner-ink-soft);
    line-height: 1.85;
}

.check-list li::before,
.arrow-list li::before,
.mini-list li::before {
    position: absolute;
    inset-block-start: 2px;
    inset-inline-start: 0;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: var(--color-brand-primary);
    background: rgba(248, 112, 24, 0.1);
    border-radius: 50%;
    font-family: "Font Awesome 6 Free";
    font-size: 10px;
    font-weight: 900;
}

.check-list li::before {
    content: "\f00c";
}

.arrow-list li::before {
    content: "\f104";
}

.mini-list li::before {
    content: "\f111";
    font-size: 6px;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    color: var(--color-brand-brown);
    background: rgba(160, 80, 24, 0.08);
    border: 1px solid rgba(160, 80, 24, 0.13);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.brand-button,
.brand-button--ghost,
.brand-button--dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.5;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.brand-button {
    color: #fff;
    background: linear-gradient(135deg, var(--color-brand-primary), #df5c0a);
    box-shadow: 0 12px 24px rgba(248, 112, 24, 0.22);
}

.brand-button:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(248, 112, 24, 0.3);
}

.brand-button--ghost {
    color: var(--color-brand-brown);
    background: #fff;
    border-color: var(--color-line);
}

.brand-button--ghost:hover {
    color: var(--color-brand-primary);
    border-color: rgba(248, 112, 24, 0.35);
}

.brand-button--dark {
    color: #fff;
    background: var(--color-brand-charcoal);
}

.brand-button--dark:hover {
    color: #fff;
    background: var(--color-brand-brown);
    transform: translateY(-2px);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.stat-highlight {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.stat-highlight strong {
    color: var(--color-brand-primary);
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
}

.stat-highlight span {
    color: var(--color-brand-charcoal);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.6;
}

.statement-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.statement-card {
    position: relative;
    padding: clamp(28px, 4vw, 48px);
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, var(--color-brand-charcoal), var(--color-brand-brown));
    border-radius: 28px;
}

.statement-card:nth-child(2) {
    color: var(--color-text);
    background: #fff;
    border: 1px solid var(--color-line);
}

.statement-card__label {
    display: inline-flex;
    margin-bottom: 30px;
    padding: 7px 12px;
    color: var(--color-brand-primary);
    background: rgba(248, 112, 24, 0.12);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.statement-card h2,
.statement-card h3 {
    margin: 0 0 14px;
    color: inherit;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
}

.statement-card p {
    margin: 0;
    color: inherit;
    opacity: 0.76;
    line-height: 2.05;
}

.process-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
}

.process-line::before {
    content: "";
    position: absolute;
    inset-block-start: 34px;
    inset-inline: 7%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-brand-primary), rgba(160, 80, 24, 0.25));
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.process-step__number {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    color: var(--color-brand-primary);
    background: #fff;
    border: 2px solid rgba(248, 112, 24, 0.26);
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(80, 48, 24, 0.1);
    font-weight: 900;
}

.process-step h3 {
    margin: 0 0 8px;
    color: var(--color-brand-charcoal);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.7;
}

.process-step p {
    margin: 0;
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.8;
}

.notice-panel {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    color: var(--color-brand-brown);
    background: rgba(248, 112, 24, 0.08);
    border: 1px solid rgba(248, 112, 24, 0.2);
    border-radius: 18px;
}

.notice-panel i {
    flex: 0 0 auto;
    margin-top: 3px;
    color: var(--color-brand-primary);
    font-size: 22px;
}

.notice-panel strong {
    display: block;
    margin-bottom: 4px;
}

.notice-panel p {
    margin: 0;
    color: var(--inner-ink-soft);
    font-size: 13px;
    line-height: 1.85;
}

.cta-band {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: clamp(32px, 5vw, 58px);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 6% 0%, rgba(248, 112, 24, 0.32), transparent 17rem),
        linear-gradient(135deg, var(--color-brand-charcoal), var(--color-brand-brown));
    border-radius: 30px;
    box-shadow: 0 22px 55px rgba(32, 24, 32, 0.18);
}

.cta-band h2,
.cta-band h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 800;
}

.cta-band p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.9;
}

.cta-band p a {
    color: #fff;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.service-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 52px;
}

.service-nav a {
    padding: 10px 16px;
    color: var(--color-brand-brown);
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.service-nav a:hover {
    color: #fff;
    background: var(--color-brand-primary);
    border-color: var(--color-brand-primary);
}

.service-detail {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    align-items: stretch;
    gap: 0;
    margin-bottom: 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    scroll-margin-top: 190px;
}

.service-detail:nth-child(even) {
    grid-template-columns: minmax(0, 1.28fr) minmax(220px, 0.72fr);
}

.service-detail:nth-child(even) .service-detail__visual {
    order: 2;
}

.service-detail__visual {
    display: grid;
    place-items: center;
    min-height: 320px;
    color: #fff;
    background:
        radial-gradient(circle at 20% 20%, rgba(248, 112, 24, 0.38), transparent 12rem),
        linear-gradient(145deg, var(--color-brand-charcoal), var(--color-brand-brown));
    overflow: hidden;
}

.service-detail__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: contain;
    background: #fff;
}

.service-page-image {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 26px;
    box-shadow: var(--shadow-soft);
}

.service-page-image img {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: 620px;
    object-fit: contain;
    background: #fff;
}

.service-page-image--wide {
    max-width: 980px;
    margin-inline: auto;
}

.service-image-section + .inner-section {
    padding-top: var(--inner-section-space);
}

.service-detail__visual i {
    color: var(--color-brand-primary);
    font-size: 74px;
}

.service-detail__content {
    padding: clamp(28px, 5vw, 58px);
}

.service-detail__content h2 {
    margin: 0 0 12px;
    color: var(--color-brand-charcoal);
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 800;
}

.service-detail__content > p {
    color: var(--color-muted);
    line-height: 2;
}

.country-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.country-profile {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 26px;
    box-shadow: var(--shadow-soft);
}

.country-profile__visual {
    display: grid;
    place-items: center;
    min-height: 330px;
    padding: 22px;
    background:
        linear-gradient(rgba(32, 24, 32, 0.83), rgba(80, 48, 24, 0.92)),
        url("../images/UxJMwgkHX3bd.webp") center / cover;
}

.country-profile__visual img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: #fff;
    border: 7px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
}

.country-profile__body {
    padding: 34px;
}

.country-profile__body h2 {
    margin: 0 0 10px;
    color: var(--color-brand-charcoal);
    font-size: 28px;
    font-weight: 800;
}

.country-profile__body p {
    color: var(--color-muted);
    line-height: 1.95;
}

.country-profile__body .button-row {
    margin-top: 20px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
    gap: 28px;
    align-items: start;
}

.form-panel,
.contact-panel,
.filter-panel,
.auth-panel {
    padding: clamp(26px, 4vw, 44px);
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

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

.form-field {
    min-width: 0;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field label,
.filter-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-brand-charcoal);
    font-size: 13px;
    font-weight: 800;
}

.form-control-brand,
.filter-control {
    width: 100%;
    min-height: 52px;
    padding: 11px 14px;
    color: var(--color-text);
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 13px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea.form-control-brand {
    min-height: 150px;
    resize: vertical;
}

.form-control-brand:focus,
.filter-control:focus {
    border-color: var(--color-brand-primary);
    box-shadow: 0 0 0 4px rgba(248, 112, 24, 0.1);
}

.form-status {
    min-height: 25px;
    margin: 14px 0 0;
    color: var(--color-brand-brown);
    font-size: 13px;
    line-height: 1.7;
}

.field-error {
    display: block;
    min-height: 1.15em;
    margin-top: 5px;
    color: #a33b2f;
    font-size: 0.76rem;
    line-height: 1.45;
}

.form-control-brand[aria-invalid="true"] {
    border-color: #a33b2f;
    box-shadow: 0 0 0 3px rgba(163, 59, 47, 0.09);
}

.contact-methods {
    display: grid;
    gap: 13px;
}

.contact-panel--with-image {
    overflow: hidden;
}

.contact-panel__image {
    display: block;
    width: calc(100% + clamp(52px, 8vw, 88px));
    aspect-ratio: 4 / 3;
    margin: -44px -44px 28px;
    object-fit: cover;
    border-bottom: 1px solid var(--color-line);
}

.contact-method {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--color-surface-warm);
    border: 1px solid var(--color-line);
    border-radius: 16px;
}

.contact-method i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #fff;
    background: var(--color-brand-primary);
    border-radius: 15px;
}

.contact-method small {
    display: block;
    margin-bottom: 3px;
    color: var(--color-muted);
}

.contact-method strong,
.contact-method a {
    color: var(--color-brand-charcoal);
    font-size: 14px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.map-placeholder {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 390px;
    overflow: hidden;
    text-align: center;
    background:
        linear-gradient(rgba(32, 24, 32, 0.82), rgba(80, 48, 24, 0.9)),
        url("../images/EcDBYSfUm3wX.webp") center / cover;
    border-radius: 28px;
}

.map-placeholder__content {
    max-width: 480px;
    padding: 30px;
    color: #fff;
}

.map-placeholder__content i {
    margin-bottom: 18px;
    color: var(--color-brand-primary);
    font-size: 54px;
}

.map-placeholder__content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
}

.faq-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto 34px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

.faq-toolbar input {
    min-width: 0;
    min-height: 52px;
    padding: 10px 16px;
    border: 0;
    outline: 0;
}

.faq-toolbar span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: #fff;
    background: var(--color-brand-primary);
    border-radius: 13px;
}

.faq-list {
    display: grid;
    gap: 14px;
    max-width: 960px;
    margin-inline: auto;
}

.faq-item {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(80, 48, 24, 0.05);
}

.faq-item[hidden] {
    display: none;
}

.faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
    padding: 18px 22px;
    color: var(--color-brand-charcoal);
    cursor: pointer;
    list-style: none;
    font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    color: var(--color-brand-primary);
    background: var(--inner-orange-soft);
    border-radius: 50%;
    font-size: 22px;
}

.faq-item[open] summary::after {
    content: "−";
    color: #fff;
    background: var(--color-brand-primary);
}

.faq-item__answer {
    padding: 0 22px 22px;
    color: var(--color-muted);
    line-height: 2;
}

.faq-empty {
    padding: 34px;
    text-align: center;
    color: var(--color-muted);
    background: #fff;
    border: 1px dashed var(--color-line);
    border-radius: 18px;
}

.platform-role {
    display: grid;
    grid-template-columns: 1fr 130px 1fr;
    align-items: center;
    gap: 26px;
}

.platform-node {
    padding: 32px;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.platform-bridge {
    display: grid;
    place-items: center;
    color: var(--color-brand-primary);
    font-size: 46px;
}

.platform-logo {
    display: grid;
    place-items: center;
    min-height: 260px;
    padding: 40px;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}

.platform-logo img {
    width: min(260px, 75%);
    max-height: 150px;
    object-fit: contain;
}

.policy-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.policy-column {
    padding: clamp(28px, 4vw, 42px);
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 26px;
}

.policy-column h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    color: var(--color-brand-charcoal);
    font-size: 25px;
    font-weight: 800;
}

.policy-column h2 i {
    color: var(--color-brand-primary);
}

.journey-rail {
    position: relative;
    display: grid;
    gap: 22px;
    max-width: 900px;
    margin-inline: auto;
}

.journey-rail::before {
    content: "";
    position: absolute;
    inset-block: 28px;
    inset-inline-start: 29px;
    width: 2px;
    background: linear-gradient(var(--color-brand-primary), rgba(160, 80, 24, 0.18));
}

.journey-item {
    position: relative;
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.journey-item__marker {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    color: #fff;
    background: var(--color-brand-primary);
    border: 8px solid var(--color-surface-warm);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(248, 112, 24, 0.25);
}

.journey-item__content {
    padding: 24px 26px;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(80, 48, 24, 0.06);
}

.journey-item__content h3 {
    margin: 0 0 7px;
    color: var(--color-brand-charcoal);
    font-size: 19px;
    font-weight: 800;
}

.journey-item__content p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.9;
}

.selection-studio {
    padding: clamp(26px, 4vw, 44px);
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.selection-option {
    min-width: 0;
    padding: 22px 14px;
    text-align: center;
    color: var(--color-brand-charcoal);
    background: var(--color-surface-warm);
    border: 1px solid var(--color-line);
    border-radius: 18px;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.selection-option i {
    display: block;
    margin-bottom: 12px;
    color: var(--color-brand-primary);
    font-size: 26px;
}

.selection-option.is-selected {
    color: #fff;
    background: var(--color-brand-charcoal);
    border-color: var(--color-brand-charcoal);
    transform: translateY(-3px);
}

.worker-layout {
    display: grid;
    grid-template-columns: minmax(255px, 300px) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.filter-panel {
    position: sticky;
    inset-block-start: 180px;
    padding: 26px;
}

.filter-panel__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.filter-panel__title > span {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--color-brand-primary);
    background: var(--inner-orange-soft);
    border-radius: 14px;
}

.filter-panel h2 {
    margin: 0;
    color: var(--color-brand-charcoal);
    font-size: 20px;
    font-weight: 800;
}

.filter-panel__title p {
    margin: 3px 0 0;
    color: var(--color-muted);
    font-size: 11px;
}

.filter-grid {
    display: grid;
    gap: 15px;
}

.filter-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
}

.filter-actions > * {
    width: 100%;
}

.results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.results-head h2 {
    margin: 5px 0 0;
    color: var(--color-brand-charcoal);
    font-size: 25px;
    font-weight: 800;
}

.results-count {
    padding: 8px 12px;
    color: var(--color-brand-brown);
    background: var(--inner-orange-soft);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.sample-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    padding: 12px 14px;
    color: var(--color-brand-brown);
    background: rgba(248, 112, 24, 0.08);
    border: 1px solid rgba(248, 112, 24, 0.16);
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.75;
}

.sample-disclaimer i {
    margin-top: 4px;
    color: var(--color-brand-primary);
}

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

.cv-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fffdfb;
    border: 1px solid rgba(160, 80, 24, 0.16);
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(80, 48, 24, 0.09);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.cv-card:hover {
    border-color: rgba(248, 112, 24, 0.36);
    box-shadow: 0 20px 44px rgba(80, 48, 24, 0.14);
    transform: translateY(-4px);
}

.cv-card[hidden] {
    display: none;
}

.cv-card__portrait {
    position: relative;
    aspect-ratio: 4 / 4.15;
    overflow: hidden;
    background: var(--color-surface-warm);
}

.cv-card__portrait::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
    height: 36%;
    pointer-events: none;
    background: linear-gradient(transparent, rgba(32, 24, 32, 0.56));
}

.cv-card__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-card__portrait span {
    position: absolute;
    inset-inline-start: 14px;
    inset-block-end: 14px;
    z-index: 1;
    padding: 6px 10px;
    color: #fff;
    background: rgba(32, 24, 32, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}

.cv-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.cv-card__identity {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.cv-card__identity small {
    display: block;
    margin-bottom: 3px;
    color: var(--color-brand-primary);
    font-size: 10px;
    font-weight: 850;
}

.cv-card__identity h3 {
    margin: 0;
    color: var(--color-brand-charcoal);
    font-size: 16px;
    font-weight: 850;
}

.cv-card__identity b {
    flex: 0 0 auto;
    padding: 6px 8px;
    color: var(--color-brand-brown);
    background: rgba(160, 80, 24, 0.09);
    border-radius: 9px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 10px;
    direction: ltr;
}

.cv-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}

.cv-fact {
    min-width: 0;
    padding: 9px 10px;
    background: var(--color-surface-warm);
    border: 1px solid rgba(160, 80, 24, 0.08);
    border-radius: 11px;
}

.cv-fact small {
    display: block;
    margin-bottom: 3px;
    color: var(--color-muted);
    font-size: 10px;
}

.cv-fact strong {
    display: block;
    color: var(--color-brand-charcoal);
    font-size: 11px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.cv-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--color-line);
}

.cv-card__price small {
    color: var(--color-muted);
    font-size: 11px;
    font-weight: 600;
}

.cv-card__price strong {
    color: var(--color-brand-primary);
    font-size: 17px;
    font-weight: 800;
}

.cv-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: auto;
}

.cv-card__actions > * {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding-inline: 9px;
    font-size: 11px;
}

.worker-carousel-section {
    overflow: hidden;
}

.worker-carousel-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px;
    margin-bottom: 24px;
}

.worker-carousel-head h2 {
    margin: 5px 0 8px;
    color: var(--color-brand-charcoal);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 850;
}

.worker-carousel-head p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.8;
}

.worker-carousel-shell {
    position: relative;
    min-width: 0;
    padding-inline: 52px;
}

.worker-carousel__viewport {
    width: 100%;
    padding-block: 5px 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline: 52px;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(160, 80, 24, 0.36) transparent;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
}

.worker-carousel__viewport {
    scroll-snap-type: inline mandatory;
}

.worker-carousel__track > .cv-card {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.worker-carousel__viewport:focus-visible {
    outline: 3px solid rgba(248, 112, 24, 0.22);
    outline-offset: 3px;
    border-radius: 20px;
}

.worker-carousel__track {
    display: flex;
    grid-auto-columns: calc((100% - 36px) / 3);
    grid-auto-flow: column;
    gap: 18px;
    padding-inline: 0;
}

.cv-card--carousel {
    flex: 0 0 calc((100% - 36px) / 3);
    scroll-snap-align: start;
}

.cv-card--carousel .cv-card__portrait {
    aspect-ratio: 4 / 3.2;
}

.cv-card--carousel .cv-card__body {
    padding: 16px;
}

.worker-carousel__control {
    position: absolute;
    z-index: 3;
    inset-block-start: 42%;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    background: var(--color-brand-primary);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 12px 26px rgba(32, 24, 32, 0.22);
    transform: translateY(-50%);
    transition: background-color 180ms ease, transform 180ms ease;
}

.worker-carousel__control:hover,
.worker-carousel__control:focus-visible {
    background: var(--color-brand-secondary);
    transform: translateY(-50%) scale(1.06);
}

.worker-carousel__control[data-carousel-prev] {
    inset-inline-start: 3px;
}

.worker-carousel__control[data-carousel-next] {
    inset-inline-end: 3px;
}

.worker-carousel-section .sample-disclaimer {
    max-width: 720px;
    margin: 8px auto 0;
}

.empty-state,
.loading-state {
    display: none;
    padding: 55px 28px;
    text-align: center;
    background: #fff;
    border: 1px dashed var(--color-line);
    border-radius: 22px;
}

.empty-state.is-visible,
.loading-state.is-visible {
    display: block;
}

.empty-state i,
.loading-state i {
    margin-bottom: 16px;
    color: var(--color-brand-primary);
    font-size: 44px;
}

.loading-state i {
    animation: inner-spin 1s linear infinite;
}

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

.request-categories {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.request-category {
    padding: 26px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 20px;
}

.request-category i {
    margin-bottom: 14px;
    color: var(--color-brand-primary);
    font-size: 30px;
}

.request-category h3 {
    margin: 0;
    color: var(--color-brand-charcoal);
    font-size: 16px;
    font-weight: 800;
}

.status-board {
    display: grid;
    gap: 0;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.status-board__row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 17px 0;
    border-bottom: 1px solid var(--color-line);
}

.status-board__row:last-child {
    border-bottom: 0;
}

.status-board__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--color-brand-primary);
    background: var(--inner-orange-soft);
    border-radius: 15px;
}

.status-board__row strong {
    display: block;
    color: var(--color-brand-charcoal);
}

.status-board__row small {
    color: var(--color-muted);
}

.status-chip {
    padding: 7px 10px;
    color: var(--color-brand-brown);
    background: var(--inner-copper-soft);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.auth-shell {
    min-height: calc(100vh - 165px);
    padding-block: clamp(50px, 8vw, 90px);
    background:
        radial-gradient(circle at 12% 20%, rgba(248, 112, 24, 0.16), transparent 28rem),
        linear-gradient(135deg, #fdfaf7, #efe4db);
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    width: min(calc(100% - 34px), 1050px);
    margin-inline: auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 34px;
    box-shadow: 0 28px 75px rgba(32, 24, 32, 0.14);
}

.auth-aside {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 650px;
    padding: clamp(32px, 5vw, 58px);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 14% 12%, rgba(248, 112, 24, 0.4), transparent 16rem),
        linear-gradient(145deg, var(--color-brand-charcoal), var(--color-brand-brown));
}

.auth-aside::after {
    content: "";
    position: absolute;
    inset-block-end: -120px;
    inset-inline-end: -100px;
    width: 330px;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.025);
}

.auth-aside img {
    position: relative;
    z-index: 1;
    width: 210px;
    height: 92px;
    object-fit: contain;
    padding: 12px;
    background: #fff;
    border-radius: 18px;
}

.auth-aside__copy {
    position: relative;
    z-index: 1;
}

.auth-aside h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
}

.auth-aside p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 2;
}

.auth-main {
    display: grid;
    align-content: center;
    padding: clamp(32px, 6vw, 72px);
}

.auth-main h2 {
    margin: 0 0 8px;
    color: var(--color-brand-charcoal);
    font-size: 30px;
    font-weight: 800;
}

.auth-main > p {
    margin: 0 0 28px;
    color: var(--color-muted);
    line-height: 1.8;
}

.auth-form {
    display: grid;
    gap: 17px;
}

.password-field {
    position: relative;
}

.password-field .form-control-brand {
    padding-inline-end: 48px;
}

.password-toggle {
    position: absolute;
    inset-inline-end: 7px;
    inset-block-end: 6px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--color-muted);
    background: transparent;
    border: 0;
    border-radius: 10px;
}

.auth-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 4px;
    font-size: 13px;
}

.auth-links a {
    color: var(--color-brand-primary);
    font-weight: 800;
}

.text-button {
    padding: 0;
    color: var(--color-brand-primary);
    background: transparent;
    border: 0;
    font-size: 13px;
    font-weight: 800;
}

.text-button:hover {
    color: var(--color-brand-brown);
}

.auth-submit {
    width: 100%;
    margin-top: 4px;
}

.utility-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.utility-links a {
    display: inline-flex;
    padding: 8px 12px;
    color: var(--color-muted);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--color-line);
    border-radius: 999px;
    font-size: 12px;
}

.inner-toast {
    position: fixed;
    inset-inline-start: 50%;
    inset-block-end: 26px;
    z-index: 2000;
    max-width: min(520px, calc(100% - 30px));
    padding: 14px 20px;
    color: #fff;
    text-align: center;
    background: var(--color-brand-charcoal);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    box-shadow: 0 18px 48px rgba(32, 24, 32, 0.24);
    opacity: 0;
    transform: translate(-50%, 24px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

[dir="rtl"] .inner-toast {
    transform: translate(50%, 24px);
}

.inner-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

[dir="rtl"] .inner-toast.is-visible {
    transform: translate(50%, 0);
}

/* Query-driven country details */
.masthead-mark--flag {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.masthead-mark--flag img {
    width: 76%;
    height: 76%;
    padding: 12px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
}

.country-detail-intro {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(36px, 7vw, 90px);
    align-items: center;
}

.country-detail-flag {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 390px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--color-brand-charcoal), var(--color-brand-brown));
    border-radius: 34px;
    box-shadow: var(--shadow-soft);
}

.country-detail-flag::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(248, 112, 24, 0.14);
    border-radius: 50%;
    filter: blur(2px);
}

.country-detail-flag img {
    position: relative;
    z-index: 1;
    width: 220px;
    height: 220px;
    padding: 22px;
    object-fit: contain;
    background: #fff;
    border: 10px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
}

.country-detail-flag > span {
    position: absolute;
    inset-inline-start: 24px;
    inset-block-start: 24px;
    z-index: 2;
    padding: 8px 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.minor-heading {
    margin: 8px 0 0;
    color: var(--color-brand-charcoal);
    font-size: 17px;
    font-weight: 850;
}

.country-traits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.country-traits li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 12px;
    color: var(--color-brand-brown);
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 14px;
    font-size: 12px;
    font-weight: 800;
}

.country-traits i {
    color: var(--color-brand-primary);
}

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

/* Full CV details */
.worker-detail-identity {
    display: grid;
    grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 76px);
    align-items: center;
    padding: clamp(24px, 4vw, 46px);
    color: #fff;
    background: linear-gradient(135deg, var(--color-brand-charcoal), var(--color-brand-brown));
    border-radius: 34px;
    box-shadow: 0 26px 70px rgba(32, 24, 32, 0.2);
}

.worker-detail-photo {
    position: relative;
    aspect-ratio: 4 / 4.55;
    overflow: hidden;
    background: var(--color-surface-warm);
    border: 8px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
}

.worker-detail-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.worker-detail-photo span {
    position: absolute;
    inset-inline-start: 18px;
    inset-block-end: 18px;
    padding: 7px 11px;
    color: #fff;
    background: rgba(32, 24, 32, 0.82);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.worker-detail-summary h2 {
    margin: 18px 0 10px;
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 850;
}

.sample-badge {
    display: inline-flex;
    padding: 8px 12px;
    color: #fff;
    background: rgba(248, 112, 24, 0.18);
    border: 1px solid rgba(248, 112, 24, 0.38);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.identity-code {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.identity-code small { color: rgba(255, 255, 255, 0.65); }
.identity-code strong { color: var(--color-brand-primary); direction: ltr; }

.identity-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 25px;
}

.identity-chips span {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
}

.identity-chips i { color: var(--color-brand-primary); }
.identity-chips b { color: #fff; font-size: 12px; }
.worker-detail-summary .brand-button--ghost {
    color: var(--color-brand-charcoal);
    background: #fff;
    border-color: #fff;
}

.worker-detail-summary .brand-button--ghost:hover,
.worker-detail-summary .brand-button--ghost:focus-visible {
    color: var(--color-brand-secondary);
    background: var(--color-surface-warm);
    border-color: var(--color-surface-warm);
}

.worker-detail-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.detail-panel {
    min-width: 0;
    padding: clamp(22px, 3vw, 32px);
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 25px;
    box-shadow: 0 12px 30px rgba(80, 48, 24, 0.07);
}

.detail-panel--wide { grid-column: 1 / -1; }

.detail-panel__head {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
}

.detail-panel__head > span {
    display: grid;
    flex: 0 0 48px;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--color-brand-primary);
    background: var(--inner-orange-soft);
    border-radius: 15px;
}

.detail-panel__head h2 {
    margin: 3px 0 0;
    color: var(--color-brand-charcoal);
    font-size: 20px;
    font-weight: 850;
}

.detail-data-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.detail-data-grid > div,
.detail-data-list > div,
.cost-ready > div {
    min-width: 0;
    padding: 13px;
    background: var(--color-surface-warm);
    border: 1px solid rgba(160, 80, 24, 0.08);
    border-radius: 13px;
}

.detail-data-grid dt,
.detail-data-list dt,
.cost-ready small {
    margin-bottom: 5px;
    color: var(--color-muted);
    font-size: 10px;
}

.detail-data-grid dd,
.detail-data-list dd,
.cost-ready strong {
    margin: 0;
    color: var(--color-brand-charcoal);
    font-size: 12px;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.detail-data-list,
.cost-ready {
    display: grid;
    gap: 10px;
    margin: 0;
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.skill-chip {
    display: inline-flex;
    padding: 9px 13px;
    color: var(--color-brand-brown);
    background: var(--inner-orange-soft);
    border: 1px solid rgba(248, 112, 24, 0.18);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.skill-chip--empty { color: var(--color-muted); background: var(--color-surface-warm); }
.detail-note { margin: 16px 0 0; color: var(--color-muted); font-size: 12px; line-height: 1.85; }
.detail-note--large { margin-top: 0; font-size: 14px; }

/* Contract journey */
.backend-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
    padding: 18px 20px;
    color: #fff;
    background: var(--color-brand-charcoal);
    border-radius: 18px;
}

.backend-notice > i { margin-top: 5px; color: var(--color-brand-primary); font-size: 24px; }
.backend-notice strong { display: block; margin-bottom: 4px; }
.backend-notice p { margin: 0; color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.8; }

.contract-workspace {
    display: grid;
    grid-template-columns: minmax(240px, 290px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.contract-steps,
.contract-card {
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 25px;
    box-shadow: 0 12px 30px rgba(80, 48, 24, 0.07);
}

.contract-steps {
    position: sticky;
    inset-block-start: 180px;
    padding: 24px;
}

.contract-steps h2 { margin: 0 0 18px; color: var(--color-brand-charcoal); font-size: 20px; }
.contract-steps ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.contract-steps li { position: relative; display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 11px; min-height: 68px; }
.contract-steps li::after { content:""; position:absolute; inset-inline-start:18px; inset-block-start:38px; width:2px; height:30px; background:var(--color-line); }
.contract-steps li:last-child::after { display:none; }
.contract-steps li > span { display:grid; place-items:center; width:38px; height:38px; color:var(--color-muted); background:var(--color-surface-warm); border:1px solid var(--color-line); border-radius:50%; font-size:11px; font-weight:850; }
.contract-steps li.is-current > span { color:#fff; background:var(--color-brand-primary); border-color:var(--color-brand-primary); box-shadow:0 0 0 5px rgba(248,112,24,.12); }
.contract-steps strong { display:block; color:var(--color-brand-charcoal); font-size:12px; }
.contract-steps small { color:var(--color-muted); font-size:10px; }
.contract-content { display:grid; gap:18px; }
.contract-card { padding:clamp(22px,3vw,32px); }
.contract-card__head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:20px; }
.contract-card__head h2 { margin:4px 0 0; color:var(--color-brand-charcoal); font-size:21px; font-weight:850; }
.workflow-status { flex:0 0 auto; padding:7px 10px; color:var(--color-brand-brown); background:var(--inner-orange-soft); border-radius:999px; font-size:10px; font-weight:850; }
.workflow-status--locked { color:var(--color-muted); background:var(--color-surface-warm); }
.selected-cv-placeholder { display:grid; grid-template-columns:110px minmax(0,1fr); gap:18px; align-items:center; padding:16px; background:var(--color-surface-warm); border:1px dashed rgba(160,80,24,.25); border-radius:18px; }
.selected-cv-placeholder img { width:110px; height:122px; object-fit:cover; border-radius:14px; }
.selected-cv-placeholder strong { color:var(--color-brand-charcoal); }
.selected-cv-placeholder p { margin:5px 0 8px; color:var(--color-muted); font-size:12px; line-height:1.75; }
.selected-cv-placeholder a { color:var(--color-brand-primary); font-size:12px; font-weight:850; }
.contract-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.contract-fields label { display:block; margin-bottom:7px; color:var(--color-brand-charcoal); font-size:12px; font-weight:800; }
.contract-fields input,.contract-fields select { width:100%; min-height:48px; padding:10px 12px; color:var(--color-muted); background:var(--color-surface-warm); border:1px solid var(--color-line); border-radius:12px; }
.review-states { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:18px; }
.review-states article { padding:18px; background:var(--color-surface-warm); border:1px solid var(--color-line); border-radius:16px; }
.review-states i { margin-bottom:12px; color:var(--color-brand-primary); font-size:24px; }
.review-states h3 { margin:0 0 5px; color:var(--color-brand-charcoal); font-size:14px; }
.review-states p { margin:0; color:var(--color-muted); font-size:11px; line-height:1.7; }
.contract-disabled { opacity:.58; cursor:not-allowed; }

.auth-return-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 14px 0 20px;
    padding: 12px 14px;
    color: var(--color-brand-brown);
    background: var(--inner-orange-soft);
    border: 1px solid rgba(248,112,24,.18);
    border-radius: 13px;
    font-size: 11px;
    line-height: 1.7;
}

.auth-return-note i { margin-top:4px; color:var(--color-brand-primary); }

@media (max-width: 1199.98px) {
    .internal-page header .mainNav {
        padding-inline: 20px;
    }

    .internal-page header .navbar-nav {
        font-size: 13px;
    }

    .feature-grid--5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .feature-grid--4,
    .request-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .worker-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .worker-carousel__track {
        grid-auto-columns: calc((100% - 18px) / 2);
    }

    .cv-card--carousel {
        flex-basis: calc((100% - 18px) / 2);
    }

    .worker-carousel-shell {
        padding-inline: 46px;
    }

    .country-profile {
        grid-template-columns: 135px minmax(0, 1fr);
    }

    .country-profile__body {
        padding: 28px 24px;
    }
}

@media (max-width: 991.98px) {
    .internal-page header .navbar-collapse {
        max-height: calc(100vh - 154px);
    }

    .page-masthead__grid,
    .split-layout,
    .contact-layout,
    .worker-layout,
    .auth-layout {
        grid-template-columns: 1fr;
    }

    .masthead-mark {
        display: none;
    }

    .split-layout--reverse > :first-child {
        order: 0;
    }

    .feature-grid,
    .feature-grid--4,
    .feature-grid--5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-line {
        grid-template-columns: 1fr;
        max-width: 720px;
        margin-inline: auto;
    }

    .process-line::before {
        inset-block: 34px;
        inset-inline-start: 33px;
        width: 2px;
        height: auto;
    }

    .process-step {
        display: grid;
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 18px;
        text-align: start;
    }

    .process-step__number {
        margin: 0;
    }

    .service-detail,
    .service-detail:nth-child(even) {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .service-detail:nth-child(even) .service-detail__visual {
        order: 0;
    }

    .country-showcase {
        grid-template-columns: 1fr;
    }

    .platform-role {
        grid-template-columns: 1fr;
    }

    .platform-bridge {
        transform: rotate(90deg);
    }

    .selection-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .filter-panel {
        position: static;
    }

    .auth-aside {
        min-height: 380px;
    }
}

@media (max-width: 767.98px) {
    :root {
        --inner-section-space: 68px;
    }

    .page-masthead {
        min-height: 390px;
    }

    .page-masthead__inner {
        padding-block: 58px;
    }

    .page-masthead h1 {
        font-size: clamp(34px, 10vw, 48px);
    }

    .feature-grid,
    .feature-grid--2,
    .feature-grid--4,
    .feature-grid--5,
    .statement-pair,
    .policy-columns,
    .form-grid,
    .worker-grid {
        grid-template-columns: 1fr;
    }

    .service-detail,
    .service-detail:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .service-detail__visual {
        min-height: 200px;
    }

    .service-detail__image {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .worker-carousel-head {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 16px;
    }

    .worker-carousel-head .brand-button--ghost {
        width: 100%;
    }

    .worker-carousel__track {
        grid-auto-columns: 86%;
        gap: 12px;
        padding-inline: 0;
    }

    .cv-card--carousel {
        flex-basis: 86%;
    }

    .worker-carousel-shell {
        padding: 0 0 54px;
    }

    .worker-carousel__control {
        inset-block-start: auto;
        inset-block-end: 2px;
        width: 38px;
        height: 38px;
        transform: none;
    }

    .worker-carousel__control:hover,
    .worker-carousel__control:focus-visible {
        transform: scale(1.05);
    }

    .worker-carousel__control[data-carousel-prev] {
        inset-inline-start: calc(50% - 47px);
    }

    .worker-carousel__control[data-carousel-next] {
        inset-inline-end: calc(50% - 47px);
    }

    .cv-card--carousel .cv-facts {
        gap: 6px;
    }

    .contact-panel__image {
        width: calc(100% + 52px);
        margin: -26px -26px 24px;
    }

    .country-profile {
        grid-template-columns: 1fr;
    }

    .country-profile__visual {
        min-height: 185px;
    }

    .country-profile__body {
        padding: 28px 22px;
    }

    .cta-band {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-band .brand-button {
        width: 100%;
    }

    .faq-toolbar {
        grid-template-columns: 1fr auto;
    }

    .selection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .request-categories {
        grid-template-columns: 1fr;
    }

    .status-board__row {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .status-chip {
        grid-column: 2;
        width: fit-content;
    }

    .auth-aside {
        min-height: 320px;
    }

    .auth-main {
        padding: 34px 24px;
    }

    .auth-links {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .inner-container,
    .page-masthead__inner {
        width: min(calc(100% - 24px), var(--inner-container));
    }

    .page-masthead {
        min-height: 410px;
    }

    .breadcrumb-list {
        margin-bottom: 18px;
    }

    .page-masthead h1 {
        font-size: 34px;
    }

    .page-masthead__lead {
        font-size: 15px;
        line-height: 1.9;
    }

    .feature-card,
    .form-panel,
    .contact-panel,
    .filter-panel,
    .auth-panel,
    .selection-studio {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .visual-frame,
    .visual-frame img {
        min-height: 380px;
    }

    .button-row {
        display: grid;
    }

    .button-row > * {
        width: 100%;
    }

    .selection-grid {
        grid-template-columns: 1fr;
    }

    .journey-item {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 12px;
    }

    .journey-rail::before {
        inset-inline-start: 25px;
    }

    .journey-item__marker {
        width: 52px;
        height: 52px;
    }

    .journey-item__content {
        padding: 20px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .internal-page *,
    .internal-page *::before,
    .internal-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1199.98px) {
    .detail-data-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .country-detail-intro,
    .worker-detail-identity,
    .contract-workspace {
        grid-template-columns: 1fr;
    }

    .country-detail-flag {
        min-height: 330px;
    }

    .worker-detail-photo {
        width: min(390px, 100%);
        margin-inline: auto;
    }

    .contract-steps {
        position: static;
    }

    .contract-steps ol {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .contract-steps li {
        grid-template-columns: 38px minmax(0, 1fr);
        min-height: 58px;
    }

    .contract-steps li::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .country-guide-grid,
    .worker-detail-sections,
    .review-states {
        grid-template-columns: 1fr;
    }

    .country-traits,
    .detail-data-grid,
    .contract-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-panel--wide {
        grid-column: auto;
    }

    .contract-steps ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 430px) {
    .country-detail-flag {
        min-height: 270px;
        border-radius: 24px;
    }

    .country-detail-flag img {
        width: 175px;
        height: 175px;
    }

    .country-traits,
    .detail-data-grid,
    .contract-fields,
    .contract-steps ol {
        grid-template-columns: 1fr;
    }

    .worker-detail-identity {
        padding: 18px;
        border-radius: 24px;
    }

    .identity-chips {
        grid-template-columns: 1fr;
    }

    .selected-cv-placeholder {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 12px;
    }

    .selected-cv-placeholder img {
        width: 82px;
        height: 100px;
    }
}

/* Final client revision: internal media containment, approved content, video, and blog. */
.service-page-image,
.visual-frame,
.contact-panel,
.brand-video-frame {
    min-width: 0;
    max-width: 100%;
    isolation: isolate;
}

.page-masthead--contact {
    min-height: 500px;
    background: #201820;
}

.page-masthead--contact::before {
    background:
        linear-gradient(100deg, rgba(32, 24, 32, 0.92), rgba(80, 48, 24, 0.5)),
        url("../images/صور جهة القدوم/تواصل معنا.png") center 46% / cover no-repeat;
    opacity: 1;
    mix-blend-mode: normal;
}

.page-masthead--contact::after {
    opacity: 0.72;
}

.about-approved-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.about-approved-card {
    position: relative;
    min-width: 0;
    padding: clamp(28px, 4vw, 46px);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.about-approved-card::before {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    width: 84px;
    height: 6px;
    background: linear-gradient(90deg, var(--color-brand-primary), var(--color-brand-secondary));
    border-radius: 0 0 999px 999px;
}

.about-approved-card--values {
    grid-column: 1 / -1;
    background:
        radial-gradient(circle at 8% 10%, rgba(248, 112, 24, 0.1), transparent 14rem),
        #fff;
}

.about-approved-card h2 {
    margin: 0 0 16px;
    color: var(--color-brand-charcoal);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 850;
}

.about-approved-card p,
.about-approved-card li {
    color: var(--inner-ink-soft);
    font-size: 16px;
    line-height: 2;
}

.about-approved-card p {
    margin: 0;
}

.about-approved-card ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-approved-card li {
    position: relative;
    padding: 16px 52px 16px 18px;
    background: var(--color-surface-warm);
    border: 1px solid var(--color-line);
    border-radius: 16px;
}

.about-approved-card li::before {
    content: "\f00c";
    position: absolute;
    inset-block-start: 18px;
    inset-inline-start: 18px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #fff;
    background: var(--color-brand-primary);
    border-radius: 50%;
    font-family: "Font Awesome 6 Free";
    font-size: 11px;
    font-weight: 900;
}

.musaned-video-section .section-heading p {
    max-width: 900px;
}

.musaned-video-section .button-row--center {
    justify-content: center;
    margin-top: 24px;
}

/* Blog landing and article system. */
.blog-page .page-masthead::before {
    background:
        linear-gradient(105deg, rgba(32, 24, 32, 0.88), rgba(80, 48, 24, 0.54)),
        url("../images/صور جهة القدوم/BACK GRPOUND.png") center / cover no-repeat;
    opacity: 1;
    mix-blend-mode: normal;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.article-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 26px;
    box-shadow: var(--shadow-soft);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.article-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-brand-charcoal);
}

.article-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(32, 24, 32, 0.55));
}

.article-card__media img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.article-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.article-card__meta,
.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    color: var(--color-muted);
    font-size: 12px;
}

.article-card__meta i,
.article-meta i {
    color: var(--color-brand-primary);
}

.article-card h2 {
    margin: 14px 0 10px;
    color: var(--color-brand-charcoal);
    font-size: clamp(23px, 2.5vw, 31px);
    font-weight: 850;
    line-height: 1.45;
}

.article-card p {
    margin: 0 0 20px;
    color: var(--color-muted);
    line-height: 1.9;
}

.article-card .brand-button--ghost {
    margin-top: auto;
}

.knowledge-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.knowledge-strip article {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 20px;
}

.knowledge-strip i {
    margin-bottom: 14px;
    color: var(--color-brand-primary);
    font-size: 28px;
}

.knowledge-strip h2 {
    margin: 0 0 8px;
    color: var(--color-brand-charcoal);
    font-size: 20px;
}

.knowledge-strip p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.8;
}

.article-masthead .page-masthead__inner {
    padding-block: 86px;
}

.article-masthead h1 {
    max-width: 980px;
    font-size: clamp(36px, 5.2vw, 64px);
}

.article-masthead .article-meta {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.78);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(28px, 5vw, 58px);
    align-items: start;
}

.article-body {
    min-width: 0;
    padding: clamp(26px, 5vw, 58px);
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}

.article-body > p:first-of-type {
    color: var(--color-brand-charcoal);
    font-size: clamp(18px, 2vw, 21px);
    font-weight: 650;
    line-height: 2;
}

.article-body h2 {
    margin: 52px 0 16px;
    color: var(--color-brand-charcoal);
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 850;
    line-height: 1.45;
}

.article-body h3 {
    margin: 32px 0 12px;
    color: var(--color-brand-brown);
    font-size: clamp(21px, 2.4vw, 27px);
    font-weight: 820;
}

.article-body p,
.article-body li {
    color: #514647;
    font-size: 16px;
    line-height: 2.05;
}

.article-body p {
    margin: 0 0 18px;
}

.article-body ul,
.article-body ol {
    display: grid;
    gap: 9px;
    padding-inline-start: 24px;
}

.article-body a:not(.brand-button):not(.brand-button--ghost) {
    color: var(--color-brand-secondary);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(160, 80, 24, 0.28);
    text-underline-offset: 4px;
}

.article-update,
.article-answer,
.article-callout {
    margin: 28px 0;
    padding: 22px 24px;
    background: var(--color-surface-warm);
    border: 1px solid var(--color-line);
    border-inline-start: 5px solid var(--color-brand-primary);
    border-radius: 18px;
}

.article-update strong,
.article-answer strong,
.article-callout strong {
    display: block;
    margin-bottom: 7px;
    color: var(--color-brand-charcoal);
}

.article-update p,
.article-answer p,
.article-callout p {
    margin: 0;
}

.article-table-wrap {
    width: 100%;
    margin: 26px 0;
    overflow-x: auto;
    border: 1px solid var(--color-line);
    border-radius: 18px;
}

.article-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    background: #fff;
}

.article-table th,
.article-table td {
    padding: 15px 17px;
    text-align: start;
    vertical-align: top;
    border-bottom: 1px solid var(--color-line);
}

.article-table th {
    color: #fff;
    background: var(--color-brand-charcoal);
    font-size: 14px;
}

.article-table td {
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.8;
}

.article-table tr:last-child td {
    border-bottom: 0;
}

.article-sidebar {
    position: sticky;
    inset-block-start: 160px;
    display: grid;
    gap: 18px;
}

.article-toc,
.article-side-cta,
.article-author {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}

.article-toc h2,
.article-side-cta h2,
.article-author h2 {
    margin: 0 0 12px;
    color: var(--color-brand-charcoal);
    font-size: 19px;
}

.article-toc ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-toc a {
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.7;
}

.article-toc a:hover,
.article-toc a:focus-visible {
    color: var(--color-brand-primary);
}

.article-side-cta {
    color: #fff;
    background: linear-gradient(145deg, var(--color-brand-charcoal), var(--color-brand-brown));
}

.article-side-cta h2,
.article-side-cta p {
    color: #fff;
}

.article-side-cta p,
.article-author p {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.8;
}

.article-author {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    margin-top: 36px;
}

.article-author img {
    width: 64px;
    height: 64px;
    padding: 7px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 16px;
}

.article-author h2 {
    margin: 0 0 4px;
    font-size: 18px;
}

.article-author p {
    margin: 0;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 16px;
    overflow: hidden;
}

.faq-list summary {
    position: relative;
    padding: 18px 54px 18px 18px;
    color: var(--color-brand-charcoal);
    font-weight: 850;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::before {
    content: "+";
    position: absolute;
    inset-block-start: 14px;
    inset-inline-start: 16px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #fff;
    background: var(--color-brand-primary);
    border-radius: 50%;
}

.faq-list details[open] summary::before { content: "−"; }

.faq-list details p {
    margin: 0;
    padding: 0 20px 20px;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .feature-grid > :last-child:nth-child(odd):not(:first-child),
    .feature-grid--5 > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 9px);
    }
}

@media (max-width: 991.98px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-toc {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .page-masthead--contact {
        min-height: 430px;
    }

    .page-masthead--contact::before {
        background-position: 42% center;
    }

    .about-approved-grid,
    .blog-grid,
    .knowledge-strip,
    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .about-approved-card--values,
    .article-toc {
        grid-column: auto;
    }

    .about-approved-card {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .about-approved-card li {
        padding: 14px 46px 14px 14px;
    }

    .article-card__body,
    .article-body {
        padding: 22px 18px;
    }

    .article-body {
        border-radius: 22px;
    }

    .article-body h2 {
        margin-top: 40px;
    }

    .article-body p,
    .article-body li {
        font-size: 15px;
    }

    .article-update,
    .article-answer,
    .article-callout {
        padding: 18px;
    }
}
