/* =========================================================
   Black Service — Kurumsal Tanıtım Sitesi
   Renkler logodan: siyah zemin, altın vurgu, paslanmaz çelik
   ========================================================= */

:root {
  --bg: #0a0a0b;
  --bg-2: #0f0f11;
  --surface: #141417;
  --surface-2: #1a1a1e;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #ededf0;
  --muted: #a3a3ad;
  --dim: #6f6f78;
  --gold: #d9a845;
  --gold-hi: #f6d98a;
  --gold-lo: #a7771f;
  --gold-grad: linear-gradient(135deg, #f8e19a 0%, #e2b04f 38%, #c48d2c 70%, #f1cf78 100%);
  --steel-grad: linear-gradient(135deg, #2a2a2f 0%, #18181b 50%, #232327 100%);
  --wa: #25d366;

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

html[lang="ar"] {
  --font-head: "Cairo", system-ui, sans-serif;
  --font-body: "Cairo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: #000; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.ic { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .ic--flip { transform: scaleX(-1); }

.gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.eyebrow__line {
  width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
[dir="rtl"] .eyebrow__line { background: linear-gradient(-90deg, transparent, var(--gold)); }
.section__head--center .eyebrow__line:last-child { background: linear-gradient(-90deg, transparent, var(--gold)); }
[dir="rtl"] .section__head--center .eyebrow__line:last-child { background: linear-gradient(90deg, transparent, var(--gold)); }

.h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  margin-bottom: 20px;
}
html[lang="ar"] .h2 { line-height: 1.35; }
.lead { font-size: 1.12rem; color: #d2d2d8; }
p { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding-inline: 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .3s, border-color .3s, color .3s;
}
.btn .ic { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.btn:hover .ic--flip { transform: translateX(4px); }
[dir="rtl"] .btn:hover .ic--flip { transform: scaleX(-1) translateX(4px); }

.btn--gold {
  color: #141006;
  background: var(--gold-grad);
  background-size: 200% 200%;
  box-shadow: 0 10px 30px -10px rgba(217, 168, 69, .55), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--gold::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
  z-index: -1;
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(217, 168, 69, .7), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--gold:hover::after { transform: translateX(120%); }

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); transform: translateY(-2px); }

.btn--sm { height: 44px; padding-inline: 20px; font-size: 14px; }
.btn--wa { background: var(--wa); color: #06210f; width: 100%; }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .6); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0;
  z-index: 200;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 28px;
  background: var(--bg);
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader__logo {
  width: 92px;
  animation: pulse 1.6s var(--ease) infinite;
}
.preloader__bar { width: 140px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.preloader__bar span { display: block; height: 100%; width: 40%; background: var(--gold-grad); animation: load 1.1s var(--ease) infinite; }
.is-loaded .preloader { opacity: 0; visibility: hidden; }
@keyframes pulse { 50% { opacity: .55; transform: scale(.96); } }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- Progress ---------- */
.progress {
  position: fixed; top: 0; inset-inline-start: 0;
  height: 2px; width: 100%;
  z-index: 120;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
}
[dir="rtl"] .progress { transform-origin: right; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  transition: height .4s var(--ease), background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  height: 70px;
  background: rgba(10, 10, 11, .82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: flex; align-items: center; gap: 8px; flex: none; }
.brand__mark { height: 46px; width: auto; transition: height .4s var(--ease); }
.brand__word { height: 40px; width: auto; transition: height .4s var(--ease); }
.is-scrolled .brand__mark { height: 40px; }
.is-scrolled .brand__word { height: 34px; }

.nav { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.nav__link {
  position: relative;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: #cfcfd6;
  transition: color .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 14px; bottom: 4px;
  height: 1px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transition: transform .4s var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: 14px; }

.lang {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
}
.lang__btn {
  min-width: 36px; height: 30px;
  padding-inline: 8px;
  border-radius: 999px;
  font-family: "Outfit", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--muted);
  transition: color .3s, background-color .3s;
}
.lang__btn:hover { color: #fff; }
.lang__btn.is-active { color: #141006; background: var(--gold-grad); }

.burger { display: none; width: 44px; height: 44px; position: relative; border-radius: 50%; border: 1px solid var(--line-2); }
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.5px;
  background: #fff;
  transition: transform .4s var(--ease), opacity .3s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
.nav-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 40px);
  min-height: calc(100svh - 40px);
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 40px) 170px;
  overflow: hidden;
}
.hero__glow {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(50% 60% at 78% 45%, rgba(217,168,69,.16), transparent 70%),
    radial-gradient(40% 50% at 10% 20%, rgba(217,168,69,.07), transparent 70%),
    linear-gradient(180deg, #0c0c0e 0%, var(--bg) 100%);
}
[dir="rtl"] .hero__glow {
  background:
    radial-gradient(50% 60% at 22% 45%, rgba(217,168,69,.16), transparent 70%),
    radial-gradient(40% 50% at 90% 20%, rgba(217,168,69,.07), transparent 70%),
    linear-gradient(180deg, #0c0c0e 0%, var(--bg) 100%);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(40px, 6vw, 90px); }

.hero__visual { position: relative; justify-self: end; width: 100%; max-width: 470px; }
.hero__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: calc(100svh - 260px);
  min-height: 420px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(246,217,138,.25);
  box-shadow: 0 60px 100px -40px rgba(0,0,0,.95), 0 0 120px -40px rgba(217,168,69,.35);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; animation: kenburns 20s ease-in-out infinite alternate; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,11,.55) 0%, transparent 40%); }
.hero__visual::before {
  content: ""; position: absolute; z-index: -1;
  inset: 22px -22px -22px 22px;
  border-radius: 26px;
  border: 1px solid rgba(217,168,69,.35);
}
[dir="rtl"] .hero__visual::before { inset: 22px 22px -22px -22px; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }

.hero__float {
  position: absolute;
  bottom: 48px; inset-inline-start: -70px;
  width: 150px; aspect-ratio: 3 / 4;
  border-radius: 18px; overflow: hidden;
  border: 5px solid var(--bg);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
  animation: float 6s ease-in-out infinite;
}
.hero__float img { width: 100%; height: 100%; object-fit: cover; }
.hero__chip {
  position: absolute;
  top: 34px; inset-inline-end: -34px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px;
  padding-inline: 10px 18px;
  border-radius: 999px;
  background: rgba(20,20,23,.78);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.8);
  animation: float 6s ease-in-out -3s infinite;
}
.hero__chip-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold-grad); color: #141006; }
.hero__chip-icon .ic { width: 17px; height: 17px; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
}
[dir="rtl"] .hero__grid { mask-image: linear-gradient(-90deg, #000 0%, transparent 60%); -webkit-mask-image: linear-gradient(-90deg, #000 0%, transparent 60%); }

.hero__content { min-width: 0; }
.hero__title {
  max-width: 820px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
html[lang="ar"] .hero__title { line-height: 1.3; letter-spacing: 0; }
.hero__title .gold { display: inline; }
.hero__lead { max-width: 600px; font-size: 1.15rem; color: #c9c9d1; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__in {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
}
.is-loaded .hero__in {
  animation: heroIn 1.1s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0s) + .15s);
}
@keyframes heroIn { to { opacity: 1; transform: none; filter: none; } }

.hero__scroll {
  position: absolute;
  bottom: 130px;
  inset-inline-end: 24px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
html[lang="ar"] .hero__scroll > span:first-child { display: none; }
.hero__mouse { width: 22px; height: 36px; border: 1.5px solid var(--line-2); border-radius: 12px; position: relative; writing-mode: horizontal-tb; }
.hero__mouse span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -110px; }
.stats__panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(26,26,30,.85), rgba(16,16,18,.9));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
}
.stat { position: relative; padding: 34px 30px; }
.stat + .stat::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 24%; bottom: 24%;
  width: 1px; background: var(--line-2);
}
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
  color: #fff;
}
.stat__num--text { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.55; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--muted); font-size: 14.5px; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(90px, 12vw, 150px); }
.section__head { max-width: 720px; margin-bottom: 60px; }
.section__head .lead { margin: 0; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section__head--split .h2 { margin: 0; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; padding-bottom: 60px; padding-inline-end: 60px; }
.about__img { margin: 0; overflow: hidden; border-radius: var(--radius); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { aspect-ratio: 4 / 5; box-shadow: 0 50px 90px -40px rgba(0,0,0,.9); }
.about__img--sub {
  position: absolute;
  width: 46%;
  aspect-ratio: 3 / 4;
  inset-inline-end: 0; bottom: 0;
  border: 6px solid var(--bg);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
}
.about__badge {
  position: absolute;
  top: 36px;
  inset-inline-end: 10px;
  display: grid; justify-items: center;
  padding: 22px 26px;
  border-radius: var(--radius-sm);
  background: var(--gold-grad);
  color: #141006;
  box-shadow: 0 24px 50px -16px rgba(217,168,69,.55);
  text-align: center;
}
.about__badge strong { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; font-weight: 800; }
.about__badge > span { font-size: 13px; font-weight: 600; }

.checklist { list-style: none; padding: 0; margin: 30px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: #dcdce2; font-size: 15px; line-height: 1.5; }
.checklist .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #141006; background: var(--gold-grad); margin-top: 1px; }

.signature {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 14px 24px 14px 14px;
  padding-inline: 14px 24px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
}
.signature__mark { width: 48px; height: 48px; object-fit: contain; border-radius: 50%; background: #000; padding: 6px; mix-blend-mode: normal; }
.signature strong { display: block; font-family: var(--font-head); font-size: 17px; }
.signature span { color: var(--gold); font-size: 13.5px; }

/* ---------- Marquee ---------- */
.marquee {
  direction: ltr;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 26px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee span {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 600;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.28);
  padding-inline: 34px;
  transition: color .4s;
}
.marquee span:hover { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.marquee i { width: 10px; height: 10px; flex: none; transform: rotate(45deg); background: var(--gold-grad); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services { background: radial-gradient(70% 50% at 100% 0%, rgba(217,168,69,.06), transparent 70%); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .6s var(--ease-out), border-color .4s, box-shadow .6s var(--ease-out);
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(246,217,138,.7), transparent 40%, transparent 70%, rgba(217,168,69,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
  z-index: 2;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(217,168,69,.1); }
.card:hover::before { opacity: 1; }
.card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; filter: saturate(.85) brightness(.9); }
.card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--surface) 0%, rgba(20,20,23,0) 55%); }
.card:hover .card__img img { transform: scale(1.08); filter: saturate(1) brightness(1); }
.card__num {
  position: absolute; top: 18px; inset-inline-start: 18px; z-index: 1;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(10,10,11,.6);
  border: 1px solid rgba(246,217,138,.4);
  backdrop-filter: blur(8px);
  font-family: "Outfit", sans-serif; font-weight: 600; font-size: 14px;
  color: var(--gold-hi);
}
.card__body { position: relative; padding: 8px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 12px; }
.card p { font-size: 15px; flex: 1; }
.card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--gold); font-family: var(--font-head); font-weight: 600; font-size: 14.5px; }
.card__link .ic { width: 17px; transition: transform .4s var(--ease-out); }
.card__link:hover .ic { transform: translateX(5px); }
[dir="rtl"] .card__link:hover .ic { transform: scaleX(-1) translateX(5px); }

/* ---------- Process ---------- */
.process { background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.process::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
  pointer-events: none;
}
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.steps__line { position: absolute; top: 34px; inset-inline: 12.5%; height: 1px; background: var(--line-2); }
.steps__line span { display: block; height: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease); }
[dir="rtl"] .steps__line span { transform-origin: right; }
.steps.is-visible .steps__line span { transform: scaleX(1); }
.step { position: relative; text-align: center; opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.steps.is-visible .step { opacity: 1; transform: none; }
.steps.is-visible .step:nth-child(2) { transition-delay: .1s; }
.steps.is-visible .step:nth-child(3) { transition-delay: .45s; }
.steps.is-visible .step:nth-child(4) { transition-delay: .8s; }
.steps.is-visible .step:nth-child(5) { transition-delay: 1.15s; }
.step__dot {
  position: relative;
  width: 68px; height: 68px;
  margin: 0 auto 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid rgba(217,168,69,.5);
  font-family: "Outfit", sans-serif; font-weight: 700; font-size: 18px;
  color: var(--gold-hi);
  box-shadow: 0 0 0 8px var(--bg-2), 0 0 40px -6px rgba(217,168,69,.35);
  transition: background .4s, color .4s;
}
.step:hover .step__dot { background: var(--gold-grad); color: #141006; }
.step h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 15px; max-width: 260px; margin-inline: auto; }

/* ---------- Vision / Mission ---------- */
.vm { position: relative; padding-block: clamp(100px, 13vw, 160px); overflow: hidden; isolation: isolate; }
.vm__bg { position: absolute; inset: -15% 0; z-index: -2; will-change: transform; }
.vm__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.vm__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(10,10,11,.82) 22%, rgba(10,10,11,.88) 78%, var(--bg) 100%); }
.vm__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm__card {
  position: relative;
  padding: clamp(32px, 4vw, 48px);
  border-radius: var(--radius);
  background: rgba(20,20,23,.62);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}
.vm__card::after { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; background: var(--gold-grad); }
.vm__icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; margin-bottom: 24px; background: rgba(217,168,69,.1); border: 1px solid rgba(217,168,69,.3); color: var(--gold-hi); }
.vm__icon .ic { width: 26px; height: 26px; }
.vm__card h3 { font-size: 1.6rem; font-weight: 600; margin-bottom: 16px; }
.vm__card p { color: #c4c4cc; margin: 0; }

/* ---------- Why ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { position: relative; padding: 40px 34px; background: var(--bg); transition: background .5s; overflow: hidden; }
.feature::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(217,168,69,.10), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.feature:hover::before { opacity: 1; }
.feature:hover { background: var(--surface); }
.feature__icon { position: relative; display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border-radius: 14px; background: var(--steel-grad); border: 1px solid var(--line-2); color: var(--gold); transition: transform .5s var(--ease-out); }
.feature:hover .feature__icon { transform: translateY(-4px) rotate(-4deg); }
.feature__icon .ic { width: 24px; height: 24px; }
.feature h3 { position: relative; font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.feature p { position: relative; font-size: 15px; margin: 0; }

/* ---------- References ---------- */
.refs { background: radial-gradient(60% 45% at 0% 0%, rgba(217,168,69,.07), transparent 70%); border-top: 1px solid var(--line); }
.refs__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.refs__head .section__head { margin-bottom: 0; }
.refs__summary { display: flex; gap: 14px; }
.refs__big {
  display: grid; justify-items: center;
  min-width: 140px;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(217,168,69,.3);
  background: linear-gradient(180deg, rgba(217,168,69,.08), rgba(217,168,69,.02));
}
.refs__featured { font-size: 1.15rem; font-weight: 600; color: #fff; margin-bottom: 18px; }
.refs__big .refs__num { font-family: "Outfit", sans-serif; font-size: 3rem; font-weight: 700; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.refs__big small { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.refs__filters { margin-bottom: 28px; }
.filter .count { margin-inline-start: 6px; font-size: 12px; opacity: .6; }

.refs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ref {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px 22px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  animation: refIn .7s var(--ease-out) both;
  animation-delay: var(--i, 0ms);
  transition: border-color .4s, transform .5s var(--ease-out), background .4s;
}
.ref::after {
  content: ""; position: absolute; top: 0; inset-inline-start: 0;
  width: 100%; height: 2px;
  background: var(--gold-grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
[dir="rtl"] .ref::after { transform-origin: right; }
.ref:hover { border-color: rgba(217,168,69,.35); background: var(--surface-2); transform: translateY(-4px); }
.ref:hover::after { transform: scaleX(1); }
@keyframes refIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.ref__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ref__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--steel-grad); border: 1px solid var(--line-2); color: var(--gold); }
.ref__icon .ic { width: 21px; height: 21px; }
.ref__type { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
html[lang="ar"] .ref__type { letter-spacing: 0; font-size: 13px; }
.ref__name { font-family: var(--font-head); font-size: 1.08rem; font-weight: 600; line-height: 1.3; color: #fff; }
.ref__loc { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-top: auto; }
.ref__loc .ic { width: 15px; height: 15px; color: var(--gold); }

/* ---------- Gallery ---------- */
.projects { padding-top: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  height: 42px; padding-inline: 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--font-head);
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  transition: color .3s, border-color .3s, background-color .3s;
}
.filter:hover { color: #fff; border-color: rgba(217,168,69,.5); }
.filter.is-active { color: #141006; background: var(--gold-grad); border-color: transparent; }

.gallery { columns: 3; column-gap: 20px; }
.gallery__item {
  position: relative;
  margin: 0 0 20px;
  break-inside: avoid;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--surface);
}
.gallery__item.is-hidden { display: none; }
.gallery__item img { width: 100%; height: auto; transition: transform 1.1s var(--ease-out), filter .6s; filter: brightness(.88); }
.gallery__item:hover img { transform: scale(1.06); filter: brightness(1); }
.gallery__item figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 40px 20px 18px;
  background: linear-gradient(0deg, rgba(0,0,0,.85), transparent);
  font-family: var(--font-head); font-weight: 500; font-size: 15px;
  transform: translateY(12px); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .5s;
}
.gallery__item figcaption .ic { color: var(--gold); }
.gallery__item:hover figcaption, .gallery__item:focus-within figcaption { transform: none; opacity: 1; }

/* ---------- CTA ---------- */
.cta { padding-bottom: clamp(90px, 12vw, 150px); }
.cta__box {
  position: relative;
  display: grid; grid-template-columns: 1.3fr 1fr; align-items: stretch;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #17171a 0%, #0d0d0f 100%);
  border: 1px solid rgba(217,168,69,.28);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 80px -40px rgba(217,168,69,.25);
}
.cta__text { padding: clamp(36px, 6vw, 72px); align-self: center; }
.cta__text .lead { margin-bottom: 32px; }
.cta__visual { position: relative; min-height: 320px; }
.cta__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.cta__visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #121214 0%, rgba(18,18,20,0) 40%); }
[dir="rtl"] .cta__visual::before { background: linear-gradient(-90deg, #121214 0%, rgba(18,18,20,0) 40%); }

/* ---------- Quote form ---------- */
.quote { padding-top: 0; }
.qdoc {
  max-width: 980px;
  margin-inline: auto;
  border-radius: 24px;
  background: linear-gradient(180deg, #151518, #101012);
  border: 1px solid rgba(217,168,69,.25);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 80px -50px rgba(217,168,69,.3);
  overflow: hidden;
}
.qdoc__top {
  display: flex; align-items: center; gap: 20px;
  padding: 28px clamp(20px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(60% 120% at 0% 0%, rgba(217,168,69,.1), transparent 70%);
}
[dir="rtl"] .qdoc__top { background: radial-gradient(60% 120% at 100% 0%, rgba(217,168,69,.1), transparent 70%); }
.qdoc__logo { width: 64px; height: auto; flex: none; }
.qdoc__heading { display: grid; gap: 2px; }
.qdoc__heading strong { font-family: var(--font-head); font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .02em; }
html[lang="ar"] .qdoc__heading strong { text-transform: none; letter-spacing: 0; }
.qdoc__heading span { color: var(--gold); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.qdoc__meta { margin-block: 0; margin-inline: auto 0; display: grid; gap: 6px; font-size: 14px; }
.qdoc__meta div { display: flex; gap: 10px; justify-content: space-between; min-width: 180px; padding-bottom: 6px; border-bottom: 1px dashed var(--line-2); }
.qdoc__meta dt { color: var(--dim); }
.qdoc__meta dd { margin: 0; color: #fff; font-weight: 600; }

.qdoc__bar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px clamp(20px, 4vw, 40px);
  background: #070708;
  border-block: 1px solid var(--line);
  font-family: var(--font-head);
}
.qdoc__bar > span { color: #141006; background: var(--gold-grad); border-radius: 6px; padding: 2px 8px; font-size: 13px; font-weight: 700; font-family: "Outfit", sans-serif; }
.qdoc__bar b { font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
html[lang="ar"] .qdoc__bar b { letter-spacing: 0; text-transform: none; font-size: 16px; }
.qdoc__all { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); cursor: pointer; font-family: var(--font-body); }
.qdoc__all input { accent-color: var(--gold); width: 16px; height: 16px; }

.qdoc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 26px clamp(20px, 4vw, 40px) 30px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--wide { grid-column: span 3; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: 13.5px; font-weight: 500; color: #cfcfd6; }
.field__label i { color: var(--gold); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 15px;
  color: #fff;
  background: #0b0b0d;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 100px; }
.field select { appearance: none; -webkit-appearance: none; padding-inline-end: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(-45deg, transparent 50%, var(--gold) 50%); background-size: 6px 6px; background-repeat: no-repeat; background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; }
[dir="rtl"] .field select { background-position: 16px 52%, 22px 52%; }
.field select option { background: #141417; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,168,69,.18); }
.field.is-invalid input { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229,72,77,.15); }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }

.qdoc__services { display: grid; grid-template-columns: 1fr 1fr; padding: 10px clamp(12px, 3vw, 30px) 20px; }
.svc { display: flex; align-items: flex-start; gap: 12px; padding: 12px 10px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 14.5px; color: #d6d6dc; line-height: 1.45; border-radius: 8px; transition: background .3s; }
.svc:hover { background: rgba(255,255,255,.025); }
.svc input { position: absolute; opacity: 0; pointer-events: none; }
.svc__box { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; border: 1px solid var(--line-2); background: #0b0b0d; color: transparent; transition: background .25s, border-color .25s, color .25s; }
.svc__box .ic { width: 14px; height: 14px; }
.svc input:checked + .svc__box { background: var(--gold-grad); border-color: transparent; color: #141006; }
.svc input:focus-visible + .svc__box { box-shadow: 0 0 0 3px rgba(217,168,69,.3); }
.svc input:not(:checked) ~ span:last-child { color: var(--dim); }

.qdoc__terms { margin: 0; padding: 20px clamp(20px, 4vw, 40px) 24px; padding-inline-start: calc(clamp(20px, 4vw, 40px) + 18px); color: var(--muted); font-size: 14.5px; display: grid; gap: 8px; }
.qdoc__terms li::marker { color: var(--gold); }

.qdoc__foot { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 26px clamp(20px, 4vw, 40px) 32px; border-top: 1px solid var(--line); }
.qdoc__company { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.qdoc__company strong { font-family: var(--font-head); color: #fff; font-size: 16px; }
.qdoc__company > span { display: flex; align-items: center; gap: 8px; }
.qdoc__company .ic { width: 16px; height: 16px; color: var(--gold); }
.qdoc__submit { display: grid; justify-items: end; gap: 10px; max-width: 420px; }
.qdoc__hint { font-size: 13px; color: var(--dim); margin: 0; text-align: end; }
.qdoc__error { margin: 0; color: #ff8a8d; font-size: 14px; font-weight: 500; }

.qdoc__done { display: flex; gap: 18px; align-items: flex-start; margin: 0 clamp(20px, 4vw, 40px) 32px; padding: 22px; border-radius: 14px; background: rgba(37,211,102,.07); border: 1px solid rgba(37,211,102,.3); animation: refIn .6s var(--ease-out) both; }
.qdoc__done[hidden] { display: none; }
.qdoc__done-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--wa); color: #06210f; }
.qdoc__done strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: #fff; margin-bottom: 4px; }
.qdoc__done p { margin: 0 0 14px; font-size: 14.5px; }
.qdoc__alt { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Contact ---------- */
.contact { padding-top: 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: stretch; }
.contact__list { display: grid; gap: 14px; align-content: start; }
.info {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .4s, transform .5s var(--ease-out), background .4s;
}
.info--link:hover, .info:hover { border-color: rgba(217,168,69,.4); background: var(--surface-2); }
.info--link:hover { transform: translateY(-3px); }
.info__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 12px; background: rgba(217,168,69,.1); border: 1px solid rgba(217,168,69,.25); color: var(--gold-hi); }
.info__label { display: block; font-size: 13px; color: var(--dim); margin-bottom: 2px; text-transform: uppercase; letter-spacing: .12em; font-weight: 500; }
html[lang="ar"] .info__label { letter-spacing: 0; font-size: 14px; }
.info__value { display: block; font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: #fff; line-height: 1.4; }
.info__value--sm { font-size: 1.02rem; }
a.info__value:hover { color: var(--gold-hi); }
.info__sub { display: block; font-size: 14px; color: var(--gold); }
[dir="rtl"] .info__value[dir="ltr"] { text-align: right; }
.info__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--gold); font-size: 14px; font-weight: 600; font-family: var(--font-head); }
.info__more .ic { width: 16px; }

.map { position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.88) brightness(.95); }
.map::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(217,168,69,.15), inset 0 0 80px rgba(0,0,0,.4); border-radius: inherit; }

/* ---------- Footer ---------- */
.footer { background: #070708; border-top: 1px solid var(--line); padding-top: 80px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 60px; }
.brand--footer { margin-bottom: 22px; }
.footer p { font-size: 15px; max-width: 340px; }
.footer__tagline { color: var(--gold) !important; font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; }
.footer h4 { font-size: 15px; font-weight: 600; margin-bottom: 20px; color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer li, .footer li a { color: var(--muted); font-size: 15px; transition: color .3s; }
.footer li a:hover { color: var(--gold-hi); }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact .ic { width: 17px; height: 17px; color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 26px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }

/* ---------- Floating ---------- */
.float-wa, .to-top {
  position: fixed;
  inset-inline-end: 24px;
  z-index: 90;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: transform .5s var(--ease-out), opacity .4s, visibility .4s;
}
.float-wa { bottom: 24px; width: 58px; height: 58px; background: var(--wa); color: #fff; box-shadow: 0 14px 30px -8px rgba(37,211,102,.55); }
.float-wa .ic { width: 30px; height: 30px; }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.float-wa:hover { transform: scale(1.08); }
.to-top { bottom: 96px; width: 46px; height: 46px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--gold-hi); opacity: 0; visibility: hidden; transform: translateY(10px); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--gold); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 150;
  display: flex; align-items: center; justify-content: center;
  padding: 70px 90px;
  background: rgba(5,5,6,.94);
  backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; transform: scale(.96); transition: transform .5s var(--ease-out); }
.lightbox.is-open .lightbox__fig { transform: none; }
.lightbox__fig img { max-width: 100%; max-height: calc(100vh - 180px); border-radius: var(--radius-sm); box-shadow: 0 40px 100px rgba(0,0,0,.7); }
.lightbox__fig figcaption { display: flex; gap: 18px; align-items: center; font-family: var(--font-head); color: #ddd; }
.lightbox__count { color: var(--gold); font-size: 14px; direction: ltr; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: #fff; transition: border-color .3s, color .3s, background .3s; }
.lightbox__btn:hover { border-color: var(--gold); color: var(--gold-hi); }
.lightbox__close { top: 20px; inset-inline-end: 20px; }
.lightbox__prev, .lightbox__next { top: 50%; margin-top: -26px; }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

/* ---------- Reveal animations ---------- */
[data-reveal] { transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), clip-path 1.3s var(--ease-out), filter 1s var(--ease-out); transition-delay: var(--delay, 0ms); }
.js [data-reveal="up"] { opacity: 0; transform: translateY(40px); }
.js [data-reveal="left"] { opacity: 0; transform: translateX(-50px); }
.js [data-reveal="right"] { opacity: 0; transform: translateX(50px); }
.js [dir="rtl"] [data-reveal="left"], [dir="rtl"].js [data-reveal="left"] { transform: translateX(50px); }
.js [dir="rtl"] [data-reveal="right"], [dir="rtl"].js [data-reveal="right"] { transform: translateX(-50px); }
.js [data-reveal="zoom"] { opacity: 0; transform: scale(.8); }
.js [data-reveal="wipe"] { position: relative; }
.js [data-reveal="wipe"]::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: var(--bg);
  transform-origin: top;
  transition: transform 1.3s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal="wipe"] img { transform: scale(1.25); transition: transform 1.8s var(--ease-out); transition-delay: var(--delay, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="wipe"].is-visible::after { transform: scaleY(0); }
.js [data-reveal="wipe"].is-visible img { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__link { padding: 10px 10px; font-size: 14.5px; }
  .header__cta { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0;
    z-index: -1;
    flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    background: rgba(8,8,9,.97);
    backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden;
    transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav__link { font-size: 1.6rem; font-weight: 600; padding: 12px 20px; opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .3s; }
  .nav-open .nav__link { opacity: 1; transform: none; }
  .nav-open .nav__link:nth-child(2) { transition-delay: .05s; }
  .nav-open .nav__link:nth-child(3) { transition-delay: .1s; }
  .nav-open .nav__link:nth-child(4) { transition-delay: .15s; }
  .nav-open .nav__link:nth-child(5) { transition-delay: .2s; }
  .nav__link::after { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 24px; }
  .nav-open .header { background: transparent; border-color: transparent; backdrop-filter: none; }

  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { justify-self: center; max-width: 440px; }
  .hero__frame { aspect-ratio: 4 / 4.4; min-height: 0; max-height: none; }
  .hero__float { inset-inline-start: -24px; }
  .hero__chip { inset-inline-end: -16px; }
  .stats__panel { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 50px 30px; }
  .steps__line { display: none; }
  .vm__cards { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }
  .refs__grid { grid-template-columns: 1fr 1fr; }
  .cta__box { grid-template-columns: 1fr; }
  .cta__visual { min-height: 280px; order: -1; }
  .cta__visual::before { background: linear-gradient(0deg, #141416 0%, rgba(18,18,20,0) 50%) !important; }
  .contact__grid { grid-template-columns: 1fr; }
  .qdoc__grid { grid-template-columns: 1fr 1fr; }
  .field--wide { grid-column: 1 / -1; }
  .qdoc__services { grid-template-columns: 1fr; }
  .map { min-height: 360px; }
  .hero__scroll { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding-inline: 16px; }
  .brand__mark { height: 38px; }
  .brand__word { height: 32px; }
  .is-scrolled .brand__mark { height: 34px; }
  .is-scrolled .brand__word { height: 28px; }
  .header__actions { gap: 8px; }
  .lang__btn { min-width: 30px; padding-inline: 6px; }
  .hero { padding-bottom: 140px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__float { width: 104px; inset-inline-start: -8px; bottom: -26px; border-width: 4px; }
  .hero__chip { inset-inline-end: -6px; top: 18px; font-size: 13px; }
  .hero__visual::before { inset: 14px -10px -14px 14px; }
  [dir="rtl"] .hero__visual::before { inset: 14px 14px -14px -10px; }
  .stat { padding: 24px 18px; }
  .cards, .features, .checklist { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .about__media { padding-inline-end: 34px; padding-bottom: 40px; }
  .about__badge { padding: 16px 18px; top: 20px; }
  .about__badge strong { font-size: 2rem; }
  .gallery { columns: 1; }
  .qdoc__grid { grid-template-columns: 1fr; gap: 14px; }
  .qdoc__top { flex-wrap: wrap; }
  .qdoc__meta { width: 100%; margin: 0; }
  .qdoc__logo { width: 48px; }
  .qdoc__all span { display: none; }
  .qdoc__submit { justify-items: stretch; max-width: none; width: 100%; }
  .qdoc__submit .btn { white-space: normal; height: auto; min-height: 54px; padding-block: 12px; text-align: center; }
  .qdoc__hint { text-align: start; }
  .qdoc__done { flex-direction: column; }
  .refs__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ref { padding: 16px 14px; gap: 10px; }
  .ref__type { display: none; }
  .ref__name { font-size: .98rem; }
  .ref__loc { font-size: 13px; }
  .refs__summary { width: 100%; }
  .refs__big { flex: 1; min-width: 0; padding: 18px; }
  .refs__filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .refs__filters::-webkit-scrollbar { display: none; }
  .refs__filters .filter { flex: none; }
  .gallery__item figcaption { opacity: 1; transform: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; }
  .lightbox { padding: 60px 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .signature { padding-inline: 10px 20px; }
}

@media (max-width: 380px) {
  .brand__word { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .hero__in, .step { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js [data-reveal="wipe"]::after { display: none; }
}
