/* LMS Lebanese Mega Supplies. Shared styles for /(en) and /ar/ (RTL via logical properties). */
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-vf.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("/assets/fonts/plex-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("/assets/fonts/plex-arabic-600.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("/assets/fonts/plex-arabic-700.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --navy: #0F2F45;
  --navy-2: #143A55;
  --teal: #00939D;
  --teal-ink: #006F78;
  --teal-bright: #34C3CB;
  --stone: #EEEBE5;

  --bg: #F4F3F0;
  --text: #0D2231;
  --muted: #52636E;
  --hair: rgba(15, 47, 69, .09);
  --shell: rgba(15, 47, 69, .045);
  --core: #FFFFFF;
  --accent-text: var(--teal-ink);
  --tile-stone: #E9E6DF;

  --r-shell: 30px;
  --r-core: 24px;
  --wrap: 1280px;
  --spring: cubic-bezier(.32, .72, 0, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --font: "Archivo", system-ui, sans-serif;
  --display-stretch: 118%;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #081620;
    --text: #E8EFF2;
    --muted: #9FB2BC;
    --hair: rgba(255, 255, 255, .08);
    --shell: rgba(255, 255, 255, .035);
    --core: #0E2030;
    --accent-text: var(--teal-bright);
    --tile-stone: #13293A;
  }
}
[lang="ar"] { --font: "Plex Arabic", "Archivo", system-ui, sans-serif; --display-stretch: 100%; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
::selection { background: color-mix(in srgb, var(--teal) 30%, transparent); color: var(--text); }
html { scrollbar-color: color-mix(in srgb, var(--navy) 45%, transparent) transparent; accent-color: var(--teal); caret-color: var(--teal); }
a { text-underline-offset: 3px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
[lang="ar"] body { font-size: 18px; line-height: 1.75; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 850; font-stretch: var(--display-stretch); letter-spacing: -0.025em; line-height: 1.02; text-wrap: balance; }
[lang="ar"] h1, [lang="ar"] h2 { font-weight: 700; letter-spacing: 0; line-height: 1.25; }
h2 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.6rem); }
h3 { font-size: 1.2rem; font-weight: 700; font-stretch: 106%; letter-spacing: -0.005em; line-height: 1.25; }
[lang="ar"] h3 { font-size: 1.25rem; letter-spacing: 0; }
p { text-wrap: pretty; }
.icon { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.14em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
section { position: relative; }

.skip { position: absolute; inset-inline-start: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { inset-inline-start: 16px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- Double-bezel containers */
.bezel { border-radius: var(--r-core); }
.core { border-radius: var(--r-core); background: var(--core); overflow: hidden; box-shadow: 0 1px 2px rgba(10, 22, 32, .06), 0 18px 40px -26px rgba(10, 22, 32, .28); position: relative; }
@media (prefers-color-scheme: dark) { .core { box-shadow: inset 0 0 0 1px var(--hair), 0 24px 48px -28px rgba(0, 0, 0, .6); } }

/* ---------- Buttons: pills with a nested icon island */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff; --icon-bg: rgba(255, 255, 255, .14);
  display: inline-flex; align-items: center; gap: 14px;
  padding-block: 7px; padding-inline: 22px 7px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 650; font-size: 15.5px; letter-spacing: .005em; white-space: nowrap; text-decoration: none;
  transition: transform .5s var(--spring), background-color .4s var(--out), box-shadow .5s var(--out);
}
.btn__icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--icon-bg); font-size: 19px; transition: transform .5s var(--spring); }
.btn:hover .btn__icon { transform: translate(2px, -1px) scale(1.06); }
[dir="rtl"] .btn:hover .btn__icon { transform: translate(-2px, -1px) scale(1.06); }
.btn:active { transform: scale(.98); }
.btn--sm { font-size: 14.5px; gap: 10px; padding-block: 5px; }
.btn--sm .btn__icon { width: 32px; height: 32px; font-size: 17px; }
.btn--lg { font-size: 16.5px; padding-block: 8px; }
.btn--lg .btn__icon { width: 42px; height: 42px; }
.btn--primary:hover { --btn-bg: var(--navy-2); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); --icon-bg: rgba(15, 47, 69, .08); }
.btn--light:hover { --btn-bg: #F2F6F7; }
.btn--glass { --btn-bg: rgba(255, 255, 255, .12); --btn-fg: #fff; --icon-bg: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, .2); }
.btn--teal { --btn-bg: var(--teal); --btn-fg: #03181D; --icon-bg: rgba(3, 24, 29, .12); }
.btn--teal:hover { --btn-bg: #1FA9B2; }
@media (prefers-color-scheme: dark) {
  .btn--primary { --btn-bg: var(--teal); --btn-fg: #03181D; --icon-bg: rgba(3, 24, 29, .12); }
  .btn--primary:hover { --btn-bg: #1FA9B2; }
}


/* ---------- Floating island nav */
.nav { position: fixed; inset-inline: 0; top: 14px; z-index: 40; display: flex; justify-content: center; padding-inline: 12px; pointer-events: none; }
.nav__pill {
  pointer-events: auto; width: min(100%, 1180px); height: 64px;
  display: flex; align-items: center; gap: 28px; padding-inline: 22px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 0 0 1px var(--hair), 0 12px 32px -18px rgba(15, 47, 69, .35);
}
.nav__logo img { height: 34px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .logo-light { display: none; } .logo-dark { display: block; } }
.nav__links { display: flex; gap: 26px; margin-inline-start: auto; }
.nav__links a { text-decoration: none; font-weight: 550; font-size: 15px; color: var(--muted); transition: color .3s var(--out); }
.nav__links a:hover { color: var(--text); }
.nav__end { display: flex; align-items: center; gap: 14px; }
.nav__lang { text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair); transition: background-color .3s var(--out); }
.nav__lang:hover { background: var(--shell); }
.nav__lang[lang="ar"], .menu__lang[lang="ar"] { font-family: "Plex Arabic", sans-serif; }
.nav__lang[lang="en"], .menu__lang[lang="en"] { font-family: "Archivo", sans-serif; }
.nav__burger { display: none; position: relative; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--navy); cursor: pointer; }
.nav__burger span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .5s var(--spring), top .5s var(--spring); }
.nav__burger span:first-child { top: 20px; }
.nav__burger span:last-child { top: 27px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 23.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 23.5px; transform: rotate(-45deg); }
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__lang { padding: 8px 12px; font-size: 14px; }
  .nav__end { margin-inline-start: auto; }
  .nav__burger { display: block; }
  .nav__pill { height: 60px; padding-inline: 18px 6px; }
  .nav__logo img { height: 30px; }
}

.menu { position: fixed; inset: 0; z-index: 30; display: grid; align-content: center; padding: 100px 28px 40px;
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  opacity: 0; transition: opacity .45s var(--out); }
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__links { display: grid; gap: 6px; }
.menu__links a { font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; font-stretch: var(--display-stretch); text-decoration: none; line-height: 1.2;
  opacity: 0; transform: translateY(40px); transition: opacity .6s var(--out), transform .7s var(--spring); transition-delay: calc(var(--i) * 60ms + 80ms); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu__links .menu__lang { font-size: 1.3rem; margin-top: 18px; color: var(--accent-text); }
.menu-open body { overflow: hidden; }

/* ---------- Hero */
.hero { padding-top: 92px; }
.hero__frame { min-height: min(calc(100dvh - 120px), 880px); display: grid; align-items: end; background: var(--navy); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 62%; transform: scale(1.04); animation: heroIn 2.4s var(--out) forwards; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(to right, rgba(8, 26, 40, .9) 0%, rgba(8, 26, 40, .64) 40%, rgba(8, 26, 40, .08) 74%),
  linear-gradient(to top, rgba(8, 26, 40, .55), transparent 45%); }
[dir="rtl"] .hero__shade { background:
  linear-gradient(to left, rgba(8, 26, 40, .9) 0%, rgba(8, 26, 40, .64) 40%, rgba(8, 26, 40, .08) 74%),
  linear-gradient(to top, rgba(8, 26, 40, .55), transparent 45%); }
.hero__content { position: relative; z-index: 1; padding: clamp(28px, 5vw, 72px); max-width: 980px; color: #fff; display: grid; gap: 22px; justify-items: start; }
.hero h1 { font-size: clamp(2.4rem, 1.1rem + 3.3vw, 4.1rem); font-weight: 900; font-stretch: 116%; letter-spacing: -0.035em; line-height: .96; }
[lang="ar"] .hero h1 { font-size: clamp(2.8rem, 1.4rem + 4.4vw, 5rem); font-weight: 700; font-stretch: 100%; letter-spacing: 0; line-height: 1.2; }
.hero h1 em { font-style: normal; color: var(--teal-bright); }
.hero__lead { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); color: rgba(235, 244, 247, .86); max-width: 44ch; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 6px; }
.hero__more { display: inline-flex; align-items: center; gap: 8px; color: rgba(235, 244, 247, .9); font-weight: 600; font-size: 16px; text-decoration: none; padding: 10px 2px; border-bottom: 1px solid rgba(255, 255, 255, .3); transition: border-color .3s var(--out), color .3s var(--out); }
.hero__more:hover { color: #fff; border-color: #fff; }
.hero__stat { position: absolute; z-index: 1; inset-inline-end: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); width: 260px; padding: 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, .95); color: var(--navy); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); display: grid; gap: 6px; animation: floatIn 1.2s .5s var(--out) both; }
.hero__stat strong { font-size: 3rem; font-weight: 900; font-stretch: 125%; line-height: 1; color: var(--teal-ink); letter-spacing: -0.03em; }
.hero__stat span { font-size: 14.5px; line-height: 1.45; color: #3D5260; }
.hero__stat small { font-size: 12px; color: #5A6B76; margin-top: 2px; }
@keyframes heroIn { to { transform: scale(1); } }
@keyframes floatIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .hero { padding-top: 86px; }
  .hero__frame { min-height: auto; align-items: stretch; }
  .hero__content { order: 1; background: var(--navy); padding: 30px 22px 26px; gap: 18px; }
  .hero__img { order: 2; position: relative; height: 210px; animation: none; transform: none; }
  .hero__shade { display: none; }
  .hero__stat { order: 3; position: static; width: auto; margin: 0; border-radius: 0; box-shadow: none; padding: 18px 22px 22px; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; animation: none; }
  .hero__stat strong { font-size: 2.2rem; grid-row: span 2; }
  .hero__stat span { font-size: 14px; }
}
@media (max-width: 480px) {
  .hero__ctas .btn { width: 100%; justify-content: space-between; }
}


/* ---------- Problem statement + facts */
.problem { padding: clamp(80px, 10vw, 136px) 0 clamp(64px, 8vw, 104px); }
.problem__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.problem h2 { font-size: clamp(2.2rem, 1.2rem + 3.2vw, 4.2rem); }
.problem__copy p { margin-top: 24px; font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.facts { display: grid; gap: 14px; }
.fact { padding: 26px 28px; display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 20px; }
.fact strong { font-size: clamp(1.9rem, 1.4rem + 1.3vw, 2.6rem); font-weight: 900; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1; color: var(--accent-text); }
[lang="ar"] .fact strong { font-stretch: 100%; font-weight: 700; }
.fact > span { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.fact--teal { background: var(--teal); }
.fact--teal strong { color: #04181D; }
.fact--teal > span { color: #06282E; }
@media (max-width: 900px) { .problem__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .fact { grid-template-columns: 1fr; gap: 8px; padding: 22px 24px; } }

/* ---------- Service */
.service { padding: clamp(32px, 5vw, 64px) 0 clamp(80px, 10vw, 136px); }
.service__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.service__media { position: sticky; top: 110px; }
.service__media .core { aspect-ratio: 4 / 4.6; }
.service__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 28%; }
.service h2 { max-width: 15ch; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; }
.steps li { display: grid; grid-template-columns: 60px 1fr; gap: 22px; padding: 30px 0; border-top: 1px solid var(--hair); }
.steps__icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: var(--accent-text); background: color-mix(in srgb, var(--teal) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--teal) 25%, transparent); }
.steps p { margin-top: 8px; color: var(--muted); max-width: 44ch; }
@media (max-width: 900px) {
  .service__grid { grid-template-columns: 1fr; }
  .service__media { position: static; }
  .service__media .core { aspect-ratio: 4 / 3; }
}

/* ---------- Range bento */
.range { padding-bottom: clamp(80px, 10vw, 136px); }
.bento { margin-top: 48px; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(200px, auto); gap: 14px; }
.b-main { grid-column: span 8; grid-row: span 2; }
.b-scraper { grid-column: span 4; grid-row: span 2; }
.b-colours { grid-column: span 6; grid-row: span 2; }
.b-sizes { grid-column: span 3; grid-row: span 2; }
.b-clean { grid-column: span 3; grid-row: span 2; }
.bento .bezel { display: grid; }
.tile { padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: 100%; }
.tile__body { position: relative; z-index: 1; display: grid; gap: 10px; }
.tile p { opacity: .84; max-width: 44ch; }
.tile__icon { font-size: 40px; margin-bottom: auto; }
.tile--img, .tile--colours { color: #fff; min-height: 420px; background: var(--navy); }
.tile--img img, .tile--colours img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--out); }
.tile--img::after, .tile--colours::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 24, 36, .05) 30%, rgba(8, 24, 36, .9)); }
.bezel:hover .tile--img img, .bezel:hover .tile--colours img { transform: scale(1.035); }
.tile--colours img { object-position: 50% 70%; }
.tile--navy { background: var(--navy); color: #fff; }
.tile--navy .tile__icon { color: var(--teal-bright); }
.tile--stone { background: var(--tile-stone); }
.tile--stone .tile__icon { color: var(--accent-text); }
.tile--teal { background: var(--teal); color: #04181D; }
.swatches { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.swatches li { display: inline-flex; align-items: center; gap: 8px; padding-block: 6px; padding-inline: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font-size: 14px; font-weight: 550; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
@media (max-width: 1024px) {
  .b-main, .b-colours, .b-clean { grid-column: span 12; }
  .b-scraper, .b-sizes { grid-column: span 6; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .b-main, .b-scraper, .b-colours, .b-sizes, .b-clean { grid-column: auto; grid-row: auto; }
  .tile { min-height: 260px; }
  .tile--img, .tile--colours { min-height: 400px; }
}

/* ---------- Sectors */
.sectors { padding-bottom: clamp(80px, 10vw, 136px); }
.sectors h2 { max-width: 16ch; }
.sectors__lead { margin-top: 18px; color: var(--muted); font-size: 1.15rem; max-width: 52ch; }
.sectors__pair { margin-top: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; align-items: end; }
.sectors__pair figure { margin: 0; }
.sectors__pair img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sectors__pair figure:last-child img { aspect-ratio: 4 / 3.8; }
.sectors__pair figcaption { margin: 16px 8px 0; font-weight: 650; font-stretch: 106%; }
@media (max-width: 800px) { .sectors__pair { grid-template-columns: 1fr; } .sectors__pair figure:last-child img { aspect-ratio: 3 / 2; } }

/* ---------- FAQ */
.faq { padding-bottom: clamp(80px, 10vw, 136px); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq h2 { position: sticky; top: 120px; max-width: 12ch; }
.faq__list { display: grid; gap: 10px; }
.faq details { border-radius: 22px; background: var(--core); box-shadow: inset 0 0 0 1px var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 26px; font-weight: 650; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 38px; height: 38px; padding: 10px; border-radius: 50%; background: var(--shell); box-shadow: inset 0 0 0 1px var(--hair); font-size: 18px; transition: transform .5s var(--spring), background-color .3s var(--out); }
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--teal); color: #fff; box-shadow: none; }
.faq details p { padding: 0 26px 26px; color: var(--muted); max-width: 60ch; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq h2 { position: static; max-width: none; } }

/* ---------- Contact */
.contact { padding-bottom: clamp(64px, 8vw, 110px); }
.contact__card { background: var(--navy); color: #fff; padding: clamp(40px, 7vw, 96px); isolation: isolate; }
.contact__card::before { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; inset-inline-end: -180px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 147, 157, .55), transparent 65%); }
.contact h2 { font-size: clamp(2.2rem, 1.2rem + 3vw, 4rem); font-weight: 900; font-stretch: 122%; max-width: 18ch; }
[lang="ar"] .contact h2 { font-weight: 700; font-stretch: 100%; }
.contact h2 em { font-style: normal; color: var(--teal-bright); }
.contact__card p { margin-top: 22px; font-size: 1.15rem; max-width: 48ch; color: rgba(225, 238, 242, .84); }
.contact__ctas { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.contact__link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; font-size: 17px; color: #fff; padding-bottom: 3px; border-bottom: 1px solid rgba(255, 255, 255, .3); transition: border-color .3s var(--out); }
.contact__link:hover { border-color: #fff; }
.contact__link .icon { font-size: 22px; color: var(--teal-bright); }

/* ---------- Footer */
.footer { padding: 8px 0 48px; }
.footer__inner { display: grid; grid-template-columns: 1fr auto auto auto; gap: 48px; align-items: center; padding: 36px clamp(28px, 4vw, 48px); border-radius: var(--r-shell); background: var(--navy); color: #C5D3DB; }
.footer img { width: 210px; height: auto; }
.footer address { font-style: normal; line-height: 1.7; font-size: 15px; }
.footer a { text-decoration: none; }
.footer__copy { font-family: "Plex Mono", monospace; font-size: 13px; letter-spacing: .04em; color: #A9C2D0; }
.footer__nav { display: grid; gap: 6px; font-size: 15px; }
.footer__nav a, .footer address a { transition: color .3s var(--out); }
.footer__nav a:hover, .footer address a:hover { color: #fff; }
@media (max-width: 960px) { .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; } .footer__inner > img { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__inner { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal (IntersectionObserver in main.js) */
@media (prefers-reduced-motion: no-preference) {
  .anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--out) var(--d, 0ms), transform 1s var(--spring) var(--d, 0ms); }
  .anim .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__img, .hero__stat { animation: none; transform: none; }
  .menu, .menu__links a, .btn, .btn__icon { transition: none; }
}

/* ---------- Clients (name wall; swap spans for logo <img> once logo permission is in hand) */
.clients { padding: clamp(64px, 8vw, 104px) 0 0; }
.clients__head { display: grid; gap: 16px; max-width: 760px; }
.clients h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); }
.clients__head p { color: var(--muted); font-size: 1.1rem; max-width: 52ch; }
.clients__grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.clients__grid li { display: grid; place-items: center; min-width: 0; min-height: 88px; padding: 16px 18px; border-radius: 22px; background: var(--core); box-shadow: inset 0 0 0 1px var(--hair); text-align: center; transition: transform .5s var(--spring), box-shadow .4s var(--out); }
.clients__grid li:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--teal) 40%, transparent), 0 18px 36px -24px rgba(15, 47, 69, .35); }
.clients__grid span { font-weight: 800; font-stretch: 112%; font-size: 1.15rem; line-height: 1.2; color: color-mix(in srgb, var(--text) 78%, transparent); letter-spacing: -0.01em; }
[lang="ar"] .clients__grid span { font-weight: 700; font-stretch: 100%; letter-spacing: 0; }
@media (max-width: 1024px) { .clients__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.client-logo { display: block; width: min(82%, calc(var(--h, 40px) * var(--ar))); aspect-ratio: var(--ar); background: color-mix(in srgb, var(--text) 82%, transparent);
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; transition: background-color .4s var(--out); }
.clients__grid li:hover .client-logo { background: var(--navy); }
@media (prefers-color-scheme: dark) { .clients__grid li:hover .client-logo { background: var(--teal-bright); } }
.clients__more { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }
@media (max-width: 520px) { .clients__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .clients__grid li { min-height: 76px; } .clients__grid span { font-size: 1rem; } .client-logo { --scale: .8; } }

/* ---------- Mobile WhatsApp bar (always reachable on phones) */
.wa-bar { display: none; }
@media (max-width: 860px) {
  .wa-bar { position: fixed; z-index: 35; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 20px; border-radius: 999px; background: var(--teal); color: #03181D; font-weight: 700; font-size: 16px; text-decoration: none;
    box-shadow: 0 14px 30px -12px rgba(4, 24, 29, .45); transition: transform .4s var(--spring); }
  .wa-bar .icon { font-size: 22px; }
  .wa-bar:active { transform: scale(.98); }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .menu-open .wa-bar { opacity: 0; pointer-events: none; }
}

/* ---------- 404 */
.nf__main { min-height: 100dvh; display: grid; align-content: center; justify-items: start; gap: 22px; padding-block: 48px; }
.nf__mark { width: 96px; height: auto; }
.nf h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); }
.nf p { color: var(--muted); font-size: 1.15rem; }
.nf__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.nf .nf__alt { color: var(--text); border-color: var(--hair); }
.nf .btn__icon .icon { transform: rotate(90deg); }
[dir="rtl"] .nf .btn__icon .icon { transform: rotate(-90deg); }
