/*
Theme Name: BWRC – The Best World Refrigeration & Cooling
Theme URI: https://www.bwrc-sa.com
Author: BWRC
Description: Elegant bilingual (English / Arabic) corporate theme for BWRC – The Best World Company for Refrigerator and Air Conditioning, Dammam. All pages, content and images are included; no plugins required.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: bwrc
*/

:root {
    --ink: #0a1b33;
    --navy: #0e2747;
    --navy-2: #143560;
    --brand: #3e95be;
    --brand-2: #2b7ca5;
    --frost: #cfe6f2;
    --ice: #f2f7fa;
    --line: #e2e8ef;
    --text: #1e2836;
    --muted: #5f6c7d;
    --white: #fff;
    --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --sans: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --ar: "Almarai", "Segoe UI", Tahoma, Arial, sans-serif;
    --radius: 4px;
    --radius-lg: 10px;
    --shadow: 0 30px 60px -30px rgba(10, 27, 51, .35);
    --shadow-sm: 0 12px 30px -18px rgba(10, 27, 51, .3);
    --header-h: 88px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16.5px; line-height: 1.75; font-weight: 400; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); line-height: 1.15; font-weight: 600; }
p { margin: 0 0 1.1em; }
figure { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
::selection { background: var(--brand); color: #fff; }
body.nav-open { overflow: hidden; }

.container { width: min(1240px, 100% - 56px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 56px); }
.center { text-align: center; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 10px; top: 10px; z-index: 1000; padding: 10px 18px; background: var(--ink); color: #fff; transform: translateY(-300%); }
.skip-link:focus { transform: none; }

/* ---------------- Type ---------------- */
.kicker { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--brand-2); }
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.kicker--light { color: var(--frost); }
.title { font-family: var(--serif); font-size: clamp(34px, 4.2vw, 54px); font-weight: 600; letter-spacing: -.005em; }
.title--light { color: #fff; }
.subtitle { font-family: var(--serif); font-size: 32px; margin: 40px 0 20px; }
.lead { font-size: 19px; line-height: 1.7; color: #2a3646; }
.statement { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.35; color: #fff; margin: 0; font-weight: 500; }
.prose > * + * { margin-top: 1em; }

/* ---------------- Buttons & links ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: var(--radius); font-size: 14.5px; font-weight: 600; letter-spacing: .02em; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--brand-2); box-shadow: 0 14px 30px -14px rgba(43, 124, 165, .8); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--frost); }
.btn--line { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; }
.link-more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; color: var(--ink); border-bottom: 1px solid var(--brand); padding-bottom: 4px; transition: gap .3s var(--ease), color .3s; }
.link-more:hover { gap: 16px; color: var(--brand-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------------- Top bar & header ---------------- */
.topbar { background: var(--ink); color: #b9c7d8; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.topbar__note { display: inline-flex; align-items: center; gap: 9px; margin: 0; color: var(--frost); }
.topbar__list { display: flex; align-items: center; gap: 26px; }
.topbar__list a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.topbar__list a:hover { color: #fff; }
.lang-switch { color: #fff; font-weight: 700; }
.lang-switch[lang="ar"] { font-family: var(--ar); }
.lang-switch[lang="en"] { font-family: var(--sans); }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: background .4s, box-shadow .4s, border-color .4s; }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(10, 27, 51, .4); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 16px; flex: none; }
.brand img { height: 34px; width: auto; }
.brand__light { display: none; }
.brand__logo { display: block; flex: none; }
.brand__names { display: flex; flex-direction: column; gap: 3px; padding-inline-start: 16px; border-inline-start: 1px solid var(--line); line-height: 1.25; }
.brand__ar { font-family: var(--ar) !important; font-size: 14px; font-weight: 700; color: var(--ink); text-align: start; }
.brand__en { font-family: var(--sans) !important; font-size: 11.5px; font-weight: 500; letter-spacing: .04em; color: var(--muted); text-align: start; }
.brand--footer { margin-bottom: 26px; }
.brand--footer .brand__names { border-color: rgba(255, 255, 255, .2); }
.brand--footer .brand__ar { color: #fff; }
.brand--footer .brand__en { color: #9fb1c6; }

/* Transparent header over the home hero */
.site-header--over:not(.is-scrolled) { background: transparent; border-color: rgba(255, 255, 255, .14); }
.site-header--over { margin-bottom: calc(var(--header-h) * -1); }
.site-header--over:not(.is-scrolled) .brand__dark { display: none; }
.site-header--over:not(.is-scrolled) .brand__light { display: block; }
.site-header--over:not(.is-scrolled) .brand__names { border-color: rgba(255, 255, 255, .3); }
.site-header--over:not(.is-scrolled) .brand__ar { color: #fff; }
.site-header--over:not(.is-scrolled) .brand__en { color: rgba(255, 255, 255, .75); }
.site-header--over:not(.is-scrolled) .menu__item > a { color: #fff; }
.site-header--over:not(.is-scrolled) .nav-cta { background: #fff; color: var(--ink); }
.site-header--over:not(.is-scrolled) .nav-toggle__bars span { background: #fff; }

.primary-nav { display: flex; align-items: center; gap: 34px; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu__item { position: relative; display: flex; align-items: center; }
.menu__item > a { position: relative; display: block; padding: 32px 0; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: color .3s; }
.menu__item > a::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 24px; width: 0; height: 1px; background: var(--brand); transition: width .35s var(--ease); }
.menu__item:hover > a::after, .menu__item.is-current > a::after { width: 100%; }
.menu__item.is-current > a { color: var(--brand-2); }
.site-header--over:not(.is-scrolled) .menu__item.is-current > a { color: #fff; }
.has-sub > a { padding-inline-end: 16px; }
.has-sub > a::before { content: ""; position: absolute; inset-inline-end: 1px; top: 50%; width: 6px; height: 6px; border-inline-end: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-75%) rotate(45deg); }
.sub-toggle { display: none; }
.submenu { position: absolute; top: 100%; inset-inline-start: -24px; min-width: 260px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 11px 14px; border-radius: var(--radius); font-size: 14.5px; color: var(--ink); transition: background .2s, color .2s; }
.submenu a:hover { background: var(--ice); color: var(--brand-2); }
.nav-cta { min-height: 46px; padding: 0 22px; font-size: 13.5px; }

.nav-toggle { display: none; padding: 10px; border: 0; background: none; }
.nav-toggle__bars { position: relative; display: block; width: 26px; height: 16px; }
.nav-toggle__bars span { position: absolute; inset-inline-start: 0; width: 100%; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 7px; }
.nav-toggle__bars span:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Home hero ---------------- */
.hero { position: relative; color: #fff; background: var(--ink); padding-top: calc(var(--header-h) + clamp(60px, 9vw, 130px)); overflow: hidden; }
.hero__media, .page-hero__media, .cta__media { position: absolute; inset: 0; }
.hero__media img, .page-hero__media img, .cta__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 27, 51, .96) 0%, rgba(10, 27, 51, .82) 42%, rgba(14, 39, 71, .45) 100%), linear-gradient(0deg, rgba(10, 27, 51, .9) 0%, transparent 40%); }
[dir="rtl"] .hero__media::after { background: linear-gradient(-100deg, rgba(10, 27, 51, .96) 0%, rgba(10, 27, 51, .82) 42%, rgba(14, 39, 71, .45) 100%), linear-gradient(0deg, rgba(10, 27, 51, .9) 0%, transparent 40%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: end; }
.hero__title { font-family: var(--serif); font-size: clamp(48px, 7vw, 96px); line-height: 1.02; color: #fff; font-weight: 600; letter-spacing: -.01em; max-width: 12ch; margin-bottom: 28px; }
.hero__title em { font-style: italic; font-weight: 500; color: var(--frost); }
.hero__lead { max-width: 560px; font-size: clamp(17px, 1.5vw, 20px); color: #c9d6e4; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badge { position: relative; display: flex; gap: 16px; padding: 26px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hero__badge-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--brand); color: #fff; font-size: 22px; }
.hero__badge p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #c9d6e4; }
.hero__badge strong { display: block; margin-bottom: 4px; font-size: 16px; color: #fff; }

.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(60px, 8vw, 110px); border-top: 1px solid rgba(255, 255, 255, .16); }
.stats li { padding: 30px 28px 38px; border-inline-start: 1px solid rgba(255, 255, 255, .16); }
.stats li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stats strong { display: block; font-family: var(--serif); font-size: clamp(34px, 3.4vw, 48px); font-weight: 600; line-height: 1.1; color: #fff; }
.stats span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: #a9b9cc; }
.stats--light { margin-top: 70px; border-color: var(--line); }
.stats--light li { border-color: var(--line); }
.stats--light strong { color: var(--ink); }
.stats--light span { color: var(--muted); }

/* ---------------- Sections ---------------- */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--ice { background: var(--ice); }
.section--navy { position: relative; background: var(--ink); color: #c9d6e4; overflow: hidden; }
.section--navy::before { content: ""; position: absolute; inset-block-start: -40%; inset-inline-end: -10%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(62, 149, 190, .25), transparent 65%); }
.section--navy > .container { position: relative; }
.head { margin-bottom: clamp(44px, 6vw, 72px); }
.head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.head--center .kicker { justify-content: center; }
.head--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px 80px; align-items: end; }
.head--split .title { margin: 0; }
.head__text { margin: 0; color: var(--muted); font-size: 17.5px; }
.head--center .head__text { margin-top: 10px; }
.head__text--light { color: #b9c7d8; }

/* Split with photo frames */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 120px); align-items: center; }
.split__media { position: relative; padding-bottom: 70px; padding-inline-end: 70px; }
.frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.frame--small { position: absolute; inset-inline-end: 0; bottom: 0; width: 52%; border: 8px solid #fff; }
.split__media::before { content: ""; position: absolute; inset-inline-start: -26px; top: -26px; width: 130px; height: 130px; border-inline-start: 1px solid var(--brand); border-top: 1px solid var(--brand); }
.ticks { display: grid; gap: 12px; margin: 28px 0 34px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); }
.ticks .ico { margin-top: 5px; color: var(--brand); }

/* Sector cards */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sector a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.sector a:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.sector__media { aspect-ratio: 16 / 10; overflow: hidden; }
.sector__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sector a:hover .sector__media img { transform: scale(1.06); }
.sector__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 40px 32px 34px; }
.sector__num { position: absolute; top: 18px; inset-inline-end: 26px; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--frost); }
.sector__ico { position: absolute; top: -28px; inset-inline-start: 32px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 24px; box-shadow: 0 0 0 6px #fff; }
.sector h3 { font-family: var(--serif); font-size: 30px; margin-bottom: 10px; }
.sector p { color: var(--muted); font-size: 15.5px; }
.sector__list { display: grid; gap: 6px; margin: 4px 0 26px; font-size: 14.5px; color: var(--text); }
.sector__list li { position: relative; padding-inline-start: 18px; }
.sector__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .78em; width: 8px; height: 1px; background: var(--brand); }
.sector .link-more { margin-top: auto; align-self: flex-start; }

/* Chairman band */
.chair { position: relative; background: var(--navy); color: #c9d6e4; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.chair::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 10%, rgba(62, 149, 190, .28), transparent 45%), linear-gradient(160deg, var(--navy), var(--ink)); }
.chair__inner { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.chair__photo { position: relative; }
.chair__photo::after { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid rgba(207, 230, 242, .45); border-radius: var(--radius-lg); z-index: 0; }
[dir="rtl"] .chair__photo::after { inset: 22px 22px -22px -22px; }
.chair__photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius-lg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.chair__mark { display: block; width: 54px; height: 54px; color: var(--brand); font-size: 54px; margin-bottom: 10px; }
.chair blockquote { margin: 0; }
.chair__headline { font-family: var(--serif); font-size: clamp(32px, 3.8vw, 50px); line-height: 1.15; color: #fff; font-weight: 600; margin-bottom: 26px; }
.chair__text { font-size: 18px; line-height: 1.8; color: #c9d6e4; }
.chair__sign { display: flex; flex-direction: column; gap: 2px; margin: 34px 0 34px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); max-width: 380px; }
.chair__sign strong { font-family: var(--serif); font-size: 26px; color: #fff; font-weight: 600; }
.chair__sign span { color: var(--frost); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }

/* Why choose */
.why { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.why__item { padding: 40px 28px; border-inline-start: 1px solid var(--line); background: #fff; transition: background .4s; }
.why__item:first-child { border-inline-start: 0; }
.why__item:hover { background: var(--ice); }
.why__ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--frost); color: var(--brand-2); font-size: 24px; margin-bottom: 22px; }
.why__item p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text); }

/* Goals */
.goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.goal { position: relative; padding: 44px 36px 10px 0; padding-inline: 0 36px; }
.goal + .goal { padding-inline: 36px; border-inline-start: 1px solid rgba(255, 255, 255, .16); }
.goal__num { display: block; font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--brand); margin-bottom: 18px; }
.goal__ico { position: absolute; top: 44px; inset-inline-end: 36px; color: var(--frost); font-size: 26px; opacity: .8; }
.goal h3 { font-family: var(--serif); font-size: 26px; color: #fff; margin-bottom: 14px; }
.goal p { font-size: 15.5px; color: #b9c7d8; margin: 0; }
.goals--light { border-color: var(--line); }
.goals--light .goal + .goal { border-color: var(--line); }
.goals--light .goal h3 { color: var(--ink); }
.goals--light .goal p { color: var(--muted); }
.goals--light .goal__ico { color: var(--brand-2); }

/* Client logos */
.logos { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; margin-bottom: 44px; }
.logos__item { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.logos__item img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s; }
.logos__item:hover { border-color: var(--frost); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.logos__item:hover img { filter: none; opacity: 1; }

/* CTA */
.cta { position: relative; padding: clamp(80px, 10vw, 130px) 0; color: #fff; background: var(--ink); overflow: hidden; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 27, 51, .95), rgba(10, 27, 51, .78)); }
.cta__inner { position: relative; display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; }
.cta h2 { font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); color: #fff; }
.cta p { max-width: 560px; color: #c9d6e4; font-size: 18px; margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------- Inner page banner ---------------- */
.page-hero { position: relative; padding: clamp(110px, 13vw, 170px) 0 clamp(70px, 8vw, 110px); color: #fff; background: var(--ink); overflow: hidden; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 27, 51, .95) 20%, rgba(10, 27, 51, .7)); }
.page-hero__inner { position: relative; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(44px, 6vw, 78px); color: #fff; margin: 0; max-width: 18ch; }
.page-hero__lead { max-width: 640px; margin: 22px 0 0; font-size: 18.5px; color: #c9d6e4; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; font-size: 13px; color: #9fb1c6; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }

/* Chairman letter page */
.letter__inner { display: grid; grid-template-columns: 360px 1fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.letter__aside { position: sticky; top: calc(var(--header-h) + 30px); }
.letter__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.letter__name { margin: 24px 0 2px; font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--ink); }
.letter__role { margin: 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); }
.letter__mark { display: block; width: 60px; height: 60px; color: var(--brand); font-size: 60px; }
.letter__headline { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 58px); line-height: 1.1; margin: 18px 0 38px; }
.letter__body p { font-size: 18px; line-height: 1.9; color: #2a3646; }
.letter__body .lead { font-size: 21px; color: var(--ink); }
.letter__sign { display: flex; flex-direction: column; gap: 4px; margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line); }
.letter__signature { font-family: var(--serif); font-style: italic; font-size: 38px; color: var(--ink); line-height: 1.1; }
.letter__sign span:last-child { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Services overview */
.scope { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.scope__col { padding: 40px 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.scope__col h3 { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 28px; }
.scope__ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--ice); color: var(--brand-2); font-size: 20px; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: p; }
.process__step { position: relative; padding: 0 30px 0 0; padding-inline: 0 30px; }
.process__step::before { content: ""; position: absolute; top: 26px; inset-inline-start: 64px; inset-inline-end: 0; height: 1px; background: var(--line); }
.process__step:last-child::before { display: none; }
.process__num { position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; border: 1px solid var(--brand); border-radius: 50%; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--brand-2); background: #fff; }
.process__step h3 { font-family: var(--serif); font-size: 24px; }
.process__step p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* Sector detail */
.detail { display: grid; grid-template-columns: 1fr 380px; gap: clamp(40px, 7vw, 100px); align-items: start; }
.items { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.items li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.items li span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--ice); color: var(--brand-2); font-size: 14px; }
.detail__aside { position: sticky; top: calc(var(--header-h) + 30px); }
.card-dark { padding: 36px 32px; background: var(--ink); color: #c9d6e4; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.card-dark h3 { font-family: var(--serif); font-size: 30px; color: #fff; margin-bottom: 22px; }
.card-dark__line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; }
.card-dark__line .ico { color: var(--brand); }
.card-dark .btn { margin-top: 26px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(60px, 8vw, 100px); }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 40px 20px 16px; font-size: 13.5px; color: #fff; background: linear-gradient(0deg, rgba(10, 27, 51, .85), transparent); }
.others { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.others a { display: flex; align-items: center; gap: 20px; padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .3s, box-shadow .3s; }
.others a:hover { border-color: var(--frost); box-shadow: var(--shadow-sm); }
.others__ico { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; font-size: 22px; }
.others strong { display: block; font-family: var(--serif); font-size: 24px; color: var(--ink); }
.others small { display: block; color: var(--muted); font-size: 14px; }
.others a > .ico { margin-inline-start: auto; color: var(--brand-2); }

/* Certificates */
.certs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.cert { display: block; }
.cert__img { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.cert__img img { max-height: 100%; width: auto; object-fit: contain; }
.cert__zoom { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 27, 51, .55); color: #fff; font-size: 30px; opacity: 0; transition: opacity .3s; }
.cert:hover .cert__img { transform: translateY(-4px); box-shadow: var(--shadow); }
.cert:hover .cert__zoom, .cert:focus-visible .cert__zoom { opacity: 1; }
.cert__title { display: block; margin-top: 14px; font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--ink); text-align: center; }
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 30px; background: rgba(6, 15, 29, .92); }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(1000px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 120px); width: auto; border-radius: var(--radius); background: #fff; }
.lightbox figcaption { margin-top: 14px; color: #fff; font-size: 15px; }
.lightbox__close { position: absolute; top: 18px; inset-inline-end: 22px; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: none; color: #fff; font-size: 28px; line-height: 1; }

/* Contact & form */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.contact__list { display: grid; gap: 0; margin: 30px 0 10px; }
.contact__list li { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact__ico { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--ice); color: var(--brand-2); font-size: 20px; }
.contact__list small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact__list a, .contact__list span { font-size: 17px; font-weight: 500; color: var(--ink); }
.contact__list a:hover { color: var(--brand-2); }
.rfq { padding: clamp(30px, 4vw, 50px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.rfq__title { font-family: var(--serif); font-size: clamp(30px, 3vw, 40px); margin-bottom: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; font: inherit; font-size: 15.5px; color: var(--text); background: var(--ice); border: 1px solid transparent; border-radius: var(--radius); transition: border-color .25s, background .25s, box-shadow .25s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(62, 149, 190, .15); }
.field .is-invalid, .is-invalid { border-color: #c0392b !important; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.notice { margin: 0 0 22px; padding: 14px 18px; border-radius: var(--radius); font-size: 15px; }
.notice--ok { background: #e7f6ee; color: #155d3a; }
.notice--err { background: #fcebea; color: #8a2020; }
.map iframe { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(.35); }
.notfound { min-height: 50vh; display: grid; place-items: center; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #9fb1c6; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(30px, 5vw, 70px); padding: clamp(70px, 8vw, 100px) 0 60px; }
.site-footer__brand img { height: 34px; width: auto; }
.site-footer__name { color: #fff; font-weight: 600; }
.site-footer h3 { margin-bottom: 22px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.site-footer li { padding: 6px 0; }
.site-footer a { transition: color .3s; }
.site-footer a:hover { color: #fff; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .ico { margin-top: 5px; color: var(--brand); }
.v2030 { display: inline-flex; align-items: center; gap: 10px; margin: 8px 0 0; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; font-size: 13px; color: var(--frost); }
.site-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.site-footer__bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 22px 0; }
.site-footer__bar p { margin: 0; }
.wa-float { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .35); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }

/* ---------------- Motion ---------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------------- Arabic ---------------- */
html[lang="ar"] body, html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .btn, html[lang="ar"] input, html[lang="ar"] textarea, html[lang="ar"] select, html[lang="ar"] button,
html[lang="ar"] .title, html[lang="ar"] .statement, html[lang="ar"] .hero__title, html[lang="ar"] .page-hero h1, html[lang="ar"] .stats strong, html[lang="ar"] .chair__headline, html[lang="ar"] .chair__sign strong,
html[lang="ar"] .letter__headline, html[lang="ar"] .letter__name, html[lang="ar"] .letter__signature, html[lang="ar"] .sector h3, html[lang="ar"] .goal h3, html[lang="ar"] .scope__col h3, html[lang="ar"] .process__step h3,
html[lang="ar"] .subtitle, html[lang="ar"] .others strong, html[lang="ar"] .card-dark h3, html[lang="ar"] .rfq__title, html[lang="ar"] .cta h2 { font-family: var(--ar); }
html[lang="ar"] body { font-size: 17px; line-height: 1.95; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .title, html[lang="ar"] .hero__title, html[lang="ar"] .statement { font-weight: 700; letter-spacing: 0; line-height: 1.45; }
html[lang="ar"] .hero__title { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.3; max-width: 14ch; }
html[lang="ar"] .hero__title em { font-style: normal; }
html[lang="ar"] .title { font-size: clamp(28px, 3.4vw, 44px); }
html[lang="ar"] .page-hero h1 { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.35; }
html[lang="ar"] .chair__headline, html[lang="ar"] .letter__headline { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.5; }
html[lang="ar"] .statement { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.75; }
html[lang="ar"] .kicker, html[lang="ar"] .chair__sign span, html[lang="ar"] .letter__role, html[lang="ar"] .letter__sign span:last-child, html[lang="ar"] .contact__list small, html[lang="ar"] .site-footer h3 { letter-spacing: 0; text-transform: none; font-size: 14px; }
html[lang="ar"] .letter__signature { font-style: normal; font-size: 30px; }
html[lang="ar"] .sector h3, html[lang="ar"] .goal h3, html[lang="ar"] .scope__col h3, html[lang="ar"] .process__step h3, html[lang="ar"] .others strong { font-size: 21px; line-height: 1.5; }
[dir="rtl"] .btn .ico, [dir="rtl"] .link-more .ico, [dir="rtl"] .others a > .ico { transform: scaleX(-1); }
[dir="rtl"] .page-hero__media::after { background: linear-gradient(-100deg, rgba(10, 27, 51, .95) 20%, rgba(10, 27, 51, .7)); }
[dir="rtl"] .cta__media::after { background: linear-gradient(-90deg, rgba(10, 27, 51, .95), rgba(10, 27, 51, .78)); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1180px) {
    .menu { gap: 22px; }
    .primary-nav { gap: 24px; }
    .why { grid-template-columns: repeat(3, 1fr); }
    .why__item:nth-child(4) { border-inline-start: 0; }
    .why__item:nth-child(n+4) { border-top: 1px solid var(--line); }
    .logos { grid-template-columns: repeat(4, 1fr); }
    .certs { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1040px) {
    :root { --header-h: 76px; }
    .nav-toggle { display: block; }
    .site-header, .site-header--over:not(.is-scrolled) { background: #fff; border-color: var(--line); }
    .site-header--over { margin-bottom: 0; }
    .site-header--over:not(.is-scrolled) .brand__dark { display: block; }
    .site-header--over:not(.is-scrolled) .brand__light { display: none; }
    .site-header--over:not(.is-scrolled) .brand__names { border-color: var(--line); }
    .site-header--over:not(.is-scrolled) .brand__ar { color: var(--ink); }
    .site-header--over:not(.is-scrolled) .brand__en { color: var(--muted); }
    .site-header--over:not(.is-scrolled) .nav-toggle__bars span { background: var(--ink); }
    .site-header--over:not(.is-scrolled) .menu__item > a, .site-header--over:not(.is-scrolled) .menu__item.is-current > a { color: var(--ink); }
    .site-header--over:not(.is-scrolled) .nav-cta { background: var(--ink); color: #fff; }
    .hero { padding-top: clamp(70px, 12vw, 120px); }
    .primary-nav { position: fixed; inset-inline: 0; top: var(--nav-top, var(--header-h)); bottom: 0; z-index: 99; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 8px 28px 40px; background: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
    .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .menu { flex-direction: column; align-items: stretch; gap: 0; }
    .menu__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .menu__item > a { flex: 1; padding: 18px 0; font-size: 17px; }
    .menu__item > a::after, .has-sub > a::before { display: none; }
    .has-sub > a { padding-inline-end: 0; }
    .sub-toggle { display: block; position: relative; width: 50px; height: 50px; border: 0; background: none; }
    .sub-toggle span { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translate(-50%, -70%) rotate(45deg); transition: transform .3s; }
    .sub-toggle[aria-expanded="true"] span { transform: translate(-50%, -30%) rotate(-135deg); }
    .submenu { position: static; display: none; width: 100%; min-width: 0; padding: 0 0 14px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .has-sub.is-open .submenu { display: block; }
    .submenu a { padding: 10px 16px; color: var(--muted); }
    .nav-cta { margin-top: 26px; min-height: 54px; }
    .hero__inner, .split, .chair__inner, .head--split, .cta__inner, .contact, .detail, .letter__inner { grid-template-columns: 1fr; }
    .hero__badge { max-width: 460px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stats li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
    .stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .16); }
    .stats--light li:nth-child(n+3) { border-color: var(--line); }
    .sectors, .scope { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
    .goals { grid-template-columns: 1fr; }
    .goal, .goal + .goal { padding-inline: 0; border-inline-start: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); padding-bottom: 36px; }
    .goal__ico { inset-inline-end: 0; }
    .goals--light .goal { border-color: var(--line); }
    .process { grid-template-columns: 1fr 1fr; row-gap: 44px; }
    .process__step:nth-child(2)::before { display: none; }
    .chair__photo { max-width: 420px; }
    .letter__aside, .detail__aside { position: static; }
    .letter__aside { display: grid; grid-template-columns: 160px 1fr; gap: 0 24px; align-items: end; }
    .letter__photo { grid-row: span 2; }
    .letter__name { margin-top: 0; }
    .gallery { grid-template-columns: 1fr 1fr; }
    .split__media { max-width: 620px; }
}
@media (max-width: 680px) {
    body { font-size: 16px; }
    .container, .narrow { width: calc(100% - 36px); }
    .topbar__note, .hide-sm { display: none; }
    .topbar__inner { justify-content: center; }
    .brand img { height: 28px; }
    .brand { flex-direction: column; align-items: flex-start; gap: 5px; }
    .brand img { height: 22px; }
    .brand__names { padding-inline-start: 0; border: 0; gap: 0; line-height: 1.3; }
    .brand__ar { font-size: 11.5px; }
    .brand__en { font-size: 9.5px; letter-spacing: 0; }
    .why { grid-template-columns: 1fr; }
    .why__item { border-inline-start: 0 !important; border-top: 1px solid var(--line); }
    .why__item:first-child { border-top: 0; }
    .logos { grid-template-columns: repeat(2, 1fr); }
    .certs { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .items, .others, .form__row, .gallery { grid-template-columns: 1fr; }
    .process { grid-template-columns: 1fr; }
    .process__step::before { display: none; }
    .stats li { padding: 22px 16px 26px; }
    .split__media { padding-bottom: 50px; padding-inline-end: 40px; }
    .split__media::before { inset-inline-start: -10px; top: -14px; width: 80px; height: 80px; }
    .cta__actions .btn, .hero__actions .btn { flex: 1 1 100%; }
    .letter__aside { grid-template-columns: 110px 1fr; }
    .map iframe { height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}
.sector h3 { padding-inline-end: 64px; }

/* Footer brand block and footer columns on smaller screens */
.brand--footer { flex-direction: column; align-items: flex-start; gap: 14px; }
.brand--footer .brand__names { padding-inline-start: 0; border: 0; }
.brand--footer .brand__ar { font-size: 16px; }
.brand--footer .brand__en { font-size: 13px; }
@media (max-width: 1040px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
    .site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
    .site-footer__bar-inner { flex-direction: column; }
    .site-footer__brand img { height: 30px; }
}
