/* Al-Daleel Advertising & Marketing — site styles */
:root {
  --ink: #1c2024;
  --char: #2a2f34;
  --char-2: #33393f;
  --char-3: #3d444b;
  --silver: #c3c6cb;
  --silver-2: #e3e5e8;
  --mute: #8f959c;
  --paper: #f3f4f6;
  --white: #ffffff;
  --text: #2a2f34;
  --text-mute: #5d646c;
  --line-dark: rgba(255, 255, 255, .09);
  --line-light: rgba(42, 47, 52, .1);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(15, 18, 22, .45);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --head: "Titillium Web", "Segoe UI", system-ui, sans-serif;
  --body: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::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(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--silver); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--silver); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-dark { background: var(--char); color: var(--white); }
.btn-dark:hover { background: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 22px 0;
}
.site-header.is-solid { background: rgba(28, 32, 36, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-dark); padding: 12px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 46px; width: auto; transition: height .35s var(--ease); }
.is-solid .brand img { height: 40px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: .05em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78); position: relative; padding: 6px 0; transition: color .2s;
}
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav .btn { padding: 11px 22px; font-size: 14px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); background: var(--char);
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: 140px 0 110px; overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/texture-dark.webp") center / cover no-repeat; opacity: .55;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 78% 45%, rgba(255, 255, 255, .07), transparent 70%),
    linear-gradient(180deg, rgba(28, 32, 36, .2) 0%, rgba(28, 32, 36, .85) 100%);
}
.hero-year {
  position: absolute; z-index: -1; right: -2vw; top: 50%; transform: translateY(-50%);
  font-family: var(--head); font-weight: 700; font-size: clamp(220px, 34vw, 520px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .06); letter-spacing: -.04em;
  pointer-events: none; user-select: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--silver);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.hero h1 { font-size: clamp(44px, 6.4vw, 86px); font-weight: 700; margin: 22px 0 24px; text-transform: uppercase; letter-spacing: -.005em; }
.hero h1 .thin { display: block; font-weight: 300; color: var(--silver); }
.hero-lead { font-size: clamp(16px, 1.4vw, 18px); color: rgba(255, 255, 255, .74); max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-arabic { margin-top: 44px; font-size: 15px; color: var(--mute); direction: rtl; text-align: left; font-family: "Cairo", var(--body); }

/* Hero slider: slide 1 = portrait video, slide 2 = image collage */
.hero-slider { max-width: 540px; justify-self: end; width: 100%; }
.hero-stage { position: relative; aspect-ratio: 1 / 1.02; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .8s var(--ease), visibility 0s linear .8s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero-video {
  position: absolute; top: 0; left: 0; right: 0; margin-inline: auto;
  width: 57.4%; height: 100%; /* 9:16 inside the 1:1.02 stage */
  border-radius: var(--radius); overflow: hidden; background: #000;
  box-shadow: var(--shadow); border: 6px solid rgba(255, 255, 255, .08);
}
.hero-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
  transition: transform .25s var(--ease);
}
.hero-play[hidden] { display: none; }
.hero-play:hover { transform: scale(1.06); }
.hero-play svg { width: 26px; height: 26px; margin-left: 3px; }
.hero-visual { position: absolute; inset: 0; }
.hero-badge { z-index: 2; }
.hero-controls { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 18px; }
.hero-dot { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-dot::before {
  content: ""; width: 28px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .35);
  transform: scaleX(.3); transition: transform .35s var(--ease), background .35s var(--ease);
}
.hero-dot:hover::before { background: rgba(255, 255, 255, .6); }
.hero-dot.is-active::before { transform: none; background: var(--white); }
.hero-pause {
  width: 44px; height: 44px; margin-left: 8px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2);
  background: transparent; color: var(--white); cursor: pointer; display: grid; place-items: center; transition: background .25s;
}
.hero-pause:hover { background: rgba(255, 255, 255, .08); }
.hero-pause svg { width: 16px; height: 16px; }
.hero-pause .i-play, .hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }
.hero-visual .circle {
  position: absolute; right: 0; top: 0; width: 76%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: var(--shadow); border: 6px solid rgba(255, 255, 255, .08);
}
.hero-visual .circle img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-visual .card {
  position: absolute; left: 0; bottom: 4%; width: 58%; aspect-ratio: 16 / 10.5; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 5px solid var(--char-2);
}
.hero-visual .card img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .cutout { position: absolute; right: 2%; bottom: -2%; width: 36%; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .55)); }
.hero-badge {
  position: absolute; left: 4%; top: 12%;
  background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
}
.hero-badge strong { font-family: var(--head); font-size: 30px; line-height: 1; }
.hero-badge span { font-size: 12px; line-height: 1.3; font-weight: 600; color: var(--text-mute); text-transform: uppercase; letter-spacing: .06em; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .35);
}
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--white); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: var(--silver); overflow: hidden; border-block: 1px solid var(--line-dark); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 18px 0; }
.ticker li { font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; padding: 0 28px; display: flex; align-items: center; gap: 56px; }
.ticker li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mute); margin-left: 28px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section-dark { background: var(--char); color: var(--white); }
.section-ink { background: var(--ink); color: var(--white); }
.section-paper { background: var(--paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); flex-wrap: wrap; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 700; margin-top: 16px; }
.section-head p { max-width: 460px; color: var(--text-mute); margin: 0; }
.section-dark .section-head p, .section-ink .section-head p { color: rgba(255, 255, 255, .65); }
.section-paper .eyebrow, .section:not(.section-dark):not(.section-ink) .eyebrow { color: var(--text-mute); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about-lead { font-size: clamp(21px, 2.1vw, 27px); line-height: 1.5; font-weight: 300; color: var(--text); border-left: 4px solid var(--char); padding-left: 26px; margin: 28px 0 28px; }
.about-lead strong { font-weight: 600; }
.about-copy { color: var(--text-mute); }
.about-panel { background: var(--char); color: var(--white); border-radius: var(--radius); padding: 38px 36px; position: relative; overflow: hidden; }
.about-panel::before { content: ""; position: absolute; inset: 0; background: url("../img/texture-dark.webp") center / cover; opacity: .35; }
.about-panel > * { position: relative; }
.about-panel h3 { font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--silver); font-weight: 600; margin-bottom: 18px; }
.cap-list { list-style: none; margin: 0; padding: 0; }
.cap-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--head); font-size: 19px; font-weight: 600; }
.cap-list li:last-child { border-bottom: 0; }
.cap-list li::before { content: "›"; color: var(--mute); font-size: 22px; line-height: 1; }
.cap-more { margin: 16px 0 0; font-size: 14px; color: var(--mute); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.stat { background: var(--paper); border-radius: var(--radius-sm); padding: 22px 20px; }
.stat strong { display: block; font-family: var(--head); font-size: clamp(32px, 3.4vw, 44px); line-height: 1; color: var(--char); }
.stat span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--text-mute); }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--char-2); border: 1px solid var(--line-dark);
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .22); background: var(--char-3); }
.svc-media { aspect-ratio: 16 / 11; overflow: hidden; position: relative; background: linear-gradient(160deg, #474e56, #2a2f34); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc-media img.is-cutout { object-fit: contain; padding: 14px; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45)); }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-num { position: absolute; left: 16px; top: 14px; font-family: var(--head); font-weight: 700; font-size: 14px; letter-spacing: .1em; background: rgba(28, 32, 36, .78); color: var(--white); padding: 4px 10px; border-radius: 999px; }
.svc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 23px; font-weight: 700; }
.svc-body p { margin: 10px 0 18px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .62); }
.svc-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); }
.svc-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.svc-card:hover .svc-link { color: var(--white); }
.svc-card:hover .svc-link svg { transform: translateX(4px); }
.svc-card .stretched { position: absolute; inset: 0; z-index: 1; }

/* ---------- Work (service detail blocks) ---------- */
.work-intro { text-align: center; max-width: 720px; margin: 0 auto clamp(30px, 4vw, 50px); }
.work-intro h2 { font-size: clamp(34px, 4.6vw, 58px); margin: 16px 0 14px; }
.work-intro p { color: var(--text-mute); }
.work-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 4px 2px 14px; margin: 0 0 10px; }
.work-nav a { flex: 0 0 auto; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-light); font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .04em; color: var(--text-mute); background: var(--white); transition: all .2s; }
.work-nav a:hover { color: var(--white); background: var(--char); border-color: var(--char); }

.project { padding: clamp(60px, 7vw, 96px) 0; border-top: 1px solid var(--line-light); }
.project:first-of-type { border-top: 0; }
.project.is-dark { background: var(--char); color: var(--white); border-top: 0; }
.project-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.project.flip .project-text { order: 2; }
.project-text { position: sticky; top: 110px; }
.project-num { font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .18em; color: var(--mute); }
.project h3 { font-size: clamp(32px, 3.8vw, 48px); margin: 12px 0 10px; }
.tagline { font-family: var(--head); font-size: 19px; font-weight: 400; font-style: italic; color: var(--text-mute); margin-bottom: 22px; }
.is-dark .tagline { color: var(--silver); }
.project-text p { color: var(--text-mute); font-size: 15.5px; }
.is-dark .project-text p { color: rgba(255, 255, 255, .7); }
.project-text .btn { margin-top: 10px; }

/* Gallery: newest photo large, the rest in a horizontally scrollable strip (3 visible) */
.gallery { display: grid; gap: 12px; min-width: 0; }
.gallery [data-caption] {
  position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 0; cursor: zoom-in;
  border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(160deg, #e9ebee, #d6d9dd);
}
.is-dark .gallery [data-caption] { background: linear-gradient(160deg, #464d55, #2f353b); }
.gallery .g-main { aspect-ratio: 16 / 10; }
.gallery .g-thumb { aspect-ratio: 4 / 3; scroll-snap-align: start; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery img.is-cutout { object-fit: contain; padding: 12px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35)); }
.gallery .g-main img.is-cutout { padding: 24px; }
.gallery [data-caption]::after { content: ""; position: absolute; inset: 0; background: rgba(28, 32, 36, 0); transition: background .3s; }
.gallery [data-caption]:hover img { transform: scale(1.06); }
.gallery [data-caption]:hover::after { background: rgba(28, 32, 36, .15); }
.g-strip-wrap { position: relative; min-width: 0; }
.g-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 3); gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm);
}
.g-strip::-webkit-scrollbar { display: none; }
.g-strip:focus-visible { outline-offset: 4px; }
.g-nav {
  position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .45);
  transition: opacity .2s, transform .2s var(--ease);
}
.g-nav[hidden] { display: none; }
.g-nav:hover { transform: scale(1.06); }
.g-nav:disabled { opacity: 0; pointer-events: none; }
.g-nav svg { width: 20px; height: 20px; }
.g-prev { left: -10px; }
.g-next { right: -10px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 30px 26px 30px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--head); font-weight: 700; font-size: 54px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); margin-bottom: 22px; }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: rgba(255, 255, 255, .62); font-size: 14.5px; margin: 0; }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.client { background: var(--white); border-radius: var(--radius-sm); height: 100px; display: flex; align-items: center; justify-content: center; padding: 16px; border: 1px solid var(--line-light); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.client img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .3s, opacity .3s; }
.client:hover { transform: translateY(-3px); box-shadow: 0 12px 26px -16px rgba(15, 18, 22, .5); }
.client:hover img { filter: none; opacity: 1; }
.clients-more { display: flex; justify-content: center; margin-top: 34px; }
.clients.is-collapsed .client:nth-child(n+33) { display: none; }

/* ---------- CTA / Contact ---------- */
.contact { position: relative; overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/texture-2026.webp") center / cover; opacity: .35; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact h2 { font-size: clamp(38px, 5vw, 64px); margin: 18px 0 18px; text-transform: uppercase; }
.contact h2 .thin { display: block; font-weight: 300; color: var(--silver); }
.contact-lead { color: rgba(255, 255, 255, .7); max-width: 440px; }
.contact-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 16px; color: var(--white); }
.contact-list .ico { flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark); transition: background .25s; }
.contact-list a:hover .ico { background: rgba(255, 255, 255, .16); }
.contact-list svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.contact-list span { font-weight: 500; }
.profile-dl { margin-top: 34px; }

.form { background: var(--white); color: var(--text); border-radius: 22px; padding: clamp(26px, 3.4vw, 42px); box-shadow: var(--shadow); }
.form h3 { font-size: 28px; margin-bottom: 6px; }
.form > p { color: var(--text-mute); font-size: 14.5px; margin-bottom: 24px; }
.form-context { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -8px 0 20px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line-light); font-size: 13.5px; color: var(--text-mute); }
.form-context[hidden] { display: none; }
.form-context strong { color: var(--text); font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--text); }
.field label em { color: var(--mute); font-style: normal; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid #dde0e4; border-radius: 12px; background: var(--paper);
  padding: 13px 15px; font-size: 15px; transition: border-color .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232a2f34' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--char); background: var(--white); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--text-mute); margin: 0; }
.form-status { margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 500; display: none; }
.form-status.ok { display: block; background: #e8f4ec; color: #1f5e34; }
.form-status.err { display: block; background: #fbeaea; color: #8a1f1f; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .62); padding: 70px 0 30px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line-dark); }
.footer-grid img { height: 48px; width: auto; margin-bottom: 20px; }
.footer-grid h4 { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a:hover { color: var(--white); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--white); transition: background .25s; }
.socials a:hover { background: rgba(255, 255, 255, .1); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; }
.footer-bottom .ar { font-family: "Cairo", var(--body); }

/* ---------- Floating WhatsApp / back to top ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .5); transition: transform .25s var(--ease); }
.fab:hover { transform: scale(1.07); }
.fab svg { width: 28px; height: 28px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(15, 18, 21, .94); display: none; align-items: center; justify-content: center; padding: 70px 70px 90px; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 180px); width: auto; height: auto; border-radius: 10px; object-fit: contain; }
.lightbox figcaption { color: rgba(255, 255, 255, .7); font-size: 14px; letter-spacing: .04em; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: var(--white); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .16); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 22px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 36px;
    background: rgba(24, 27, 31, .98); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-links { flex-direction: column; align-items: center; gap: 22px; }
  .nav-links a { font-size: 22px; }
  .nav-open { overflow: hidden; }
  .hero .wrap, .about-grid, .project-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-slider { justify-self: center; max-width: 460px; margin-top: 10px; }
  .project.flip .project-text { order: 0; }
  .project-text { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .clients { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .clients.is-collapsed .client:nth-child(n+31) { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .brand img { height: 38px; }
  .is-solid .brand img { height: 34px; }
  .hero-badge { padding: 10px 14px; }
  .hero-badge strong { font-size: 24px; }
  .hero-play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .hero-video { border-width: 4px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stat { padding: 16px 12px; }
  .gallery { gap: 10px; }
  .g-strip { grid-auto-columns: 42%; gap: 10px; } /* a peek of the next photo shows there is more to swipe */
  .g-prev { left: 4px; }
  .g-next { right: 4px; }
  .g-nav { width: 40px; height: 40px; margin-top: -20px; }
  .work-nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .client { height: 78px; padding: 12px; }
  .clients.is-collapsed .client:nth-child(n+19) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .lightbox { padding: 64px 12px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
