/* Rukn Al Khaleej — site styles. Logical properties keep one stylesheet working for RTL (ar) and LTR (en). */

:root {
  --navy: #152235;
  --navy-2: #1c2e46;
  --navy-3: #0f1a2a;
  --gold: #ffc928;
  --gold-soft: #fff4cf;
  --gold-ink: #8f6a00;
  --paper: #f5f7f9;
  --white: #fff;
  --ink: #1b2530;
  --body: #3a4757;
  --muted: #5e6b7a;
  --line: #e2e8ed;
  --wa: #1c9c52;
  --radius: 14px;
  --shadow: 0 14px 34px rgba(15, 26, 42, 0.08);
  --header-h: 76px;
  --font: Cairo, 'DM Sans', system-ui, sans-serif;
}
.lang-en { --font: 'DM Sans', Cairo, system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.7; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { line-height: 1.35; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-h) + 70px); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }

.i { width: 1.25em; height: 1.25em; flex-shrink: 0; }
[dir='rtl'] .i-arrow { transform: scaleX(-1); }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 800; }
.skip:focus { top: 12px; }

/* ---------- buttons, links, chips ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 22px; border: 1.5px solid transparent; border-radius: 10px; font-weight: 800; font-size: 15px; line-height: 1.3; text-align: center; transition: transform 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn .i { width: 19px; height: 19px; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #ffd65a; box-shadow: 0 8px 20px rgba(255, 201, 40, 0.3); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178a47; }
.btn-ghost, .btn-outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover, .btn-outline-light:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }
.btn-line { background: #fff; border-color: var(--line); color: var(--navy); }
.btn-line:hover { border-color: var(--navy); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.text-link .i { transition: translate 0.2s; }
.text-link:hover { color: var(--gold-ink); }
.text-link:hover .i { translate: 3px 0; }
[dir='rtl'] .text-link:hover .i { translate: -3px 0; }

.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; font-weight: 800; font-size: 14px; color: var(--navy); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-weight: 700; font-size: 14px; white-space: nowrap; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.chip .i { width: 17px; height: 17px; color: var(--gold-ink); }
a.chip:hover, button.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-static { background: var(--paper); font-weight: 600; font-size: 13px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }

.icon-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: var(--gold); flex-shrink: 0; }
.icon-badge .i { width: 26px; height: 26px; }
.icon-badge.lg { width: 68px; height: 68px; border-radius: 16px; }
.icon-badge.lg .i { width: 34px; height: 34px; }
.icon-badge.wa { background: var(--wa); color: #fff; }

.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-ink); font-size: 14px; font-weight: 800; }
.kicker::before { content: ''; width: 24px; height: 2px; background: var(--gold); }
.lang-en .kicker, .lang-en .eyebrow { letter-spacing: 0.04em; text-transform: uppercase; font-size: 13px; }

.meta { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.meta .i { width: 16px; height: 16px; color: var(--gold-ink); }

.checklist { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 11px; }
.checklist li { display: flex; align-items: flex-start; gap: 11px; }
.checklist .i { width: 23px; height: 23px; padding: 4px; margin-top: 3px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); stroke-width: 2.6; }
.checklist.compact { gap: 8px; margin: 12px 0 18px; font-size: 14.5px; }
.checklist.compact .i { width: 20px; height: 20px; margin-top: 2px; }

/* ---------- header ---------- */

.topbar { background: var(--navy-3); color: #c4cfd9; font-size: 13px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.topbar-in > span, .topbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a:hover { color: var(--gold); }
.topbar .i { width: 15px; height: 15px; color: var(--gold); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.08); transition: box-shadow 0.25s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(8, 14, 24, 0.35); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex-shrink: 0; }
.brand img { width: 42px; height: 40px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong { font-size: 19px; font-weight: 800; white-space: nowrap; }
.brand small { font-size: 12px; font-weight: 600; color: #aebccb; white-space: nowrap; }
.lang-en .brand small { font-size: 11px; }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 1.55vw, 28px); font-size: 15px; font-weight: 700; white-space: nowrap; }
.nav-links > a, .has-menu > a { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 26px 0; color: #e8eef3; }
.nav-links > a:hover, .has-menu > a:hover, .nav-links [aria-current] { color: var(--gold); }
.nav-links [aria-current]::after { content: ''; position: absolute; inset-inline: 0; bottom: 16px; height: 2px; background: var(--gold); border-radius: 2px; }
.has-menu { position: relative; }
.has-menu .i-chevron { width: 16px; height: 16px; }
.menu { position: absolute; top: calc(100% - 6px); inset-inline-start: -18px; width: 330px; padding: 8px; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: 0 20px 50px rgba(8, 14, 24, 0.25); display: grid; opacity: 0; visibility: hidden; translate: 0 8px; transition: opacity 0.2s, translate 0.2s, visibility 0.2s; }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; translate: 0 0; }
.menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 700; }
.menu a:hover { background: var(--paper); color: var(--navy); }
.menu .i { width: 21px; height: 21px; color: var(--gold-ink); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions .btn, .lang-switch { white-space: nowrap; }
.lang-switch { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 8px; font-size: 14px; font-weight: 700; }
.lang-switch:hover { border-color: var(--gold); color: var(--gold); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; place-items: center; border: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: #fff; }
.menu-toggle .i { width: 26px; height: 26px; }
.menu-toggle .i-close, .is-open .menu-toggle .i-menu { display: none; }
.is-open .menu-toggle .i-close { display: block; }

.mobile-nav { display: none; background: var(--navy-2); border-top: 1px solid rgba(255, 255, 255, 0.08); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.is-open .mobile-nav, html:not(.js) .mobile-nav { display: block; }
.mobile-nav .wrap { padding-block: 12px 24px; }
.mobile-nav .wrap > a, .mobile-group summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-weight: 700; cursor: pointer; }
.mobile-group summary { list-style: none; }
.mobile-group summary::-webkit-details-marker { display: none; }
.mobile-group summary .i { width: 20px; height: 20px; transition: rotate 0.2s; }
.mobile-group[open] summary .i { rotate: 180deg; }
.mobile-nav [aria-current] { color: var(--gold); }
.mobile-services { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; padding: 10px 4px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mobile-services a { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; color: #cdd7e0; }
.mobile-services .i { width: 18px; height: 18px; color: var(--gold); }
.mobile-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; }
.mobile-actions .btn { flex: 1 1 160px; }

/* ---------- home hero & stats ---------- */

.hero { position: relative; display: flex; align-items: center; min-height: clamp(580px, 84vh, 780px); background: var(--navy); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #142236 0%, rgba(20, 34, 54, 0.9) 28%, rgba(20, 34, 54, 0.35) 62%, rgba(20, 34, 54, 0.05) 100%); }
[dir='rtl'] .hero-bg::after { background: linear-gradient(270deg, #142236 0%, rgba(20, 34, 54, 0.9) 28%, rgba(20, 34, 54, 0.35) 62%, rgba(20, 34, 54, 0.05) 100%); }
.hero-in { position: relative; z-index: 1; padding-block: 90px 130px; }
.hero-in > * { max-width: 660px; }
.hero-in > h1 { max-width: 860px; }
.eyebrow { display: inline-block; color: var(--gold); font-size: 14px; font-weight: 800; }
.hero h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.28; font-weight: 800; margin: 18px 0 16px; }
.hero h1 span { display: block; color: var(--gold); }
.hero-sub { font-size: 18.5px; line-height: 1.9; color: #dbe3ea; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-proof { list-style: none; padding: 0; margin: 38px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; color: #e6ecf1; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .i { color: var(--gold); stroke-width: 2.4; }

.stats-wrap { position: relative; z-index: 2; margin-top: -64px; }
.stats { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 10px; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 20px 26px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat dd { margin: 0; font-size: 42px; font-weight: 800; line-height: 1.1; color: var(--navy); }
.stat dt { color: var(--muted); font-size: 14.5px; font-weight: 700; margin-top: 6px; }

/* ---------- sections ---------- */

.section { padding-block: 96px; }
.section-white { background: #fff; }
.section-navy { background: var(--navy); color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2, .split h2, .license-card h2, .form-title { font-size: clamp(27px, 3.1vw, 40px); color: var(--navy); margin: 8px 0 0; font-weight: 800; }
.section-head .intro { font-size: 17px; color: var(--muted); max-width: 660px; margin: 12px 0 0; }
.section-navy .kicker { color: var(--gold); }
.section-navy h2, .section-navy .section-head h2, .section-navy .split h2 { color: #fff; }
.section-navy .intro, .section-navy .body-text { color: #c6d0da; }
.section-navy .checklist li { color: #e1e8ee; }
.section-navy .checklist .i { background: rgba(255, 201, 40, 0.15); color: var(--gold); }
.body-text { font-size: 17px; line-height: 2; color: var(--body); margin: 14px 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ---------- cards ---------- */

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { display: flex; flex-direction: column; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.service-card h3 { color: var(--navy); font-size: 18.5px; margin: 18px 0 8px; }
.service-card p { color: var(--muted); font-size: 14.5px; line-height: 1.85; margin: 0; }

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

.project-card, .article-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.project-card:hover, .article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-media, .article-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.project-media img, .article-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.project-card:hover img, .article-card:hover img { transform: scale(1.05); }
.tag { position: absolute; top: 14px; inset-inline-start: 14px; padding: 3px 12px; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: 12.5px; font-weight: 800; }
.project-body, .article-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.project-body h3, .article-body h3 { color: var(--navy); font-size: 19px; margin: 8px 0; }
.project-body p, .article-body p { color: var(--muted); font-size: 14.5px; line-height: 1.85; margin: 0; }

.project-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.project-card.is-large .project-media { aspect-ratio: auto; flex: 1; min-height: 340px; }
.project-card.is-large h3 { font-size: 24px; }
.project-stack { display: grid; gap: 24px; }
.project-stack .project-card { flex-direction: row; }
.project-stack .project-media { aspect-ratio: auto; width: 42%; flex-shrink: 0; min-height: 220px; }

.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector-card { position: relative; display: block; min-height: 320px; border-radius: var(--radius); overflow: hidden; color: #fff; background: var(--navy); }
.sector-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.sector-card:hover img { transform: scale(1.05); }
.sector-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; background: linear-gradient(180deg, rgba(15, 26, 42, 0) 20%, rgba(15, 26, 42, 0.92) 78%); }
.sector-overlay .icon-badge { background: var(--gold); color: var(--navy); width: 46px; height: 46px; }
.sector-overlay h3 { font-size: 21px; margin: 14px 0 6px; }
.sector-overlay p { margin: 0; font-size: 14.5px; color: #d6dee6; line-height: 1.8; }

.why { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.why-media { position: relative; }
.why-media img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; border-radius: 16px; }
.why-badge { position: absolute; bottom: 20px; inset-inline-start: 20px; display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; background: var(--gold); color: var(--navy); font-weight: 800; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; }
.why-item { display: flex; gap: 16px; }
.why-item .icon-badge { background: rgba(255, 201, 40, 0.12); width: 48px; height: 48px; }
.why-item h3 { color: #fff; font-size: 17.5px; margin: 0 0 6px; }
.why-item p { color: #bfcad5; font-size: 14.5px; line-height: 1.85; margin: 0; }

.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.process li { padding: 26px 24px; background: var(--paper); border-radius: var(--radius); border-top: 3px solid var(--gold); }
.section:not(.section-white) .process li { background: #fff; }
.process h3 { color: var(--navy); font-size: 17.5px; margin: 10px 0 6px; }
.process p { color: var(--muted); font-size: 14.5px; line-height: 1.85; margin: 0; }
.process-3 { grid-template-columns: repeat(3, 1fr); }
.step-no { color: var(--gold-ink); font-weight: 800; font-size: 14px; }

.client-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.client-list li { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-inline-start: 3px solid var(--gold); border-radius: 12px; }
.section-white .client-list li { background: var(--paper); }
.client-name { font-weight: 700; color: var(--navy); font-size: 15px; line-height: 1.6; }
.client-city { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
.client-city .i { width: 14px; height: 14px; }

/* ---------- galleries & lightbox ---------- */

.gallery-item { position: relative; display: block; overflow: hidden; border-radius: 12px; background: var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: rgba(15, 26, 42, 0); transition: background-color 0.3s; }
.gallery-item:hover::after { background: rgba(15, 26, 42, 0.15); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery .gallery-item { aspect-ratio: 1; }
.gallery-2 { grid-template-columns: 1fr 1fr; }

.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; }
.mosaic .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic .gallery-item:nth-child(2) { grid-row: span 2; }

.masonry { columns: 4 220px; column-gap: 12px; }
.masonry .gallery-item { margin-bottom: 12px; break-inside: avoid; }
.masonry img { height: auto; }
.masonry.is-collapsed .gallery-item:nth-child(n + 13) { display: none; }
.show-more { display: flex; margin: 24px auto 0; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 64px 72px; background: rgba(8, 14, 24, 0.95); }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; margin-inline: auto; border-radius: 8px; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; color: #dbe3ea; font-size: 14.5px; }
.lb-count { color: #93a3b3; white-space: nowrap; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox button .i { width: 24px; height: 24px; }
.lb-close { top: 16px; inset-inline-end: 16px; }
.lb-prev, .lb-next { top: 50%; translate: 0 -50%; }
.lb-prev { inset-inline-start: 14px; }
.lb-next { inset-inline-end: 14px; }
.lb-prev .i-arrow { transform: scaleX(-1); }
[dir='rtl'] .lb-prev .i-arrow { transform: none; }

/* ---------- FAQ ---------- */

.faq-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-split .section-head { margin-bottom: 20px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; transition: border-color 0.2s; }
.section:not(.section-white) .faq-item, .aside-card .faq-item { background: #fff; }
.faq-item[open] { border-color: var(--gold); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { width: 22px; height: 22px; color: var(--gold-ink); transition: rotate 0.25s; }
.faq-item[open] summary .i { rotate: 45deg; }
.faq-answer { padding: 0 20px 18px; }
.faq-answer p { margin: 0; color: var(--body); line-height: 1.95; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { color: var(--navy); font-size: 24px; margin: 0 0 18px; }
.aside-card .faq-item summary { padding: 13px 14px; font-size: 14.5px; }
.aside-card .faq-answer { padding: 0 14px 14px; font-size: 14px; }

/* ---------- CTA band ---------- */

.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding-block: 70px; }
.cta-band::before { content: ''; position: absolute; width: 520px; height: 520px; inset-inline-end: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 201, 40, 0.22), rgba(255, 201, 40, 0) 70%); }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { font-size: clamp(25px, 2.6vw, 34px); margin: 0 0 8px; }
.cta-band p { margin: 0; color: #c8d2db; max-width: 620px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* ---------- inner page hero ---------- */

.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding-block: 60px 72px; }
.page-hero.has-photo { display: flex; align-items: flex-end; min-height: 440px; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 26, 42, 0.55), rgba(15, 26, 42, 0) 70%), linear-gradient(0deg, rgba(15, 26, 42, 0.96) 0%, rgba(15, 26, 42, 0.82) 45%, rgba(15, 26, 42, 0.66) 100%); }
[dir='rtl'] .page-hero-bg::after { background: linear-gradient(270deg, rgba(15, 26, 42, 0.55), rgba(15, 26, 42, 0) 70%), linear-gradient(0deg, rgba(15, 26, 42, 0.96) 0%, rgba(15, 26, 42, 0.82) 45%, rgba(15, 26, 42, 0.66) 100%); }
.page-hero-in { position: relative; z-index: 1; }
.page-hero-in > * { max-width: 820px; }
.page-hero h1 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; margin: 14px 0 12px; }
.page-hero .lead { font-size: 18px; line-height: 1.95; color: #d5dee6; margin: 0; }
.hero-meta { margin-top: 18px; color: var(--gold); font-size: 14px; }
.hero-meta .i { color: var(--gold); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; font-size: 13.5px; color: #aebccb; }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { margin-inline: 8px; opacity: 0.6; }
.crumbs [aria-current] { color: #fff; }

/* ---------- content + sidebar ---------- */

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.aside-card { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.section:not(.section-white) .aside-card { background: #fff; }
.aside-card h3 { color: var(--navy); font-size: 17px; margin: 0 0 14px; }
.aside-cta { background: var(--navy) !important; border-color: var(--navy); color: #fff; }
.aside-cta h3 { color: #fff; }
.aside-cta p { color: #c5cfd8; font-size: 14.5px; margin: 0 0 16px; }
.aside-cta .btn + .btn { margin-top: 10px; }
.aside-phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-weight: 700; }
.aside-phone:hover { color: var(--gold); }
.aside-phone .i { color: var(--gold); width: 18px; height: 18px; }
.aside-links { display: grid; }
.aside-links a { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 14.5px; }
.aside-links a:last-child { border-bottom: 0; }
.aside-links a:hover { color: var(--gold-ink); }
.aside-links .i { width: 20px; height: 20px; color: var(--gold-ink); }
.facts dl { margin: 0; }
.facts dl > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dl > div:first-child { padding-top: 0; }
.facts dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--muted); font-size: 13px; font-weight: 600; }
.facts dd { margin: 4px 0 0; color: var(--navy); font-weight: 700; }
.facts dd a { display: block; padding: 2px 0; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.facts dd a:hover { color: var(--gold-ink); }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 14px; font-weight: 600; line-height: 1.6; }
.toc li:last-child a { border-bottom: 0; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--gold-ink); font-weight: 800; }
.toc a:hover { color: var(--gold-ink); }

.prose { max-width: 780px; }
.prose h2 { color: var(--navy); font-size: clamp(22px, 2.2vw, 27px); margin: 44px 0 12px; }
.prose > h2:first-child, .prose-cover + h2 { margin-top: 0; }
.prose p { font-size: 17px; line-height: 2; color: var(--body); margin: 0 0 16px; }
.prose-cover { margin: 0 0 36px; }
.prose-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.takeaway { margin-top: 40px; padding: 22px 26px; background: var(--gold-soft); border-inline-start: 4px solid var(--gold); border-radius: 12px; }
.takeaway strong { color: var(--navy); font-size: 17px; }
.takeaway p { margin: 6px 0 0; }

/* ---------- about ---------- */

.photo-stack { position: relative; min-height: 540px; }
.photo-stack img { position: absolute; object-fit: cover; border-radius: 16px; }
.stack-a { width: 70%; aspect-ratio: 4 / 5; top: 0; inset-inline-end: 0; box-shadow: var(--shadow); }
.stack-b { width: 58%; aspect-ratio: 4 / 3; bottom: 0; inset-inline-start: 0; border: 6px solid #fff; box-shadow: var(--shadow); }

.purpose-grid, .value-grid, .benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.purpose-card { padding: 30px; background: #fff; border-top: 3px solid var(--gold); border-radius: var(--radius); }
.purpose-card h3, .value-card h3, .benefit-card h3 { color: var(--navy); font-size: 20px; margin: 16px 0 10px; }
.purpose-card p, .value-card p, .benefit-card p { color: var(--muted); font-size: 15.5px; line-height: 1.9; margin: 0; }
.value-card { padding: 26px; background: var(--paper); border-radius: var(--radius); }
.value-card .icon-badge { width: 46px; height: 46px; }
.benefit-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.benefit-card h3 { margin-top: 8px; }

.license-card { display: flex; align-items: center; gap: 28px; padding: 34px 38px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.license-card h2 { font-size: 26px; margin: 6px 0 8px; }
.license-card p { margin: 0; color: var(--body); font-size: 16px; line-height: 1.95; }

/* ---------- services index ---------- */

.service-rows { display: grid; gap: 28px; }
.service-row { display: grid; grid-template-columns: 1fr 1.1fr; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.service-row:nth-child(even) .service-row-media { order: 2; }
.service-row-media { position: relative; display: block; min-height: 360px; background: var(--navy); }
.service-row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-row:hover .service-row-media img { transform: scale(1.04); }
.media-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); background: radial-gradient(circle at 30% 20%, #25405f, var(--navy) 60%); }
.media-placeholder .i { width: 110px; height: 110px; stroke-width: 1.2; }
.row-no { position: absolute; top: 16px; inset-inline-start: 16px; padding: 4px 12px; border-radius: 8px; background: var(--navy); color: var(--gold); font-weight: 800; font-size: 14px; }
.service-row-body { padding: 36px 40px; }
.service-row-body h2 { color: var(--navy); font-size: 26px; margin: 16px 0 10px; }
.service-row-body h2 a:hover { color: var(--gold-ink); }
.service-row-body > p { color: var(--body); font-size: 16px; line-height: 1.95; margin: 0; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.help-card { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: 32px 36px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.help-card h2 { color: var(--navy); font-size: 24px; margin: 0 0 6px; }
.help-card p { margin: 0; color: var(--body); }
.help-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- projects & sectors ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.next-project { display: grid; grid-template-columns: 1fr 1.2fr; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow 0.25s; }
.next-project:hover { box-shadow: var(--shadow); }
.next-project img { width: 100%; height: 100%; min-height: 280px; max-height: 380px; object-fit: cover; }
.next-project > div { display: flex; flex-direction: column; justify-content: center; padding: 36px 40px; }
.next-project h2 { color: var(--navy); font-size: 26px; margin: 8px 0 10px; }
.next-project p { color: var(--muted); margin: 0; }

.sector-nav { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.sector-nav .wrap { display: flex; gap: 10px; overflow-x: auto; padding-block: 14px; scrollbar-width: none; }
.sector-nav .wrap::-webkit-scrollbar { display: none; }
.sector-block.is-flipped .sector-media { order: 2; }
.sector-media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 16px; }
.sector-block h2 { margin: 16px 0 6px !important; }
.mini-title { color: var(--navy); font-size: 16px; margin: 24px 0 4px; }
.sector-project { margin: 22px 0 0; }
.sector-project .text-link { white-space: normal; }

.article-feature { display: grid; grid-template-columns: 1.2fr 1fr; margin-bottom: 28px; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow 0.25s; }
.article-feature:hover { box-shadow: var(--shadow); }
.article-feature img { width: 100%; height: 100%; min-height: 340px; max-height: 440px; object-fit: cover; }
.article-feature > div { display: flex; flex-direction: column; justify-content: center; padding: 40px; }
.article-feature h2 { color: var(--navy); font-size: 28px; margin: 10px 0; }
.article-feature p { color: var(--muted); margin: 0; }

/* ---------- contact ---------- */

.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card h2 { color: var(--navy); font-size: 19px; margin: 16px 0 6px; }
.contact-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 12px; }
.contact-line { display: block; margin: 6px 0; font-weight: 800; color: var(--navy); font-size: 16px; overflow-wrap: anywhere; }
.contact-line:hover { color: var(--gold-ink); }
[dir='rtl'] .contact-line[dir='ltr'] { text-align: right; }

.form-title { margin: 0 0 6px; }
.quote-form { margin-top: 22px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--navy); }
.field-grid + .field { margin-bottom: 16px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #cdd6de; border-radius: 10px; background: #fff; font-size: 15px; font-weight: 500; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--navy); }
[dir='rtl'] .field input[type='tel'] { text-align: right; }
.form-error { margin: 0 0 16px; padding: 10px 14px; border-radius: 8px; background: #fdecea; color: #a4262c; font-size: 14px; font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-actions .btn { flex: 1 1 200px; border: 0; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.next-steps li { display: flex; align-items: flex-start; gap: 12px; color: var(--body); font-size: 15px; }
.next-steps .step-no { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy); flex-shrink: 0; }

/* ---------- footer ---------- */

.site-footer { background: var(--navy-3); color: #c3cdd7; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 0.8fr 1.2fr; gap: 48px; }
.site-footer h3 { color: #fff; font-size: 16px; margin: 0 0 18px; }
.site-footer a:not(.btn):not(.brand) { display: flex; align-items: center; gap: 8px; margin: 9px 0; font-size: 14.5px; }
.site-footer a:not(.btn):not(.brand):hover { color: var(--gold); }
.site-footer .i { width: 17px; height: 17px; color: var(--gold); }
.footer-brand .brand { margin-bottom: 18px; color: #fff; }
.footer-brand p { font-size: 14.5px; line-height: 1.95; margin: 0 0 20px; }
.footer-areas { display: flex; gap: 8px; font-size: 14px; line-height: 1.8; margin-top: 14px; }
.footer-areas .i { margin-top: 4px; }
.footer-areas strong { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: #93a3b3; }
.footer-bottom a { margin: 0 !important; font-size: 13px !important; }

.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(--wa); color: #fff; box-shadow: 0 10px 26px rgba(28, 156, 82, 0.4); transition: transform 0.2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .i { width: 30px; height: 30px; }

.not-found { padding-block: 120px; text-align: center; }
.nf-code { display: block; font-size: clamp(90px, 14vw, 150px); font-weight: 800; line-height: 1; color: var(--gold); }
.not-found h1 { color: var(--navy); font-size: 36px; margin: 10px 0; }
.not-found .lead { color: var(--muted); font-size: 18px; max-width: 560px; margin-inline: auto; }
.not-found .hero-actions { justify-content: center; }

/* ---------- scroll reveal (enabled by site.js) ---------- */

.reveal-ready .reveal:not(.is-visible) { opacity: 0; translate: 0 18px; }
.reveal { transition: opacity 0.6s ease, translate 0.6s ease, transform 0.25s, box-shadow 0.25s, border-color 0.25s; }

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

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .aside { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; }
  .why-media img { aspect-ratio: 16 / 7; }
  .help-card { grid-template-columns: auto 1fr; }
  .help-actions { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .section { padding-block: 72px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .split, .faq-split, .project-feature, .article-feature, .next-project, .service-row { grid-template-columns: 1fr; gap: 32px; }
  .service-row, .article-feature, .next-project { gap: 0; }
  .service-row:nth-child(even) .service-row-media, .sector-block.is-flipped .sector-media { order: 0; }
  .service-row-media { min-height: 260px; }
  .service-row-body, .article-feature > div, .next-project > div { padding: 28px 26px; }
  .card-grid, .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .purpose-grid, .value-grid, .benefit-grid, .process-3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .hero-in { padding-block: 70px 120px; }
  .hero-bg::after, [dir='rtl'] .hero-bg::after { background: linear-gradient(0deg, #142236 10%, rgba(20, 34, 54, 0.85) 50%, rgba(20, 34, 54, 0.45) 100%); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
  .mosaic .gallery-item:nth-child(n + 8) { display: none; }
  .photo-stack { min-height: 460px; }
  .page-hero.has-photo { min-height: 380px; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .topbar { display: none; }
  .nav { gap: 12px; }
  .brand { gap: 9px; }
  .brand strong { font-size: 16px; }
  .brand small, .lang-en .brand small { font-size: 10.5px; }
  .brand img { width: 34px; height: 34px; }
  .mobile-services { grid-template-columns: 1fr; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { display: none; }
  .lang-switch { padding: 5px 9px; font-size: 13px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-proof { gap: 8px; font-size: 13.5px; }
  .stat { padding: 16px; }
  .stat dd { font-size: 32px; }
  .stat dt { font-size: 13px; }
  .service-grid, .card-grid, .sector-grid, .purpose-grid, .value-grid, .benefit-grid, .process-3, .contact-cards, .field-grid, .footer-grid, .why-grid { grid-template-columns: 1fr; }
  .service-card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 20px; }
  .service-card .icon-badge { grid-row: span 3; width: 46px; height: 46px; }
  .service-card h3 { margin: 2px 0 6px; }
  .service-card .card-link { padding-top: 10px; }
  .project-stack .project-card { flex-direction: column; }
  .project-stack .project-media { width: 100%; aspect-ratio: 16 / 10; min-height: 0; }
  .project-card.is-large .project-media { min-height: 240px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 8px; }
  .mosaic .gallery-item:nth-child(n + 8) { display: block; }
  .mosaic .gallery-item:nth-child(n + 7) { display: none; }
  .masonry { columns: 2; column-gap: 8px; }
  .masonry .gallery-item { margin-bottom: 8px; }
  .masonry.is-collapsed .gallery-item:nth-child(n + 9) { display: none; }
  .photo-stack { min-height: 360px; }
  .license-card, .help-card { flex-direction: column; align-items: flex-start; grid-template-columns: 1fr; padding: 26px; }
  .quote-form { padding: 20px; }
  .lightbox { padding: 60px 12px 90px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; translate: none; }
  .footer-bottom { flex-direction: column; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; inset-inline-end: 16px; }
}
