/* =====================================================================
   Payeshco — Home page (Minimal design)
   ===================================================================== */

.section {
    position: relative;
    padding-block: clamp(3.5rem, 8vw, 7rem);
}

.section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--c-wine-glow);
    text-transform: uppercase;
    margin: 0 0 1rem;
}

.section__eyebrow::before {
    content: "";
    width: 24px;
    height: 3px;
    background: var(--c-blue);
    border-radius: 2px;
}

.section__title {
    font-size: clamp(1.7rem, 3.6vw, 2.9rem);
    font-weight: 900;
    line-height: 1.18;
    margin: 0 0 1rem;
    color: var(--c-offwhite);
}

.section__title .accent {
    color: var(--c-blue-muted, #1a4d9e);
}

.section__intro {
    max-width: 46rem;
    color: var(--c-text-muted);
    font-size: 1.05rem;
    margin: 0 0 2.5rem;
}

/* ===== Reusable shaped buttons (Blade component) ===== */
.shape-btn {
    --btn-bg: var(--c-wine);
    --btn-bg-hover: #a30d24;
    --btn-color: #fff;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--btn-color);
    background: var(--btn-bg);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.shape-btn:hover {
    background: var(--btn-bg-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -8px rgba(200, 16, 46, 0.45);
}

.shape-btn--outline {
    background: transparent;
    color: var(--c-heading);
    box-shadow: inset 0 0 0 2px var(--c-border-strong, rgba(0,0,0,0.12));
}

.shape-btn--outline:hover {
    background: var(--c-red-light, #fdf0f2);
    color: var(--c-red);
    box-shadow: inset 0 0 0 2px var(--c-red-soft);
}

.shape-btn--lg {
    padding: 1.15rem 2.8rem;
    font-size: 1.1rem;
}

.shape-btn--glow {
    box-shadow: 0 4px 16px -4px rgba(200, 16, 46, 0.35);
}

/* =====================================================================
   1. HERO — Silent background video
   ===================================================================== */
.hero--video {
    position: relative;
    display: flex;
    min-height: 100vh;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--c-blue, #012169);
    text-align: center;
    padding-block: var(--header-height) 3rem;
}

.hero__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(1, 33, 105, 0.55) 0%, rgba(1, 33, 105, 0.35) 45%, rgba(1, 33, 105, 0.75) 100%),
        linear-gradient(105deg, rgba(200, 16, 46, 0.28) 0%, transparent 55%);
}

.hero__content {
    position: relative;
    z-index: 10;
    max-width: 78rem;
    padding-inline: 1rem;
    pointer-events: none;
}

.hero__content * {
    pointer-events: auto;
}

.hero__tag {
    display: inline-block;
    margin-bottom: 1.25rem;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.03em;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero__title {
    margin: 0;
    padding-block: 0.15em 0.35em;
    font-size: clamp(1.55rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
    text-shadow: 0 2px 20px rgba(1, 33, 105, 0.35);
}

body.locale-en .hero__title {
    font-family: var(--font-en);
    letter-spacing: -0.03em;
}

.hero__title .accent {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--c-red, #C8102E);
    text-decoration-thickness: 3px;
    text-underline-offset: 0.22em;
}

.hero__lead {
    margin: 0 auto 2rem;
    max-width: 36rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 12px rgba(1, 33, 105, 0.4);
}

.hero__slider {
    width: min(100%, 74rem);
    margin-inline: auto;
}

/* Static hero: one headline + one tagline, no slideshow. */
.hero__title--headline {
    font-size: clamp(1.55rem, 4vw, 2.75rem);
    padding-block: 0.15em 0.3em;
}

.hero__slider--static .hero__lead {
    max-width: 46rem;
    margin-bottom: 0;
    font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.hero__viewport {
    display: grid;
    width: 100%;
    overflow: hidden;
}

.hero__slide {
    grid-area: 1 / 1;
    z-index: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(28px) scale(0.96);
    filter: blur(8px);
    pointer-events: none;
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.55s ease,
        visibility 0.55s;
}

.hero__slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: none;
    filter: none;
    pointer-events: auto;
}

.hero__cta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    width: min(100%, 74rem);
    margin: 2.25rem auto 0;
    padding: 0.85rem;
    border-radius: 18px;
    background: rgba(1, 33, 105, 0.82);
    box-shadow: 0 14px 44px rgba(1, 33, 105, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 5rem;
    padding: 1.25rem 1.35rem;
    font-family: inherit;
    font-size: 1.12rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    border-radius: 14px;
    line-height: 1.35;
    color: #fff;
    background: var(--c-red, #C8102E);
    border: 2px solid transparent;
    box-shadow: 0 6px 22px -6px rgba(200, 16, 46, 0.7);
    transform: translateY(0) scale(1);
    transition:
        background 0.25s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.25s ease,
        filter 0.35s ease,
        opacity 0.35s ease;
}

.hero__btn--primary,
.hero__btn--ghost {
    color: #fff;
    background: var(--c-red, #C8102E);
    border: 2px solid transparent;
}

/* Bare CTA row: the video no longer carries a watermark, so the buttons do
   not need the navy panel behind them and can sit smaller under the tagline. */
.hero__cta--bare {
    width: min(100%, 56rem);
    margin-top: 1.9rem;
    padding: 0;
    gap: 0.6rem;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
}

.hero__cta--bare .hero__btn {
    min-height: 3.35rem;
    padding: 0.8rem 1rem;
    font-size: 0.98rem;
    border-radius: 11px;
}

.hero__btn:hover,
.hero__btn:focus-visible,
.hero__btn:active {
    background: #a30d24;
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -8px rgba(200, 16, 46, 0.8);
    outline: none;
}

.hero__btn.is-featured {
    background: #fff;
    color: var(--c-red, #C8102E);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 0 0 3px rgba(200, 16, 46, 0.25),
        0 12px 32px -8px rgba(200, 16, 46, 0.55);
    transform: translateY(-4px) scale(1.03);
}

.hero__btn.is-featured:hover,
.hero__btn.is-featured:focus-visible {
    background: #fff;
    color: #a30d24;
    transform: translateY(-5px) scale(1.04);
}

.hero__btn.is-featured .icon-forward {
    stroke: currentColor;
}

.hero__cta.is-swapping .hero__btn {
    animation: heroBtnSwap 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__cta.is-swapping .hero__btn:nth-child(1) { animation-delay: 0s; }
.hero__cta.is-swapping .hero__btn:nth-child(2) { animation-delay: 0.08s; }
.hero__cta.is-swapping .hero__btn:nth-child(3) { animation-delay: 0.16s; }

.hero__cta.is-swapping .hero__btn.is-featured {
    animation-name: heroBtnFeature;
    animation-delay: 0.12s;
}

@keyframes heroBtnSwap {
    0% {
        opacity: 0.35;
        transform: translateY(18px) scale(0.92);
        filter: blur(4px);
    }
    60% {
        opacity: 1;
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: none;
    }
}

@keyframes heroBtnFeature {
    0% {
        opacity: 0.2;
        transform: translateY(22px) scale(0.88) rotate(-1.5deg);
        filter: blur(6px);
    }
    55% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(-6px) scale(1.06) rotate(0.5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(-4px) scale(1.03) rotate(0deg);
        filter: none;
    }
}

.hero__dots {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.35rem;
}

.hero__dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero__dot:hover,
.hero__dot:focus-visible {
    background: rgba(255, 255, 255, 0.85);
    outline: none;
}

.hero__dot.is-active {
    width: 1.55rem;
    background: var(--c-red, #C8102E);
}

.hero__anim {
    opacity: 0;
    transform: translateY(50px);
    animation: heroReveal 1.1s cubic-bezier(0.2, 0.65, 0.3, 0.9) var(--hero-delay, 0.2s) forwards;
}

.hero__cta.hero__anim {
    transform: none;
    animation-name: heroFadeIn;
}

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

@keyframes heroFadeIn {
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .hero__slide {
        transition: opacity 0.2s ease;
        filter: none;
        transform: none;
    }

    .hero__cta.is-swapping .hero__btn,
    .hero__cta.is-swapping .hero__btn.is-featured {
        animation: none;
    }
}

/* =====================================================================
   2. STATS BAR
   ===================================================================== */
.stats {
    position: relative;
    background: var(--c-bg-alt, #f5f7fb);
    border-block: 1px solid var(--c-border);
    z-index: 5;
}

.stats__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    padding-block: 3rem;
}

.stat {
    position: relative;
    text-align: center;
    padding: 0.5rem 1rem;
}

.stat + .stat::before {
    content: "";
    position: absolute;
    inset-block: 10%;
    inset-inline-start: 0;
    width: 1px;
    background: var(--c-border);
}

.stat__num {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1;
    color: var(--c-offwhite);
    display: inline-flex;
    align-items: baseline;
    gap: 0.2rem;
}

.stat__suffix {
    color: var(--c-blue-muted, #1a4d9e);
    font-size: 0.55em;
    font-weight: 800;
}

.stat__label {
    margin-block-start: 0.7rem;
    color: var(--c-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* =====================================================================
   3. CORE SERVICES GATEWAY
   ===================================================================== */
.pillars {
    background: var(--c-bg-alt, #f5f7fb);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.75rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 960px) {
    .services__grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-inline: auto;
    }
}

/* --- Service card internals --- */
.service-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.service-card.glow-card:hover .service-card__media img {
    transform: scale(1.06);
}

.service-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 33, 105, 0) 45%, rgba(1, 33, 105, 0.35) 100%);
    pointer-events: none;
}

.service-card__index {
    position: absolute;
    top: 0.9rem;
    inset-inline-start: 0.9rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0 0.6rem;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #fff;
    background: rgba(1, 33, 105, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    backdrop-filter: blur(4px);
}

.service-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.6rem;
    padding: 1.4rem 1.5rem 1.5rem;
}

.service-card__title {
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.5;
    color: var(--c-heading);
    margin: 0;
}

.service-card__desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--c-text-muted);
    margin: 0;
}

.service-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    margin-block-start: auto;
    padding-block-start: 0.9rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--c-red);
    transition: gap 0.25s ease, color 0.25s ease;
}

.service-card.glow-card:hover .service-card__cta {
    gap: 0.85rem;
}

.service-card__cta svg {
    width: 18px;
    height: 18px;
}

html[dir="rtl"] .service-card__cta svg {
    transform: scaleX(-1);
}

.pillar-card.glow-card {
    height: 100%;
    transition: transform 0.3s ease;
}

.pillar-card.glow-card:hover {
    transform: translateY(-4px);
}

.pillar-card__index {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--c-steel);
    letter-spacing: 0.1em;
    line-height: 1;
}

.pillar-card:hover .pillar-card__index {
    color: var(--c-red);
}

.pillar-card__icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    color: var(--c-blue-muted, #1a4d9e);
    transition: color 0.3s ease, transform 0.3s ease;
}

.pillar-card__content {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.pillar-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--c-heading);
    margin: 0 0 0.5rem;
    line-height: 1.35;
    min-height: 2.7em;
}

.pillar-card:hover .pillar-card__icon {
    color: var(--c-red);
    transform: scale(1.05);
}

.pillar-card__icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.pillar-card:hover .pillar-card__title {
    color: var(--c-heading);
}

.pillar-card__desc {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    margin: 0;
    line-height: 1.55;
    min-height: 4.65em;
}

.pillar-card:hover .pillar-card__desc {
    color: var(--c-text);
}

.pillar-card__enter {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.5rem;
    margin-block-start: auto;
    min-height: 2.4rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-red);
    background: var(--c-red-light, #fdf0f2);
    border: 1px solid rgba(200, 16, 46, 0.3);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease;
}

.pillar-card:hover .pillar-card__enter {
    opacity: 1;
    transform: translateY(0);
}

.pillar-card .pillar-card__enter:hover,
.pillar-card:hover .pillar-card__enter:hover {
    color: #fff;
    background: var(--c-red);
    border-color: var(--c-red);
}

.pillar-card__enter svg {
    width: 18px;
    height: 18px;
}

/* =====================================================================
   4. ENGINEERING TOOL PROMO
   ===================================================================== */
.tool {
    position: relative;
    background: var(--c-bg, #FFFFFF);
    overflow: hidden;
}

.tool::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 70% at 85% 50%, rgba(232, 237, 245, 0.9) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 10% 80%, rgba(253, 240, 242, 0.55) 0%, transparent 65%);
}

.tool::after {
    display: none;
}

.tool__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 3rem;
}

.tool__media {
    position: relative;
}

.tool__visual {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--c-border, rgba(1, 33, 105, 0.1));
    box-shadow: var(--c-shadow, 0 4px 24px -4px rgba(1, 33, 105, 0.08));
    background: var(--c-bg-alt, #f5f7fb);
}

.tool__visual img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.tool__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(1, 33, 105, 0) 42%,
        rgba(1, 33, 105, 0.45) 100%
    );
    pointer-events: none;
}

.tool__panel {
    position: absolute;
    inset-inline-start: 1rem;
    inset-inline-end: 1rem;
    bottom: 1rem;
    z-index: 2;
    padding: 0.95rem 1.05rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(1, 33, 105, 0.1);
    box-shadow: 0 10px 28px -10px rgba(1, 33, 105, 0.28);
    backdrop-filter: blur(8px);
}

.tool__panel-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--c-heading, #012169);
}

.tool__panel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-red, #C8102E);
    box-shadow: 0 0 0 3px var(--c-red-light, #fdf0f2);
}

.tool__panel-rows {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.tool__panel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
    background: var(--c-bg-alt, #f5f7fb);
    font-size: 0.8rem;
    color: var(--c-text-muted, #5a6f8c);
}

.tool__panel-row strong {
    font-weight: 700;
    color: var(--c-heading, #012169);
    font-variant-numeric: tabular-nums;
}

.tool__panel-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    background: var(--c-blue-soft, #e8edf5);
    border: 1px solid rgba(1, 33, 105, 0.08);
    font-size: 0.8rem;
    color: var(--c-text, #1e3a5f);
}

.tool__panel-result strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--c-red, #C8102E);
    font-variant-numeric: tabular-nums;
}

.tool__body .section__title {
    color: var(--c-heading);
}

.tool__quote {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--c-text-muted, #5a6f8c);
    border-inline-start: 3px solid var(--c-red, #C8102E);
    padding-inline-start: 1.2rem;
    margin: 0 0 2rem;
}

.tool__formulas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.7rem;
    margin: 0 0 2rem;
}

.tool__formulas span {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    font-family: var(--font-en);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--c-heading);
    border: 1px solid var(--c-border);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--c-shadow);
}

.tool__formulas sub {
    font-size: 0.7em;
}

/* =====================================================================
   5. PROJECTS SHOWCASE
   ===================================================================== */
.projects {
    position: relative;
    background: linear-gradient(180deg, var(--c-black) 0%, var(--c-black-2) 100%);
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, 190px);
    gap: 1.2rem;
}

.project {
    position: relative;
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: inherit;
    text-decoration: none;
    min-width: 0;
    min-height: 0;
    height: 100%;
}

/* 3×3 puzzle. Every count from 1 to 9 fills the same nine cells.
   Spans are whole units, so a tile is 1×1, 1×2, 2×1, 2×2 or a full band. */
.projects__grid--1 .project:nth-child(1) { grid-area: 1 / 1 / 4 / 4; }

.projects__grid--2 .project:nth-child(1) { grid-area: 1 / 1 / 4 / 3; }
.projects__grid--2 .project:nth-child(2) { grid-area: 1 / 3 / 4 / 4; }

.projects__grid--3 .project:nth-child(1) { grid-area: 1 / 1 / 2 / 4; }
.projects__grid--3 .project:nth-child(2) { grid-area: 2 / 1 / 3 / 4; }
.projects__grid--3 .project:nth-child(3) { grid-area: 3 / 1 / 4 / 4; }

.projects__grid--4 .project:nth-child(1) { grid-area: 1 / 1 / 3 / 3; }
.projects__grid--4 .project:nth-child(2) { grid-area: 1 / 3 / 3 / 4; }
.projects__grid--4 .project:nth-child(3) { grid-area: 3 / 1 / 4 / 3; }
.projects__grid--4 .project:nth-child(4) { grid-area: 3 / 3 / 4 / 4; }

.projects__grid--5 .project:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
.projects__grid--5 .project:nth-child(2) { grid-area: 1 / 2 / 2 / 4; }
.projects__grid--5 .project:nth-child(3) { grid-area: 2 / 2 / 3 / 4; }
.projects__grid--5 .project:nth-child(4) { grid-area: 3 / 1 / 4 / 3; }
.projects__grid--5 .project:nth-child(5) { grid-area: 3 / 3 / 4 / 4; }

.projects__grid--6 .project:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
.projects__grid--6 .project:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
.projects__grid--6 .project:nth-child(3) { grid-area: 1 / 3 / 2 / 4; }
.projects__grid--6 .project:nth-child(4) { grid-area: 2 / 2 / 3 / 4; }
.projects__grid--6 .project:nth-child(5) { grid-area: 3 / 1 / 4 / 3; }
.projects__grid--6 .project:nth-child(6) { grid-area: 3 / 3 / 4 / 4; }

.projects__grid--7 .project:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
.projects__grid--7 .project:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
.projects__grid--7 .project:nth-child(3) { grid-area: 1 / 3 / 2 / 4; }
.projects__grid--7 .project:nth-child(4) { grid-area: 2 / 2 / 3 / 3; }
.projects__grid--7 .project:nth-child(5) { grid-area: 2 / 3 / 3 / 4; }
.projects__grid--7 .project:nth-child(6) { grid-area: 3 / 1 / 4 / 2; }
.projects__grid--7 .project:nth-child(7) { grid-area: 3 / 2 / 4 / 4; }

.projects__grid--8 .project:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
.projects__grid--8 .project:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
.projects__grid--8 .project:nth-child(3) { grid-area: 1 / 3 / 2 / 4; }
.projects__grid--8 .project:nth-child(4) { grid-area: 2 / 2 / 3 / 3; }
.projects__grid--8 .project:nth-child(5) { grid-area: 2 / 3 / 3 / 4; }
.projects__grid--8 .project:nth-child(6) { grid-area: 3 / 1 / 4 / 2; }
.projects__grid--8 .project:nth-child(7) { grid-area: 3 / 2 / 4 / 3; }
.projects__grid--8 .project:nth-child(8) { grid-area: 3 / 3 / 4 / 4; }

.projects__grid--9 .project:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
.projects__grid--9 .project:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
.projects__grid--9 .project:nth-child(3) { grid-area: 1 / 3 / 2 / 4; }
.projects__grid--9 .project:nth-child(4) { grid-area: 2 / 1 / 3 / 2; }
.projects__grid--9 .project:nth-child(5) { grid-area: 2 / 2 / 3 / 3; }
.projects__grid--9 .project:nth-child(6) { grid-area: 2 / 3 / 3 / 4; }
.projects__grid--9 .project:nth-child(7) { grid-area: 3 / 1 / 4 / 2; }
.projects__grid--9 .project:nth-child(8) { grid-area: 3 / 2 / 4 / 3; }
.projects__grid--9 .project:nth-child(9) { grid-area: 3 / 3 / 4 / 4; }

.project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9);
    transition: filter 0.4s ease, transform 0.5s ease;
}

.project:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.12);
}

.project:hover img {
    filter: saturate(1);
    transform: scale(1.04);
}

.project__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-block: 1.4rem;
    padding-inline: 2rem 1.5rem;
    background: linear-gradient(0deg, rgba(30, 41, 59, 0.85) 0%, transparent 60%);
    border-radius: 12px;
}

.project__overlay::before {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    width: 0;
    height: 3px;
    background: var(--c-blue, #012169);
    transition: width 0.4s ease;
}

.project:hover .project__overlay::before {
    width: 100%;
}

.project__client {
    font-size: 0.78rem;
    color: var(--c-wine-glow);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.project__name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin: 0.25rem 0 0;
}

.project__meta {
    font-size: 0.82rem;
    color: var(--c-text-muted);
    margin: 0.3rem 0 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
}

.project:hover .project__meta {
    max-height: 80px;
    opacity: 1;
    margin-block-start: 0.5rem;
}

/* client logo strip */
.projects__clients {
    margin-block-start: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.6rem;
    opacity: 0.5;
    filter: grayscale(1);
}

.projects__clients .client-logo {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--c-steel);
    letter-spacing: 0.03em;
}

/* =====================================================================
   5b. HOME MAP + PARTNER LOGOS
   ===================================================================== */
.home-map {
    background: var(--c-bg-alt, #f5f7fb);
}

.home-map__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.home-map__intro .section__intro {
    margin-bottom: 1.5rem;
}

.home-map__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
    max-height: 34rem;
    min-height: 14rem;
    overflow: auto;
    padding-inline-end: 0.25rem;
    overflow-anchor: none;
}

.home-map__filter-label {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--c-red, #C8102E);
}

.home-map__empty {
    margin: 0.75rem 0 0;
    font-size: 0.88rem;
    color: var(--c-text-muted, #5a6f8c);
}

.home-map__list-item {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    text-align: start;
    font: inherit;
    color: inherit;
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--c-border, rgba(1, 33, 105, 0.1));
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-map__list-item:hover,
.home-map__list-item.is-active {
    border-color: rgba(200, 16, 46, 0.35);
    box-shadow: var(--c-shadow);
    background: #fff;
}

.home-map__list-item.is-active {
    border-inline-start: 3px solid var(--c-red, #C8102E);
}

.home-map__list-dot {
    width: 10px;
    height: 10px;
    margin-block-start: 0.35rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--c-red, #C8102E);
    box-shadow: 0 0 0 3px var(--c-red-light, #fdf0f2);
}

.home-map__list-body {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.home-map__list-body strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--c-heading, #012169);
}

.home-map__list-body span {
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--c-text-muted, #5a6f8c);
}

.home-map__stage {
    position: relative;
    width: 100%;
    min-height: min(72vh, 640px);
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(160deg, #f8fafc 0%, #eef2f8 55%, #e8edf5 100%);
    border: 1px solid var(--c-border, rgba(1, 33, 105, 0.1));
    box-shadow: var(--c-shadow);
    /* Allow one-finger page scroll on mobile; pinch zoom stays in JS */
    touch-action: pan-y;
    overflow-anchor: none;
}

.home-map__back {
    position: absolute;
    top: 0.7rem;
    inset-inline-end: 0.7rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.65rem;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--c-heading, #012169);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(1, 33, 105, 0.12);
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(1, 33, 105, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.home-map__back:hover {
    background: #fff;
    border-color: rgba(200, 16, 46, 0.3);
}

.home-map__back[hidden] {
    display: none !important;
}

html[dir="rtl"] .home-map__back svg {
    transform: scaleX(-1);
}

.home-map__zoom {
    position: absolute;
    bottom: 0.85rem;
    inset-inline-start: 0.85rem;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.home-map__zoom-btn {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font: inherit;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    color: var(--c-heading, #012169);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(1, 33, 105, 0.14);
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(1, 33, 105, 0.1);
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.home-map__zoom-btn:hover:not(:disabled) {
    background: #fff;
    border-color: rgba(200, 16, 46, 0.35);
    color: var(--c-red, #C8102E);
}

.home-map__zoom-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

.home-map__svg-wrap {
    position: absolute;
    inset: 0.4rem;
}

.home-map__svg-wrap > svg,
.home-map__pins-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.home-map__pins-layer {
    pointer-events: none;
    z-index: 3;
}

.home-map__stage.is-zoomed .home-map__pins-layer {
    pointer-events: auto;
}

.home-map__svg-wrap > svg {
    z-index: 1;
}

.iran-prov {
    fill: #f7f9fc;
    stroke: rgba(1, 33, 105, 0.22);
    stroke-width: 0.9;
    cursor: pointer;
    transition: fill 0.2s ease, stroke 0.2s ease, opacity 0.25s ease;
}

.iran-prov:hover,
.iran-prov:focus-visible {
    fill: #eef2f8;
    stroke: rgba(1, 33, 105, 0.35);
    outline: none;
}

.iran-prov.has-projects {
    fill: #f7f9fc;
    stroke: rgba(1, 33, 105, 0.28);
}

.iran-prov.has-projects:hover,
.iran-prov.has-projects:focus-visible {
    fill: #eef2f8;
    stroke: rgba(1, 33, 105, 0.4);
}

.iran-prov.is-selected {
    fill: #fdf0f2;
    stroke: var(--c-red, #C8102E);
    stroke-width: 1.5;
}

.iran-prov.is-dimmed {
    opacity: 0.45;
    fill: #f7f9fc;
    pointer-events: none;
}

.iran-prov-label {
    fill: var(--c-heading, #012169);
    font-size: 8.5px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
    user-select: none;
    opacity: 0.82;
    paint-order: stroke;
    stroke: rgba(255, 255, 255, 0.9);
    stroke-width: 2.5px;
}

.iran-prov-label.is-hidden {
    opacity: 0;
}

.home-map__stage.is-zoomed .iran-prov-label:not(.is-hidden) {
    font-size: 12px;
    opacity: 0.45;
}

.home-map__img {
    display: none;
}

.home-map__svg {
    width: 100%;
    height: 100%;
    display: block;
}

.home-map__pin {
    pointer-events: none;
    outline: none;
    cursor: pointer;
}

.home-map__stage.is-zoomed .home-map__pin:not(.is-hidden) {
    pointer-events: auto;
}

.home-map__pin.is-hidden {
    display: none;
}

.home-map__dot {
    fill: var(--c-red, #C8102E);
    stroke: #fff;
    stroke-width: 1.5;
    transition: r 0.2s ease;
}

.home-map__pulse {
    fill: rgba(200, 16, 46, 0.28);
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: home-map-pulse 2.6s ease-out infinite;
}

.home-map__pin.is-active .home-map__pulse,
.home-map__pin:hover .home-map__pulse {
    opacity: 1;
}

.home-map__pin.is-active .home-map__dot,
.home-map__pin:hover .home-map__dot {
    r: 5.5;
}

.home-map__pin-label-wrap {
    pointer-events: none;
    transform-box: fill-box;
    transform-origin: center bottom;
}

.home-map__pin-label-bg {
    fill: rgba(255, 255, 255, 0.96);
    stroke: rgba(1, 33, 105, 0.12);
    stroke-width: 0.4;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.home-map__pin-label {
    fill: #012169;
    font-size: 5.5px;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    paint-order: stroke fill;
    stroke: transparent;
    stroke-width: 0;
    transition: opacity 0.2s ease;
}

.home-map__stage.is-zoomed .home-map__pin-label,
.home-map__stage.is-zoomed .home-map__pin-label-bg {
    opacity: 1;
}

.home-map__stage.is-zoomed .home-map__pin.is-active .home-map__pin-label {
    fill: var(--c-red, #C8102E);
}

.home-map__stage.is-zoomed .home-map__pin.is-active .home-map__pin-label-bg {
    stroke: rgba(200, 16, 46, 0.28);
}

@keyframes home-map-pulse {
    0% { transform: scale(0.6); opacity: 0.7; }
    75% { transform: scale(2.2); opacity: 0; }
    100% { transform: scale(2.2); opacity: 0; }
}

.home-logos {
    padding-block: 1.5rem;
    background: var(--c-bg-alt, #f5f7fb);
    border-block: 1px solid var(--c-border, rgba(1, 33, 105, 0.08));
    overflow: hidden;
}

.home-logos__marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.home-logos__track {
    display: flex;
    width: max-content;
    animation: home-logos-scroll var(--logos-duration, 35s) linear infinite;
}

.home-logos__marquee:hover .home-logos__track {
    animation-play-state: paused;
}

.home-logos__group {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    padding-inline: 0.65rem;
    flex-shrink: 0;
}

.home-logos__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 9.5rem;
    min-height: 4.4rem;
    padding: 0.55rem 0.9rem;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--c-border, rgba(1, 33, 105, 0.08));
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-logos__item:hover {
    border-color: rgba(1, 33, 105, 0.18);
    box-shadow: var(--c-shadow);
}

.home-logos__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
}

.home-logos__logo img {
    max-height: 48px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.home-logos__name {
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    color: var(--c-heading, #012169);
    white-space: nowrap;
}

.home-logos__item:not(.has-no-image) .home-logos__name {
    display: none;
}

@keyframes home-logos-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(var(--logos-shift, -50%)); }
}

[dir="rtl"] .home-logos__track {
    animation-name: home-logos-scroll-rtl;
}

@keyframes home-logos-scroll-rtl {
    from { transform: translateX(0); }
    to { transform: translateX(calc(var(--logos-shift, -50%) * -1)); }
}

@media (max-width: 920px) {
    .home-map__grid {
        grid-template-columns: 1fr;
    }

    .home-map__stage {
        max-width: none;
        width: 100%;
        min-height: min(78vw, 560px);
        margin-inline: auto;
    }

    .home-map__list {
        max-height: 18rem;
        min-height: 10rem;
    }
}

@media (max-width: 640px) {
    .home-logos__group {
        gap: 0.85rem;
    }

    .home-logos__item {
        min-width: 7.5rem;
        min-height: 3.6rem;
        padding: 0.45rem 0.65rem;
    }

    .home-logos__logo {
        height: 40px;
    }

    .home-logos__logo img {
        max-height: 36px;
        max-width: 120px;
    }
}

/* =====================================================================
   6. TRUST / CREDENTIALS (light contrast)
   ===================================================================== */
.trust {
    position: relative;
    background: var(--c-bg-alt, #f5f7fb);
    color: var(--c-text);
    margin-block-start: 0;
}

.trust .section__title {
    color: var(--c-heading);
}

.trust .section__intro {
    color: var(--c-text-muted);
}

.trust__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.4rem;
}

.cert {
    position: relative;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 1.6rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.1);
}

.cert__badge {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: var(--c-blue, #012169);
    color: #fff;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.cert__badge svg {
    width: 26px;
    height: 26px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.6;
}

.cert__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.3rem;
    color: var(--c-heading);
}

.cert__desc {
    font-size: 0.85rem;
    color: var(--c-text-muted);
    margin: 0;
}

.cert__view {
    display: inline-block;
    margin-block-start: 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--c-blue-muted, #1a4d9e);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(30, 41, 59, 0.92);
    backdrop-filter: blur(6px);
    padding: 2rem;
}

.lightbox.is-open {
    display: flex;
}

.lightbox__panel {
    position: relative;
    max-width: 520px;
    width: 100%;
    background: #fff;
    color: var(--c-heading);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.2);
}

.lightbox__close {
    position: absolute;
    inset-block-start: 1rem;
    inset-inline-end: 1rem;
    width: 38px;
    height: 38px;
    border: none;
    background: var(--c-red-light, #fdf0f2);
    color: var(--c-red);
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
}

.lightbox__close:hover {
    background: var(--c-red);
    color: #fff;
}

.lightbox__title {
    font-size: 1.4rem;
    font-weight: 900;
    margin: 0 0 0.8rem;
}

/* =====================================================================
   Reveal on scroll
   ===================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 920px) {
    .hero__content {
        max-width: 100%;
    }

    .hero__cta {
        width: 100%;
        gap: 0.45rem;
        padding: 0.55rem;
    }

    .hero__btn {
        font-size: 0.82rem;
        min-height: 3.6rem;
        padding: 0.85rem 0.65rem;
        white-space: normal;
        line-height: 1.3;
    }

    .tool__grid { grid-template-columns: 1fr; }
    .tool__media { order: -1; }
    .tool__panel { inset-inline: 0.75rem; bottom: 0.75rem; padding: 0.8rem 0.85rem; }
    .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 2rem 1px; }
    .projects__grid { grid-template-rows: repeat(3, 140px); }
}

@media (max-width: 560px) {

    .hero__title {
        font-size: clamp(1.35rem, 6.5vw, 1.85rem);
        line-height: 1.4;
    }

    .hero__cta {
        grid-template-columns: 1fr;
        width: 100%;
        padding: 0.5rem;
    }

    .hero__btn {
        min-height: 3.25rem;
        font-size: 0.95rem;
    }

    .hero__btn.is-featured {
        transform: translateY(-2px) scale(1.01);
    }

    .projects__grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-rows: auto;
    }
    .projects__grid .project {
        grid-area: auto !important;
        aspect-ratio: 2 / 1;
        height: auto;
    }
    .pillar-card:nth-child(even) { margin-block-start: 0; }

    .pillars__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .pillar-card.glow-card:hover {
        transform: none;
    }

    .pillar-card__index {
        font-size: 0.58rem;
        letter-spacing: 0.05em;
    }

    .pillar-card__icon {
        width: 26px;
        height: 26px;
    }

    .pillar-card__content {
        flex: 1;
    }

    .pillar-card__title {
        font-size: 0.62rem;
        min-height: 0;
        margin: 0;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pillar-card__desc {
        display: none;
    }

    .pillar-card__enter {
        align-self: stretch;
        justify-content: center;
        margin-block-start: 0.2rem;
        padding: 0.28rem;
        min-height: auto;
        font-size: 0;
        gap: 0;
        opacity: 1;
        transform: none;
        border-radius: 6px;
    }

    .pillar-card__enter svg {
        width: 13px;
        height: 13px;
    }
}

/* =====================================================================
   Direction-aware icons & LTR layout
   ===================================================================== */
.icon-forward {
    flex-shrink: 0;
}

[dir="rtl"] .icon-forward {
    transform: scaleX(-1);
}

[dir="ltr"] .tool__grid {
    direction: ltr;
}

[dir="ltr"] .tool__body { order: 1; }
[dir="ltr"] .tool__media { order: 2; }

[dir="rtl"] .tool__grid { direction: rtl; }
[dir="rtl"] .tool__body { order: 1; }
[dir="rtl"] .tool__media { order: 2; }

[dir="ltr"] .cert__view::after { content: " →"; }
[dir="rtl"] .cert__view::after { content: " ←"; }

[dir="ltr"] .hero__title { letter-spacing: -0.02em; }

body.locale-en .hero__title,
body.locale-en .section__title {
    font-family: var(--font-en);
    letter-spacing: -0.03em;
}

@media (max-width: 920px) {
    [dir="ltr"] .tool__media,
    [dir="rtl"] .tool__media {
        order: -1;
    }
}
