:root {
    --editorial-navy: #101f3c;
    --editorial-blue: #1b53a7;
    --editorial-sky: #edf5fd;
    --editorial-line: #d7e3f0;
    --editorial-text: #425572;
    --editorial-radius: 12px;
}

.section {
    padding-block: clamp(58px, 7.3vw, 105px);
}

.section-title {
    max-inline-size: 19ch;
    color: var(--editorial-navy);
    font-size: clamp(2.2rem, 4vw, 3.65rem);
    letter-spacing: -.055em;
}

:root[lang="fa"] .section-title {
    max-inline-size: 20ch;
    letter-spacing: -.035em;
    line-height: 1.36;
}

.section-description {
    max-inline-size: 46rem;
    color: var(--editorial-text);
    line-height: 1.82;
}

.section-kicker,
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-block-end: 10px;
    color: var(--editorial-blue);
    font-size: .89rem;
    font-weight: 800;
}

.section-kicker::before,
.eyebrow::before {
    flex: none;
    inline-size: 20px;
    block-size: 1px;
    background: #4a86d0;
    content: "";
}

.section-heading {
    display: grid;
    gap: 12px;
    margin-block-end: clamp(22px, 3.65vw, 43px);
}

.section-heading > .section-description {
    margin-block-start: 0;
}

.section-heading-split,
.branch-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 16px 30px;
}

.section-heading-split > .section-description {
    max-inline-size: 35rem;
}

.about-layout {
    align-items: center;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    gap: clamp(30px, 6vw, 85px);
}

.company-facts {
    gap: 0;
    margin-block-start: clamp(22px, 3.2vw, 40px);
    padding-inline: clamp(12px, 2vw, 24px);
    border: 1px solid var(--editorial-line);
    border-radius: 8px;
    background: #f7fafe;
}

.company-facts > div {
    padding-block: 11px;
    border-color: #e0eaf4;
}

.company-facts > div:last-child {
    border-block-end: 0;
}

.company-facts dt,
.company-facts dd {
    font-size: .94rem;
}

.company-facts dd {
    color: var(--editorial-navy);
}

.company-facts .company-valuation {
    color: var(--editorial-blue);
    font-variant-numeric: tabular-nums;
}

.about-figure {
    min-inline-size: 0;
    overflow: hidden;
    border: 1px solid var(--editorial-line);
    border-radius: var(--editorial-radius);
    background: #f6f9fd;
}

.about-art {
    display: block;
    overflow: hidden;
    aspect-ratio: 1.55;
    border-radius: var(--editorial-radius);
    background: #0c1932;
    box-shadow: none;
}

.about-figure .about-art {
    border-radius: 0;
}

.about-art img,
.about-art picture {
    display: block;
    inline-size: 100%;
    block-size: 100%;
}

.about-figure figcaption {
    padding: 10px clamp(13px, 2vw, 20px);
    border-block-start: 1px solid #d5e0ed;
    color: var(--editorial-text);
    font-size: .875rem;
    line-height: 1.55;
}

.structure {
    border-block: 1px solid var(--editorial-line);
    background: #f4f8fd;
}

.subsidiary-grid {
    align-items: stretch;
    gap: clamp(12px, 2.2vw, 24px);
    margin-block-start: clamp(22px, 3vw, 34px);
}

.subsidiary-card,
.subsidiary-card:nth-child(even) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: start;
    min-inline-size: 0;
    min-block-size: clamp(180px, 18vw, 230px);
    gap: 8px;
    padding: clamp(15px, 2.6vw, 29px);
    border: 1px solid var(--editorial-line);
    border-radius: var(--editorial-radius);
    background: #fff;
}

.subsidiary-card-with-logo,
.subsidiary-card:has(.subsidiary-logo-frame) {
    min-block-size: 0;
}

.subsidiary-logo-frame {
    display: grid;
    order: -1;
    place-items: center;
    inline-size: 100%;
    block-size: clamp(128px, 19vw, 210px);
    margin-block-end: 9px;
    padding: clamp(12px, 2.7vw, 26px);
    border: 1px solid #e6edf6;
    border-radius: 7px;
    background: #fff;
    box-shadow: none;
}

.subsidiary-logo-frame img {
    inline-size: min(100%, 300px);
    block-size: 100%;
    min-block-size: 0;
    object-fit: contain;
}

.subsidiary-shape {
    display: none;
}

.subsidiary-card h3 {
    color: var(--editorial-navy);
    font-size: clamp(1.18rem, 2.1vw, 1.8rem);
    letter-spacing: -.039em;
    line-height: 1.35;
}

.section-description bdi[lang="en"] {
    display: inline-block;
    max-inline-size: 100%;
}

.subsidiary-link {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
    color: var(--editorial-blue);
    font-size: .92rem;
    font-weight: 750;
    text-decoration-color: #90acd0;
    text-underline-offset: .24em;
}

.subsidiary-link:hover {
    color: #10366e;
    text-decoration-color: currentColor;
}

.branches,
.inner-directory {
    border-block-start: 0;
    background: #fff;
}

.branch-filters {
    gap: 7px;
    margin-block-start: 25px;
    padding: 11px;
    border: 1px solid var(--editorial-line);
    border-radius: 9px;
    background: #f7fafe;
}

.filter-button {
    padding-inline: clamp(10px, 1.15vw, 14px);
    border-color: #d3e2f1;
    border-radius: 5px;
    color: #234367;
}

.filter-button:hover {
    border-color: #9ab7d9;
    background: #f0f7ff;
}

.filter-button[aria-pressed="true"] {
    border-color: #1b53a7;
    background: #1b53a7;
    color: #fff;
}

.branch-result-count {
    min-inline-size: auto;
    padding-inline: 8px;
    color: var(--editorial-text);
}

.branch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-block-start: 13px;
}

.branch-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-block-size: 0;
    padding: clamp(16px, 2.15vw, 26px);
    border-color: var(--editorial-line);
    border-radius: 9px;
    background: #fff;
}

.branch-card:hover {
    border-color: #a9c5e5;
    box-shadow: 0 7px 23px #223a6f0b;
}

.branch-card-top {
    align-self: stretch;
    margin-block-end: 13px;
    padding-block-end: 11px;
    border-block-end: 1px solid #e6eef7;
}

.branch-code {
    inline-size: auto;
    min-inline-size: 34px;
    min-block-size: 27px;
    block-size: auto;
    padding-inline: 6px;
    border: 0;
    border-radius: 4px;
    background: var(--editorial-sky);
    color: #26538a;
    font-size: .85rem;
    letter-spacing: .075em;
}

.branch-state {
    padding: 3px 8px;
    border-radius: 4px;
    background: #f0f3f7;
    color: #4b5c72;
    font-size: .86rem;
    line-height: 1.4;
}

.branch-state::before {
    flex: none;
    inline-size: 6px;
    block-size: 6px;
}

.branch-state[data-active="true"] {
    background: #e8f4ef;
    color: #16614e;
}

.branch-card h3 {
    max-inline-size: 100%;
    color: var(--editorial-navy);
    font-size: clamp(1.13rem, 1.65vw, 1.43rem);
    letter-spacing: -.028em;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.branch-location {
    width: 100%;
    color: #365474;
    overflow-wrap: anywhere;
}

.branch-address {
    align-self: stretch;
    margin-block-start: 6px;
    color: var(--editorial-text);
    line-height: 1.62;
}

.branch-directions {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
    margin-block-start: auto;
    color: var(--editorial-blue);
    font-size: .91rem;
    font-weight: 750;
    text-underline-offset: .21em;
}

.branch-directions:hover {
    color: #0e3c77;
}

.governance {
    border-block: 1px solid var(--editorial-line);
    background: #f3f7fc;
}

.governance-grid {
    display: grid;
    align-items: stretch;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(13px, 2.4vw, 26px);
}

.governance-leader,
.governance-ownership {
    min-inline-size: 0;
    border-radius: var(--editorial-radius);
}

.governance-leader {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: end;
    min-block-size: 280px;
    overflow: hidden;
    padding: clamp(25px, 4.1vw, 53px);
    border: 1px solid #223c63;
    background: linear-gradient(146deg, #102441, #0b172e 58%, #132f54);
    color: #fff;
}

.governance-leader::before {
    position: absolute;
    z-index: -1;
    inset-block-start: -100px;
    inset-inline-end: -105px;
    inline-size: min(78%, 335px);
    aspect-ratio: 1;
    border: 1px solid #6aa9ee54;
    border-radius: 50%;
    box-shadow: 0 0 0 20px #5997dc24, 0 0 0 47px #5997dc17, 0 0 0 75px #5997dc0d;
    content: "";
    pointer-events: none;
}

.governance-leader .leadership-copy {
    min-inline-size: 0;
}

.governance-leader .section-kicker,
.governance-leader .section-label {
    color: #a9d1ff;
}

.governance-leader .leader-title {
    font-size: clamp(2.25rem, 4.05vw, 4rem);
    overflow-wrap: anywhere;
}

.governance-leader .leader-role {
    color: #e1eeff;
}

.governance-leader .leader-company {
    color: #aac3e0;
}

.governance-leader .leadership-emblem {
    z-index: -1;
    inset-block-start: 29%;
    inset-inline-end: 8%;
    color: #9cc9fb20;
    font-size: clamp(6.2rem, 14.5vw, 12.5rem);
    letter-spacing: -.1em;
}

.governance-leader .button {
    min-block-size: 46px;
    margin-block-start: clamp(18px, 2.6vw, 29px);
    padding-inline: 16px;
    border-color: #a6cfff63;
    border-radius: 6px;
    background: #e1efff10;
    color: #fff;
    box-shadow: none;
}

.governance-leader .button:hover {
    border-color: #a6cfffbe;
    background: #bdd9ff2a;
}

.governance-ownership {
    display: grid;
    align-content: center;
    gap: 15px;
    padding: clamp(16px, 2.5vw, 30px);
    border: 1px solid var(--editorial-line);
    background: #fff;
}

.ownership-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ownership-heading h3 {
    color: var(--editorial-navy);
    font-size: clamp(1.45rem, 2.9vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.3;
}

.ownership-heading p {
    margin-block-start: 4px;
    color: var(--editorial-text);
    font-size: .92rem;
}

.ownership-heading .ownership-chart {
    flex: none;
    inline-size: 80px;
    padding: 5px;
    box-shadow: none;
}

.ownership-heading .ownership-chart-center {
    gap: 1px;
}

.ownership-heading .ownership-chart-center strong {
    color: var(--editorial-blue);
    font-size: 1.18rem;
    font-variant-numeric: tabular-nums;
}

.ownership-heading .ownership-chart-center span {
    max-inline-size: 7ch;
    font-size: .75rem;
    line-height: 1.16;
}

.governance-ownership .ownership-table th,
.governance-ownership .ownership-table td {
    padding: 11px 8px;
    border-color: #e5edf6;
    line-height: 1.48;
}

.governance-ownership .ownership-table thead th {
    background: #f0f6fc;
}

.governance-ownership .ownership-table thead th:first-child {
    inline-size: 50%;
}

.governance-ownership .ownership-table thead th:nth-child(2) {
    inline-size: 27%;
}

.governance-ownership .ownership-table tbody tr:last-child > * {
    border-block-end: 0;
}

.governance-ownership .ownership-table td:last-child {
    color: var(--editorial-blue);
}

.contact {
    border-block-start: 0;
    background: #fff;
}

.contact-layout {
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: clamp(26px, 5vw, 66px);
}

.contact-grid {
    gap: 11px;
}

.email-link {
    min-block-size: 99px;
    gap: 12px;
    padding: 12px;
    border-color: var(--editorial-line);
    border-radius: 8px;
    background: #f7fafe;
}

.email-link:hover {
    border-color: #a8c0dd;
    background: #edf5fd;
}

.email-text bdi {
    color: var(--editorial-blue);
}

.mail-icon {
    background: #e3eefb;
}

.site-footer {
    border-block-start: 1px solid #263a5b;
    background: #0b162b;
    color: #dce8f9;
}

.footer-inner {
    gap: 12px 24px;
}

.footer-note {
    color: #b6c8e3;
}

.footer-release {
    display: flex;
    flex-wrap: wrap;
    column-gap: 17px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
    color: #d5e7ff;
    font-size: .9rem;
    text-decoration-color: #81a5cd;
}

.footer-link:hover {
    color: #fff;
    text-decoration-color: currentColor;
}

.inner-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(38px, 6.5vw, 94px);
    border-block-end: 1px solid #17304f;
    background: linear-gradient(150deg, #0d1e39, #0b172e 60%, #102847);
    color: #f5f8ff;
}

.inner-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, transparent 0 41px, #86baf31b 41px 42px),
        repeating-linear-gradient(0deg, transparent 0 41px, #86baf31b 41px 42px);
    mask-image: radial-gradient(ellipse at 86% 60%, #000 0, transparent 60%);
    content: "";
    pointer-events: none;
}

:root[dir="rtl"] .inner-hero::before {
    transform: scaleX(-1);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 13px;
    margin-block-end: clamp(18px, 3vw, 33px);
    color: #bad1ee;
    font-size: .9rem;
    font-weight: 650;
}

.breadcrumb ol,
.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
}

.breadcrumb li + li::before {
    color: #7492b9;
    content: "/";
}

.breadcrumb > [aria-current] {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb > [aria-current]::before {
    inline-size: 1px;
    block-size: 14px;
    transform: rotate(20deg);
    background: #7492b9;
    content: "";
}

.breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-block-size: 40px;
    color: #e7f1ff;
    text-underline-offset: .23em;
}

.inner-title,
.inner-hero h1 {
    max-inline-size: 22ch;
    color: #fff;
    font-size: clamp(2.35rem, 5.4vw, 5.2rem);
    font-weight: 800;
    letter-spacing: -.064em;
    line-height: 1.13;
    overflow-wrap: anywhere;
}

:root[lang="fa"] .inner-title,
:root[lang="fa"] .inner-hero h1 {
    letter-spacing: -.037em;
    line-height: 1.35;
}

.inner-description,
.inner-hero h1 + p {
    max-inline-size: 53ch;
    margin-block-start: 13px;
    color: #c4d7f0;
    font-size: clamp(1.02rem, 1.72vw, 1.24rem);
    line-height: 1.7;
}

.inner-status-note {
    max-inline-size: 55ch;
    margin-block-start: 12px;
    color: #a9c5e7;
    font-size: .94rem;
}

.inner-directory .branch-grid {
    margin-block-end: 4px;
}

.executive-profile {
    color: var(--editorial-navy);
}

.executive-profile + .contact {
    border-block-start: 1px solid var(--editorial-line);
    background: #f5f9fd;
}

.profile-facts {
    max-inline-size: 48rem;
    margin-block: 22px;
    padding: clamp(15px, 2.7vw, 28px);
    border: 1px solid var(--editorial-line);
    border-radius: 9px;
    background: #f7fafe;
}

.profile-facts dl,
dl.profile-facts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    column-gap: 12px;
    align-items: baseline;
}

.profile-facts dl > div,
dl.profile-facts > div {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    column-gap: 12px;
}

.profile-facts dt,
.profile-facts dd {
    padding-block: 9px;
    border-block-end: 1px solid #e3ecf5;
    overflow-wrap: anywhere;
}

.profile-facts dt {
    color: var(--editorial-text);
    font-weight: 650;
}

.profile-facts dd {
    color: var(--editorial-navy);
    font-weight: 800;
}

.profile-facts dt:last-of-type,
.profile-facts dd:last-of-type,
.profile-facts > div:last-child > *,
.profile-facts dl > div:last-child > * {
    border-block-end: 0;
}

.profile-facts > div:not(:last-child) > *,
.profile-facts dl > div:not(:last-child) > * {
    border-block-end: 1px solid #e3ecf5;
}

.profile-navigation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-block-start: 27px;
}

.profile-navigation .button-quiet {
    border-color: #bbcee7;
    background: #edf5fe;
    color: var(--editorial-blue);
}

.profile-navigation .button-quiet:hover {
    border-color: #8eafd9;
    background: #e0edfd;
}

.guide-content {
    padding-block: clamp(42px, 6.5vw, 82px);
    color: var(--editorial-text);
}

.guide-content > .guide-steps {
    display: grid;
    max-inline-size: 58rem;
    gap: 14px;
    margin-block: 0;
    padding-inline-start: 0;
    list-style-position: inside;
}

.guide-steps > li {
    min-width: 0;
    padding: clamp(17px, 3vw, 30px);
    border: 1px solid var(--editorial-line);
    border-radius: 8px;
    background: #f7fafe;
}

.guide-steps > li::marker {
    color: var(--editorial-blue);
    font-weight: 800;
}

.guide-steps > li > h2 {
    display: inline;
    margin-block: 0;
    margin-inline-start: 5px;
    font-size: clamp(1.23rem, 2.2vw, 1.85rem);
}

.guide-steps > li > :last-child {
    margin-block-end: 0;
}

.guide-links a {
    overflow-wrap: anywhere;
}

.guide-content h2,
.guide-content h3 {
    margin-block: 0 9px;
    color: var(--editorial-navy);
    font-weight: 800;
    line-height: 1.45;
}

.guide-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.guide-content h3 {
    font-size: clamp(1.18rem, 1.9vw, 1.55rem);
}

.guide-content section + section,
.guide-content * + h2 {
    margin-block-start: clamp(28px, 5vw, 52px);
}

.guide-content p,
.guide-content ul,
.guide-content ol {
    max-inline-size: 75ch;
    margin-block: 8px 13px;
}

.guide-content li + li {
    margin-block-start: 6px;
}

.guide-content a {
    color: var(--editorial-blue);
    font-weight: 750;
    text-underline-offset: .2em;
}

.guide-content code {
    padding: 2px 3px;
    border-radius: 3px;
    background: #eff5fd;
    color: #17385f;
    direction: ltr;
    overflow-wrap: anywhere;
    unicode-bidi: isolate;
}

.guide-content pre {
    max-inline-size: 100%;
    overflow: auto;
    padding: 12px 15px;
    border: 1px solid var(--editorial-line);
    border-radius: 7px;
    background: #eff5fd;
    direction: ltr;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.guide-content pre code {
    padding: 0;
}

@media (max-width: 930px) {
    .about-layout,
    .governance-grid,
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-art {
        max-block-size: min(420px, 56vw);
    }

    .governance-leader {
        min-block-size: 270px;
    }
}

@media (max-width: 600px) {
    .section {
        padding-block: 54px;
    }

    .branch-grid,
    .subsidiary-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .branch-result-count {
        margin-inline-start: 0;
    }

    .footer-inner {
        justify-content: flex-start;
    }

    .footer-note {
        flex-basis: 100%;
        order: 2;
    }
}

@media (max-width: 410px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .governance-ownership {
        padding-inline: 10px;
    }

    .governance-ownership .ownership-table th,
    .governance-ownership .ownership-table td {
        padding-inline: 5px;
    }

    .ownership-heading .ownership-chart {
        inline-size: 76px;
    }

    .ownership-heading .ownership-chart-center strong {
        font-size: 1.02rem;
    }

}

.branch-flag,
.filter-flag {
    flex: none;
    object-fit: contain;
    outline: 1px solid #1d365222;
    outline-offset: -1px;
}

.branch-flag {
    inline-size: 35px;
    block-size: auto;
    max-block-size: 24px;
    border-radius: 4px;
    box-shadow: 0 2px 6px #1c3e6e1d;
}

.filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.filter-flag {
    inline-size: 19px;
    block-size: auto;
    max-block-size: 14px;
    border-radius: 2px;
}

@media (prefers-reduced-motion: no-preference) {
    @keyframes editorial-grid-drift {
        0%, 100% { transform: translate3d(-9px, 6px, 0) scale(1.055); opacity: .73; }
        50% { transform: translate3d(14px, -10px, 0) scale(1.1); opacity: 1; }
    }

    @keyframes editorial-hero-glow {
        0%, 100% { transform: translate3d(-12%, 7%, 0) scale(1); opacity: .34; }
        50% { transform: translate3d(18%, -8%, 0) scale(1.15); opacity: .63; }
    }

    @keyframes editorial-entrance {
        from { transform: translate3d(0, 23px, 0); opacity: .72; }
        to { transform: translate3d(0, 0, 0); opacity: 1; }
    }

    @keyframes editorial-chart-entrance {
        0% { transform: rotate(-30deg) scale(.9); }
        70% { transform: rotate(2deg) scale(1.035); }
        100% { transform: rotate(0) scale(1); }
    }

    :root:not([data-motion="off"]) .hero::before {
        animation: editorial-grid-drift 14s ease-in-out infinite;
    }

    :root:not([data-motion="off"]) .hero::after {
        position: absolute;
        z-index: -1;
        inset-block: -18% 0;
        inset-inline-start: 4%;
        inline-size: 73%;
        border-radius: 50%;
        background: radial-gradient(ellipse at center, #335cb437, #416abd14 46%, transparent 68%);
        animation: editorial-hero-glow 17s ease-in-out infinite;
        content: "";
        pointer-events: none;
    }

    :root:not([data-motion="off"]) .network-panel::before {
        animation: editorial-grid-drift 13s ease-in-out infinite reverse;
    }

    :root:not([data-motion="off"]) [data-intro],
    :root:not([data-motion="off"]) [data-revealed] {
        animation-name: editorial-entrance;
        animation-duration: .77s;
    }

    :root:not([data-motion="off"]) [data-revealed] .ownership-chart {
        animation: editorial-chart-entrance 1.15s var(--ease) both;
    }

    :root:not([data-motion="off"]) .branch-card,
    :root:not([data-motion="off"]) .subsidiary-card,
    :root:not([data-motion="off"]) .branch-flag,
    :root:not([data-motion="off"]) .filter-flag,
    :root:not([data-motion="off"]) .mail-icon {
        transition:
            translate .32s var(--ease),
            scale .32s var(--ease),
            rotate .32s var(--ease),
            border-color .2s ease,
            box-shadow .22s ease;
    }

    :root:not([data-motion="off"]) .subsidiary-card:focus-within,
    :root:not([data-motion="off"]) .branch-card:focus-within {
        translate: 0 -3px;
        border-color: #9ebbe0;
    }

    :root:not([data-motion="off"]) .email-link:focus-visible .mail-icon {
        translate: 0 -2px;
    }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
    :root:not([data-motion="off"]) .subsidiary-card:hover,
    :root:not([data-motion="off"]) .branch-card:hover {
        translate: 0 -4px;
        border-color: #a6c1df;
        box-shadow: 0 14px 28px #1b436113;
    }

    :root:not([data-motion="off"]) .branch-card:hover .branch-flag,
    :root:not([data-motion="off"]) .filter-button:hover .filter-flag {
        rotate: -5deg;
        scale: 1.08;
    }

    :root:not([data-motion="off"]) .email-link:hover .mail-icon {
        translate: 0 -3px;
        rotate: -4deg;
    }
}

@media (prefers-reduced-motion: no-preference) {
    @keyframes editorial-title-light {
        0%, 100% { background-position: 0 50%; }
        50% { background-position: 100% 50%; }
    }

    :root:not([data-motion="off"]) .hero-title span {
        background-size: 165% 100%;
        animation: editorial-title-light 8.5s ease-in-out infinite;
    }
}

@media (prefers-reduced-motion: no-preference) {
    @keyframes editorial-mark-in {
        from { transform: translateY(8px) scale(.93); opacity: .68; }
        to { transform: translateY(0) scale(1); opacity: 1; }
    }

    :root:not([data-motion="off"]) [data-revealed] .subsidiary-logo-frame img,
    :root:not([data-motion="off"]) [data-revealed] .branch-flag,
    :root:not([data-motion="off"]) [data-revealed] .mail-icon {
        animation: editorial-mark-in .75s var(--ease) both;
        animation-delay: calc(var(--delay, 0ms) + 60ms);
    }
}

.site-footer-branded {
    background:
        radial-gradient(ellipse at 18% 0, #21395c 0, transparent 56%),
        linear-gradient(140deg, #13223b 0, #0b1429 70%);
}

.footer-brands {
    padding-block: clamp(24px, 4vw, 48px);
    border-block-end: 1px solid #9db8ec35;
}

.footer-brand-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(8px, 1.8vw, 21px);
    padding: 0;
    list-style: none;
}

.footer-brand-card {
    display: grid;
    align-content: start;
    justify-items: center;
    block-size: 100%;
    gap: 8px;
    padding: clamp(7px, 1.4vw, 15px);
    border: 1px solid #9bb9ed47;
    border-radius: 12px;
    background: #d3e2ff0c;
    color: #e6eeff;
    text-align: center;
    text-decoration: none;
    font-size: clamp(.74rem, 1.25vw, .93rem);
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.footer-brand-card:hover,
.footer-brand-card:focus-visible {
    border-color: #9dc2ff;
    background: #d3e2ff18;
}

.footer-brand-image {
    display: grid;
    place-items: center;
    inline-size: 100%;
    block-size: clamp(50px, 7vw, 91px);
    padding: clamp(4px, .75vw, 9px);
    border-radius: 6px;
    background: #fff;
}

.footer-brand-image img {
    inline-size: min(100%, 172px);
    block-size: 100%;
    min-block-size: 0;
    object-fit: contain;
}

.site-footer-branded .footer-inner {
    row-gap: 12px;
}

@media (prefers-reduced-motion: no-preference) {
    :root:not([data-motion="off"]) .footer-brand-card {
        transition: translate .26s var(--ease), border-color .2s ease, background-color .2s ease;
    }

    :root:not([data-motion="off"]) .footer-brand-card:hover {
        translate: 0 -3px;
    }
}
