/* Al-Abadela Curtain — site styles */
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-wght-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "El Messiri"; src: url("../fonts/el-messiri-arabic-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Cairo"; src: url("../fonts/cairo-arabic-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --red: #c1121f;
  --red-deep: #8c0c16;
  --navy: #0e1b45;
  --navy-deep: #081130;
  --ink: #17203d;
  --muted: #5b6480;
  --cream: #fbf6ee;
  --line: #e8e1d5;
  --gold: #c9a24b;
  --wa: #128c4a;
  --wa-hover: #0c743c;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(14, 27, 69, .35);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); overflow-x: hidden; }
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 8px; top: -80px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 300; }
.skip:focus { top: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 2px solid transparent; font-weight: 600; font-size: 16px; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }
.btn-sm { padding: 9px 15px; font-size: 15px; }
.btn-lg { padding: 15px 26px; font-size: 18px; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 22px -12px rgba(18, 140, 74, .9); }
.btn-wa:hover { background: var(--wa-hover); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--navy); }

/* ---------- Opening curtain ---------- */
.stage-curtain { position: fixed; inset: 0; z-index: 500; pointer-events: none; display: flex; }
.drape { flex: 1; height: 100%;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .28), transparent 16%, transparent 80%, rgba(0, 0, 0, .35)),
    repeating-linear-gradient(90deg, #7d0a13 0, #c1121f 28px, #e0303c 46px, #b00f1b 64px, #7d0a13 92px);
  box-shadow: 0 0 60px rgba(0, 0, 0, .5);
  animation: drape-open 1.5s cubic-bezier(.7, 0, .2, 1) .35s forwards; }
.drape-l { transform-origin: left center; --to: -102%; }
.drape-r { transform-origin: right center; --to: 102%; }
@keyframes drape-open {
  0% { transform: translateX(0) scaleX(1); }
  100% { transform: translateX(var(--to)) scaleX(.55); visibility: hidden; }
}
.seen .stage-curtain { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.is-stuck { box-shadow: 0 8px 30px -18px rgba(14, 27, 69, .5); border-color: var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 52px; height: 52px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text b { font-family: var(--serif); font-weight: 800; font-size: 21px; color: var(--red); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
.brand-text small { font-size: 11.5px; color: var(--navy); letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; align-items: center; gap: 26px; order: 2; margin-inline-start: auto; }
.lang-switch { order: 3; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: 15px; color: var(--navy); white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.lang-switch:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.lang-switch[lang="ar"] { font-family: "Cairo", var(--sans); }
.lang-switch[lang="en"] { font-family: "Outfit", var(--sans); }
.sw-short { display: none; }
.nav > a:not(.btn) { text-decoration: none; font-weight: 500; position: relative; padding: 6px 0; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav > a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: none; border-radius: 10px; padding: 12px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-deep); min-height: min(88vh, 820px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: slide3 18s linear infinite; }
.hero-slide:only-child { opacity: 1; animation: zoom 20s ease-in-out infinite alternate; }
.hero-slide:first-child:nth-last-child(2), .hero-slide:first-child:nth-last-child(2) ~ .hero-slide { animation-name: slide2; animation-duration: 12s; }
@keyframes slide3 { 0% { opacity: 0; transform: scale(1.02); } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; transform: scale(1.1); } 100% { opacity: 0; } }
@keyframes slide2 { 0% { opacity: 0; transform: scale(1.02); } 8% { opacity: 1; } 50% { opacity: 1; } 60% { opacity: 0; transform: scale(1.1); } 100% { opacity: 0; } }
@keyframes zoom { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 17, 48, .93) 0%, rgba(8, 17, 48, .78) 42%, rgba(8, 17, 48, .28) 100%); }
.hero-in { padding: 70px 0 170px; }
.hero h1 { font-size: clamp(38px, 6.2vw, 76px); font-weight: 800; max-width: 13ch; letter-spacing: -.01em; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #f3d48a; margin-bottom: 18px; }
.lead { font-size: clamp(18px, 2vw, 21px); max-width: 52ch; margin-top: 20px; color: rgba(255, 255, 255, .9); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.rise { opacity: 0; transform: translateY(26px); animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(1.25s + var(--d) * .14s); }
.seen .rise { animation-delay: calc(.1s + var(--d) * .12s); }
@keyframes rise { to { opacity: 1; transform: none; } }

.ticker { position: absolute; left: 0; right: 0; bottom: 78px; overflow: hidden; padding: 12px 0; background: rgba(8, 17, 48, .55); backdrop-filter: blur(6px); border-block: 1px solid rgba(255, 255, 255, .14); }
.ticker-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track span { font-family: var(--serif); font-style: italic; font-size: 18px; white-space: nowrap; }
.ticker-track i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes ticker { to { transform: translateX(calc(-50% - 13px)); } }

.swag { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 80px; display: block; }
.swag-navy { fill: var(--navy); }
.swag-red { fill: var(--red); }
.swag-base { fill: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.section-navy::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 46px); pointer-events: none; }
.section-head { max-width: 640px; margin: 0 auto clamp(34px, 5vw, 56px); text-align: center; }
.section-head h2, .about h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; color: var(--navy); }
.section-head p:not(.eyebrow) { color: var(--muted); margin-top: 14px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 10px; }

/* reveal (only when JS is on) */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * .1s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card:nth-child(-n+2) { grid-column: span 2; }
.card:nth-child(-n+2) .card-media { aspect-ratio: 16 / 8; }
.card:nth-child(-n+2) .card-actions .btn { flex: 0 1 190px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 0 rgba(14, 27, 69, .03); }
.card:hover { box-shadow: var(--shadow); }
.js .card[data-reveal].in { transition: opacity .7s ease, transform .35s ease, box-shadow .35s ease; }
.js .card[data-reveal].in:hover { transform: translateY(-6px); transition-delay: 0s; }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-media img { transform: scale(1.08); }
.card-icon { position: absolute; left: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 14px; background: #fff; color: var(--red); display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.card-icon svg { width: 32px; height: 32px; }
.card-media.no-img { background: radial-gradient(120% 120% at 80% 0%, #24377c 0%, var(--navy) 55%, var(--navy-deep) 100%); }
.card-media.no-img::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 34px); }
.card-media.no-img .card-icon { position: absolute; inset: 0; margin: auto; width: 104px; height: 104px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(243, 212, 138, .55); color: #f3d48a; box-shadow: none; transition: transform .5s cubic-bezier(.2, .7, .2, 1), background .3s; }
.card-media.no-img .card-icon svg { width: 56px; height: 56px; }
.card:hover .no-img .card-icon { transform: scale(1.1) rotate(-4deg); background: rgba(255, 255, 255, .14); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 24px; color: var(--navy); }
.card-body p { color: var(--muted); font-size: 16px; }
.card-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 12px; }
.card-actions .btn { flex: 1; }

/* ---------- About / steps ---------- */
.about { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about h2 { color: #fff; }
.about .eyebrow { color: #f3d48a; }
.about-text p:not(.eyebrow) { color: rgba(255, 255, 255, .85); margin-top: 16px; }
.about-text .btn { margin-top: 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.steps span { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-family: var(--serif); font-weight: 800; font-size: 22px; }
.steps h3 { font-size: 21px; margin-bottom: 4px; }
.steps p { color: rgba(255, 255, 255, .78); font-size: 16px; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.chip { padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; transition: all .2s; }
.chip:hover { border-color: var(--navy); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.masonry { columns: 3 300px; column-gap: 18px; }
.shot { position: relative; margin: 0 0 18px; break-inside: avoid; border-radius: 14px; overflow: hidden; background: var(--cream); }
.shot.is-hidden { display: none; }
.shot-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot img { width: 100%; height: auto; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.shot:hover img { transform: scale(1.06); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 40px 12px 12px 16px; color: #fff; font-size: 15px; font-weight: 500; line-height: 1.3; background: linear-gradient(transparent, rgba(8, 17, 48, .85)); pointer-events: none; }
.shot-wa { pointer-events: auto; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; transition: transform .2s, background .2s; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6); }
.shot-wa:hover { transform: scale(1.12); background: var(--wa-hover); }
.shot-wa svg { width: 24px; height: 24px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 26px; align-items: stretch; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow); }
.line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.line small { display: block; color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.line b { font-family: var(--serif); font-size: 26px; color: var(--navy); white-space: nowrap; }
.line-btns { display: flex; gap: 8px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts svg { color: var(--red); flex: none; margin-top: 3px; }
.contact-card > .btn { align-self: flex-start; margin-top: auto; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #e9eef5; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .8); padding-top: 60px; font-size: 16px; }
.footer-in { display: grid; grid-template-columns: auto 1.6fr 1fr; gap: 44px; align-items: start; }
.footer-brand img { width: 150px; height: 150px; border-radius: 16px; background: #fff; }
.site-footer h4 { color: #fff; font-size: 20px; margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-list.two { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 44px; padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }

/* ---------- Floating WhatsApp ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .5); transition: transform .2s; }
.fab svg { width: 34px; height: 34px; }
.fab:hover { transform: scale(1.08); }
.fab::before, .fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s ease-out infinite; pointer-events: none; }
.fab::after { animation-delay: 1.2s; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 400; background: rgba(8, 17, 48, .72); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .2s; }
.modal.is-open { opacity: 1; }
.modal-box { position: relative; width: min(460px, 100%); background: #fff; border-radius: 22px; padding: 30px 26px 24px; transform: translateY(20px) scale(.97); transition: transform .25s cubic-bezier(.2, .7, .2, 1); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.modal.is-open .modal-box { transform: none; }
.modal-box h3 { font-size: 26px; color: var(--navy); margin-bottom: 18px; padding-right: 30px; }
.modal-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); display: grid; place-items: center; }
.cm-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.cm-row b { font-size: 18px; color: var(--navy); white-space: nowrap; }
.lightbox { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lightbox img { max-height: 76vh; max-width: 100%; border-radius: 12px; box-shadow: 0 30px 80px -20px #000; }
.lightbox figcaption { color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.lightbox .modal-x { background: rgba(255, 255, 255, .16); color: #fff; z-index: 2; }
.lb-nav { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; }
.lb-nav:hover, .lightbox .modal-x:hover { background: rgba(255, 255, 255, .3); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card:nth-child(-n+2) { grid-column: auto; }
  .card:nth-child(-n+2) .card-media { aspect-ratio: 16 / 10; }
  .card:nth-child(-n+2) .card-actions .btn { flex: 1; }
}
@media (max-width: 900px) {
  .about, .contact { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; gap: 30px; }
  .nav-toggle { display: flex; order: 3; }
  .lang-switch { order: 2; margin-inline-start: auto; padding: 8px 12px; }
  .header-in { gap: 10px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -20px rgba(14, 27, 69, .35); display: none; }
  .nav.is-open { display: flex; animation: drop .25s ease; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; padding: 14px; }
  @keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand img { width: 44px; height: 44px; }
  .sw-long, .lang-switch svg { display: none; }
  .sw-short { display: inline; }
  .brand-text small { display: none; }
  .brand-text b { font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; }
  .brand-text small { font-size: 10px; }
  .hero { min-height: 0; }
  .hero-in { padding: 54px 0 160px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .cards { grid-template-columns: 1fr; }
  .masonry { columns: 2; column-gap: 10px; }
  .shot { margin-bottom: 10px; }
  .shot figcaption { font-size: 12.5px; padding: 30px 8px 8px 10px; }
  .shot-wa { width: 44px; height: 44px; }
  .line-btns { width: 100%; }
  .line-btns .btn { flex: 1; }
  .cm-row { grid-template-columns: 1fr 1fr; }
  .cm-row b { grid-column: 1 / -1; }
  .lightbox { grid-template-columns: 1fr; padding: 12px; }
  .lb-nav { position: absolute; top: 50%; margin-top: -24px; z-index: 2; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .footer-list.two { grid-template-columns: 1fr; }
  .fab { right: 14px; bottom: 14px; }
}

/* ---------- Arabic / right-to-left ---------- */
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.flip { display: inline-flex; }
[dir="rtl"] { --serif: "El Messiri", "Playfair Display", "Geeza Pro", "Segoe UI", Tahoma, serif; --sans: "Cairo", "Outfit", "Geeza Pro", "Segoe UI", Tahoma, sans-serif; }
[dir="rtl"] *, [dir="rtl"] *::before { letter-spacing: 0 !important; }
[dir="rtl"] body { line-height: 1.8; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { line-height: 1.35; font-weight: 700; }
[dir="rtl"] .flip svg { transform: scaleX(-1); }
[dir="rtl"] .brand-text b { font-size: 24px; font-weight: 700; line-height: 1.25; }
[dir="rtl"] .brand-text small { font-size: 12.5px; }
[dir="rtl"] .hero::before { background: linear-gradient(260deg, rgba(8, 17, 48, .93) 0%, rgba(8, 17, 48, .78) 42%, rgba(8, 17, 48, .28) 100%); }
[dir="rtl"] .hero h1 { max-width: 15ch; font-size: clamp(36px, 5.6vw, 70px); }
[dir="rtl"] .kicker, [dir="rtl"] .eyebrow { font-size: 16px; }
[dir="rtl"] .eyebrow::before { margin-right: 0; margin-left: 10px; }
[dir="rtl"] .nav > a:not(.btn)::after { transform-origin: right; }
[dir="rtl"] .ticker-track { animation-name: ticker-rtl; }
[dir="rtl"] .ticker-track span { font-style: normal; }
@keyframes ticker-rtl { to { transform: translateX(calc(50% + 13px)); } }
[dir="rtl"] .card-icon { left: auto; right: 16px; }
[dir="rtl"] .card-media.no-img .card-icon { left: 0; right: 0; }
[dir="rtl"] .shot figcaption { padding: 40px 16px 12px 12px; }
[dir="rtl"] .modal-x { right: auto; left: 12px; }
[dir="rtl"] .modal-box h3 { padding-right: 0; padding-left: 30px; }
[dir="rtl"] .fab { right: auto; left: 20px; }
[dir="rtl"] .steps span, [dir="rtl"] .line b { font-family: "Playfair Display", var(--serif); }
@media (max-width: 560px) {
  [dir="rtl"] .brand-text b { font-size: 21px; }
  [dir="rtl"] .shot figcaption { padding: 30px 10px 8px 8px; }
  [dir="rtl"] .lb-prev { left: auto; right: 8px; }
  [dir="rtl"] .lb-next { right: auto; left: 8px; }
  [dir="rtl"] .fab { left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .stage-curtain { display: none; }
  .hero-slide { opacity: 0 !important; }
  .hero-slide:first-child { opacity: 1 !important; }
  .rise, .js [data-reveal] { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

/* =====================================================================
   v3 — multi-page components
   ===================================================================== */
.section-head.light h2 { color: #fff; }
.center { text-align: center; }
.center-cta { text-align: center; margin-top: 38px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.muted { color: var(--muted); }

/* top bar */
.topbar { background: var(--navy-deep); color: rgba(255, 255, 255, .86); font-size: 14px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-info { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar svg { width: 15px; height: 15px; vertical-align: -3px; color: #f3d48a; }
.tb-phone, .tb-addr, .tb-hours { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar .lang-switch { order: 0; margin: 0; padding: 4px 14px; border-color: rgba(255, 255, 255, .3); color: #fff; font-size: 14px; }
.topbar .lang-switch:hover { background: #fff; color: var(--navy); border-color: #fff; text-decoration: none; }
.topbar .lang-switch svg { color: currentColor; display: inline; width: 16px; height: 16px; }

/* header + navigation */
.nav { margin-inline-start: auto; gap: 6px; }
.nav > a:not(.btn), .nav .has-sub > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; font-weight: 600; font-size: 16px; text-decoration: none; position: relative; color: var(--navy); }
.nav > a:not(.btn)::after, .nav .has-sub > a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
[dir="rtl"] .nav > a:not(.btn)::after, [dir="rtl"] .nav .has-sub > a::after { transform-origin: right; }
.nav > a:not(.btn):hover::after, .nav .has-sub:hover > a::after, .nav .is-active::after, .nav .has-sub.is-active > a::after { transform: scaleX(1); }
.nav .is-active, .nav .has-sub.is-active > a { color: var(--red); }
.nav .has-sub > a svg { width: 14px; height: 14px; }
.nav-cta { margin-inline-start: 10px; }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 6px); inset-inline-start: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(14, 27, 69, .45); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 50; }
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: 15.5px; }
.sub a:hover { background: var(--cream); color: var(--red); }

/* inner page banner */
.page-hero { position: relative; background: radial-gradient(120% 140% at 85% 0%, #24377c 0%, var(--navy) 50%, var(--navy-deep) 100%); color: #fff; padding: clamp(40px, 6vw, 70px) 0 clamp(46px, 7vw, 80px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 46px); pointer-events: none; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--red) 0 55%, var(--gold) 55% 70%, var(--red) 70%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; max-width: 22ch; }
.page-hero .lead { max-width: 62ch; margin-top: 14px; }
.page-hero .kicker { margin: 18px 0 10px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14.5px; color: rgba(255, 255, 255, .75); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .55; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #f3d48a; }

/* service cards (v3) */
a.card-media { display: block; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a:hover { color: var(--red); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red); text-decoration: none; font-size: 15.5px; }
.more svg { width: 18px; height: 18px; transition: transform .2s; }
.more:hover svg { transform: translateX(4px); }
[dir="rtl"] .more:hover svg { transform: translateX(-4px); }
.card-actions { padding-top: 8px; }

/* split / about */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 6vw, 80px); align-items: center; position: relative; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6); }
.badge-float { position: absolute; inset-inline-end: -14px; bottom: 26px; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--navy); padding: 12px 18px; border-radius: 14px; font-weight: 700; box-shadow: var(--shadow); }
.badge-float svg { width: 30px; height: 30px; color: var(--red); }
.split-text h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: #fff; }
.split-text .eyebrow { color: #f3d48a; }
.split-text > p { color: rgba(255, 255, 255, .86); margin-top: 16px; }
.split-light .split-text h2, .split-light .split-text > p { color: inherit; }
.split-light .split-text > p { color: #3a4366; }
.split-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 3px; padding: 3px; border-radius: 50%; background: var(--red); color: #fff; stroke-width: 3; }
.checks.dark li { color: var(--ink); }
.section-navy .split-text .checks li { color: #fff; }

/* steps (works on light and dark) */
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { flex-direction: column; background: #fff; border: 1px solid var(--line); padding: 26px; box-shadow: 0 2px 0 rgba(14, 27, 69, .03); }
.steps h3 { color: var(--navy); }
.steps p { color: var(--muted); }
.section-navy .steps li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); box-shadow: none; }
.section-navy .steps h3 { color: #fff; }
.section-navy .steps p { color: rgba(255, 255, 255, .78); }
.section-navy { position: relative; }
.section-navy > .wrap { position: relative; }

/* values + chip links */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.value-ic { width: 64px; height: 64px; border-radius: 16px; background: var(--navy); color: #f3d48a; display: grid; place-items: center; margin-bottom: 16px; }
.value-ic svg { width: 36px; height: 36px; }
.value h3 { font-size: 21px; color: var(--navy); margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 16px; }
.chip-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip-links a { display: inline-block; padding: 10px 20px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; text-decoration: none; background: #fff; transition: all .2s; }
.chip-links a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* call-to-action band */
.cta-band { background: linear-gradient(110deg, var(--red-deep), var(--red) 45%, #a50e19); color: #fff; padding: clamp(40px, 6vw, 64px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 40px); pointer-events: none; }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.cta-band p { margin-top: 8px; max-width: 56ch; color: rgba(255, 255, 255, .92); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-wa { background: #fff; color: var(--wa); box-shadow: none; }
.cta-band .btn-wa:hover { background: var(--cream); }

/* blog */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s; }
.post-card:hover { box-shadow: var(--shadow); }
.post-media { display: block; aspect-ratio: 16 / 10; background: var(--navy); overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.post-card:hover .post-media img { transform: scale(1.07); }
.post-ph { display: grid; place-items: center; height: 100%; color: #f3d48a; }
.post-ph svg { width: 56px; height: 56px; }
.post-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-body time { font-size: 14px; color: var(--muted); }
.post-body h3 { font-size: 22px; color: var(--navy); }
.post-body h3 a { text-decoration: none; }
.post-body h3 a:hover { color: var(--red); }
.post-body p { color: var(--muted); font-size: 16px; }
.post-body .more { margin-top: auto; padding-top: 6px; }

/* article + service detail */
.prose { font-size: 18px; line-height: 1.8; color: #2a3355; }
.prose p { margin: 0 0 18px; }
.prose h3 { font-size: 26px; color: var(--navy); margin: 34px 0 12px; }
.prose ul { margin: 0 0 20px; padding-inline-start: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--navy); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 60px); align-items: start; }
.detail-img { margin: 0 0 30px; }
.detail-img img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.feature-box { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 26px; margin: 30px 0; }
.feature-box h2, .faq h2, .related-work h2 { font-size: 28px; color: var(--navy); margin-bottom: 16px; }
.feature-box .checks { margin-top: 0; }
.faq { margin: 40px 0; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 10px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 700; font-size: 18px; color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 20px; height: 20px; transition: transform .25s; color: var(--red); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details[open] { border-color: var(--navy); box-shadow: var(--shadow); }
.faq details > div { padding: 0 20px 6px; color: #3a4366; }
.faq details > div p { margin: 0 0 14px; }
.related-work { margin-top: 44px; }
.masonry.two { columns: 2 220px; }
.detail-side { position: sticky; top: 96px; display: grid; gap: 20px; }
.side-card { background: var(--navy); color: #fff; border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.side-card h2 { font-size: 26px; margin: 4px 0 8px; }
.side-card .eyebrow { color: #f3d48a; margin: 0; }
.side-card > p { color: rgba(255, 255, 255, .82); font-size: 16px; margin-bottom: 14px; }
.side-phone { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .16); display: grid; gap: 10px; }
.side-phone b { font-family: var(--serif); font-size: 22px; }
.side-phone div { display: flex; gap: 8px; }
.side-card .btn-line { border-color: rgba(255, 255, 255, .6); color: #fff; }
.side-card .btn-line:hover { background: #fff; color: var(--navy); }
.side-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: #f3d48a; font-weight: 700; text-decoration: none; }
.side-link:hover { text-decoration: underline; }
.side-card.plain { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.side-card.plain h3 { font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 16px; }
.side-list li:last-child a { border: 0; }
.side-list a:hover { color: var(--red); }
.side-list svg { width: 18px; height: 18px; flex: none; color: var(--red); }
.article-wrap { max-width: 860px; }
.article-cta { margin-top: 44px; padding: 28px; border-radius: 20px; background: var(--cream); border: 1px solid var(--line); display: grid; gap: 18px; }
.article-cta h2 { font-size: 26px; color: var(--navy); }

/* contact page + forms */
.contact-page { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 28px; color: var(--navy); }
.form-card > .muted { margin: 6px 0 20px; }
.form { display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border: 1.5px solid #cfcabd; border-radius: 12px; font: inherit; background: #fff; color: inherit; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(14, 27, 69, .15); }
.form textarea { resize: vertical; min-height: 130px; }
.form .btn { justify-self: start; }
.hp { position: absolute !important; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.alert { border-radius: 12px; padding: 14px 18px; margin: 0 0 18px; }
.alert.err { background: #fdeeee; color: #8c0c16; border: 1px solid #f2c4c7; }
.alert.ok { background: #e4f5ea; color: #0c5a2e; border: 1px solid #b5dfc4; padding: 24px; }
.alert.ok h2 { color: #0c5a2e; margin-bottom: 8px; }
.contact-side .contact-card { box-shadow: var(--shadow); }

/* 404 */
.notfound { padding: clamp(70px, 12vw, 140px) 0; }
.big404 { font-family: var(--serif); font-size: clamp(90px, 18vw, 180px); font-weight: 800; line-height: 1; color: var(--red); }
.notfound h1 { font-size: clamp(28px, 4vw, 44px); color: var(--navy); margin: 8px 0 10px; }
.notfound .split-cta { justify-content: center; }

/* footer (v3) */
.footer-in { grid-template-columns: 1.5fr 1fr .8fr 1.1fr; gap: 40px; }
.footer-brand p { font-size: 15px; margin-top: 14px; color: rgba(255, 255, 255, .7); max-width: 38ch; }
.footer-list.two { grid-template-columns: none; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); display: grid; place-items: center; color: #fff; transition: all .2s; }
.social a:hover { background: #fff; color: var(--navy); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-bottom a { text-decoration: none; }

/* responsive (v3) */
@media (max-width: 1100px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: flex; order: 3; }
  .header-in { gap: 10px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -20px rgba(14, 27, 69, .35); display: none; margin: 0; }
  .nav.is-open { display: flex; animation: drop .25s ease; }
  .nav > a:not(.btn), .nav .has-sub > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > a:not(.btn)::after, .nav .has-sub > a::after { display: none; }
  .sub, .has-sub::after, .nav .has-sub > a svg { display: none; }
  .nav .btn { margin: 16px 0 0; padding: 14px; }
}
@media (max-width: 900px) {
  .split, .detail, .contact-page { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .steps { grid-template-columns: 1fr; }
  .badge-float { inset-inline-end: 12px; }
  .split-media img { aspect-ratio: 16 / 11; }
  .topbar .tb-addr, .topbar .tb-hours { display: none; }
}
@media (max-width: 640px) {
  .post-grid, .values { grid-template-columns: 1fr; }
  .form .two { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; gap: 30px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .topbar-in { min-height: 38px; }
  .tb-phone { font-size: 13px; }
  .topbar-info { gap: 2px 14px; }
}

/* RTL touch-ups for v3 */
[dir="rtl"] .nav > a:not(.btn), [dir="rtl"] .nav .has-sub > a { font-size: 17px; }
[dir="rtl"] .crumbs li + li::before { content: "\\"; }
[dir="rtl"] .page-hero h1 { max-width: 20ch; }
[dir="rtl"] .prose { line-height: 1.95; }
[dir="rtl"] .prose h3 { font-size: 27px; }
[dir="rtl"] .badge-float { inset-inline-end: -14px; }
[dir="rtl"] .more svg, [dir="rtl"] .side-list svg { transform: scaleX(-1); }
[dir="rtl"] .more:hover svg { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .post-body time { font-family: "Cairo", var(--sans); }
@media (max-width: 900px) { [dir="rtl"] .badge-float { inset-inline-end: 12px; } }

/* card buttons fit narrow cards; fixed-ratio project grid for the home page */
.card-actions { gap: 8px; }
.card-actions .btn { flex: 1 1 auto; min-width: 0; padding: 10px 12px; font-size: 15px; }
.card-actions .btn svg { width: 18px; height: 18px; }
.masonry.grid3 { columns: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid3 .shot { margin: 0; aspect-ratio: 4 / 3; }
.grid3 .shot-open, .grid3 .shot-open img { width: 100%; height: 100%; }
.grid3 .shot img { object-fit: cover; }
@media (max-width: 640px) { .masonry.grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* =====================================================================
   v4 — full-width theme + header grid (logo | centred menu | quote button)
   ===================================================================== */
.wrap { width: min(1680px, 100% - clamp(32px, 6vw, 136px)); }
.section { padding: clamp(70px, 8vw, 128px) 0; }
.section-head { max-width: 760px; }
.section-head h2, .about h2 { font-size: clamp(34px, 4vw, 58px); letter-spacing: -.01em; }

/* header */
.topbar { font-size: 14.5px; }
.topbar-in { min-height: 44px; }
.site-header { background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.header-in { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: clamp(16px, 2.4vw, 40px); min-height: 90px; }
.brand { gap: 14px; }
.brand img { width: 64px; height: 64px; }
.brand-text b { font-size: 24px; }
.brand-text small { font-size: 12.5px; margin-top: 3px; }
.nav { order: 0; margin: 0; justify-content: center; gap: clamp(2px, 1vw, 14px); position: static; }
.nav > a:not(.btn), .nav .has-sub > a { padding: 12px 16px; font-size: 17px; border-radius: 10px; }
.nav > a:not(.btn):hover, .nav .has-sub:hover > a { background: rgba(14, 27, 69, .05); }
.nav > a:not(.btn)::after, .nav .has-sub > a::after { inset-inline: 16px; bottom: 6px; }
.header-end { display: flex; align-items: center; gap: 12px; justify-self: end; }
.header-end .nav-cta { margin: 0; padding: 13px 24px; font-size: 16px; white-space: nowrap; }
.nav-cta-m { display: none; }
.nav-toggle { display: none; }
[dir="rtl"] .brand-text b { font-size: 26px; }
[dir="rtl"] .nav > a:not(.btn), [dir="rtl"] .nav .has-sub > a { font-size: 17.5px; }

/* services dropdown: centred under its link */
.has-sub { position: relative; }
.sub { inset-inline-start: 50%; translate: -50% 0; min-width: 270px; }
[dir="rtl"] .sub { translate: 50% 0; }

/* hero */
.hero { min-height: clamp(620px, 86vh, 900px); }
.hero-in { padding: clamp(60px, 8vw, 110px) 0 190px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 92px); max-width: 15ch; line-height: 1.08; }
.lead { font-size: clamp(18px, 1.6vw, 23px); max-width: 58ch; }
.hero::before { background: linear-gradient(100deg, rgba(8, 17, 48, .94) 0%, rgba(8, 17, 48, .8) 40%, rgba(8, 17, 48, .2) 100%); }
[dir="rtl"] .hero::before { background: linear-gradient(260deg, rgba(8, 17, 48, .94) 0%, rgba(8, 17, 48, .8) 40%, rgba(8, 17, 48, .2) 100%); }
[dir="rtl"] .hero h1 { max-width: 16ch; }

/* service cards: even grid, 5 across on wide screens */
.cards { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(18px, 1.6vw, 28px); }
.card:nth-child(-n+2) { grid-column: auto; }
.card:nth-child(-n+2) .card-media { aspect-ratio: 16 / 10; }
.card { border-radius: 20px; }
.card-body h3 { font-size: 22px; }
.card-actions { flex-wrap: wrap; }
.card-actions .btn, .card:nth-child(-n+2) .card-actions .btn { flex: 1 1 100px; }

/* about / split use the full width */
.split { grid-template-columns: 1fr 1fr; }
.split-media img { aspect-ratio: 5 / 4.4; }
.footer-grid, .footer-in { gap: clamp(28px, 4vw, 70px); }
.page-hero h1 { max-width: 28ch; }

@media (max-width: 1080px) {
  .header-in { grid-template-columns: minmax(0, 1fr) auto; min-height: 76px; }
  .brand img { width: 52px; height: 52px; }
  .brand-text b { font-size: 20px; }
  [dir="rtl"] .brand-text b { font-size: 22px; }
  .nav-toggle { display: flex; order: 0; }
  .nav { position: absolute; inset-inline: 0; top: 100%; justify-content: flex-start; }
  .nav > a:not(.btn), .nav .has-sub > a { padding: 14px 4px; font-size: 18px; border-radius: 0; }
  .nav > a:not(.btn):hover, .nav .has-sub:hover > a { background: none; }
  .nav-cta-m { display: inline-flex; justify-content: center; }
  .nav .has-sub { width: 100%; }
  .nav .has-sub > a { display: flex; width: 100%; }
  .header-end .nav-cta { display: none; }
  .hero-in { padding-bottom: 170px; }
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .brand-text b { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
}

/* v4 polish */
.steps span { color: #fff; font-family: var(--sans); font-weight: 700; }
.steps li { padding: 30px; gap: 20px; }
.steps h3 { font-size: 23px; }
.steps p { font-size: 17px; }
.section-cream .steps li { box-shadow: 0 14px 34px -22px rgba(14, 27, 69, .35); }
.footer-bottom .credit a { color: #e8c777; font-weight: 600; } .footer-bottom .credit a:hover { text-decoration: underline; }

/* ===== v5: CR number, trust strip, reviews ===== */
.tb-cr { font-weight: 600; letter-spacing: .02em; }
.tb-cr::before { content: ""; display: inline-block; width: 1px; height: 14px; background: currentColor; opacity: .35; margin-inline-end: 12px; vertical-align: -2px; }
.trust { position: relative; z-index: 3; margin-top: -64px; }
.trust-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); background: #fff; border-radius: 22px; box-shadow: 0 24px 60px -28px rgba(14, 27, 69, .45); border: 1px solid var(--line); overflow: hidden; }
.trust-item { display: flex; align-items: center; gap: 16px; padding: 24px 26px; border-inline-end: 1px solid var(--line); }
.trust-item:last-child { border-inline-end: 0; }
.trust-item b { flex: none; min-width: 58px; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--red); display: inline-flex; align-items: center; justify-content: center; }
.trust-item b svg { width: 34px; height: 34px; }
.trust-item span { font-weight: 600; color: var(--navy); line-height: 1.35; font-size: 16px; }
.reviews { background: var(--cream, #faf6ef); }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.rev { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 14px 34px -26px rgba(14, 27, 69, .4); }
.rev blockquote { margin: 0; font-size: 17px; line-height: 1.7; color: #33406a; flex: 1; }
.rev figcaption { display: flex; align-items: center; gap: 14px; }
.rev figcaption b { display: block; color: var(--navy); }
.rev figcaption small { color: #6b7592; }
.rev-av { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; flex: none; }
.stars { display: inline-flex; gap: 3px; color: #e0a526; }
.stars svg { fill: currentColor; }
.stars svg.off { fill: #ddd6c6; }
.rev-cta { text-align: center; background: #fff; border: 1px dashed #cfc6b3; border-radius: 22px; padding: clamp(28px, 4vw, 52px); max-width: 880px; margin: 0 auto; }
.rev-cta.slim { background: none; border: 0; padding: 36px 0 0; max-width: none; }
.rev-cta h3 { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); color: var(--navy); margin: 0 0 10px; }
.rev-cta p { max-width: 56ch; margin: 0 auto 24px; color: #4a5580; }
.rev-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@media (max-width: 700px) { .trust { margin-top: -40px; } .trust-item { border-inline-end: 0; border-bottom: 1px solid var(--line); padding: 18px 20px; } .trust-item:last-child { border-bottom: 0; } }
