/* BET Nabil — shared styles (2026-09) */

:root {
  --ink: #121110;
  --ink-2: #1b1916;
  --ink-3: #201d19;
  --line: #2e2a24;
  --text: #f2eee7;
  --text-2: #b8b0a4;
  --text-3: #8f8779;
  --gold: #e8b923;
  --gold-soft: #f0d688;
  --bronze: #9d733f;
  --paper: #edeae1;
  --paper-ink: #121110;
  --font-display: 'Archivo', sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-display-ar: 'Tajawal', sans-serif;
  --font-body-ar: 'Tajawal', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--ink); color: var(--text); -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-display); }
html[lang="ar"] body { font-family: var(--font-body-ar); }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--gold); }
::selection { background: var(--gold); color: var(--ink); }
input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }

[data-lang-el] { display: none; }
html[lang="fr"] [data-lang-el="fr"] { display: inline; }
html[lang="fr"] span[data-lang-el="fr"] { display: inline; }
html[lang="fr"] div[data-lang-el="fr"], html[lang="fr"] p[data-lang-el="fr"] { display: block; }
html[lang="ar"] [data-lang-el="ar"] { display: inline; }
html[lang="ar"] span[data-lang-el="ar"] { display: inline; }
html[lang="ar"] div[data-lang-el="ar"], html[lang="ar"] p[data-lang-el="ar"] { display: block; }

.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
html[lang="ar"] .mono { font-family: var(--font-body-ar); letter-spacing: 0; text-transform: none; font-size: 13px; }

/* ---- nav ---- */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; padding: 22px clamp(20px,3vw,44px); gap: 24px; background: linear-gradient(var(--ink), rgba(18,17,16,0)); }
.site-nav .wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-stretch: 125%; font-size: 18px; letter-spacing: 0.2em; }
.site-nav .wordmark-icon { width: 24px; height: auto; display: block; }
html[lang="ar"] .site-nav .wordmark { font-family: var(--font-display-ar); letter-spacing: 0; font-weight: 800; }
.nav-links { display: flex; gap: clamp(16px,2.5vw,36px); align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav-cta { border: 1px solid var(--text); padding: 10px 16px; border-radius: 40px; }
.lang-btn { border: 1px solid var(--text-3); border-radius: 40px; padding: 8px 14px; background: transparent; color: var(--text); cursor: pointer; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.lang-btn:hover { border-color: var(--gold); color: var(--gold); }
.mobile-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--text-3); border-radius: 8px; color: var(--text); font-size: 16px; cursor: pointer; }
.mobile-nav { display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 29; flex-direction: column; padding: 90px clamp(20px,3vw,44px) 24px; background: rgba(18,17,16,0.98); backdrop-filter: blur(12px); gap: 2px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.mobile-nav-actions { display: flex; gap: 12px; margin-top: 16px; }
.mobile-nav-wa { flex: 1; text-align: center; }

/* ---- hero ---- */
.hero { height: 100svh; min-height: 620px; position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(18,17,16,0.7) 0%, rgba(18,17,16,0) 25%, rgba(18,17,16,0) 50%, rgba(18,17,16,0.9) 100%); }
.hero-top-row { position: absolute; top: 100px; left: clamp(20px,3vw,44px); right: clamp(20px,3vw,44px); display: flex; justify-content: space-between; gap: 24px; color: var(--text-2); }
.hero-bottom-row { position: absolute; left: clamp(20px,3vw,44px); right: clamp(20px,3vw,44px); bottom: clamp(28px,5vh,56px); display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px; }
.hero-title { margin: 0; font-weight: 600; font-stretch: 118%; text-transform: uppercase; font-size: clamp(38px,6.2vw,104px); line-height: 0.95; letter-spacing: -0.02em; max-width: 11em; }
html[lang="ar"] .hero-title { font-family: var(--font-display-ar); font-weight: 800; font-stretch: normal; text-transform: none; line-height: 1.25; }
.hero-title .accent { color: var(--gold); }
.hero-scroll { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--text); border-radius: 40px; padding: 12px 18px; white-space: nowrap; }
html[lang="ar"] .hero-scroll { font-family: var(--font-body-ar); letter-spacing: 0; text-transform: none; }

/* ---- marquee ---- */
.marquee-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 48px; width: max-content; animation: marq 42s linear infinite; }
html[dir="rtl"] .marquee-track { animation-name: marq-rtl; }
.marquee-track > span { display: flex; align-items: center; gap: 48px; margin-inline-end: 48px; }
.marquee-word { font-weight: 600; font-stretch: 125%; text-transform: uppercase; font-size: clamp(36px,6vw,88px); letter-spacing: -0.02em; color: var(--text); }
html[lang="ar"] .marquee-word { font-family: var(--font-display-ar); font-weight: 800; font-stretch: normal; text-transform: none; }
.marquee-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marq-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none !important; } }

/* ---- intro / 3D build ---- */
.intro-section { position: relative; background: #f1f1f0; color: #2b2b2b; }
.intro-sticky { min-height: 100svh; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; }
.intro-copy { flex: 1 1 380px; max-width: 640px; box-sizing: border-box; padding: clamp(88px,11vh,120px) clamp(20px,3vw,44px) 48px clamp(24px,6vw,116px); display: flex; flex-direction: column; gap: 36px; min-width: 0; }
html[dir="rtl"] .intro-copy { padding: clamp(88px,11vh,120px) clamp(24px,6vw,116px) 48px clamp(20px,3vw,44px); }
.intro-eyebrow { color: #5b6470; }
.intro-text { margin: 0; max-width: 480px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px,3.3vw,50px); line-height: 1.3; letter-spacing: -0.005em; color: #2b2b2b; }
html[lang="ar"] .intro-text { font-family: var(--font-body-ar); font-weight: 700; font-size: clamp(22px,2.7vw,36px); line-height: 1.6; letter-spacing: 0; }
.intro-host { flex: 1.5 1 480px; align-self: stretch; min-height: 55vh; position: relative; -webkit-mask-image: radial-gradient(ellipse 62% 60% at 50% 52%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 62% 60% at 50% 52%, #000 62%, transparent 100%); }

/* ---- services ---- */
.services-section { padding: clamp(96px,12vh,140px) clamp(20px,3vw,44px) clamp(100px,12vw,180px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-title { margin: 0; font-weight: 600; font-stretch: 118%; text-transform: uppercase; font-size: clamp(34px,5vw,80px); line-height: 0.95; letter-spacing: -0.02em; }
html[lang="ar"] .section-title { font-family: var(--font-display-ar); font-weight: 800; font-stretch: normal; text-transform: none; line-height: 1.3; }
.services-body { position: relative; display: flex; align-items: flex-start; gap: clamp(24px,4vw,56px); }
.services-list { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.service-row { position: relative; display: grid; grid-template-columns: 60px minmax(0,1.2fr) minmax(0,1.4fr) 40px; gap: 24px; align-items: baseline; padding: 32px 12px; border-bottom: 1px solid var(--line); color: var(--text); opacity: 0.45; transition: background 0.3s, padding 0.3s, opacity 0.5s ease; }
.service-row:hover { background: var(--ink-2); padding-inline-start: 24px; }
.service-row.is-active { opacity: 1; }
.service-no { font-family: var(--font-mono); font-size: 13px; color: var(--gold); }
.service-name { font-weight: 500; font-stretch: 110%; font-size: clamp(19px,2.2vw,30px); letter-spacing: -0.01em; }
html[lang="ar"] .service-name { font-family: var(--font-display-ar); font-weight: 700; font-stretch: normal; }
.service-text { font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
html[lang="ar"] .service-text { font-family: var(--font-body-ar); font-size: 15px; line-height: 1.7; }
.service-arrow { font-size: 22px; text-align: end; }
.service-thumb { display: none; }
.services-visual { display: none; }
@media (min-width: 761px) {
  .service-row { min-height: 30vh; }
  .services-visual { display: block; flex: 1 1 420px; min-width: 0; align-self: stretch; }
  .services-visual-sticky { position: sticky; top: 110px; height: 62vh; border-radius: 2px; overflow: hidden; -webkit-mask-image: radial-gradient(ellipse 82% 84% at 50% 50%, #000 68%, transparent 100%); mask-image: radial-gradient(ellipse 82% 84% at 50% 50%, #000 68%, transparent 100%); }
  .services-bg-layer { position: absolute; inset: 0; display: block; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); filter: saturate(0.9) brightness(0.62); transition: opacity 1.1s ease, transform 1.6s ease; }
  .services-bg-layer.is-active { opacity: 1; transform: scale(1); }
}
@media (max-width: 760px) {
  .services-body { flex-direction: column; }
  .service-row { grid-template-columns: 36px 1fr; row-gap: 8px; opacity: 1; }
  .service-text { grid-column: 1 / -1; }
  .service-arrow { display: none; }
  .service-thumb { display: block; grid-column: 1 / -1; order: -1; width: 100%; aspect-ratio: 16/9; background-size: cover; background-position: center; margin-bottom: 4px; }
}

/* ---- approach ---- */
.approach-section { padding: 0 clamp(20px,3vw,44px) clamp(100px,12vw,180px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,420px),1fr)); gap: clamp(40px,6vw,96px); align-items: start; }
.approach-portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: flex; align-items: flex-end; justify-content: flex-end; padding: 20px; gap: 12px; }
.approach-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.approach-badge { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 11px; color: var(--text); letter-spacing: 0.06em; background: var(--ink); padding: 8px 12px; }
html[lang="ar"] .approach-badge { font-family: var(--font-body-ar); letter-spacing: 0; }
.approach-body { display: flex; flex-direction: column; gap: 40px; }
.approach-head { display: flex; flex-direction: column; gap: 20px; }
.reasons-list { display: flex; flex-direction: column; }
.reason-row { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.reason-no { font-family: var(--font-mono); font-size: 13px; color: var(--gold); }
.reason-name { font-size: 18px; font-weight: 500; }
html[lang="ar"] .reason-name { font-family: var(--font-display-ar); font-weight: 700; }
.reason-text { font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
html[lang="ar"] .reason-text { font-family: var(--font-body-ar); font-size: 15px; line-height: 1.7; }

/* ---- testimonials ---- */
.testimonials-section { padding: clamp(80px,10vw,140px) clamp(20px,3vw,44px); background: var(--paper); color: var(--paper-ink); display: flex; flex-direction: column; gap: 48px; }
.testimonial-top { display: flex; justify-content: space-between; gap: 24px; color: #5e5a53; }
#quote-counter { direction: ltr; unicode-bidi: isolate; }
.testimonial-quote { margin: 0; font-weight: 400; font-size: clamp(24px,3.2vw,46px); line-height: 1.2; letter-spacing: -0.015em; max-width: 26em; min-height: 3.5em; transition: opacity 0.2s ease; }
html[lang="ar"] .testimonial-quote { font-family: var(--font-body-ar); font-size: clamp(22px,2.8vw,38px); line-height: 1.5; }
.testimonial-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.testimonial-name { font-weight: 600; font-size: 16px; display: block; }
.testimonial-role { font-size: 14px; color: #5e5a53; }
.testimonial-nav { display: flex; gap: 12px; }
.testimonial-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--paper-ink); background: transparent; color: var(--paper-ink); font-size: 18px; cursor: pointer; }
.testimonial-nav button:hover { background: var(--paper-ink); color: var(--paper); }
html[lang="ar"] .testimonial-nav button { transform: scaleX(-1); }

/* ---- work: sticky heading + scrolling stack of project cards (noun-studio.com "Nos réalisations" pattern) ---- */
.work-section { position: relative; padding: clamp(100px,12vw,180px) clamp(20px,3vw,44px); background: var(--ink); }
.work-grid-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background-image: linear-gradient(rgba(242,238,231,0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(242,238,231,0.055) 1px, transparent 1px); background-size: 90px 90px; -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 42%, #000 40%, transparent 100%); mask-image: radial-gradient(ellipse 85% 70% at 50% 42%, #000 40%, transparent 100%); }
.bn-mark { position: absolute; font-family: var(--font-display); font-weight: 700; font-stretch: 120%; font-size: clamp(46px,6vw,90px); letter-spacing: 0.04em; line-height: 1; color: transparent; background-image: linear-gradient(115deg, transparent 46%, rgba(255,255,255,0.4) 50%, transparent 54%), linear-gradient(rgba(242,238,231,0.1), rgba(242,238,231,0.1)); background-size: 300% 100%, 100% 100%; background-position: 250% 0, 0 0; background-repeat: no-repeat, no-repeat; -webkit-background-clip: text; background-clip: text; animation: bn-mark-sweep 9s linear infinite; animation-delay: var(--sweep-delay, 0s); }
@keyframes bn-mark-sweep {
  0% { background-position: 250% 0, 0 0; }
  70% { background-position: -150% 0, 0 0; }
  100% { background-position: -150% 0, 0 0; }
}
@media (max-width: 760px) {
  .bn-mark { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bn-mark { animation: none; background-position: 0 0, 0 0; }
}
.work-body { position: relative; z-index: 1; display: flex; align-items: stretch; gap: clamp(32px,5vw,72px); }
.work-head-col { flex: 0 0 260px; }
.work-head-sticky { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 16px; }
.work-head-text { margin: 0; max-width: 280px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
html[lang="ar"] .work-head-text { font-family: var(--font-body-ar); font-size: 15px; line-height: 1.75; }
.work-portfolio-btn { display: inline-flex; align-items: center; gap: 12px; width: fit-content; margin-top: 8px; border: 1px solid rgba(242,238,231,0.3); background: rgba(242,238,231,0.04); padding: 14px 22px; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text); backdrop-filter: blur(4px); transition: border-color 0.4s ease, background 0.4s ease, color 0.4s ease; }
.work-portfolio-btn span[aria-hidden] { display: inline-block; transition: transform 0.3s ease; }
.work-portfolio-btn:hover { border-color: var(--text); background: var(--text); color: var(--ink); }
.work-portfolio-btn:hover span[aria-hidden] { transform: translate(2px,-2px); }
html[lang="ar"] .work-portfolio-btn { font-family: var(--font-body-ar); letter-spacing: 0; }
.work-list { flex: 1 1 600px; min-width: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.work-card { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(56px); transition: opacity 0.9s ease, transform 0.9s ease; }
.work-card.is-in { opacity: 1; transform: translateY(0); }
.work-card-link { display: flex; flex-direction: column; gap: 18px; padding: 40px 0; color: var(--text); }
.work-card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink-2); }
.work-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transform: scale(1); transition: filter 1.2s ease, transform 1.2s ease; }
.work-card:hover .work-card-media img { filter: grayscale(0); transform: scale(1.05); }
.work-card-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; filter: grayscale(1); transition: filter 1.1s ease; }
html[lang="ar"] .work-card-placeholder { font-family: var(--font-body-ar); letter-spacing: 0; text-transform: none; }
.work-card:hover .work-card-placeholder { filter: grayscale(0); }
.work-card-expand { position: absolute; top: 14px; inset-inline-end: 14px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(242,238,231,0.3); background: rgba(18,17,16,0.35); font-size: 15px; transition: border-color 0.4s ease, background 0.4s ease, color 0.4s ease; }
.work-card:hover .work-card-expand { border-color: var(--text); background: var(--text); color: var(--ink); }
.work-card-meta { display: flex; align-items: baseline; gap: 14px; }
.work-card-no { font-family: var(--font-serif); font-style: italic; font-size: 24px; color: var(--text-2); direction: ltr; unicode-bidi: isolate; }
.work-card-type { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-3); }
html[lang="ar"] .work-card-type { font-family: var(--font-body-ar); letter-spacing: 0; text-transform: none; }
.work-card-title { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(24px,3vw,38px); letter-spacing: -0.01em; transition: transform 0.6s ease; }
html[lang="ar"] .work-card-title { font-family: var(--font-display-ar); font-weight: 700; }
.work-card:hover .work-card-title { transform: translateY(3px); }
.work-card-desc { margin: 0; max-width: 520px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
html[lang="ar"] .work-card-desc { font-family: var(--font-body-ar); font-size: 15px; line-height: 1.7; }
.work-card-cta { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-2); }
html[lang="ar"] .work-card-cta { font-family: var(--font-body-ar); letter-spacing: 0; text-transform: none; }
.work-card-cta::before { content: ''; width: 22px; height: 1px; background: currentColor; transition: width 0.4s ease; }
.work-card:hover .work-card-cta::before { width: 40px; }
@media (max-width: 760px) {
  .work-body { flex-direction: column; }
  .work-head-sticky { position: static; }
}

/* ---- work: project gallery lightbox ---- */
.lightbox { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(10,9,8,0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lightbox-frame { position: relative; z-index: 1; width: min(1100px, 92vw); max-height: 82vh; margin: 0; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: scale(0.97); transition: opacity 0.35s ease, transform 0.35s ease; }
.lightbox.is-open .lightbox-frame { opacity: 1; transform: scale(1); }
.lightbox-frame img { width: 100%; max-height: 72vh; object-fit: contain; background: var(--ink-2); transition: opacity 0.3s ease; }
.lightbox-counter { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); text-align: center; direction: ltr; unicode-bidi: isolate; }
.lightbox-close { position: absolute; top: 20px; inset-inline-end: 24px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(242,238,231,0.3); background: transparent; color: var(--text); font-size: 16px; cursor: pointer; transition: border-color 0.3s ease, background 0.3s ease; }
.lightbox-close:hover { border-color: var(--text); background: rgba(242,238,231,0.08); }
.lightbox-nav { position: relative; z-index: 1; flex: none; width: 48px; height: 48px; margin: 0 20px; border-radius: 50%; border: 1px solid rgba(242,238,231,0.3); background: transparent; color: var(--text); font-size: 20px; cursor: pointer; transition: border-color 0.3s ease, background 0.3s ease; }
.lightbox-nav:hover { border-color: var(--text); background: rgba(242,238,231,0.08); }
html[lang="ar"] .lightbox-nav { transform: scaleX(-1); }
@media (max-width: 640px) {
  .lightbox-nav { width: 40px; height: 40px; margin: 0 8px; }
  .lightbox-close { top: 12px; inset-inline-end: 12px; }
}

/* ---- contact ---- */
.contact-section { position: relative; overflow: hidden; padding: clamp(100px,12vw,180px) clamp(20px,3vw,44px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,420px),1fr)); gap: clamp(48px,6vw,96px); }
.contact-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.contact-glow::before, .contact-glow::after { content: ''; position: absolute; border-radius: 50%; }
.contact-glow::before { top: -18%; inset-inline-end: -8%; width: 55%; aspect-ratio: 1; background: radial-gradient(circle, rgba(232,185,35,0.16) 0%, rgba(232,185,35,0.06) 40%, transparent 72%); filter: blur(50px); }
.contact-glow::after { bottom: -26%; inset-inline-start: -10%; width: 46%; aspect-ratio: 1; background: radial-gradient(circle, rgba(157,115,63,0.13) 0%, transparent 70%); filter: blur(60px); }
.contact-grain { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.contact-intro { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 24px; opacity: 0; transform: translateY(36px); transition: opacity 0.9s ease, transform 0.9s ease; }
.contact-intro.is-in { opacity: 1; transform: translateY(0); }
.contact-title { margin: 0; font-weight: 600; font-stretch: 118%; text-transform: uppercase; font-size: clamp(38px,5.6vw,92px); line-height: 0.92; letter-spacing: -0.02em; }
.contact-title .accent { color: var(--gold); }
html[lang="ar"] .contact-title { font-family: var(--font-display-ar); font-weight: 800; font-stretch: normal; text-transform: none; line-height: 1.3; }
.contact-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.contact-link { font-size: 18px; border-bottom: 1px solid var(--line); padding-bottom: 8px; transition: border-color 0.3s ease; }
.contact-link:hover { border-color: var(--gold); }
.contact-form { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,220px),1fr)); gap: 26px 24px; align-content: start; opacity: 0; transform: translateY(36px); transition: opacity 0.9s ease 0.12s, transform 0.9s ease 0.12s; }
.contact-form.is-in { opacity: 1; transform: translateY(0); }
.field { position: relative; display: flex; flex-direction: column; gap: 10px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
html[lang="ar"] .field label { font-family: var(--font-body-ar); letter-spacing: 0; text-transform: none; font-size: 13px; }
.field input, .field select, .field textarea { background: transparent; border: 0; border-bottom: 1px solid #3a3834; color: var(--text); font-family: var(--font-display); font-size: 16px; padding: 10px 0; outline: none; }
html[lang="ar"] .field input, html[lang="ar"] .field select, html[lang="ar"] .field textarea { font-family: var(--font-body-ar); }
.field select { background: var(--ink); }
.field::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.4s cubic-bezier(.4,0,.2,1); pointer-events: none; }
.field:focus-within::after { transform: scaleX(1); }
.field-full { grid-column: 1 / -1; }
.form-footer { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--text-3); max-width: 30em; }
html[lang="ar"] .form-note { font-family: var(--font-body-ar); }
.btn-gold { background: var(--gold); color: var(--ink); border: 0; border-radius: 40px; padding: 16px 28px; font-family: var(--font-display); font-weight: 600; font-size: 15px; cursor: pointer; transition: background 0.3s; }
html[lang="ar"] .btn-gold { font-family: var(--font-display-ar); }
.btn-gold:hover { background: var(--gold-soft); }
.contact-form .btn-gold { transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; }
.contact-form .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(232,185,35,0.22); }

/* ---- footer ---- */
.site-footer { padding: 40px clamp(20px,3vw,44px) 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 40px; }
.footer-wordmark { font-weight: 800; font-stretch: 125%; font-size: clamp(60px,18vw,300px); line-height: 0.85; letter-spacing: -0.03em; color: var(--ink-3); }
html[lang="ar"] .footer-wordmark { font-family: var(--font-display-ar); font-weight: 900; }
.footer-social-row { display: flex; gap: 14px; }
.footer-social-row .social-icon { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--text-3); transition: border-color 0.3s ease, color 0.3s ease; }
.footer-social-row .social-icon:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-3); }
html[lang="ar"] .footer-bottom-row { font-family: var(--font-body-ar); letter-spacing: 0; }

/* ---- map embed ---- */
.map-embed-wrap { position: relative; width: 100%; aspect-ratio: 16 / 7; min-height: 260px; border-radius: 4px; overflow: hidden; background: #ecebe8; }
.map-embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- whatsapp float ---- */
.wa-float { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.wa-float:hover { background: var(--gold-soft); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .intro-sticky { min-height: auto; }
  .intro-copy { padding-top: 64px; }
  html[dir="rtl"] .intro-copy { padding-top: 64px; }
  .intro-host { min-height: 320px; flex-basis: 100%; }
}
