/* ==========================================================
   شركة الموفق للمحاماة — styles
   Identity colours (from the old site): gold #906822 · brown #4A3212
   Neutrals (from the old site): top bar #F8F8F8 · text #676767 ·
   dark section #222222 · footer #313233 · copyright #1F1F1F
   ========================================================== */

@font-face { font-family: "Plex Arabic"; src: url(../fonts/plex-arabic-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; src: url(../fonts/plex-arabic-500.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; src: url(../fonts/plex-arabic-600.woff2) format("woff2"); font-weight: 600 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; src: url(../fonts/plex-latin-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2013-201E, U+2022, U+2026; }
@font-face { font-family: "Plex Arabic"; src: url(../fonts/plex-latin-500.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+2013-201E, U+2022, U+2026; }
@font-face { font-family: "Plex Arabic"; src: url(../fonts/plex-latin-600.woff2) format("woff2"); font-weight: 600 700; font-display: swap; unicode-range: U+0000-00FF, U+2013-201E, U+2022, U+2026; }
@font-face { font-family: "Kufi"; src: url(../fonts/kufi-arabic-700.woff2) format("woff2"); font-weight: 500 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Cormorant"; src: url(../fonts/cormorant-latin-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(../fonts/cormorant-latin-500i.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --gold: #906822;
  --gold-2: #a57a2c;
  --gold-light: #c9a463;
  --brown: #4a3212;
  --black: #0d0d0d;
  --dark: #222222;
  --footer: #313233;
  --footer-2: #1f1f1f;
  --bg: #ffffff;
  --bg-2: #f8f8f8;
  --text: #444444;
  --muted: #676767;
  --head: #1a1a1a;
  --line: #e9e9e9;
  --radius: 12px;
  --shadow: 0 2px 4px rgba(0,0,0,.03), 0 14px 34px -16px rgba(0,0,0,.18);
  --shadow-lg: 0 30px 60px -28px rgba(0,0,0,.35);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2,.7,.2,1);
  --font-body: "Plex Arabic", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-head: "Kufi", "Noto Kufi Arabic", "Plex Arabic", "IBM Plex Sans Arabic", sans-serif;
  --header-h: 120px;
  --topbar-h: 0px;
}
.lang-en { --font-head: "Cormorant", "Cormorant Garamond", Georgia, serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.85; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lang-en { line-height: 1.7; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.4; margin: 0 0 .6em; color: var(--head); }
.lang-en h1, .lang-en h2, .lang-en h3 { font-weight: 600; line-height: 1.15; }
.lang-en h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: #fff; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.i { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .link-arrow .i, [dir="rtl"] .qbox-arrow { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .7em 1.7em; border-radius: 6px; font: 600 1rem/1.2 var(--font-body); border: 2px solid transparent; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--brown); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--head); border-color: #fff; }
.btn-outline { color: var(--gold); border-color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: #fff; }
.btn-lg { min-height: 56px; padding: .8em 2em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn .i { width: 19px; height: 19px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; color: var(--gold); font-weight: 600; font-size: .95rem; }
.link-arrow .i { width: 18px; height: 18px; transition: translate .3s var(--ease); }
.link-arrow:hover .i { translate: -4px 0; }
.lang-en .link-arrow:hover .i { translate: 4px 0; }

/* ---------- Top bar (old site: #F8F8F8) ---------- */

/* ---------- Header: transparent over the hero, white after scrolling ---------- */
.site-header { position: absolute; top: var(--topbar-h); inset-inline: 0; z-index: 50; transition: background .35s, box-shadow .35s; }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .35s var(--ease); }
.brand { display: flex; align-items: center; flex: none; position: relative; }
.brand-mark { height: 84px; width: auto; aspect-ratio: 1347 / 1916; transition: height .35s var(--ease), opacity .3s; }
.brand .logo-color { position: absolute; inset-inline-start: 0; opacity: 0; }
.e-g { fill: var(--gold); }
.e-b { fill: var(--brown); }
.e-light { fill: #ffffff; }
.e-s { fill: rgba(26,14,3,.55); }
.site-header .brand .logo-light .e-g { fill: #8d8d8d; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; align-items: center; list-style: none; gap: 2px; }
.main-nav li > a { position: relative; display: flex; align-items: center; padding: 10px 11px; font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; color: #e6e6e6; transition: color .25s; }
.lang-en .main-nav li > a { font-family: var(--font-body); font-weight: 600; font-size: 1rem; }
.main-nav li > a::after { content: ""; position: absolute; inset-inline: 11px; bottom: 2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.main-nav li > a:hover, .main-nav li > a[aria-current="page"] { color: #fff; }
.main-nav li > a:hover::after, .main-nav li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; color: #e6e6e6; font-size: .92rem; font-weight: 600; padding: 8px 10px; border-radius: 6px; transition: color .2s; }
.lang-switch:hover { color: var(--gold-light); }
.lang-switch .i { width: 19px; height: 19px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 8px; border: 0; background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .i { width: 28px; height: 28px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

.site-header.scrolled { position: fixed; top: 0; background: #fff; box-shadow: 0 8px 30px -12px rgba(0,0,0,.2); animation: drop .45s var(--ease); }
.site-header.scrolled .header-inner { height: 92px; }
.site-header.scrolled .brand-mark { height: 64px; }
.site-header.scrolled .logo-light { opacity: 0; }
.site-header.scrolled .logo-color { opacity: 1; }
.site-header.scrolled .main-nav li > a, .site-header.scrolled .lang-switch { color: var(--muted); }
.site-header.scrolled .main-nav li > a:hover, .site-header.scrolled .main-nav li > a[aria-current="page"], .site-header.scrolled .lang-switch:hover { color: var(--gold); }
.site-header.scrolled .nav-toggle { color: var(--head); }
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- Hero (full screen photo, like the old slider) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--black); color: #fff; isolation: isolate; margin-top: calc(var(--topbar-h) * -1); padding-top: var(--topbar-h); }
.hero-img, .page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero, .page-hero, .photo-divider, .photo-section { clip-path: inset(0); }
.hero .hero-img, .page-hero .page-hero-img, .photo-divider img, .photo-section-img { position: fixed; height: 100vh; }
.hero-img { animation: kenburns 10s linear both; transform-origin: 70% 40%; }
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.45) 100%); }
.hero-inner { width: 100%; padding-block: 0 clamp(70px, 11vh, 120px); }
.hero-title { display: inline-block; border: 2px solid #fff; padding: .15em .9em .3em; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.3; color: #fff; margin: 0 0 .35em; animation: up 1s var(--ease) both .3s; }
.lang-en .hero-title { padding: .1em .7em .2em; }
.hero-sub { font-family: var(--font-head); font-size: clamp(1.25rem, 2.6vw, 2rem); font-weight: 700; color: #fff; margin: 0 0 1.4em; text-shadow: 0 2px 20px rgba(0,0,0,.4); animation: up 1s var(--ease) both .55s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; animation: up 1s var(--ease) both .8s; }
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Hero text font: same as the old site (Arabic shown in the system Arial) */
.hero-title { display: inline-flex; align-items: center; justify-content: center; padding: 0 .65em; height: 1.6em; line-height: 1; }
.hero-title span { display: inline-block; transform: translateY(var(--ty, 0)); }
/* Arabic marks (shadda, damma) render taller on iPhone: give the box room */
@media (max-width: 680px) { .lang-ar .hero-title { height: 2em; padding-inline: .7em; } }
.hero-title, .hero-sub { font-family: Arial, "Helvetica Neue", Tahoma, sans-serif; font-weight: 700; letter-spacing: 0; }
/* English hero matches the company-profile cover */
.lang-en .hero-title { font-family: "Cormorant", "Cormorant Garamond", Georgia, serif; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(2.3rem, 5.2vw, 4rem); }
.lang-en .hero-sub { font-family: var(--font-body); font-weight: 400; text-transform: uppercase; letter-spacing: .32em; font-size: clamp(.82rem, 1.18vw, 1.05rem); }

/* ---------- Photo divider + brochure ---------- */
.photo-divider { position: relative; height: clamp(220px, 32vw, 380px); background: var(--black); isolation: isolate; }
.photo-divider img { inset: 0; width: 100%; object-fit: cover; z-index: -2; }
.photo-divider::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.28); }
.brochure-cover-img { display: block; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-lg); transition: transform .4s var(--ease); }
.brochure-cover-img:hover { transform: translateY(-4px); }
.brochure-cover-img img { display: block; width: 100%; height: auto; }
.brochure-title { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.5; margin: .5em 0 1.1em; }

/* ---------- Clients carousel ---------- */
.clients-section { padding-block: clamp(52px, 6.5vw, 90px); }
.clients { --per: 4; display: flex; align-items: center; gap: 14px; }
.clients-view { overflow: hidden; flex: 1; }
.clients-track { display: flex; list-style: none; margin: 0; padding: 0; will-change: transform; }
.client { flex: 0 0 calc(100% / var(--per)); display: grid; place-items: center; padding: 0 8px; }
.client img { display: block; width: 100%; max-width: 300px; height: auto; aspect-ratio: 460 / 220; transition: transform .3s; }
.client img:hover { transform: scale(1.06); }
.clients-btn { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: none; color: var(--gold); cursor: pointer; border-radius: 50%; transition: background .2s, color .2s; }
.clients-btn svg { width: 26px; height: 26px; }
.clients-btn:hover { background: var(--gold); color: #fff; }
.clients-next svg { transform: scaleX(-1); }
html[dir="rtl"] .clients { flex-direction: row-reverse; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--black); color: #fff; isolation: isolate; margin-top: calc(var(--topbar-h) * -1); padding: calc(var(--topbar-h) + var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(50px, 6vw, 80px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,.45)); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: .3em; animation: up .9s var(--ease) both .1s; }
.lang-en .page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-hero .lead { color: rgba(255,255,255,.8); max-width: 46em; font-size: 1.08rem; margin: 0; animation: up .9s var(--ease) both .25s; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: rgba(255,255,255,.65); margin-bottom: 16px; }
.crumbs a:hover, .crumbs [aria-current] { color: var(--gold-light); }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(64px, 8vw, 110px); }
.section-tint { background: var(--bg-2); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.label { display: inline-block; background: var(--gold); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.5; padding: .12em .6em .22em; margin-bottom: .55em; }
.lang-en .label { font-weight: 600; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--gold); margin-bottom: 1em; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.section-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.lang-en .section-head h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.section-head .lead { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head-row .section-head { margin-bottom: 0; }

/* Quick boxes (old: three bordered boxes with gold icons) */
.quick { padding-block: clamp(56px, 7vw, 90px) 0; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.qbox { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 52px 24px; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.qbox::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--brown), var(--gold)); transform: scaleX(0); transition: transform .45s var(--ease); }
.qbox:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.qbox:hover::after { transform: scaleX(1); }
.qbox-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(144,104,34,.1); color: var(--gold); transition: background .35s, color .35s; }
.qbox-icon .i { width: 28px; height: 28px; }
.qbox:hover .qbox-icon { background: var(--gold); color: #fff; }
.qbox strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--head); }
.lang-en .qbox strong { font-size: 1.6rem; }
.qbox small { color: var(--muted); font-size: .9rem; }

/* About split */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.intro-media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.1; box-shadow: var(--shadow-lg); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.intro-media::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.06); }
.intro-media.in img { transform: scale(1); }
#about, #brochure, #clients, #why-us, #services { scroll-margin-top: 90px; }
#service { scroll-margin-top: 10px; }
.intro-badge { aspect-ratio: auto; border-radius: 0; overflow: visible; box-shadow: none; }
.intro-badge img { height: auto; display: block; filter: drop-shadow(0 14px 22px rgba(0,0,0,.22)) drop-shadow(0 3px 5px rgba(0,0,0,.18)); }
.intro-badge::after { display: none; }
.intro-copy p { color: var(--muted); }
.intro-copy .section-head { margin-bottom: 24px; }
@media (min-width: 981px) { .intro-grid { align-items: start; } .intro-badge { margin-top: calc(2.39 * clamp(1.4rem, 2.4vw, 1.9rem) + 5px); } }
@media (min-width: 981px) { .lang-en .intro-badge { margin-top: calc(2.39 * clamp(1.4rem, 2.4vw, 1.9rem) - 2px); } }

/* Bars (old: label, small % above, gold→brown gradient bar) */
.bars { display: grid; gap: 26px; margin-top: 30px; }
.bar-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 6px; }
.bar-top span:first-child { color: var(--muted); font-size: 1.05rem; }
.bar-top span:last-child { font-size: .78rem; color: var(--muted); }
.track { height: 12px; background: #eeeeee; overflow: hidden; }
.fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--brown), var(--gold)); transition: width 1.8s var(--ease) .2s; }
[dir="rtl"] .fill { background: linear-gradient(270deg, var(--gold), var(--brown)); margin-inline-start: 0; }
.in .fill { width: var(--w); }

/* Rings (old: animated circular counters) */
.rings { padding-block: clamp(56px, 7vw, 96px); }
.rings-grid { display: flex; justify-content: center; gap: clamp(28px, 6vw, 90px); flex-wrap: wrap; }
.ring { width: 200px; text-align: center; }
.ring-box { position: relative; width: 200px; height: 200px; }
.ring-box svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #e7dcc9; stroke-width: 5; }
.ring-fg { fill: none; stroke: var(--brown); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset 2s var(--ease) .15s; }
.in .ring-fg { stroke-dashoffset: 0; }
.ring-n { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Cormorant", "Cormorant Garamond", Georgia, serif; font-size: 3.4rem; font-weight: 600; color: var(--brown); line-height: 1; }
.ring-l { display: block; margin-top: 16px; font-family: var(--font-head); font-weight: 700; color: var(--head); font-size: 1.05rem; }
.lang-en .ring-l { font-family: var(--font-body); font-weight: 600; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.values-grid.values-4 { grid-template-columns: repeat(4, 1fr); }
.value { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 30px 26px; transition: transform .4s var(--ease), box-shadow .4s; }
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value h3 { font-size: 1.15rem; margin-bottom: .35em; }
.lang-en .value h3 { font-size: 1.5rem; }
.value p { color: var(--muted); font-size: .94rem; margin: 0; line-height: 1.8; }
.value-icon, .service-icon, .vm-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(144,104,34,.1); color: var(--gold); margin-bottom: 16px; transition: background .35s, color .35s; }
.value-icon .i, .service-icon .i, .vm-icon .i { width: 25px; height: 25px; }
.value:hover .value-icon { background: var(--gold); color: #fff; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 34px 30px 28px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.service-card::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--brown), var(--gold)); transform: scaleX(0); transition: transform .45s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover .service-icon { background: var(--gold); color: #fff; }
.service-card h3 { font-size: 1.18rem; margin-bottom: .45em; }
.lang-en .service-card h3 { font-size: 1.55rem; }
.service-card p { color: var(--muted); font-size: .95rem; line-height: 1.8; flex: 1; }

/* Dark section (old: #222 with shape divider) */
.dark-band { position: relative; background: var(--dark); color: #d6d6d6; }
.dark-band h2, .dark-band h3 { color: #fff; }
.dark-band .section-head .lead { color: #bdbdbd; }
.dark-band::after { content: ""; position: absolute; inset: auto 0 -1px; height: 46px; background: var(--footer); clip-path: polygon(0 100%, 0 40%, 50% 0, 100% 40%, 100% 100%); opacity: .55; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 32px 26px; border: 1px solid #3a3a3a; border-radius: 6px; transition: border-color .35s, transform .35s var(--ease); }
.step:hover { border-color: var(--gold); transform: translateY(-4px); }
.step-num { display: block; font-family: "Cormorant", "Cormorant Garamond", Georgia, serif; font-size: 3rem; line-height: 1; color: var(--gold-light); margin-bottom: 16px; font-weight: 600; }
.step h3 { font-size: 1.12rem; margin-bottom: .4em; }
.lang-en .step h3 { font-size: 1.5rem; }
.step p { color: #b5b5b5; font-size: .93rem; margin: 0; line-height: 1.75; }

/* Articles */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.articles-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin-inline: auto; }
.article-card a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 4px; padding: 28px; transition: transform .4s var(--ease), box-shadow .4s; }
.article-card a:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.article-card h3 { font-size: 1.12rem; line-height: 1.6; }
.lang-en .article-card h3 { font-size: 1.45rem; line-height: 1.2; }
.article-card p { color: var(--muted); font-size: .94rem; line-height: 1.8; flex: 1; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .84rem; margin-bottom: 14px; }
.article-meta .i { width: 16px; height: 16px; color: var(--gold); }

/* CTA band */
.cta-band { position: relative; background: linear-gradient(110deg, var(--gold) 0%, var(--brown) 100%); color: #fff; overflow: hidden; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: clamp(48px, 6vw, 70px); }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: .25em; }
.lang-en .cta-band h2 { font-size: clamp(2rem, 3.2vw, 2.7rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.cta-band .btn-gold { background: #fff; color: var(--brown); }
.cta-band .btn-gold:hover { background: var(--dark); color: #fff; }

/* Prose */
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.lang-en .prose h2 { font-size: 1.95rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose p, .prose li { color: #4d4d4d; }
.prose ul { padding-inline-start: 1.3em; margin-bottom: 1.2em; }
.prose ul li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--gold); }
.prose > :first-child { margin-top: 0; }
.lead-dark { font-size: 1.15rem; color: var(--head) !important; }
.disclaimer { margin-top: 2.5em; padding: 18px 20px; background: var(--bg-2); border-inline-start: 3px solid var(--gold); font-size: .92rem; color: var(--muted) !important; }

/* About page */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.vm { display: grid; gap: 18px; }
.vm-card { background: var(--dark); color: #d6d6d6; border-radius: 6px; padding: 32px; border-top: 3px solid var(--gold); }
.vm-card h2 { color: #fff; font-size: 1.3rem; margin-bottom: .35em; }
.lang-en .vm-card h2 { font-size: 1.8rem; }
.vm-card p { margin: 0; color: #c4c4c4; }
.vm-card .vm-icon { background: rgba(201,164,99,.12); color: var(--gold-light); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why { padding: 30px 24px; border-top: 3px solid var(--gold); background: #fff; box-shadow: var(--shadow); transition: transform .4s var(--ease), background .35s, box-shadow .4s; }
.why:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 2px var(--gold), var(--shadow-lg); }
.why-num { font-family: "Cormorant", "Cormorant Garamond", Georgia, serif; font-size: 2.4rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 14px; font-weight: 600; }
.why h3 { font-size: 1.1rem; }
.lang-en .why h3 { font-size: 1.45rem; }
.why p { color: var(--muted); font-size: .94rem; margin: 0; line-height: 1.8; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin-inline: auto; }
.member { text-align: center; }
.member-photo { position: relative; aspect-ratio: 4 / 4.6; border-radius: 6px; background: linear-gradient(160deg, #f3f3f3, #e4e4e4); display: grid; place-items: center; margin-bottom: 18px; overflow: hidden; }
.member-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, var(--brown), var(--gold)); transform: scaleX(0); transition: transform .45s var(--ease); }
.member:hover .member-photo::after { transform: scaleX(1); }
.member-emblem { width: 22%; height: auto; aspect-ratio: 1347 / 1916; opacity: .3; }
.member h3 { font-size: 1.1rem; margin-bottom: .15em; }
.member p { color: var(--gold); margin: 0; font-size: .92rem; font-weight: 600; }

/* Service detail / article layout */
.service-detail, .article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.check-list { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-inline-start: 3px solid var(--gold); padding: 16px 18px; margin: 0 !important; transition: transform .3s var(--ease), box-shadow .3s; }
.check-list li:hover { transform: translateX(-4px); box-shadow: var(--shadow); }
.lang-en .check-list li:hover { transform: translateX(4px); }
.check-list .i { color: var(--gold); width: 22px; height: 22px; margin-top: 4px; }
.side-card { position: sticky; top: 120px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 30px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.side-card h2 { font-size: 1.25rem; margin: 0; }
.lang-en .side-card h2 { font-size: 1.7rem; }
.side-card p { color: var(--muted); font-size: .95rem; margin: 0 0 6px; }
.side-card hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; width: 100%; }
.side-phone { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--head); font-weight: 600; }
.side-phone .i { color: var(--gold); width: 18px; }
.related-articles { margin-top: 2.4em; display: grid; gap: 16px; }
.article-body .article-meta { margin-bottom: 1.6em; }

/* Brochure / partners */
.brochure-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.cover-emblem { width: 34%; height: auto; aspect-ratio: 1347 / 1916; margin-bottom: 14px; }
.cover-bars { position: absolute; inset: auto 0 28px; height: 8px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.glance { margin: 0 0 28px; border-top: 1px solid var(--line); }
.glance div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.glance dt { color: var(--muted); font-size: .92rem; }
.glance dd { margin: 0; font-weight: 600; color: var(--head); }
.muted-note { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.center-lead { max-width: 760px; margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; color: var(--muted); font-size: 1.08rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 4px; transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: var(--gold); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 1.04rem; color: var(--head); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); flex: none; transition: background .3s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 12px; height: 2px; background: var(--gold); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus { background: var(--gold); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: #fff; }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { padding: 0 24px 22px; color: var(--muted); }
.faq-a p { margin: 0; }
.faq-a a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.faq-a a:hover { color: var(--brown); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.form-card, .contact-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h2, .contact-card h2 { font-size: 1.4rem; margin-bottom: 1em; }
.lang-en .form-card h2, .lang-en .contact-card h2 { font-size: 1.9rem; }
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--line); margin-bottom: 28px; }
.tabs button { position: relative; border: 0; background: transparent; font: 700 1.05rem var(--font-head); padding: 12px 22px; cursor: pointer; color: var(--muted); }
.lang-en .tabs button { font-family: var(--font-body); font-weight: 600; }
.tabs button::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.tabs button[aria-selected="true"] { color: var(--gold); }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin: 0 0 16px; min-width: 0; }
.field > span { font-size: .92rem; font-weight: 600; color: var(--head); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; min-height: 50px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(144,104,34,.12); }
.field [aria-invalid="true"] { border-color: #b3261e; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.req { color: var(--gold); }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #1e6b3a; }
.form-status.err { color: #b3261e; }
.hp { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.contact-side { position: sticky; top: 120px; }
.contact-list { list-style: none; display: grid; gap: 18px; margin-bottom: 24px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(144,104,34,.1); color: var(--gold); flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; }
.contact-list a, .contact-list span:not(.ci) { font-weight: 600; color: var(--head); }
.contact-list a:hover { color: var(--gold); }
.map-section { line-height: 0; }
.map-section iframe { width: 100%; height: 440px; border: 0; filter: grayscale(.3); }

/* 404 */
.nf { padding-block: calc(var(--header-h) + 80px) 120px; background: var(--bg-2); margin-top: calc(var(--topbar-h) * -1); }
.nf-emblem { width: 70px; height: auto; aspect-ratio: 1347 / 1916; margin: 0 auto 20px; }
.nf-code { font-family: "Cormorant", "Cormorant Garamond", Georgia, serif; font-size: 5rem; line-height: 1; color: var(--gold); margin: 0 0 .1em; font-weight: 600; }
.nf p { color: var(--muted); }
.nf ~ * .site-header, .page-404 .site-header { background: var(--dark); }

/* ---------- Footer (old: #313233 / #1F1F1F) ---------- */
.site-footer { background: var(--footer); color: #cccccc; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.1fr; gap: 40px; padding-block: clamp(56px, 7vw, 80px) 48px; }
.footer-brand p { margin: 18px 0 0; max-width: 30em; line-height: 1.85; color: #b8b8b8; }
.footer-brand .brand-mark { height: 76px; }
.footer-title { color: #fff; font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 18px; }
.footer-links, .footer-contact { list-style: none; display: grid; gap: 10px; }
.footer-links a, .footer-contact a { transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer-contact li, .footer-contact li > a:has(> .i) { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact a:hover > span { text-decoration: underline; text-underline-offset: 4px; }
.footer-contact .i { width: 18px; height: 18px; color: var(--gold-light); margin-top: 5px; }
.qr { display: block; width: 132px; background: #fff; padding: 8px; margin-top: 18px; transition: transform .3s var(--ease); }
.qr:hover { transform: scale(1.04); }
.qr img { width: 100%; height: auto; }
.qr-cap { display: block; font-size: .8rem; color: #9a9a9a; margin-top: 8px; }
.copyright { background: var(--footer-2); color: #9a9a9a; font-size: .85rem; }
.copyright-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 18px; }
.copyright p { margin: 0; }
.copyright a:hover { color: var(--gold-light); }
.social { display: flex; gap: 6px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #9a9a9a; transition: background .25s, color .25s; }
.social a:hover { background: var(--gold); color: #fff; }
.social .i { width: 17px; height: 17px; }

/* Back to top (old site had one) */
.to-top { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 40; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(0,0,0,.35); color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, visibility .3s, transform .3s, background .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); }
.to-top .i { width: 20px; height: 20px; transform: rotate(-90deg); }
.wa-float { position: fixed; bottom: 80px; inset-inline-end: 22px; z-index: 40; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #1f9d55; color: #fff; box-shadow: 0 12px 28px -8px rgba(0,0,0,.45); }
.wa-float .i { width: 28px; height: 28px; }

/* Sticky mobile contact bar */
.mbar { display: none; }
@media (max-width: 1024px) {
  .mbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); box-shadow: 0 -8px 24px rgba(0,0,0,.12); transform: translateY(110%); transition: transform .4s var(--ease); }
  .mbar.show { transform: none; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 6px; color: #fff; font-weight: 600; font-size: 1rem; }
  .mbar .i { width: 20px; height: 20px; }
  .mbar-call { background: var(--gold); }
  .mbar-wa { background: #1f9d55; }
  .mbar-alt { background: var(--dark); }
  body { padding-bottom: 72px; }
  .to-top { bottom: 84px; }
  .nav-open .mbar { transform: translateY(110%); }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
  .fill, .ring-fg { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .main-nav li > a { padding: 10px 8px; font-size: 1rem; }
  .main-nav li > a::after { inset-inline: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid.values-4, .why-grid, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  :root { --header-h: 92px; }
  .brand-mark { height: 64px; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(360px, 88vw); background: var(--dark); padding: 100px 28px 40px; transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto; z-index: -1; box-shadow: -20px 0 60px rgba(0,0,0,.4); }
  [dir="rtl"] .main-nav { transform: translateX(-100%); inset-inline-end: auto; inset-inline-start: auto; left: 0; }
  [dir="ltr"] .main-nav { right: 0; }
  .nav-open .main-nav { transform: none; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header .nav-toggle { color: #fff; position: relative; z-index: 2; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li > a, .site-header.scrolled .main-nav li > a { color: #e6e6e6; font-size: 1.15rem; padding: 15px 4px; border-bottom: 1px solid #3a3a3a; }
  .main-nav li > a::after { display: none; }
  .main-nav li > a[aria-current="page"], .site-header.scrolled .main-nav li > a[aria-current="page"] { color: var(--gold-light); }
  .nav-mobile-extra { display: grid; gap: 12px; margin-top: 28px; }
  .intro-grid, .about-grid, .service-detail, .article-layout, .contact-grid, .brochure-grid { grid-template-columns: 1fr; }
  .side-card, .contact-side { position: static; }
  .services-grid, .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .clients { --per: 3; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  :root { --header-h: 80px; }
  .brand-mark { height: 56px; }
  .site-header.scrolled .header-inner { height: 74px; }
  .site-header.scrolled .brand-mark { height: 50px; }
  .lang-switch span { display: none; }
  .quick-grid, .services-grid, .articles-grid, .articles-grid.two, .values-grid, .values-grid.values-4, .why-grid, .steps, .field-row, .footer-grid, .team-grid { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .clients { --per: 2; gap: 4px; }
  .clients-btn { width: 34px; height: 34px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .ring, .ring-box { width: 160px; } .ring-box { height: 160px; } .ring-n { font-size: 2.8rem; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .glance div { grid-template-columns: 1fr; gap: 2px; }
  .map-section iframe { height: 320px; }
  .copyright-inner { flex-direction: column; text-align: center; }
}
@media print {
    .page-hero { background: none; color: #000; padding: 0; }
  .page-hero h1 { color: #000; }
}


.more-wrap { text-align: center; margin-top: clamp(32px, 4vw, 48px); }
.articles-grid > [hidden] { display: none !important; }

/* ---------- Form validation hints ---------- */
.field .err { display: none; margin-top: 6px; color: #b3261e; font-size: .82rem; }
.field [aria-invalid="true"] { border-color: #b3261e !important; }
.field [aria-invalid="true"] ~ .err { display: block; }
.field .count { display: block; margin-top: 6px; color: var(--muted); font-size: .8rem; text-align: end; }
.field .count.full { color: #b3261e; }

/* ---------- Why Almwaffq + values on a fixed photo ---------- */
.photo-section { position: relative; isolation: isolate; background: var(--black); }
.photo-section-img { inset: 0; width: 100%; object-fit: cover; z-index: -2; }
.photo-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12,10,8,.68); }
.photo-section .section-head h2 { color: #fff; }
/* Why Us: glass reasons + value strip */
#why-us::before { background: linear-gradient(180deg, rgba(14,10,6,.82), rgba(14,10,6,.7) 45%, rgba(14,10,6,.88)); }
#why-us .why-grid { gap: 0; border: 1px solid rgba(201,164,99,.28); background: rgba(20,14,8,.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
#why-us .why { position: relative; background: transparent; border-top: 0; box-shadow: none; padding: 40px 30px 38px; border-inline-start: 1px solid rgba(201,164,99,.22); transition: background .4s, box-shadow .4s; }
#why-us .why:first-child { border-inline-start: 0; }
#why-us .why:hover { transform: none; background: rgba(201,164,99,.07); box-shadow: inset 0 0 0 1px var(--gold-light); }
#why-us .why-num { font-size: 3.4rem; font-weight: 500; color: transparent; -webkit-text-stroke: 1px var(--gold-light); margin-bottom: 22px; transition: color .4s; }
#why-us .why:hover .why-num { color: var(--gold-light); }
#why-us .why h3 { color: #fff; }
#why-us .why p { color: rgba(255,255,255,.7); }
.why-values { margin-top: 28px; gap: 0; background: #fff; border-radius: 4px; box-shadow: var(--shadow-lg); }
#why-us .value { background: transparent; border: 0; border-radius: 0; padding: 34px 28px; text-align: center; border-inline-start: 1px solid var(--line); box-shadow: inset 0 0 0 0 transparent; transition: box-shadow .4s; }
#why-us .value:first-child { border-inline-start: 0; }
#why-us .value:hover { transform: none; box-shadow: inset 0 0 0 1px var(--gold); }
#why-us .value-icon { margin-inline: auto; }
@media (max-width: 980px) {
  #why-us .why:nth-child(3), #why-us .value:nth-child(3) { border-inline-start: 0; }
  #why-us .why:nth-child(n+3) { border-top: 1px solid rgba(201,164,99,.22); }
  #why-us .value:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 680px) {
  #why-us .why, #why-us .value { border-inline-start: 0; }
  #why-us .why + .why { border-top: 1px solid rgba(201,164,99,.22); }
  #why-us .value + .value { border-top: 1px solid var(--line); }
}

/* ---------- Cookie consent ---------- */
.cookie { position: fixed; inset-inline: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(0,0,0,.08); }
.cookie[hidden] { display: none; }
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.cookie strong { display: block; color: var(--head); font-size: 1rem; margin-bottom: 4px; }
.cookie p { margin: 0; color: var(--muted); font-size: .92rem; }
.cookie p a { color: var(--head); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cookie .btn-dark { flex: none; background: var(--dark); color: #fff; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--dark); border-radius: 8px; padding-inline: 26px; }
.cookie .btn-dark:hover { background: var(--gold); border-color: var(--gold); }
.has-cookie .to-top { bottom: 110px; }
@media (max-width: 1024px) { .has-cookie .mbar { display: none !important; } }
@media (max-width: 680px) { .cookie-inner { flex-direction: column; align-items: stretch; gap: 12px; padding-block: 16px; } .cookie .btn-dark { width: 100%; } }
#services .section-head { max-width: none; }
@media (min-width: 681px) { .cta-actions { margin-inline-end: 110px; } }

/* ---------- Management message (under About) ---------- */
.mgmt { background: #FAF8F4; }
.mgmt-card { position: relative; max-width: 900px; margin-inline: auto; background: #fff; border-top: 3px solid var(--gold); box-shadow: var(--shadow-lg); padding: clamp(44px, 5vw, 64px) clamp(28px, 6vw, 80px) clamp(40px, 4.5vw, 56px); text-align: center; }
.mgmt-quote { position: absolute; top: 18px; inset-inline-start: 34px; font-family: Georgia, serif; font-size: 7rem; line-height: 1; color: var(--gold); opacity: .18; pointer-events: none; }
.mgmt .label { margin-bottom: .9em; }
.mgmt-text p { font-size: 1.12rem; line-height: 2.1; color: #3a3a3a; margin: 0 0 1em; }
.mgmt-text .mgmt-closing { font-family: var(--font-head); font-weight: 700; color: var(--brown); font-size: 1.18rem; margin-top: 1.4em; }
.lang-en .mgmt-text p { line-height: 1.85; }
.lang-en .mgmt-text .mgmt-closing { font-size: 1.45rem; }
.mgmt-sign { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); min-width: 60%; }
.mgmt-sign strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--head); }
.lang-en .mgmt-sign strong { font-size: 1.4rem; }
.mgmt-sign span { color: var(--muted); font-size: .95rem; }
@media (max-width: 680px) {
  .mgmt-card { padding: 40px 22px 32px; }
  .mgmt-quote { font-size: 5rem; top: 10px; inset-inline-start: 16px; }
  .mgmt-text p { font-size: 1.02rem; line-height: 1.95; }
  .mgmt-sign { min-width: 80%; }
}

/* ---------- Phone polish ---------- */
@media (max-width: 680px) { h1, h2, h3 { text-wrap: balance; } .copyright a { white-space: nowrap; } }
.services-more { display: none; }
/* No sticky call/WhatsApp bar; the round WhatsApp button covers it */
.mbar { display: none !important; }
@media (max-width: 1024px) { body { padding-bottom: 0; } .to-top { bottom: 22px; } }
@media (max-width: 680px) {
  .section { padding-block: 52px; }
  .quick { padding-block: 40px 0; }
  .quick-grid { gap: 12px; }
  .qbox { flex-direction: row; align-items: center; text-align: start; gap: 4px 16px; padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; }
  .qbox-icon { width: 52px; height: 52px; grid-row: span 2; }
  .qbox-icon .i { width: 24px; height: 24px; }
  .qbox strong, .lang-en .qbox strong { font-size: 1.15rem; align-self: end; }
  .qbox small { align-self: start; }
  .rings { padding-block: 44px; }
  .rings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 12px; justify-items: center; }
  .rings-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ring, .ring-box { width: 128px; } .ring-box { height: 128px; } .ring-n { font-size: 2.2rem; }
  .ring-l { margin-top: 10px; font-size: .95rem; }
  .services-grid { gap: 14px; }
  #services .services-grid > :nth-child(n+5) { display: none; }
  .services-more { display: block; }
  .page-hero + .section { padding-top: 32px; }
  .service-card { padding: 24px 22px 20px; }
  .brochure-title { font-size: 1.25rem; margin-bottom: .8em; }
  .lang-en .hero-sub { letter-spacing: .14em; }
  form .btn[type="submit"] { width: 100%; }
  .wa-float { display: grid; bottom: 18px; inset-inline-start: 18px; width: 52px; height: 52px; }
  .wa-float .wa-tip { display: none; }
  .to-top { width: 40px; height: 40px; bottom: 24px; inset-inline-end: 18px; }
}

/* Header CTA + floating WhatsApp */
.header-cta { min-height: 42px; padding: .55em 1.2em; font-size: .95rem; }
@media (max-width: 1180px) { .header-cta { display: none; } }
.wa-float { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: transform .3s var(--ease), box-shadow .3s; }
.wa-float .i { width: 28px; height: 28px; }
.wa-float { opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, visibility .3s, transform .3s var(--ease), box-shadow .3s; }
.wa-float.show { opacity: 1; visibility: visible; transform: none; }
.wa-float.show:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 28px -8px rgba(0,0,0,.5); }
.wa-tip { position: absolute; inset-inline-start: calc(100% + 12px); white-space: nowrap; background: #fff; color: var(--head); font-size: .88rem; font-weight: 600; padding: 7px 12px; border-radius: 6px; box-shadow: var(--shadow); opacity: 0; transform: translateX(-6px); pointer-events: none; transition: opacity .25s, transform .25s; }
[dir="rtl"] .wa-tip { transform: translateX(6px); }
.wa-float:hover .wa-tip { opacity: 1; transform: none; }
@media (max-width: 680px) { .wa-float { display: none; } }
.main-nav li > a { white-space: nowrap; }
@media (min-width: 1181px) and (max-width: 1440px) { .main-nav li > a { padding-inline: 8px; } .lang-ar .main-nav li > a { font-size: 1.04rem; } }
