/* Homepage hero */
.home-page {
    background: var(--theme-page-background);
}

.home-hero {
    overflow: hidden;
    background: var(--theme-page-background);
}

.home-hero__inner {
    width: min(100% - 56px, var(--page-width));
    min-height: 440px;
    margin: 0 auto;
    padding: 24px 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.98fr);
    align-items: center;
    gap: 34px;
}

.home-hero__content {
    padding: 6px 0 0;
}

.home-hero__eyebrow {
    margin: 0 0 16px;
    color: var(--color-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-hero__title {
    margin: 0;
    font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
    font-size: clamp(40px, 4.8vw, 58px);
    font-weight: 600;
    line-height: 0.96;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

.home-hero__title-line {
    display: block;
}

.home-hero__title-line--blue {
    color: var(--color-primary);
}

.home-hero__title-line--red {
    color: var(--color-red);
}

.home-hero__description {
    max-width: 430px;
    margin: 22px 0 0;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}

.home-hero__actions {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, 190px);
    gap: 12px;
}

.home-hero__actions .button {
    width: 100%;
}

.home-hero__actions .button--secondary {
    border-color: transparent;
    color: var(--color-primary-deep);
}

@media (min-width: 1101px) {
    .home-hero__actions .button {
        transition:
            transform 180ms ease,
            box-shadow 180ms ease;
    }

    .home-hero__actions .button:hover,
    .home-hero__actions .button:focus-visible {
        transform: translateY(-2px);
        box-shadow:
            0 8px 18px
            color-mix(
                in srgb,
                var(--color-text) 12%,
                transparent
            );
    }

    .home-hero__actions .button:active {
        transform: translateY(1px) scale(0.98);
        box-shadow:
            0 3px 8px
            color-mix(
                in srgb,
                var(--color-text) 10%,
                transparent
            );
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .home-hero__actions .button {
        transition: none;
    }

    .home-hero__actions .button:hover,
    .home-hero__actions .button:focus-visible,
    .home-hero__actions .button:active {
        transform: none;
    }
}


@keyframes home-hero-enter-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes home-hero-enter-side {
    from {
        opacity: 0;
        transform: translateX(16px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@media (min-width: 1101px) {
    .home-hero__eyebrow {
        animation: home-hero-enter-up 420ms ease both;
    }

    .home-hero__title-line--blue {
        animation: home-hero-enter-up 460ms ease 60ms both;
    }

    .home-hero__title-line--red {
        animation: home-hero-enter-up 460ms ease 120ms both;
    }

    .home-hero__description {
        animation: home-hero-enter-up 460ms ease 180ms both;
    }

    .home-hero__actions {
        animation: home-hero-enter-up 460ms ease 240ms both;
    }

    .home-hero__highlights {
        animation: home-hero-enter-up 460ms ease 300ms both;
    }

    .home-hero__visual {
        animation: home-hero-enter-side 560ms ease 140ms both;
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .home-hero__eyebrow,
    .home-hero__title-line,
    .home-hero__description,
    .home-hero__actions,
    .home-hero__highlights,
    .home-hero__visual {
        animation: none;
    }
}


.home-hero__highlights {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, 190px);
    gap: 12px;
}

.home-hero__highlight {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #9fd5f2;
    border-radius: 16px;
    background: var(--theme-surface-glass);
}

.home-hero__highlight--pink {
    border-color: #efb9d1;
}

.home-hero__highlight-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--color-primary);
    position: relative;
}

.home-hero__highlight--pink .home-hero__highlight-icon {
    background: var(--color-pink);
}

.home-hero__highlight-icon::before {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: var(--color-white);
}

.home-hero__highlight strong {
    display: block;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.15;
}

.home-hero__highlight span {
    display: block;
    margin-top: 4px;
    color: var(--theme-text-muted);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.3;
}

@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .home-hero__highlight {
        transition:
            transform 220ms ease,
            box-shadow 220ms ease;
    }

    .home-hero__highlight:hover {
        transform: translateY(-3px);
        box-shadow:
            0 8px 18px
            color-mix(
                in srgb,
                var(--color-text) 12%,
                transparent
            );
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .home-hero__highlight {
        transition: none;
    }

    .home-hero__highlight:hover {
        transform: none;
    }
}


.home-hero__visual {
    position: relative;
    min-height: 470px;
    overflow: visible;
}

.home-hero__stage {
    position: absolute;
    top: 0;
    left: 50%;
    width: 540px;
    height: 470px;
    min-height: 0;
    transform: translateX(-50%);
    transform-origin: top center;
}

.home-hero__circle {
    position: absolute;
    border-radius: 50%;
}

.home-hero__circle--pink {
    top: -84px;
    right: 14px;
    width: 352px;
    height: 352px;
    background: #e4aec9;
}

.home-hero__circle--yellow {
    top: -20px;
    right: 56px;
    width: 286px;
    height: 286px;
    background: #f2c551;
}

.home-hero__circle--blue {
    right: -8px;
    bottom: -6px;
    width: 214px;
    height: 214px;
    background: rgba(95, 190, 229, 0.95);
}

.home-hero__card {
    position: absolute;
    top: 70px;
    right: 100px;
    width: 325px;
    height: 410px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 42px;
    background: var(--color-primary);
    z-index: 2;
}

.home-hero__card img {
    width: 255px;
    max-width: none;
    max-height: 305px;
    object-fit: contain;
    transform: scale(1.3);
}

.home-hero__badge {
    position: absolute;
    z-index: 4;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--color-white);
    font-size: 18px;
    font-weight: 700;
}

.home-hero__badge--a {
    top: 38px;
    left: 82px;
    background: var(--color-red);
    transform: rotate(8deg);
}

.home-hero__badge--b {
    top: 106px;
    right: 88px;
    background: var(--color-yellow);
    transform: rotate(-8deg);
}

.home-hero__badge--c {
    bottom: 40px;
    left: 118px;
    background: var(--color-pink);
    transform: rotate(-10deg);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5);
}

.home-hero__star {
    position: absolute;
    z-index: 3;
    clip-path: polygon(
        50% 0%,
        61% 35%,
        98% 35%,
        68% 57%,
        79% 91%,
        50% 70%,
        21% 91%,
        32% 57%,
        2% 35%,
        39% 35%
    );
}

.home-hero__star--red {
    top: 74px;
    right: 32px;
    width: 76px;
    height: 76px;
    background: var(--color-red);
}

.home-hero__star--yellow {
    top: 260px;
    left: 54px;
    width: 42px;
    height: 42px;
    background: var(--color-yellow);
}

.home-hero__dot {
    position: absolute;
    z-index: 3;
    border-radius: 50%;
}

.home-hero__dot--red {
    background: var(--color-red);
}

.home-hero__dot--yellow {
    background: var(--color-yellow);
}

.home-hero__dot--white {
    background: var(--color-white);
}

.home-hero__dot--pink {
    background: var(--color-pink);
}

.home-hero__dot--top-left {
    top: 84px;
    left: 176px;
    width: 16px;
    height: 16px;
}

.home-hero__dot--top-mid {
    top: 110px;
    left: 228px;
    width: 20px;
    height: 20px;
}

.home-hero__dot--top-right {
    top: 114px;
    right: 204px;
    width: 24px;
    height: 24px;
}

.home-hero__dot--mid-right {
    top: 350px;
    right: 84px;
    width: 18px;
    height: 18px;
}

.home-hero__dot--bottom-right {
    bottom: 82px;
    right: 146px;
    width: 20px;
    height: 20px;
}

.home-hero__dot--bottom-mid {
    bottom: 30px;
    right: 256px;
    width: 18px;
    height: 18px;
}

.home-hero__dot--bottom-left {
    bottom: 62px;
    left: 134px;
    width: 24px;
    height: 24px;
}


/* Desktop Hero artwork interaction */
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .home-hero__card,
    .home-hero__circle,
    .home-hero__badge,
    .home-hero__star {
        transition: transform 280ms ease;
    }

    .home-hero__visual:hover .home-hero__card {
        transform: translateY(-4px);
    }

    .home-hero__visual:hover .home-hero__circle--pink {
        transform: translate(3px, -2px);
    }

    .home-hero__visual:hover .home-hero__circle--yellow {
        transform: translate(-2px, 2px);
    }

    .home-hero__visual:hover .home-hero__circle--blue {
        transform: translate(4px, -3px);
    }

    .home-hero__visual:hover .home-hero__badge--a {
        transform: translate(-2px, -2px) rotate(11deg);
    }

    .home-hero__visual:hover .home-hero__badge--b {
        transform: translate(2px, -2px) rotate(-11deg);
    }

    .home-hero__visual:hover .home-hero__badge--c {
        transform: translate(-2px, -3px) rotate(-13deg);
    }

    .home-hero__visual:hover .home-hero__star--red {
        transform: translate(3px, -2px);
    }

    .home-hero__visual:hover .home-hero__star--yellow {
        transform: translate(-2px, 3px);
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .home-hero__card,
    .home-hero__circle,
    .home-hero__badge,
    .home-hero__star {
        transition: none;
    }

    .home-hero__visual:hover .home-hero__card,
    .home-hero__visual:hover .home-hero__circle,
    .home-hero__visual:hover .home-hero__star {
        transform: none;
    }

    .home-hero__visual:hover .home-hero__badge--a {
        transform: rotate(8deg);
    }

    .home-hero__visual:hover .home-hero__badge--b {
        transform: rotate(-8deg);
    }

    .home-hero__visual:hover .home-hero__badge--c {
        transform: rotate(-10deg);
    }
}

/* Homepage statistics */
.home-stats {
    position: relative;
    padding: 36px 0 54px;
    background: var(--theme-page-background);
}

.home-stats::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 8px;
    width: 7px;
    height: 148px;
    border-radius: 999px;
    background: var(--color-pink);
}

.home-stats::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 8px;
    width: 7px;
    height: 148px;
    border-radius: 999px;
    background: var(--color-yellow);
}

.home-stats__inner {
    width: min(100% - 56px, var(--page-width));
    min-height: 116px;
    margin: 0 auto;
    padding: 20px 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    border-radius: 28px;
    color: var(--color-white);
    background: var(--color-primary);
}

.home-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 0;
    width: 1px;
    height: 62px;
    background: rgba(255, 255, 255, 0.75);
}


html[dir="rtl"] .home-stat:not(:last-child)::after {
    right: auto;
    left: 0;
}

@media (min-width: 1101px) {
    .home-stat:not(:last-child)::after {
        top: 50%;
        transform: translateY(-50%);
    }
}

.home-stat strong {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.home-stat span {
    margin-top: 8px;
    color: var(--color-yellow);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}


/* Desktop statistics entrance */
@media (min-width: 1101px) {
    .home-stats.is-reveal-ready .home-stats__inner,
    .home-stats.is-reveal-ready::before,
    .home-stats.is-reveal-ready::after {
        opacity: 0;
    }

    .home-stats.is-revealed .home-stats__inner,
    .home-stats.is-revealed::before,
    .home-stats.is-revealed::after {
        opacity: 1;
        transition: opacity 380ms ease;
    }

    .home-stats.is-reveal-ready .home-stat {
        opacity: 0;
        transform: translateY(10px);
    }

    .home-stats.is-revealed .home-stat {
        opacity: 1;
        transform: translateY(0);
        transition:
            opacity 420ms ease,
            transform 420ms ease;
    }

    .home-stats.is-revealed .home-stat:nth-child(2) {
        transition-delay: 50ms;
    }

    .home-stats.is-revealed .home-stat:nth-child(3) {
        transition-delay: 100ms;
    }

    .home-stats.is-revealed .home-stat:nth-child(4) {
        transition-delay: 150ms;
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .home-stats__inner,
    .home-stats::before,
    .home-stats::after,
    .home-stats .home-stat {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Desktop statistics interaction */
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .home-stat strong,
    .home-stat span {
        transition: transform 180ms ease;
    }

    .home-stat:hover strong {
        transform: translateY(-2px) scale(1.04);
    }

    .home-stat:hover span {
        transform: translateY(-1px);
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .home-stat strong,
    .home-stat span {
        transition: none;
    }

    .home-stat:hover strong,
    .home-stat:hover span {
        transform: none;
    }
}

/* Homepage About section */
.home-about {
    position: relative;
    padding: 58px 0;
    overflow: hidden;
    background: var(--theme-page-background);
}

.home-about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8px;
    width: 7px;
    height: 112px;
    border-radius: 999px;
    background: var(--color-pink);
}

.home-about::after {
    content: "";
    position: absolute;
    right: 8px;
    bottom: 0;
    width: 7px;
    height: 112px;
    border-radius: 999px;
    background: var(--color-yellow);
}

.home-about__inner {
    width: min(100% - 72px, var(--page-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 70px;
}

.home-about__visual {
    display: flex;
    justify-content: center;
}

.home-about__frame {
    position: relative;
    width: 390px;
    height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 28px solid var(--color-yellow);
    border-radius: 52px;
    background: var(--color-pink);
}

.home-about__circle {
    width: 270px;
    height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-white);
}

.home-about__circle img {
    width: 230px;
    max-width: none;
    max-height: 250px;
    object-fit: contain;
    transform: scale(1.3);
}

.home-about__shape {
    position: absolute;
    z-index: 2;
}

.home-about__shape--red {
    top: 2px;
    left: -12px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-red);
}

.home-about__shape--blue {
    top: 4px;
    right: -8px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--color-white);
    border-radius: 13px;
    color: var(--color-white);
    background: var(--color-primary);
    font-size: 18px;
    font-weight: 700;
    transform: rotate(-8deg);
}

.home-about__star {
    position: absolute;
    bottom: -22px;
    left: -24px;
    width: 66px;
    height: 66px;
    background: var(--color-primary);
    clip-path: polygon(
        50% 0%,
        61% 35%,
        98% 35%,
        68% 57%,
        79% 91%,
        50% 70%,
        21% 91%,
        32% 57%,
        2% 35%,
        39% 35%
    );
}

.home-about__content {
    max-width: 570px;
}

.home-about__eyebrow {
    margin: 0 0 18px;
    color: var(--color-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.home-about__content h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: clamp(34px, 3.8vw, 48px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.home-about__description {
    max-width: 550px;
    margin: 30px 0 0;
    color: var(--color-primary);
    font-size: 14px;
    line-height: 1.65;
}

.home-about__features {
    margin-top: 28px;
    display: grid;
    gap: 18px;
}

.home-about__feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.home-about__feature-icon {
    position: relative;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--color-yellow);
}

.home-about__feature-icon::before {
    content: "★";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-red);
    font-size: 11px;
}

.home-about__feature h3 {
    margin: 0;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.home-about__feature p {
    margin: 4px 0 0;
    color: var(--color-primary);
    font-size: 10px;
    line-height: 1.45;
}

.button--about {
    width: fit-content;
    min-width: 118px;
    margin-top: 28px;
    color: var(--color-white);
    background: var(--color-primary);
}


/* Desktop About entrance */
@media (min-width: 1101px) {
    .home-about.is-reveal-ready .home-about__visual {
        opacity: 0;
        transform: translateX(-14px);
    }

    .home-about.is-reveal-ready .home-about__content {
        opacity: 0;
        transform: translateX(12px);
    }

    .home-about.is-reveal-ready::before,
    .home-about.is-reveal-ready::after {
        opacity: 0;
    }

    .home-about.is-revealed .home-about__visual {
        opacity: 1;
        transform: translateX(0);
        transition:
            opacity 460ms ease,
            transform 460ms ease;
    }

    .home-about.is-revealed .home-about__content {
        opacity: 1;
        transform: translateX(0);
        transition:
            opacity 460ms ease 70ms,
            transform 460ms ease 70ms;
    }

    .home-about.is-revealed::before,
    .home-about.is-revealed::after {
        opacity: 1;
        transition: opacity 380ms ease;
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .home-about__visual,
    .home-about__content,
    .home-about::before,
    .home-about::after {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Desktop About illustration interaction */
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .home-about__frame,
    .home-about__circle img,
    .home-about__shape--red,
    .home-about__shape--blue,
    .home-about__star {
        transition: transform 280ms ease;
    }

    .home-about__visual:hover .home-about__frame {
        transform: translateY(-3px);
    }

    .home-about__visual:hover .home-about__circle img {
        transform: scale(1.32);
    }

    .home-about__visual:hover .home-about__shape--red {
        transform: translate(-2px, -2px);
    }

    .home-about__visual:hover .home-about__shape--blue {
        transform: translate(2px, -2px) rotate(-11deg);
    }

    .home-about__visual:hover .home-about__star {
        transform: translate(-2px, 3px);
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .home-about__frame,
    .home-about__circle img,
    .home-about__shape--red,
    .home-about__shape--blue,
    .home-about__star {
        transition: none;
    }

    .home-about__visual:hover .home-about__frame,
    .home-about__visual:hover .home-about__shape--red,
    .home-about__visual:hover .home-about__star {
        transform: none;
    }

    .home-about__visual:hover .home-about__circle img {
        transform: scale(1.3);
    }

    .home-about__visual:hover .home-about__shape--blue {
        transform: rotate(-8deg);
    }
}

/* Desktop About interactions */
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .home-about__feature,
    .home-about__feature-icon {
        transition: transform 200ms ease;
    }

    .home-about__feature:hover {
        transform: translateX(3px);
    }

    .home-about__feature:hover .home-about__feature-icon {
        transform: translateY(-1px) scale(1.08);
    }

    .button--about {
        transition:
            transform 180ms ease,
            box-shadow 180ms ease;
    }

    .button--about:hover,
    .button--about:focus-visible {
        transform: translateY(-2px);
        box-shadow: 0 8px 0 var(--color-yellow);
    }

    .button--about:active {
        transform: translateY(1px) scale(0.98);
        box-shadow: 0 3px 0 var(--color-yellow);
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .home-about__feature,
    .home-about__feature-icon,
    .button--about {
        transition: none;
    }

    .home-about__feature:hover,
    .home-about__feature:hover .home-about__feature-icon,
    .button--about:hover,
    .button--about:focus-visible,
    .button--about:active {
        transform: none;
    }
}

/* Homepage branches section */
.home-branches {
    position: relative;
    padding: 58px 0;
    overflow: hidden;
    background: var(--color-pink);
}

.home-branches::before,
.home-branches::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 112px;
    border-radius: 999px;
}

.home-branches::before {
    left: 8px;
    bottom: 0;
    background: var(--color-red);
}

.home-branches::after {
    top: 0;
    right: 8px;
    background: var(--color-primary);
}

.home-branches__inner {
    width: min(100% - 72px, var(--page-width));
    margin: 0 auto;
}

.home-branches__heading {
    max-width: 680px;
    margin: 0 auto 38px;
    text-align: center;
}

.home-branches__eyebrow {
    margin: 0 0 10px;
    color: var(--color-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-branches__heading h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: clamp(34px, 3.8vw, 48px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.home-branches__heading > p:last-child {
    margin: 16px 0 0;
    color: var(--color-primary-deep);
    font-size: 13px;
    line-height: 1.6;
}

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

.branch-card {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid var(--color-red);
    border-radius: 22px;
    background: var(--theme-surface-raised);
    box-shadow: 0 10px 24px rgba(57, 86, 112, 0.08);
}

.branch-card--misrata {
    border-color: var(--color-primary);
}

.branch-card--benghazi {
    border-color: var(--color-yellow);
}

.branch-card__visual {
    position: relative;
    width: 100%;
    height: 190px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--theme-surface-subtle);
}

.branch-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.branch-card--tripoli .branch-card__image {
    object-position: center 52%;
}

.branch-card--misrata .branch-card__image {
    object-position: center;
}

.branch-card--benghazi .branch-card__image {
    object-position: center 48%;
}

.branch-card__star {
    position: absolute;
    top: 14px;
    left: 16px;
    width: 28px;
    height: 28px;
    background: var(--color-yellow);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.14));
    clip-path: polygon(
        50% 0%,
        61% 35%,
        98% 35%,
        68% 57%,
        79% 91%,
        50% 70%,
        21% 91%,
        32% 57%,
        2% 35%,
        39% 35%
    );
}

.branch-card--misrata .branch-card__star {
    background: var(--color-red);
}

.branch-card--benghazi .branch-card__star {
    background: var(--color-pink);
}

.branch-card__content {
    flex: 1;
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.branch-card__content h3 {
    margin: 0;
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.branch-card__content p {
    margin: 12px 0 20px;
    flex: 1;
    color: var(--theme-text-muted);
    font-size: 11px;
    line-height: 1.55;
}

.branch-card__content a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.branch-card__content a span {
    font-size: 15px;
    line-height: 1;
}

.branch-card--misrata .branch-card__content a {
    color: var(--color-primary);
}

.branch-card--benghazi .branch-card__content a {
    color: var(--color-yellow-deep);
}

/* Desktop Branches entrance */
@media (min-width: 1101px) {
    .home-branches.is-reveal-ready .home-branches__heading {
        opacity: 0;
        transform: translateY(10px);
    }

    .home-branches.is-reveal-ready .branch-card,
    .home-branches.is-reveal-ready::before,
    .home-branches.is-reveal-ready::after {
        opacity: 0;
    }

    .home-branches.is-revealed .home-branches__heading {
        opacity: 1;
        transform: translateY(0);
        transition:
            opacity 420ms ease,
            transform 420ms ease;
    }

    .home-branches.is-revealed .branch-card {
        opacity: 1;
        transition:
            opacity 420ms ease,
            transform 220ms ease;
    }

    .home-branches.is-revealed .branch-card:nth-child(1) {
        transition-delay: 80ms, 0ms;
    }

    .home-branches.is-revealed .branch-card:nth-child(2) {
        transition-delay: 140ms, 0ms;
    }

    .home-branches.is-revealed .branch-card:nth-child(3) {
        transition-delay: 200ms, 0ms;
    }

    .home-branches.is-revealed::before,
    .home-branches.is-revealed::after {
        opacity: 1;
        transition: opacity 380ms ease;
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .home-branches__heading,
    .home-branches .branch-card,
    .home-branches::before,
    .home-branches::after {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Desktop Branch card interactions */
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .branch-card,
    .branch-card__image,
    .branch-card__star,
    .branch-card__content a span {
        transition: transform 220ms ease;
    }

    .branch-card:hover {
        transform: translateY(-5px);
    }

    .branch-card:hover .branch-card__image {
        transform: scale(1.025);
    }

    .branch-card:hover .branch-card__star {
        transform: translateY(-2px) rotate(8deg);
    }

    .branch-card:hover .branch-card__content a span,
    .branch-card__content a:focus-visible span {
        transform: translateX(4px);
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .branch-card,
    .branch-card__image,
    .branch-card__star,
    .branch-card__content a span {
        transition: none;
    }

    .branch-card:hover,
    .branch-card:hover .branch-card__image,
    .branch-card:hover .branch-card__star,
    .branch-card:hover .branch-card__content a span,
    .branch-card__content a:focus-visible span {
        transform: none;
    }
}

/* Homepage Featured Brands section */
.home-brands {
    position: relative;
    padding: 58px 0;
    overflow: hidden;
    background: var(--theme-page-background);
}

.home-brands::before,
.home-brands::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 112px;
    border-radius: 999px;
}

.home-brands::before {
    left: 8px;
    bottom: 0;
    background: var(--color-pink);
}

.home-brands::after {
    top: 0;
    right: 8px;
    background: var(--color-yellow);
}

.home-brands__inner {
    width: min(100% - 72px, var(--page-width));
    margin: 0 auto;
}

.home-brands__heading {
    max-width: 680px;
    margin: 0 auto 42px;
    text-align: center;
}

.home-brands__eyebrow {
    margin: 0 0 10px;
    color: var(--color-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-brands__heading h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: clamp(34px, 3.8vw, 48px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.home-brands__heading > p:last-child {
    margin: 16px 0 0;
    color: var(--color-primary);
    font-size: 13px;
    line-height: 1.6;
}

.home-brands__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.brand-tile {
    position: relative;
    min-height: 110px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--color-red);
    border-radius: 22px;
    background: var(--theme-surface-raised);
}

.brand-tile--blue {
    border-color: var(--color-primary);
}

.brand-tile--pink {
    border-color: var(--color-pink);
}

.brand-tile--yellow {
    border-color: var(--color-yellow);
}

.brand-tile img {
    width: 100%;
    height: 58px;
    display: block;
    object-fit: contain;
    object-position: center;
}

.brand-tile__dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-red);
}

.brand-tile--blue .brand-tile__dot {
    background: var(--color-primary);
}

.brand-tile--pink .brand-tile__dot {
    background: var(--color-pink);
}

.brand-tile--yellow .brand-tile__dot {
    background: var(--color-yellow);
}

.brand-tile__dot--top {
    top: 14px;
    left: 14px;
}

.brand-tile__dot--bottom {
    right: 14px;
    bottom: 14px;
}

.home-brands__cta {
    min-height: 96px;
    margin-top: 42px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-radius: 26px;
    color: var(--color-white);
    background: var(--color-primary);
}

.home-brands__cta h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.home-brands__cta p {
    margin: 6px 0 0;
    font-size: 11px;
    line-height: 1.5;
}

.button--brands {
    min-width: 146px;
    flex-shrink: 0;
    color: var(--color-primary-deep);
    background: var(--color-yellow);
}

@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .button--brands {
        transition:
            transform 180ms ease,
            box-shadow 180ms ease;
    }

    .button--brands:hover,
    .button--brands:focus-visible {
        transform: translateY(-2px);
        box-shadow:
            0 8px 18px
            color-mix(
                in srgb,
                var(--color-text) 12%,
                transparent
            );
    }

    .button--brands:active {
        transform: translateY(1px) scale(0.98);
        box-shadow:
            0 3px 8px
            color-mix(
                in srgb,
                var(--color-text) 10%,
                transparent
            );
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .button--brands {
        transition: none;
    }

    .button--brands:hover,
    .button--brands:focus-visible,
    .button--brands:active {
        transform: none;
    }
}

/* Desktop Featured Brands entrance */
@media (min-width: 1101px) {
    .home-brands.is-reveal-ready .home-brands__heading {
        opacity: 0;
        transform: translateY(10px);
    }

    .home-brands.is-reveal-ready .brand-tile {
        opacity: 0;
    }

    .home-brands.is-reveal-ready .home-brands__cta {
        opacity: 0;
        transform: translateY(8px);
    }

    .home-brands.is-reveal-ready::before,
    .home-brands.is-reveal-ready::after {
        opacity: 0;
    }

    .home-brands.is-revealed .home-brands__heading {
        opacity: 1;
        transform: translateY(0);
        transition:
            opacity 420ms ease,
            transform 420ms ease;
    }

    .home-brands.is-revealed .brand-tile {
        opacity: 1;
        transition:
            opacity 400ms ease,
            transform 220ms ease,
            box-shadow 220ms ease;
    }

    .home-brands.is-revealed .brand-tile:nth-child(1) {
        transition-delay: 70ms, 0ms, 0ms;
    }

    .home-brands.is-revealed .brand-tile:nth-child(2) {
        transition-delay: 110ms, 0ms, 0ms;
    }

    .home-brands.is-revealed .brand-tile:nth-child(3) {
        transition-delay: 150ms, 0ms, 0ms;
    }

    .home-brands.is-revealed .brand-tile:nth-child(4) {
        transition-delay: 190ms, 0ms, 0ms;
    }

    .home-brands.is-revealed .brand-tile:nth-child(5) {
        transition-delay: 230ms, 0ms, 0ms;
    }

    .home-brands.is-revealed .brand-tile:nth-child(6) {
        transition-delay: 270ms, 0ms, 0ms;
    }

    .home-brands.is-revealed .home-brands__cta {
        opacity: 1;
        transform: translateY(0);
        transition:
            opacity 420ms ease 230ms,
            transform 420ms ease 230ms;
    }

    .home-brands.is-revealed::before,
    .home-brands.is-revealed::after {
        opacity: 1;
        transition: opacity 380ms ease;
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .home-brands__heading,
    .home-brands .brand-tile,
    .home-brands__cta,
    .home-brands::before,
    .home-brands::after {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Desktop Featured Brands tile interactions */
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .brand-tile {
        transition:
            transform 220ms ease,
            box-shadow 220ms ease;
    }

    .brand-tile img,
    .brand-tile__dot {
        transition: transform 220ms ease;
    }

    .brand-tile:hover {
        transform: translateY(-4px) rotate(-0.75deg);
        box-shadow:
            0 8px 18px
            color-mix(
                in srgb,
                var(--color-text) 12%,
                transparent
            );
    }

    .brand-tile:nth-child(even):hover {
        transform: translateY(-4px) rotate(0.75deg);
    }

    .brand-tile:hover img {
        transform: scale(1.035);
    }

    .brand-tile:hover .brand-tile__dot--top {
        transform: translate(-2px, -2px);
    }

    .brand-tile:hover .brand-tile__dot--bottom {
        transform: translate(2px, 2px);
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .brand-tile,
    .brand-tile img,
    .brand-tile__dot {
        transition: none;
    }

    .brand-tile:hover,
    .brand-tile:nth-child(even):hover,
    .brand-tile:hover img,
    .brand-tile:hover .brand-tile__dot {
        transform: none;
    }
}

/* Homepage Projects and Awards section */
.home-impact {
    position: relative;
    padding: 58px 0;
    overflow: hidden;
    background: var(--theme-page-background);
}

.home-impact::before,
.home-impact::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 112px;
    border-radius: 999px;
}

.home-impact::before {
    left: 8px;
    bottom: 0;
    background: var(--color-pink);
}

.home-impact::after {
    top: 0;
    right: 8px;
    background: var(--color-yellow);
}

.home-impact__inner {
    width: min(100% - 72px, var(--page-width));
    margin: 0 auto;
}

.home-impact__heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.home-impact__heading > p {
    margin: 0 0 10px;
    color: var(--color-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-impact__heading h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: clamp(34px, 3.8vw, 48px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.home-impact__heading > span {
    display: block;
    margin-top: 16px;
    color: var(--color-primary);
    font-size: 13px;
    line-height: 1.6;
}

.home-impact__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.95fr);
    gap: 28px;
    align-items: stretch;
}

.home-projects {
    padding: 34px;
    border-radius: 34px;
    background: var(--color-primary);
}

.home-projects > h3 {
    margin: 0 0 28px;
    color: var(--color-white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

.project-card {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: var(--theme-surface-raised);
}

.project-card__media {
    position: relative;
    width: 100%;
    height: 155px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--color-red);
}

.project-card--pink .project-card__media {
    background: var(--color-pink);
}

.project-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.project-card__placeholder {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-card__placeholder::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 30px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-yellow);
}

.project-card__placeholder::after {
    content: "";
    position: absolute;
    right: 34px;
    bottom: 32px;
    width: 82px;
    height: 54px;
    border-radius: 14px;
    background: var(--color-primary);
    box-shadow:
        -18px 10px 0 -5px var(--color-white),
        24px 10px 0 -5px var(--color-white);
}

.project-card--pink .project-card__placeholder::after {
    width: 58px;
    height: 58px;
    border: 5px solid var(--color-white);
    border-radius: 12px;
    background: var(--color-primary);
    box-shadow: none;
    transform: rotate(-8deg);
}

.project-card__content {
    flex: 1;
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-card__category {
    padding: 6px 13px;
    border-radius: 999px;
    color: var(--color-primary-deep);
    background: var(--color-yellow);
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
}

.project-card__content h3 {
    margin: 18px 0;
    flex: 1;
    color: var(--color-primary);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
}

.project-card__content a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.project-card__content a span {
    font-size: 16px;
    line-height: 1;
}

/* Desktop Projects and Awards entrance */
@media (min-width: 1101px) {
    .home-impact.is-reveal-ready .home-impact__heading {
        opacity: 0;
        transform: translateY(10px);
    }

    .home-impact.is-reveal-ready .home-projects {
        opacity: 0;
        transform: translateX(-12px);
    }

    .home-impact.is-reveal-ready .project-card,
    .home-impact.is-reveal-ready .award-feature,
    .home-impact.is-reveal-ready::before,
    .home-impact.is-reveal-ready::after {
        opacity: 0;
    }

    .home-impact.is-revealed .home-impact__heading {
        opacity: 1;
        transform: translateY(0);
        transition:
            opacity 420ms ease,
            transform 420ms ease;
    }

    .home-impact.is-revealed .home-projects {
        opacity: 1;
        transform: translateX(0);
        transition:
            opacity 460ms ease 70ms,
            transform 460ms ease 70ms;
    }

    .home-impact.is-revealed .project-card {
        opacity: 1;
    }

    .home-impact.is-revealed .project-card:nth-child(1) {
        transition-delay: 130ms, 0ms;
    }

    .home-impact.is-revealed .project-card:nth-child(2) {
        transition-delay: 190ms, 0ms;
    }

    .home-impact.is-revealed .award-feature {
        opacity: 1;
        transition:
            opacity 480ms ease 150ms,
            transform 280ms ease,
            box-shadow 280ms ease;
    }

    .home-impact.is-revealed::before,
    .home-impact.is-revealed::after {
        opacity: 1;
        transition: opacity 380ms ease;
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .home-impact__heading,
    .home-projects,
    .home-impact .project-card,
    .home-impact .award-feature,
    .home-impact::before,
    .home-impact::after {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Desktop Project card interactions */
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .project-card {
        transition:
            transform 220ms ease,
            box-shadow 220ms ease;
    }

    .project-card__media img,
    .project-card__placeholder,
    .project-card__content a span {
        transition: transform 220ms ease;
    }

    .project-card:hover {
        transform: translateY(-4px);
        box-shadow:
            0 10px 22px
            color-mix(
                in srgb,
                var(--color-text) 14%,
                transparent
            );
    }

    .project-card:hover .project-card__media img,
    .project-card:hover .project-card__placeholder {
        transform: scale(1.025);
    }

    .project-card:hover .project-card__content a span,
    .project-card__content a:focus-visible span {
        transform: translateX(4px);
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .project-card,
    .project-card__media img,
    .project-card__placeholder,
    .project-card__content a span {
        transition: none;
    }

    .project-card:hover,
    .project-card:hover .project-card__media img,
    .project-card:hover .project-card__placeholder,
    .project-card:hover .project-card__content a span,
    .project-card__content a:focus-visible span {
        transform: none;
        box-shadow: none;
    }
}

/* Awards feature */
.award-feature {
    min-height: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 34px;
    background: var(--color-yellow);
}

.award-feature__media {
    position: relative;
    width: 100%;
    height: 220px;
    padding: 8px 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 22px;
}

.award-feature__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.award-feature__placeholder {
    position: relative;
    width: 100%;
    height: 100%;
}

.award-feature__placeholder::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 50%;
    width: 88px;
    height: 76px;
    border: 8px solid var(--color-pink);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.32);
    transform: translateX(-50%);
}

.award-feature__placeholder::after {
    content: "★";
    position: absolute;
    top: 54px;
    left: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-red);
    font-size: 38px;
    transform: translateX(-50%);
}

.award-feature__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.award-feature__content > p {
    margin: 4px 0 12px;
    color: var(--color-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.award-feature__content h3 {
    margin: 0;
    color: var(--color-primary);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.15;
}

.award-feature__content > span {
    margin: 16px 0 18px;
    color: var(--color-primary-deep);
    font-size: 11px;
    line-height: 1.5;
}

.button--awards {
    margin-top: auto;
    color: var(--color-white);
    background: var(--color-red);
}

/* Desktop Award feature interactions */
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .award-feature {
        transition:
            transform 280ms ease,
            box-shadow 280ms ease;
    }

    .award-feature__media img {
        transition: transform 280ms ease;
    }

    .award-feature:hover {
        transform: translateY(-3px);
        box-shadow:
            0 12px 26px
            color-mix(
                in srgb,
                var(--color-text) 12%,
                transparent
            );
    }

    .award-feature:hover .award-feature__media img {
        transform: translateY(-3px) scale(1.015);
    }

    .button--awards {
        transition:
            transform 180ms ease,
            box-shadow 180ms ease;
    }

    .button--awards:hover,
    .button--awards:focus-visible {
        transform: translateY(-2px);
        box-shadow:
            0 8px 18px
            color-mix(
                in srgb,
                var(--color-text) 12%,
                transparent
            );
    }

    .button--awards:active {
        transform: translateY(1px) scale(0.98);
        box-shadow:
            0 3px 8px
            color-mix(
                in srgb,
                var(--color-text) 10%,
                transparent
            );
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .award-feature,
    .award-feature__media img,
    .button--awards {
        transition: none;
    }

    .award-feature:hover,
    .award-feature:hover .award-feature__media img,
    .button--awards:hover,
    .button--awards:focus-visible,
    .button--awards:active {
        transform: none;
        box-shadow: none;
    }
}

/* Homepage Latest News section */
.home-news {
    position: relative;
    padding: 58px 0;
    overflow: hidden;
    background: var(--color-yellow);
}

.home-news::before,
.home-news::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 112px;
    border-radius: 999px;
}

.home-news::before {
    left: 8px;
    bottom: 0;
    background: var(--color-red);
}

.home-news::after {
    top: 0;
    right: 8px;
    background: var(--color-primary);
}

.home-news__inner {
    width: min(100% - 72px, var(--page-width));
    margin: 0 auto;
}

.home-news__heading {
    max-width: 700px;
    margin: 0 auto 38px;
    text-align: center;
}

.home-news__heading > p {
    margin: 0 0 10px;
    color: var(--color-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-news__heading h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: clamp(34px, 3.8vw, 48px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.home-news__heading > span {
    display: block;
    margin-top: 16px;
    color: var(--color-primary-deep);
    font-size: 13px;
    line-height: 1.6;
}

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

.news-card {
    min-height: 440px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid var(--color-red);
    border-radius: 24px;
    background: var(--theme-surface-raised);
}

.news-card--blue {
    border-color: var(--color-primary);
}

.news-card--pink {
    border-color: var(--color-pink);
}

.news-card__media {
    position: relative;
    height: 205px;
    margin: 16px 16px 0;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 18px;
    background: var(--color-red);
}

.news-card--blue .news-card__media {
    background: var(--color-primary);
}

.news-card--pink .news-card__media {
    background: var(--color-pink);
}

.news-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.news-card__placeholder {
    position: relative;
    width: 100%;
    height: 100%;
}

.news-card__placeholder::before {
    content: "";
    position: absolute;
    top: 62px;
    left: 34px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--color-yellow);
}

.news-card__placeholder::after {
    content: "L";
    position: absolute;
    top: 78px;
    left: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid var(--color-white);
    border-radius: 12px;
    color: var(--color-white);
    background: var(--color-red);
    font-size: 18px;
    font-weight: 700;
    transform: translateX(-50%) rotate(7deg);
}

.news-card__content {
    flex: 1;
    padding: 20px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.news-card__meta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.news-card__meta > span {
    padding: 6px 14px;
    border-radius: 999px;
    color: var(--color-primary-deep);
    background: var(--color-yellow);
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
}

.news-card__meta time {
    color: var(--color-primary);
    font-size: 9px;
    font-weight: 500;
}

.news-card__content h3 {
    margin: 24px 0;
    flex: 1;
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}

.news-card__content a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.news-card__content a span {
    font-size: 16px;
    line-height: 1;
}

.button--news {
    width: fit-content;
    min-width: 146px;
    margin: 32px auto 0;
    color: var(--color-white);
    background: var(--color-primary);
}

@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .button--news {
        transition:
            transform 180ms ease,
            box-shadow 180ms ease;
    }

    .button--news:hover,
    .button--news:focus-visible {
        transform: translateY(-2px);
        box-shadow:
            0 8px 18px
            color-mix(
                in srgb,
                var(--color-text) 12%,
                transparent
            );
    }

    .button--news:active {
        transform: translateY(1px) scale(0.98);
        box-shadow:
            0 3px 8px
            color-mix(
                in srgb,
                var(--color-text) 10%,
                transparent
            );
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .button--news {
        transition: none;
    }

    .button--news:hover,
    .button--news:focus-visible,
    .button--news:active {
        transform: none;
        box-shadow: none;
    }
}

/* Desktop Latest News entrance */
@media (min-width: 1101px) {
    .home-news.is-reveal-ready .home-news__heading {
        opacity: 0;
        transform: translateY(10px);
    }

    .home-news.is-reveal-ready .news-card,
    .home-news.is-reveal-ready .button--news,
    .home-news.is-reveal-ready::before,
    .home-news.is-reveal-ready::after {
        opacity: 0;
    }

    .home-news.is-revealed .home-news__heading {
        opacity: 1;
        transform: translateY(0);
        transition:
            opacity 420ms ease,
            transform 420ms ease;
    }

    .home-news.is-revealed .news-card {
        opacity: 1;
        transition:
            opacity 420ms ease,
            transform 220ms ease,
            box-shadow 220ms ease;
    }

    .home-news.is-revealed .news-card:nth-child(1) {
        transition-delay: 80ms, 0ms, 0ms;
    }

    .home-news.is-revealed .news-card:nth-child(2) {
        transition-delay: 150ms, 0ms, 0ms;
    }

    .home-news.is-revealed .news-card:nth-child(3) {
        transition-delay: 220ms, 0ms, 0ms;
    }

    .home-news.is-revealed .button--news {
        opacity: 1;
        transition:
            opacity 420ms ease 260ms,
            transform 180ms ease,
            box-shadow 180ms ease;
    }

    .home-news.is-revealed::before,
    .home-news.is-revealed::after {
        opacity: 1;
        transition: opacity 380ms ease;
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .home-news__heading,
    .home-news .news-card,
    .home-news .button--news,
    .home-news::before,
    .home-news::after {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Desktop News card interactions */
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .news-card {
        transition:
            transform 220ms ease,
            box-shadow 220ms ease;
    }

    .news-card__media img,
    .news-card__placeholder,
    .news-card__content h3,
    .news-card__content a span {
        transition: transform 220ms ease;
    }

    .news-card:hover {
        transform: translateY(-3px);
        box-shadow:
            0 10px 22px
            color-mix(
                in srgb,
                var(--color-text) 12%,
                transparent
            );
    }

    .news-card:hover .news-card__media img,
    .news-card:hover .news-card__placeholder {
        transform: scale(1.02);
    }

    .news-card:hover .news-card__content h3 {
        transform: translateY(-1px);
    }

    .news-card:hover .news-card__content a span,
    .news-card__content a:focus-visible span {
        transform: translateX(4px);
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .news-card,
    .news-card__media img,
    .news-card__placeholder,
    .news-card__content h3,
    .news-card__content a span {
        transition: none;
    }

    .news-card:hover,
    .news-card:hover .news-card__media img,
    .news-card:hover .news-card__placeholder,
    .news-card:hover .news-card__content h3,
    .news-card:hover .news-card__content a span,
    .news-card__content a:focus-visible span {
        transform: none;
        box-shadow: none;
    }
}

/* Homepage Gallery section */
.home-gallery {
    position: relative;
    padding: 58px 0;
    overflow: hidden;
    background: var(--theme-page-background);
}

.home-gallery::before,
.home-gallery::after {
    content: "";
    position: absolute;
    top: 0;
    width: 7px;
    height: 112px;
    border-radius: 999px;
}

.home-gallery::before {
    left: 8px;
    background: var(--color-pink);
}

.home-gallery::after {
    right: 8px;
    background: var(--color-yellow);
}

.home-gallery__inner {
    width: min(100% - 72px, var(--page-width));
    margin: 0 auto;
}

.home-gallery__heading {
    max-width: 680px;
    margin-bottom: 34px;
}

.home-gallery__heading > p {
    margin: 0 0 10px;
    color: var(--color-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-gallery__heading h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: clamp(34px, 3.8vw, 48px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.home-gallery__heading > span {
    display: block;
    margin-top: 16px;
    color: var(--color-primary);
    font-size: 13px;
    line-height: 1.6;
}

.home-gallery__layout {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: repeat(2, 180px);
    gap: 18px;
}

.gallery-panel {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 3px solid transparent;
    border-radius: 24px;
    background: var(--theme-surface-subtle);
}

.gallery-panel--1 {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
    border-color: var(--color-primary);
}

.gallery-panel--2 {
    grid-column: 4 / 6;
    grid-row: 1;
    border-color: var(--color-pink);
}

.gallery-panel--3 {
    grid-column: 6 / 9;
    grid-row: 1;
    border-color: var(--color-red);
}

.gallery-panel--4 {
    grid-column: 7 / 9;
    grid-row: 2;
    border-color: var(--color-yellow);
}

.gallery-panel--5 {
    grid-column: 4 / 7;
    grid-row: 2;
    border-color: var(--color-primary);
}

.gallery-panel img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Desktop Gallery entrance */
@media (min-width: 1101px) {
    .home-gallery.is-reveal-ready .home-gallery__heading {
        opacity: 0;
        transform: translateX(-10px);
    }

    .home-gallery.is-reveal-ready .gallery-panel,
    .home-gallery.is-reveal-ready .button--gallery,
    .home-gallery.is-reveal-ready::before,
    .home-gallery.is-reveal-ready::after {
        opacity: 0;
    }

    .home-gallery.is-revealed .home-gallery__heading {
        opacity: 1;
        transform: translateX(0);
        transition:
            opacity 420ms ease,
            transform 420ms ease;
    }

    .home-gallery.is-revealed .gallery-panel {
        opacity: 1;
        transition:
            opacity 420ms ease,
            transform 240ms ease,
            box-shadow 240ms ease;
    }

    .home-gallery.is-revealed .gallery-panel--1 {
        transition-delay: 70ms, 0ms, 0ms;
    }

    .home-gallery.is-revealed .gallery-panel--2 {
        transition-delay: 120ms, 0ms, 0ms;
    }

    .home-gallery.is-revealed .gallery-panel--3 {
        transition-delay: 160ms, 0ms, 0ms;
    }

    .home-gallery.is-revealed .gallery-panel--5 {
        transition-delay: 210ms, 0ms, 0ms;
    }

    .home-gallery.is-revealed .gallery-panel--4 {
        transition-delay: 250ms, 0ms, 0ms;
    }

    .home-gallery.is-revealed .button--gallery {
        opacity: 1;
        transition:
            opacity 420ms ease 280ms,
            transform 180ms ease,
            box-shadow 180ms ease;
    }

    .home-gallery.is-revealed::before,
    .home-gallery.is-revealed::after {
        opacity: 1;
        transition: opacity 380ms ease;
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .home-gallery__heading,
    .home-gallery .gallery-panel,
    .home-gallery .button--gallery,
    .home-gallery::before,
    .home-gallery::after {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Desktop Gallery panel interactions */
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .gallery-panel {
        transition:
            transform 240ms ease,
            box-shadow 240ms ease;
    }

    .gallery-panel img {
        transition: transform 300ms ease;
    }

    .gallery-panel:hover {
        transform: translateY(-2px);
        box-shadow:
            0 10px 22px
            color-mix(
                in srgb,
                var(--color-text) 12%,
                transparent
            );
    }

    .gallery-panel:hover img {
        transform: scale(1.035);
    }

    .gallery-panel--1:hover img,
    .gallery-panel--4:hover img {
        transform: translateX(2px) scale(1.035);
    }

    .gallery-panel--2:hover img,
    .gallery-panel--5:hover img {
        transform: translateY(-2px) scale(1.035);
    }

    .gallery-panel--3:hover img {
        transform: translateX(-2px) scale(1.035);
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .gallery-panel,
    .gallery-panel img {
        transition: none;
    }

    .gallery-panel:hover,
    .gallery-panel:hover img,
    .gallery-panel--1:hover img,
    .gallery-panel--2:hover img,
    .gallery-panel--3:hover img,
    .gallery-panel--4:hover img,
    .gallery-panel--5:hover img {
        transform: none;
        box-shadow: none;
    }
}

.button--gallery {
    width: fit-content;
    min-width: 132px;
    margin-top: 20px;
    color: var(--color-white);
    background: var(--color-red);
}

@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .button--gallery {
        transition:
            transform 180ms ease,
            box-shadow 180ms ease;
    }

    .button--gallery:hover,
    .button--gallery:focus-visible {
        transform: translateY(-2px);
        box-shadow: 0 8px 0 var(--color-yellow);
    }

    .button--gallery:active {
        transform: translateY(1px) scale(0.98);
        box-shadow: 0 3px 0 var(--color-yellow);
    }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
    .button--gallery {
        transition: none;
    }

    .button--gallery:hover,
    .button--gallery:focus-visible,
    .button--gallery:active {
        transform: none;
        box-shadow: none;
    }
}

/* Gallery responsive layout */
@media (max-width: 900px) {
    .home-gallery__layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 280px repeat(2, 180px);
    }

    .gallery-panel--1 {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .gallery-panel--2 {
        grid-column: 1;
        grid-row: 2;
    }

    .gallery-panel--3 {
        grid-column: 2;
        grid-row: 2;
    }

    .gallery-panel--4 {
        grid-column: 1;
        grid-row: 3;
    }

    .gallery-panel--5 {
        grid-column: 2;
        grid-row: 3;
    }
}

@media (max-width: 600px) {
    .home-gallery__layout {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .gallery-panel,
    .gallery-panel--1,
    .gallery-panel--2,
    .gallery-panel--3,
    .gallery-panel--4,
    .gallery-panel--5 {
        grid-column: 1;
        grid-row: auto;
        min-height: 210px;
    }

    .gallery-panel--1 {
        min-height: 300px;
    }
}

/* Compact desktop hero scaling */
@media (min-width: 901px) and (max-width: 1100px) {
    .home-hero__visual {
        min-height: 376px;
    }

    .home-hero__stage {
        transform: translateX(-50%) scale(0.80);
    }
}

/* Homepage responsive layout */
@media (max-width: 900px) {
    .home-page {
        overflow-x: clip;
    }

    .home-hero__inner,
    .home-stats__inner,
    .home-about__inner,
    .home-branches__inner,
    .home-brands__inner,
    .home-impact__inner,
    .home-news__inner,
    .home-gallery__inner {
        width: min(100% - 40px, var(--page-width));
    }

    .home-hero__inner {
        min-height: auto;
        padding: 42px 0 20px;
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home-hero__content {
        width: 100%;
        min-width: 0;
        max-width: 620px;
        padding-top: 0;
    }

    .home-hero__visual {
        width: 100%;
        max-width: 540px;
        min-height: 405px;
        margin: 0 auto;
        overflow: visible;
    }

    .home-hero__stage {
        transform: translateX(-50%) scale(0.82);
    }

    .home-stats__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 16px 22px;
    }

    .home-stat {
        min-height: 90px;
    }

    .home-stat:not(:last-child)::after {
        display: none;
    }

    .home-stat:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.75);
    }

    .home-stat:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.75);
    }

    .home-about__inner {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .home-about__content {
        max-width: 680px;
        margin: 0 auto;
    }

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

    .home-branches__grid .branch-card:last-child {
        width: calc(50% - 12px);
        grid-column: 1 / -1;
        justify-self: center;
    }

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

    .home-brands__cta {
        align-items: flex-start;
    }

    .home-impact__layout {
        grid-template-columns: 1fr;
    }

    .home-news__grid {
        grid-template-columns: 1fr;
    }

    .news-card {
        min-height: 420px;
    }
}

@media (min-width: 760px) and (max-width: 900px) {
    .home-hero__inner {
        min-height: 410px;
        padding: 34px 0 28px;
        grid-template-columns:
            minmax(0, 1.1fr)
            minmax(300px, 0.9fr);
        align-items: center;
        gap: 20px;
    }

    .home-hero__content {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .home-hero__description {
        max-width: none;
    }

    .home-hero__actions,
    .home-hero__highlights {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-hero__actions .button,
    .home-hero__highlight {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
    }

    .home-hero__visual {
        width: 100%;
        max-width: none;
        min-height: 320px;
        margin: 0;
    }

    .home-hero__stage {
        top: 14px;
        left: 54%;
        transform: translateX(-50%) scale(0.62);
    }
}

@media (max-width: 600px) {
    .home-hero,
    .home-stats,
    .home-about,
    .home-branches,
    .home-brands,
    .home-impact,
    .home-news,
    .home-gallery {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .home-hero__inner,
    .home-stats__inner,
    .home-about__inner,
    .home-branches__inner,
    .home-brands__inner,
    .home-impact__inner,
    .home-news__inner,
    .home-gallery__inner {
        width: min(100% - 40px, var(--page-width));
    }

    .home-hero__inner {
        padding-top: 16px;
        gap: 14px;
    }

    .home-stats::before,
    .home-about::before,
    .home-branches::before,
    .home-brands::before,
    .home-impact::before,
    .home-news::before,
    .home-gallery::before {
        left: 2px;
        width: 4px;
    }

    .home-stats::after,
    .home-about::after,
    .home-branches::after,
    .home-brands::after,
    .home-impact::after,
    .home-news::after,
    .home-gallery::after {
        right: 2px;
        width: 4px;
    }

    .home-stats::before,
    .home-stats::after {
        height: 110px;
    }

    .home-about::before,
    .home-about::after,
    .home-branches::before,
    .home-branches::after,
    .home-brands::before,
    .home-brands::after,
    .home-impact::before,
    .home-impact::after,
    .home-news::before,
    .home-news::after,
    .home-gallery::before,
    .home-gallery::after {
        height: 72px;
    }

    .home-hero__eyebrow {
        margin-bottom: 14px;
        padding-block: 2px;
        font-size: 10px;
        line-height: 1.4;
    }

    .home-hero__title {
        font-size: clamp(38px, 12vw, 48px);
    }

    .home-hero__description {
        margin-top: 18px;
        font-size: 13px;
    }

    .home-hero__actions,
    .home-hero__highlights {
        width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .home-hero__actions .button,
    .home-hero__highlight {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }

    .home-hero__actions .button {
        min-height: 46px;
    }

    .home-hero__visual {
        width: 100%;
        max-width: none;
        min-height: 354px;
        margin: 52px 0 0;
    }

    .home-hero__stage {
        top: 38px;
        transform: translateX(-54%) scale(0.70);
    }

    .home-stats {
        padding-top: 28px;
    }

    .home-stats__inner {
        min-height: auto;
        padding: 12px;
        border-radius: 22px;
    }

    .home-stat {
        min-height: 82px;
        padding: 10px 6px;
    }

    .home-stat strong {
        font-size: 30px;
    }

    .home-stat span {
        font-size: 9px;
        text-align: center;
    }

    .home-about__inner {
        gap: 36px;
    }

    .home-about__frame {
        width: 310px;
        height: 310px;
        border-width: 22px;
        border-radius: 42px;
    }

    .home-about__circle {
        width: 214px;
        height: 214px;
    }

    .home-about__circle img {
        width: 180px;
        max-height: 200px;
    }

    .home-about__shape--red {
        width: 44px;
        height: 44px;
    }

    .home-about__shape--blue {
        width: 50px;
        height: 50px;
    }

    .home-about__star {
        width: 56px;
        height: 56px;
    }

    .home-about__content h2,
    .home-branches__heading h2,
    .home-brands__heading h2,
    .home-impact__heading h2,
    .home-news__heading h2,
    .home-gallery__heading h2 {
        font-size: 30px;
        line-height: 1.08;
        letter-spacing: -0.02em;
    }

    .home-branches__grid {
        grid-template-columns: 1fr;
    }

    .home-branches__grid .branch-card:last-child {
        width: 100%;
        grid-column: auto;
        justify-self: stretch;
    }

    .branch-card {
        min-height: 370px;
    }

    .home-brands__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .brand-tile {
        min-height: 96px;
        padding: 14px;
        border-radius: 18px;
    }

    .brand-tile img {
        height: 48px;
    }

    .home-brands__cta {
        margin-top: 28px;
        padding: 22px;
        flex-direction: column;
        align-items: stretch;
    }

    .button--brands {
        width: 100%;
    }

    .home-projects {
        padding: 24px 18px;
        border-radius: 26px;
    }

    .home-projects__grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: 320px;
    }

    .award-feature {
        padding: 24px 18px;
        border-radius: 26px;
    }

    .award-feature__media {
        height: 220px;
    }

    .home-news__grid {
        gap: 20px;
    }

    .news-card {
        min-height: 410px;
    }

    .news-card__media {
        height: 190px;
        margin: 12px 12px 0;
    }

    .button--news,
    .button--gallery {
        width: 100%;
    }

    /* Protect small mobile labels and links from clipping */
    .home-about__eyebrow,
    .home-branches__eyebrow,
    .home-brands__eyebrow,
    .home-impact__heading > p,
    .home-news__heading > p,
    .home-gallery__heading > p,
    .home-projects > h3 {
        padding-block: 2px;
        line-height: 1.4;
    }

    .branch-card__content a,
    .project-card__content a,
    .news-card__content a {
        padding-block: 2px;
        line-height: 1.4;
    }

    .project-card__category,
    .news-card__meta > span {
        line-height: 1.25;
    }
}

@media (max-width: 420px) {
    .home-hero__visual {
        min-height: 320px;
        margin-top: 46px;
    }

    .home-hero__stage {
        top: 32px;
        transform: translateX(-54%) scale(0.62);
    }
}

@media (max-width: 360px) {
    .home-hero__visual {
        min-height: 286px;
        margin-top: 42px;
    }

    .home-hero__stage {
        top: 28px;
        transform: translateX(-54%) scale(0.56);
    }
}

/* Tablet homepage reveal refinement */
@media (min-width: 601px) and (max-width: 1100px) {
    .home-stats.is-reveal-ready,
    .home-about.is-reveal-ready,
    .home-branches.is-reveal-ready,
    .home-brands.is-reveal-ready,
    .home-impact.is-reveal-ready,
    .home-news.is-reveal-ready,
    .home-gallery.is-reveal-ready {
        opacity: 0;
    }

    .home-stats.is-revealed,
    .home-about.is-revealed,
    .home-branches.is-revealed,
    .home-brands.is-revealed,
    .home-impact.is-revealed,
    .home-news.is-revealed,
    .home-gallery.is-revealed {
        opacity: 1;
        transition: opacity 420ms ease;
    }
}

@media (min-width: 601px) and (max-width: 1100px) and (prefers-reduced-motion: reduce) {
    .home-stats.is-reveal-ready,
    .home-stats.is-revealed,
    .home-about.is-reveal-ready,
    .home-about.is-revealed,
    .home-branches.is-reveal-ready,
    .home-branches.is-revealed,
    .home-brands.is-reveal-ready,
    .home-brands.is-revealed,
    .home-impact.is-reveal-ready,
    .home-impact.is-revealed,
    .home-news.is-reveal-ready,
    .home-news.is-revealed,
    .home-gallery.is-reveal-ready,
    .home-gallery.is-revealed {
        opacity: 1;
        transition: none;
    }
}

/* Mobile homepage reveal refinement */
@media (max-width: 600px) {
    .home-stats.is-reveal-ready,
    .home-about.is-reveal-ready,
    .home-branches.is-reveal-ready,
    .home-brands.is-reveal-ready,
    .home-impact.is-reveal-ready,
    .home-news.is-reveal-ready,
    .home-gallery.is-reveal-ready {
        opacity: 0;
    }

    .home-stats.is-revealed,
    .home-about.is-revealed,
    .home-branches.is-revealed,
    .home-brands.is-revealed,
    .home-impact.is-revealed,
    .home-news.is-revealed,
    .home-gallery.is-revealed {
        opacity: 1;
        transition: opacity 360ms ease;
    }
}

@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
    .home-stats.is-reveal-ready,
    .home-stats.is-revealed,
    .home-about.is-reveal-ready,
    .home-about.is-revealed,
    .home-branches.is-reveal-ready,
    .home-branches.is-revealed,
    .home-brands.is-reveal-ready,
    .home-brands.is-revealed,
    .home-impact.is-reveal-ready,
    .home-impact.is-revealed,
    .home-news.is-reveal-ready,
    .home-news.is-revealed,
    .home-gallery.is-reveal-ready,
    .home-gallery.is-revealed {
        opacity: 1;
        transition: none;
    }
}

/* Stage 14 shared Arabic Home readability */
/*
 * Section labels / eyebrows / stats.
 * Uses the shared Arabic label token rather than page-specific sizes.
 */
html[dir="rtl"] .home-hero__eyebrow,
html[dir="rtl"] .home-stat span,
html[dir="rtl"] .home-about__eyebrow,
html[dir="rtl"] .home-about__feature h3,
html[dir="rtl"] .home-branches__eyebrow,
html[dir="rtl"] .home-brands__eyebrow,
html[dir="rtl"] .home-impact__heading > p,
html[dir="rtl"] .home-projects > h3,
html[dir="rtl"] .award-feature__content > p,
html[dir="rtl"] .home-news__heading > p,
html[dir="rtl"] .home-gallery__heading > p {
    font-size: var(--arabic-text-eyebrow);
    font-weight: var(--arabic-weight-label);
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
}

/*
 * Main descriptive/body copy.
 * This is the primary Arabic readability control for later pages too.
 */
html[dir="rtl"] .home-hero__description,
html[dir="rtl"] .home-about__description,
html[dir="rtl"] .home-branches__heading > p:last-child,
html[dir="rtl"] .branch-card__content p,
html[dir="rtl"] .home-brands__heading > p:last-child,
html[dir="rtl"] .home-brands__cta p,
html[dir="rtl"] .home-impact__heading > span,
html[dir="rtl"] .award-feature__content > span,
html[dir="rtl"] .home-news__heading > span,
html[dir="rtl"] .home-gallery__heading > span {
    font-size: var(--arabic-text-body);
    font-weight: var(--arabic-weight-body);
    line-height: var(--arabic-line-body);
}

/*
 * Compact supporting copy that lives inside tighter components.
 */
html[dir="rtl"] .home-hero__highlight span,
html[dir="rtl"] .home-about__feature p {
    font-size: var(--arabic-text-supporting);
    font-weight: var(--arabic-weight-body);
    line-height: var(--arabic-line-supporting);
}

/*
 * Card/location headings called out during the desktop review.
 */
html[dir="rtl"] .branch-card__content h3 {
    font-size: var(--arabic-text-card-heading);
    letter-spacing: 0;
    text-transform: none;
}

/*
 * Home buttons and inline CTAs.
 */
html[dir="rtl"] .home-page .button,
html[dir="rtl"] .branch-card__content a,
html[dir="rtl"] .project-card__content a,
html[dir="rtl"] .news-card__content a {
    font-size: var(--arabic-text-button);
    font-weight: var(--arabic-weight-label);
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.25;
}

/*
 * Hero highlight headings remain compact, but readable.
 */
html[dir="rtl"] .home-hero__highlight strong {
    font-size: var(--arabic-text-supporting);
}

/*
 * Pills and date metadata remain intentionally smaller.
 */
html[dir="rtl"] .project-card__category,
html[dir="rtl"] .news-card__meta > span,
html[dir="rtl"] .news-card__meta time {
    font-size: var(--arabic-text-meta);
    letter-spacing: 0;
    text-transform: none;
}

/* Stage 14 Arabic tablet Hero alignment */
@media (min-width: 760px) and (max-width: 900px) {
    html[dir="rtl"] .home-hero__stage {
        left: 46%;
    }
}
