/* ==========================================================================
   Riza Landscape — site styles
   Brand colours come from the company profile. Logical properties
   (inline-start/end) are used throughout so RTL and LTR mirror cleanly.
   ========================================================================== */

:root {
    --forest: #213F36;
    --forest-deep: #172E27;
    --forest-ink: #10221C;
    --terracotta: #955639;
    --terracotta-dark: #7D4630;
    --clay-light: #D9A27F;
    --cream: #EBE7DB;
    --bone: #F7F5EF;
    --sage: #8FA596;
    --ink: #1D2A25;
    --muted: #56645D;
    --line: rgba(33, 63, 54, .16);
    --line-light: rgba(235, 231, 219, .18);

    --f-display: "Reem Kufi", "IBM Plex Sans Arabic", system-ui, sans-serif;
    --f-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;

    --wrap: 1240px;
    --gutter: clamp(20px, 4vw, 48px);
    --leaf: clamp(40px, 6vw, 88px);
    --header-h: 84px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    --s-1: clamp(.875rem, .85rem + .1vw, .9375rem);
    --s0: clamp(1rem, .97rem + .15vw, 1.0625rem);
    --s1: clamp(1.15rem, 1.08rem + .3vw, 1.3125rem);
    --s2: clamp(1.4rem, 1.25rem + .6vw, 1.75rem);
    --s3: clamp(1.8rem, 1.5rem + 1.2vw, 2.5rem);
    --s4: clamp(2.3rem, 1.8rem + 2.2vw, 3.6rem);
    --s5: clamp(2.7rem, 1.9rem + 3.6vw, 5rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--f-body);
    font-size: var(--s0);
    line-height: 1.85;
    color: var(--ink);
    background: var(--bone);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
html[lang="en"] body { line-height: 1.65; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
picture img { width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.3; margin: 0; text-wrap: balance; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { line-height: 1.15; letter-spacing: -.01em; }
/* Kufi display is for large headings; small titles use the text face for legibility */
h3 { font-family: var(--f-body); font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--clay-light); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--cream); color: var(--forest); padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 140px); }
.lead { font-size: var(--s1); line-height: 1.75; }
html[lang="en"] .lead { line-height: 1.55; }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: var(--s4); color: var(--forest); margin-bottom: .35em; }
.section-head p { color: var(--muted); font-size: var(--s1); }
.section-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row > div { max-width: 640px; }

/* ---------- Arabic typography: Zain ----------
   Zain ships 300/400/700/800 (no 500/600) and runs small on the body,
   so the Arabic site scales up slightly and maps weights explicitly. */
html[lang="ar"] {
    --f-display: "Zain", system-ui, sans-serif;
    --f-body: "Zain", system-ui, sans-serif;
    font-size: 112%;
}
html[lang="ar"] body { line-height: 1.75; }
html[lang="ar"] h1, html[lang="ar"] h2 { font-weight: 800; line-height: 1.25; }
html[lang="ar"] .hero h1 { line-height: 1.15; }
html[lang="ar"] h3, html[lang="ar"] .svc-title, html[lang="ar"] .btn, html[lang="ar"] .link,
html[lang="ar"] .field label, html[lang="ar"] .faq summary, html[lang="ar"] .others-list a,
html[lang="ar"] .footer-h, html[lang="ar"] .lightbox figcaption, html[lang="ar"] .step-num { font-weight: 700; }
html[lang="ar"] .statement { line-height: 1.35; }

/* ---------- Buttons & links ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 52px; padding: .7em 1.7em;
    border-radius: 100px; border: 1px solid transparent;
    font-family: var(--f-body); font-weight: 500; font-size: var(--s0); line-height: 1.2;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
    white-space: nowrap;
}
.btn-accent { background: var(--terracotta); color: #fff; }
.btn-accent:hover { background: var(--terracotta-dark); }
.btn-ghost { border-color: rgba(235, 231, 219, .45); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--cream); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
    display: inline-block; margin-top: 28px;
    font-weight: 500; color: var(--terracotta);
    background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
    padding-bottom: 3px;
    transition: background-size .3s var(--ease);
}
[dir="rtl"] .link { background-position: 100% 100%; }
.link:hover { background-size: 40% 1px; }

.checks { display: grid; gap: 12px; margin-top: 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { flex: none; margin-top: .3em; color: var(--terracotta); }
.checks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }

/* Leaf frame: the rounded diagonal corners of the logo's petals */
.leaf { overflow: hidden; border-start-start-radius: var(--leaf); border-end-end-radius: var(--leaf); border-start-end-radius: 4px; border-end-start-radius: 4px; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset-inline: 0; top: 0; z-index: 50;
    height: var(--header-h);
    color: var(--cream);
    transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.is-scrolled { background: rgba(23, 46, 39, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-light); --header-h: 72px; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex: none; color: var(--cream); }
.brand svg { height: 46px; width: auto; transition: height .35s var(--ease); }
.is-scrolled .brand svg { height: 40px; }

.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.nav a { position: relative; padding-block: 8px; font-size: var(--s0); color: rgba(235, 231, 219, .82); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after {
    content: ""; position: absolute; inset-inline-start: 50%; bottom: -4px;
    width: 6px; height: 6px; background: var(--clay-light); transform: translateX(-50%) rotate(45deg);
}
[dir="rtl"] .nav a[aria-current="page"]::after { transform: translateX(50%) rotate(45deg); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: var(--s-1); padding: 6px 12px; border-radius: 100px;
    border: 1px solid var(--line-light); color: var(--cream);
    transition: background-color .2s, color .2s;
}
.lang:hover { background: var(--cream); color: var(--forest); }
.header-cta { min-height: 44px; padding-inline: 1.3em; font-size: var(--s-1); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--cream); }
.menu-toggle .i-close { display: none; }

/* ---------- Hero (home) ---------- */
.hero {
    position: relative; overflow: hidden;
    min-height: max(720px, 100svh);
    display: flex; align-items: center;
    padding-block: calc(var(--header-h) + 40px) 80px;
    background: var(--forest); color: var(--cream);
}
.hero-bg, .page-hero-bg, .cta-bg { position: absolute; inset: 0; }
.hero-bg picture, .page-hero-bg picture, .cta-bg picture { height: 100%; }
.hero-bg img { opacity: .22; }
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(23, 46, 39, .7), rgba(33, 63, 54, .35) 40%, var(--forest));
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 5vw, 80px); }
.hero h1 { font-size: var(--s5); font-weight: 500; color: #fff; max-width: 12ch; margin-bottom: .45em; }
html[lang="en"] .hero h1 { max-width: 13ch; }
.hero .lead { color: rgba(235, 231, 219, .85); max-width: 34em; margin-bottom: 36px; }

.hero-media { position: relative; justify-self: center; width: min(100%, 540px); aspect-ratio: 1; display: grid; place-items: center; }
.diamond, .diamond-frame {
    position: absolute; width: 70.7%; aspect-ratio: 1;
    border-radius: clamp(22px, 3vw, 40px);
    transform: rotate(45deg);
}
.diamond { overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.diamond picture { position: absolute; inset: -21%; max-width: none; transform: rotate(-45deg); }
.diamond-frame { border: 1px solid rgba(235, 231, 219, .35); width: 82%; }
.hero-media figcaption {
    position: absolute; bottom: 0; inset-inline-end: 0;
    font-size: var(--s-1); color: rgba(235, 231, 219, .7);
    padding-inline-start: 18px; border-inline-start: 1px solid var(--clay-light);
}

/* The one orchestrated moment: the hero assembles on load */
@media (prefers-reduced-motion: no-preference) {
    /* Headline text stays visible from the first paint (it's the page's largest element); it only glides in */
    .js .hero h1, .js .hero .lead, .js .hero .btn-row { transform: translateY(10px); }
    .js .hero figcaption { opacity: 0; transform: translateY(14px); }
    .js .hero .diamond { opacity: 0; transform: rotate(45deg) scale(.86); }
    .js .hero .diamond picture { transform: rotate(-45deg) scale(1.18); }
    .js .hero .diamond-frame { opacity: 0; transform: rotate(45deg) scale(1.08); }
    .js.is-loaded .hero h1, .js.is-loaded .hero .lead, .js.is-loaded .hero .btn-row, .js.is-loaded .hero figcaption {
        opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease);
    }
    .js.is-loaded .hero .lead { transition-delay: .12s; }
    .js.is-loaded .hero .btn-row { transition-delay: .24s; }
    .js.is-loaded .hero figcaption { transition-delay: .9s; }
    .js.is-loaded .hero .diamond { opacity: 1; transform: rotate(45deg) scale(1); transition: opacity 1s var(--ease) .1s, transform 1.4s var(--ease) .1s; }
    .js.is-loaded .hero .diamond picture { transform: rotate(-45deg) scale(1); transition: transform 1.8s var(--ease) .1s; }
    .js.is-loaded .hero .diamond-frame { opacity: 1; transform: rotate(45deg) scale(1); transition: opacity 1.2s var(--ease) .5s, transform 1.6s var(--ease) .5s; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative; overflow: hidden;
    background: var(--forest); color: var(--cream);
    padding-block: calc(var(--header-h) + clamp(56px, 8vw, 110px)) clamp(56px, 7vw, 96px);
}
.page-hero-bg img { opacity: .16; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(23, 46, 39, .6), var(--forest)); }
.page-hero-inner { position: relative; }
.page-hero h1 { font-size: var(--s4); color: #fff; max-width: 18ch; margin-bottom: .5em; }
.page-hero .lead { color: rgba(235, 231, 219, .82); max-width: 40em; }
.page-hero.has-image .page-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero-media { aspect-ratio: 4 / 3.4; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.statement { font-size: var(--s3); color: var(--forest); line-height: 1.45; }
html[lang="en"] .statement { line-height: 1.25; }
.intro-body { color: var(--muted); font-size: var(--s1); padding-top: .4em; }
.intro-body .checks { color: var(--ink); font-size: var(--s0); }

/* ---------- Services index (home) ---------- */
.services-index { background: var(--cream); }
.svc-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc-list { border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list a { display: grid; gap: 4px; padding: 26px 0; padding-inline-start: 30px; position: relative; }
.svc-list a::before {
    content: ""; position: absolute; inset-inline-start: 4px; top: 38px;
    width: 9px; height: 9px; border: 1px solid var(--sage); transform: rotate(45deg);
    transition: background-color .25s, border-color .25s;
}
.svc-title { font-family: var(--f-display); font-size: var(--s2); color: var(--forest); line-height: 1.35; transition: color .25s; }
.svc-short { color: var(--muted); max-width: 46ch; }
.svc-list a:hover .svc-title, .svc-list a.is-active .svc-title, .svc-list a:focus-visible .svc-title { color: var(--terracotta); }
.svc-list a.is-active::before, .svc-list a:hover::before { background: var(--terracotta); border-color: var(--terracotta); }
.svc-preview { position: sticky; top: calc(var(--header-h) + 40px); aspect-ratio: 4 / 5; background: var(--forest); }
.svc-preview-img { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.svc-preview-img picture { height: 100%; }
.svc-preview-img.is-active { opacity: 1; }

/* ---------- Process ---------- */
.process { background: var(--forest); color: var(--cream); }
.process .section-head h2 { color: #fff; }
.process .section-head p { color: rgba(235, 231, 219, .75); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; inset-inline: 0; top: 26px; height: 1px; background: var(--line-light); }
.step { position: relative; }
.step-num {
    position: relative; display: grid; place-items: center;
    width: 52px; height: 52px; margin-bottom: 28px;
    font-family: var(--f-display); font-size: 1.35rem; color: var(--cream);
}
.step-num::before {
    content: ""; position: absolute; inset: 7px; border: 1px solid var(--clay-light);
    background: var(--forest); transform: rotate(45deg); border-radius: 6px; z-index: -1;
}
.step-num { z-index: 0; isolation: isolate; }
.step h3 { font-size: var(--s1); color: #fff; margin-bottom: .5em; }
.step p { color: rgba(235, 231, 219, .72); font-size: var(--s0); }

/* ---------- Work mosaic (home) ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(200px, 22vw, 300px)); gap: 14px; }
.mosaic-item { position: relative; overflow: hidden; border-radius: 4px; background: var(--forest); }
.mosaic-item picture { height: 100%; }
.mosaic-item img { transition: transform 1.2s var(--ease); }
.mosaic-item:hover img { transform: scale(1.04); }
.mosaic-item.m1 { grid-column: 1 / 3; grid-row: 1 / 3; border-start-start-radius: var(--leaf); }
.mosaic-item.m5 { border-end-end-radius: var(--leaf); }
.mosaic-item figcaption, .gallery-cap {
    position: absolute; inset-inline: 0; bottom: 0;
    display: flex; justify-content: space-between; align-items: end; gap: 12px;
    padding: 48px 20px 16px; color: #fff; font-size: var(--s-1);
    background: linear-gradient(to top, rgba(16, 34, 28, .82), transparent);
}
.mosaic-item figcaption small, .gallery-cap small { opacity: .75; white-space: nowrap; }

/* ---------- Vision band ---------- */
.vision { position: relative; overflow: hidden; background: var(--terracotta); color: var(--cream); padding-block: clamp(72px, 9vw, 120px); }
.vision-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.vision-mark { position: absolute; inset-inline-end: -6%; top: 50%; width: min(520px, 48vw); transform: translateY(-50%); color: rgba(235, 231, 219, .07); pointer-events: none; }
.vision-mark svg { width: 100%; height: auto; }
.vision-col { position: relative; }
.vision h2 { font-size: var(--s3); color: #fff; margin-bottom: .6em; }
.vision p { font-size: var(--s1); line-height: 1.85; color: rgba(247, 245, 239, .9); max-width: 36em; }
html[lang="en"] .vision p { line-height: 1.6; }

/* ---------- Values ---------- */
.values-inner { display: grid; grid-template-columns: .6fr 2fr; gap: clamp(32px, 5vw, 80px); }
.values h2 { font-size: var(--s4); color: var(--forest); }
.values-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.values-list li { padding-top: 8px; }
.value-ico { color: var(--forest); margin-bottom: 18px; }
.values-list h3 { font-size: var(--s1); color: var(--forest); margin-bottom: .4em; }
.values-list p { color: var(--muted); font-size: var(--s0); }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq-inner { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(32px, 5vw, 80px); }
.faq h2 { font-size: var(--s4); color: var(--forest); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    padding: 22px 0; cursor: pointer; list-style: none;
    font-family: var(--f-body); font-weight: 500; font-size: var(--s1); color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 16px; height: 16px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; inset-inline-start: 0; top: 7.5px; width: 16px; height: 1.5px; background: var(--terracotta); transition: transform .3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { color: var(--muted); padding-bottom: 24px; max-width: 60ch; }
@media (prefers-reduced-motion: no-preference) {
    .faq details[open] p { animation: faq-in .35s var(--ease); }
    @keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--forest-deep); color: var(--cream); padding-block: clamp(80px, 10vw, 130px); }
.cta-bg img { opacity: .25; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--forest-deep) 20%, rgba(23, 46, 39, .55)); }
[dir="rtl"] .cta-bg::after { background: linear-gradient(-90deg, var(--forest-deep) 20%, rgba(23, 46, 39, .55)); }
.cta-inner { position: relative; }
.cta-band h2 { font-size: var(--s4); color: #fff; margin-bottom: .35em; }
.cta-band p { font-size: var(--s1); color: rgba(235, 231, 219, .8); max-width: 34em; margin-bottom: 32px; }

/* ---------- About ---------- */
.story-grid, .green-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.green-grid { grid-template-columns: 1.15fr .85fr; }
.story-media, .green-media { aspect-ratio: 4 / 5; }
.story-text h2, .green-text h2 { font-size: var(--s3); color: var(--forest); margin-bottom: .6em; }
.story-text p, .green-text p { color: var(--muted); font-size: var(--s1); }
.story-text .checks { font-size: var(--s0); }
.green { background: var(--cream); }

/* ---------- Services page ---------- */
.svc-rows .wrap { display: grid; gap: clamp(72px, 9vw, 120px); }
.svc-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; scroll-margin-top: calc(var(--header-h) + 32px); }
.svc-row:nth-child(even) .svc-row-media { order: 2; }
.svc-row-media { aspect-ratio: 5 / 4; display: block; background: var(--forest); }
.svc-row-media picture { height: 100%; }
.svc-row:nth-child(even) .svc-row-media { border-start-start-radius: 4px; border-end-end-radius: 4px; border-start-end-radius: var(--leaf); border-end-start-radius: var(--leaf); }
.svc-row h2 { font-size: var(--s3); color: var(--forest); margin-bottom: .55em; }
.svc-row h2 a:hover { color: var(--terracotta); }
.svc-row p { color: var(--muted); font-size: var(--s1); }

/* ---------- Service detail ---------- */
.svc-detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc-detail-body p { font-size: var(--s1); color: var(--muted); max-width: 40em; }
.svc-detail-body h2 { font-size: var(--s2); color: var(--forest); margin-top: 48px; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 32px); background: #fff; border: 1px solid var(--line); border-radius: 4px; border-start-start-radius: 40px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; }
.svc-aside h2 { font-size: var(--s2); color: var(--forest); }
.svc-aside p { color: var(--muted); margin-bottom: 8px; }
.aside-phones { display: grid; gap: 8px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.aside-phones a, .footer-contact a, .info-block a { display: inline-flex; align-items: center; gap: 10px; }
.aside-phones a:hover { color: var(--terracotta); }
[dir="rtl"] .aside-phones a, [dir="rtl"] .footer-contact a[dir="ltr"], [dir="rtl"] .info-block a[dir="ltr"] { flex-direction: row-reverse; }

.others { background: var(--cream); }
.others h2 { font-size: var(--s3); color: var(--forest); margin-bottom: 36px; }
.others-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.others-list a { display: grid; gap: 14px; font-weight: 500; color: var(--forest); line-height: 1.4; }
.others-list a:hover { color: var(--terracotta); }
.others-img { aspect-ratio: 1; --leaf: 36px; }
.others-img picture { height: 100%; }

/* ---------- Gallery ---------- */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery li { break-inside: avoid; margin-bottom: 16px; }
.gallery-item { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--forest); border-radius: 4px; overflow: hidden; text-align: start; }
.gallery li:first-child .gallery-item { border-start-start-radius: var(--leaf); }
.gallery-item img { transition: transform 1.2s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(16, 34, 28, .96); color: var(--cream); }
.lightbox::backdrop { background: rgba(16, 34, 28, .9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { display: grid; gap: 14px; justify-items: center; padding: 72px 80px 40px; }
.lightbox img { max-width: min(1000px, 86vw); max-height: 78vh; width: auto; border-radius: 4px; }
.lightbox figcaption { font-weight: 500; font-size: var(--s1); }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-light); background: transparent; color: var(--cream); transition: background-color .2s, color .2s; }
.lb-btn:hover { background: var(--cream); color: var(--forest); }
.lb-close { top: 20px; inset-inline-end: 20px; }
.lb-prev, .lb-next { top: 50%; margin-top: -26px; }
.lb-prev { inset-inline-start: 20px; }
.lb-next { inset-inline-end: 20px; }
[dir="ltr"] .lb-prev svg, [dir="rtl"] .lb-next svg { transform: scaleX(-1); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; border-start-start-radius: 48px; padding: clamp(24px, 4vw, 52px); scroll-margin-top: calc(var(--header-h) + 24px); }
.form-card > h2 { font-size: var(--s3); color: var(--forest); margin-bottom: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label { font-weight: 500; font-size: var(--s-1); color: var(--ink); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; color: var(--ink);
    background: var(--bone); border: 1px solid rgba(33, 63, 54, .22); border-radius: 6px;
    padding: 13px 16px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: #8b958f; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); background: #fff; box-shadow: 0 0 0 3px rgba(33, 63, 54, .14); }
.field [aria-invalid="true"] { border-color: #A3342C; background: #fdf6f5; }
.field-error { color: #A3342C; font-size: var(--s-1); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 6px; padding: 16px 20px; margin-bottom: 24px; }
.notice-err { background: #fbeeec; color: #8a2b24; border: 1px solid #efc9c4; }
.notice-ok { display: flex; gap: 16px; align-items: flex-start; margin: 0; padding: 0; color: var(--forest); }
.notice-ok .ico { flex: none; color: #fff; background: var(--forest); border-radius: 50%; padding: 6px; width: 40px; height: 40px; }
.notice-ok h2 { font-size: var(--s3); margin-bottom: .35em; }
.notice-ok p { color: var(--muted); font-size: var(--s1); }

.contact-info { display: grid; gap: 32px; padding-top: 8px; }
.info-block h2 { font-size: var(--s1); color: var(--forest); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.info-block ul { display: grid; gap: 10px; }
.info-block a { color: var(--ink); }
.info-block a:hover { color: var(--terracotta); }
.info-block .ico { color: var(--terracotta); }

/* ---------- 404 ---------- */
.notfound { background: var(--forest); color: var(--cream); min-height: 88svh; display: flex; align-items: center; padding-block: calc(var(--header-h) + 60px) 80px; }
.notfound-inner { text-align: center; display: grid; justify-items: center; gap: 18px; }
.notfound-mark { width: 120px; color: var(--clay-light); margin-bottom: 12px; }
.notfound h1 { font-size: var(--s4); color: #fff; }
.notfound p { color: rgba(235, 231, 219, .8); max-width: 34em; font-size: var(--s1); }
.notfound .btn-outline { border-color: rgba(235, 231, 219, .45); color: var(--cream); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-ink); color: rgba(235, 231, 219, .72); padding-top: clamp(64px, 8vw, 100px); font-size: var(--s-1); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.1fr; gap: 40px; padding-bottom: 56px; }
.footer-logo { display: inline-block; color: var(--cream); margin-bottom: 20px; }
.footer-logo svg { height: 54px; width: auto; }
.footer-brand p { max-width: 30ch; }
.footer-h { font-family: var(--f-body); font-weight: 600; font-size: var(--s0); color: var(--cream); margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-contact .ico { color: var(--clay-light); }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid var(--line-light); }
.footer-base p { margin: 0; }

/* ---------- WhatsApp float ---------- */
.wa-float {
    position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 40;
    display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
    background: var(--terracotta); color: #fff;
    box-shadow: 0 12px 30px -10px rgba(16, 34, 28, .6);
    transition: background-color .2s, transform .2s var(--ease);
}
.wa-float:hover { background: var(--terracotta-dark); transform: translateY(-2px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .header-cta { display: none; }
    .values-inner, .faq-inner { grid-template-columns: 1fr; }
    .values-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .others-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    :root { --header-h: 72px; }
    .brand svg { height: 38px; }
    .menu-toggle { display: inline-grid; }
    .nav {
        position: fixed; inset: 0; top: 0; z-index: -1;
        display: flex; flex-direction: column; justify-content: center; gap: 32px;
        padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
        background: var(--forest-deep);
        opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s;
    }
    .nav ul { flex-direction: column; gap: 6px; }
    .nav ul a { display: block; font-family: var(--f-display); font-size: var(--s3); padding-block: 6px; color: var(--cream); }
    .nav a[aria-current="page"] { color: var(--clay-light); }
    .nav a[aria-current="page"]::after { display: none; }
    .nav-cta-mobile { display: inline-flex; align-self: flex-start; }
    .menu-open .nav { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
    .menu-open .menu-toggle .i-open { display: none; }
    .menu-open .menu-toggle .i-close { display: inline; }
    .menu-open { overflow: hidden; }
    .menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .header-actions { margin-inline-start: auto; }

    .hero { min-height: auto; padding-block: calc(var(--header-h) + 48px) 64px; }
    .hero-inner, .intro-grid, .svc-layout, .page-hero.has-image .page-hero-inner,
    .story-grid, .green-grid, .svc-row, .svc-detail-grid, .contact-grid, .vision-inner { grid-template-columns: 1fr; }
    .hero-media { width: min(100%, 420px); }
    .svc-preview { display: none; }
    .svc-row:nth-child(even) .svc-row-media { order: 0; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
    .steps::before { display: none; }
    .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
    .mosaic-item.m1 { grid-column: 1 / -1; grid-row: auto; }
    .mosaic-item.m1 { height: 320px; }
    .svc-aside { position: static; }
    .story-media, .green-media { aspect-ratio: 4 / 3; }
    .green-media { order: -1; }
}

@media (max-width: 600px) {
    .lang span { display: none; }
    .lang { padding: 8px; }
    .btn-row .btn { flex: 1 1 100%; }
    .checks-2, .field-row, .values-list, .steps { grid-template-columns: 1fr; }
    .mosaic { grid-template-columns: 1fr; grid-auto-rows: 260px; }
    .others-list { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .lightbox figure { padding: 72px 16px 90px; }
    .lb-prev, .lb-next { top: auto; bottom: 20px; margin: 0; }
    .wa-float { width: 52px; height: 52px; bottom: 16px; inset-inline-end: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Admin-managed extras ---------- */
.gallery-count { position: absolute; top: 14px; inset-inline-end: 14px; background: rgba(16, 34, 28, .72); color: #fff; font-size: var(--s-1); padding: 2px 10px; border-radius: 100px; }
.gallery-cap em { display: block; font-style: normal; opacity: .75; font-size: .9em; }
.gallery-desc { color: var(--muted); font-size: var(--s-1); padding: 10px 4px 0; margin: 0; }
.lightbox figcaption small { opacity: .6; margin-inline-start: 10px; font-size: .8em; }
.empty-note { color: var(--muted); font-size: var(--s1); }
.info-text { color: var(--ink); margin: 0 0 10px; }
.footer-social { display: flex !important; flex-wrap: wrap; gap: 8px !important; margin-top: 18px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--cream); }
.footer-social a:hover { background: var(--cream); color: var(--forest); }

/* ---------- SEO: keyword line inside H1 + breadcrumbs ---------- */
.h1-kicker {
    display: block; margin-bottom: .7em;
    font-family: var(--f-body); font-weight: 500; font-size: var(--s0); line-height: 1.5;
    color: var(--clay-light); letter-spacing: 0;
}
html[lang="ar"] .h1-kicker { font-weight: 700; }
.crumbs { margin-bottom: 22px; font-size: var(--s-1); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; color: rgba(235, 231, 219, .6); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border: 1px solid currentColor; transform: rotate(45deg); opacity: .7; }
.crumbs a { color: rgba(235, 231, 219, .78); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--cream); }

/* reCAPTCHA v3: badge hidden; Google's required notice is shown under the form */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-note { margin: 14px 0 0; font-size: var(--s-1); color: var(--muted); line-height: 1.6; }
.recaptcha-note a { text-decoration: underline; text-underline-offset: 2px; }
/* WhatsApp hand-off on the contact form */
.form-actions-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.form-actions-row .or { color: var(--muted); font-size: var(--s-1); }
.btn-wa { background: #fff; border-color: #1FA855; color: #137A3C; }
.btn-wa:hover { background: #1FA855; border-color: #1FA855; color: #fff; }
.form-hint { margin: 12px 0 0; font-size: var(--s-1); color: var(--muted); }
.notice-ok .btn-wa { margin-top: 16px; }
.wa-opening { color: #137A3C; font-weight: 500; }
@media (max-width: 600px) { .form-actions-row .or { display: none; } .form-actions-row .btn { flex: 1 1 100%; } }
/* ==========================================================================
   Garden planner (home)
   ========================================================================== */
.planner { background: var(--bone); position: relative; overflow: hidden; }
.planner-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.planner-side h2 { font-size: var(--s4); color: var(--forest); margin-bottom: .35em; }
.planner-lead { color: var(--muted); font-size: var(--s1); max-width: 30em; }

/* The live diamond that follows the visitor's choices */
.planner-stage { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin: 40px auto 0; display: grid; place-items: center; }
.stage-diamond, .stage-frame { position: absolute; width: 70.7%; aspect-ratio: 1; border-radius: 34px; transform: rotate(45deg); }
.stage-frame { width: 84%; border: 1px solid rgba(33, 63, 54, .22); transition: transform 1.2s var(--ease); }
.stage-diamond { overflow: hidden; background: var(--forest); box-shadow: 0 40px 70px -35px rgba(16, 34, 28, .55); }
.stage-img { position: absolute; inset: -21%; transform: rotate(-45deg) scale(1.08); opacity: 0; transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.stage-img picture { height: 100%; max-width: none; }
.stage-img.is-on { opacity: 1; transform: rotate(-45deg) scale(1); }
.stage-mark { position: absolute; width: 22%; bottom: -2%; inset-inline-end: 4%; color: var(--terracotta); opacity: .9; }
.stage-mark svg { width: 100%; height: auto; }
.planner-stage.is-done .stage-frame { transform: rotate(135deg) scale(1.04); }

.planner-card {
    position: relative; background: #fff; border: 1px solid var(--line);
    border-radius: 6px; border-start-start-radius: 48px;
    padding: clamp(24px, 3.5vw, 44px);
    box-shadow: 0 30px 60px -40px rgba(16, 34, 28, .35);
}
.p-progress { height: 4px; background: var(--cream); border-radius: 4px; overflow: hidden; margin-bottom: 14px; }
.p-progress span { display: block; height: 100%; width: 25%; background: var(--terracotta); border-radius: 4px; transition: width .5s var(--ease); }
.p-count { font-size: var(--s-1); color: var(--muted); margin-bottom: 18px; }
.p-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.p-step legend { font-family: var(--f-display); font-size: var(--s2); color: var(--forest); padding: 0; margin-bottom: 20px; line-height: 1.35; }
.p-step legend small { display: block; font-family: var(--f-body); font-size: var(--s-1); color: var(--muted); font-weight: 400; margin-top: 4px; }
html:not(.js) .p-step { margin-bottom: 32px; }
.js .p-step:not(.is-active) { display: none; }
.js .p-step.is-active { animation: p-in .45s var(--ease); }
@keyframes p-in { from { opacity: 0; transform: translateY(10px); } }

.p-options { display: grid; gap: 12px; }
.p-options-2 { grid-template-columns: 1fr 1fr; }
.p-option { position: relative; cursor: pointer; }
.p-option input, .p-chip input { position: absolute; opacity: 0; pointer-events: none; }
.p-option-body {
    display: grid; gap: 4px; align-content: start; height: 100%; padding: 18px;
    border: 1px solid rgba(33, 63, 54, .18); border-radius: 14px; background: #fff;
    transition: border-color .2s, box-shadow .2s, transform .2s var(--ease), background-color .2s;
}
.p-option:hover .p-option-body { border-color: var(--forest); transform: translateY(-2px); }
.p-option input:checked + .p-option-body { border-color: var(--forest); background: #F2F6F3; box-shadow: inset 0 0 0 1px var(--forest); }
.p-option input:focus-visible + .p-option-body { outline: 2px solid var(--clay-light); outline-offset: 3px; }
.p-option strong { color: var(--forest); font-weight: 600; }
html[lang="ar"] .p-option strong { font-weight: 700; }
.p-option small { color: var(--muted); font-size: var(--s-1); line-height: 1.5; }
.p-ico { color: var(--terracotta); margin-bottom: 6px; }
.p-photo .p-option-body { padding: 8px 8px 12px; }
.p-thumb { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; margin-bottom: 6px; }
.p-thumb picture { height: 100%; }
.p-thumb img { transition: transform .8s var(--ease); }
.p-photo:hover .p-thumb img { transform: scale(1.05); }
.p-photo strong { padding-inline: 6px; }

.p-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.p-chip { cursor: pointer; }
.p-chip span {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
    border: 1px solid rgba(33, 63, 54, .22); border-radius: 100px; color: var(--ink);
    transition: background-color .2s, border-color .2s, color .2s;
}
.p-chip .ico { width: 0; opacity: 0; transition: width .2s var(--ease), opacity .2s; }
.p-chip:hover span { border-color: var(--forest); }
.p-chip input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; }
.p-chip input:checked + span .ico { width: 16px; opacity: 1; }
.p-chip input:focus-visible + span { outline: 2px solid var(--clay-light); outline-offset: 3px; }

.p-area { display: grid; gap: 10px; }
.p-area-value { font-family: var(--f-display); font-size: var(--s4); color: var(--forest); line-height: 1.1; }
.p-area.is-unsure .p-area-value, .p-area.is-unsure .p-range { opacity: .35; }
.p-range { width: 100%; accent-color: var(--terracotta); height: 28px; }
.p-range-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: var(--s-1); }
.p-unsure { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--muted); cursor: pointer; }
.p-unsure input { width: 18px; height: 18px; accent-color: var(--forest); }

.p-nav { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.p-nav [data-next], .p-nav [data-finish] { margin-inline-start: auto; }
.js .p-nav [data-finish] { display: none; }
.js .p-nav.is-last [data-next] { display: none; }
.js .p-nav.is-last [data-finish] { display: inline-flex; }
html:not(.js) .p-nav [data-next], html:not(.js) .p-nav [data-back] { display: none; }
.btn-ghost-dark { border-color: rgba(33, 63, 54, .25); color: var(--forest); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--forest); }
.p-hint { margin: 0; color: var(--terracotta); font-size: var(--s-1); }
.p-hint.shake { animation: p-shake .4s; }
@keyframes p-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.p-result { animation: p-in .5s var(--ease); outline: none; }
.p-result h3 { font-family: var(--f-display); font-size: var(--s3); color: var(--forest); margin-bottom: .3em; }
html[lang="ar"] .p-result h3 { font-weight: 800; }
.p-result h4 { font-size: var(--s0); color: var(--ink); margin: 22px 0 10px; font-weight: 600; }
.p-result-lead { color: var(--muted); }
.p-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.p-summary li { background: var(--cream); color: var(--forest); border-radius: 100px; padding: 6px 14px; font-size: var(--s-1); }
.p-tip { margin: 16px 0 0; padding: 14px 16px; border-inline-start: 3px solid var(--terracotta); background: #FBF6F2; border-radius: 4px; color: var(--ink); }
.p-services { display: grid; gap: 8px; }
.p-services a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--forest); font-weight: 500;
    transition: border-color .2s, background-color .2s;
}
.p-services a::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor; transform: rotate(45deg); flex: none; }
[dir="rtl"] .p-services a::after { transform: rotate(-45deg); }
.p-services a:hover { border-color: var(--forest); background: #F2F6F3; }
.p-services-also a { color: var(--muted); border-style: dashed; }
.p-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.p-restart { margin-top: 16px; background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: var(--s-1); }
.p-restart:hover { color: var(--forest); }

/* ==========================================================================
   Hero depth (pointer) — transforms are set from JS on fine pointers only
   ========================================================================== */

/* ==========================================================================
   Process: the line grows as you scroll, steps light up when reached
   ========================================================================== */
.steps::after {
    content: ""; position: absolute; inset-inline-start: 0; top: 26px; height: 2px; width: 100%;
    background: var(--clay-light); transform-origin: left center; transform: scaleX(var(--grow, 0));
}
[dir="rtl"] .steps::after { transform-origin: right center; }
.step-num::before { transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.js .step .step-num { transition: opacity .5s var(--ease); }
.js .step:not(.is-reached) .step-num { opacity: .45; }
.step.is-reached .step-num::before { background: var(--terracotta); border-color: var(--terracotta); }
html:not(.js) .steps::after { transform: scaleX(1); }

@media (max-width: 900px) {
    .planner-grid { grid-template-columns: 1fr; }
    .planner-stage { width: min(70%, 300px); margin-top: 24px; }
    .steps::after { display: none; }
}
@media (max-width: 600px) {
    .p-options-2 { gap: 10px; }
    .p-option-body { padding: 14px; }
    .p-option small { display: none; }
    .p-cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .js .step:not(.is-reached) .step-num { opacity: 1; }
    .steps::after { transform: scaleX(1); }
}
.hero-inner { perspective: 1200px; }
.hero.has-depth .hero-media { transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .35s ease-out; }
.hero.has-depth .diamond-frame { translate: var(--fx, 0px) var(--fy, 0px); transition: translate .5s ease-out, opacity 1.2s, transform 1.6s; }
.hero.has-depth .hero-bg picture { translate: var(--bx, 0px) var(--by, 0px); scale: 1.06; transition: translate .7s ease-out; }

@media (min-width: 901px) { .planner-card { min-height: 520px; display: flex; flex-direction: column; } .p-nav { margin-top: auto; padding-top: 28px; } }

/* Language switcher: laid out in the target language's own direction and font */
.lang { line-height: 1; min-height: 34px; padding: 0 14px; gap: 7px; }
.lang span { line-height: 1; display: block; }
.lang .ico { flex: none; }
.lang[lang="en"] { font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-weight: 500; letter-spacing: .01em; }
.lang[lang="ar"] { font-family: "IBM Plex Sans Arabic", "Zain", system-ui, sans-serif; font-weight: 500; }
.lang[lang="ar"] span { padding-top: 2px; } /* Arabic glyphs sit high in the line box */
@media (max-width: 600px) { .lang { padding: 0; width: 38px; justify-content: center; } }
