/* =========================================================
   BOMMA — bybomma.com
   Vision Beyond Limits
   ========================================================= */

@property --ang {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg: #0D0B19;
  --bg-2: #110E20;
  --bg-3: #161229;
  --blue: #48C5F5;
  --blue-rgb: 72, 197, 245;
  --white: #ffffff;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .62);
  --dim: rgba(255, 255, 255, .42);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --danger: #ff8a9b;

  --f-main: "Readex Pro", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --f-display: "Readex Pro", system-ui, sans-serif;
  --f-latin: "Syne", "Readex Pro", system-ui, sans-serif;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --pad: clamp(20px, 4.2vw, 64px);
  --radius: 26px;
  --header-h: 84px;
  --grad-dir: to left;
}

html[lang="en"] {
  --f-display: "Syne", "Readex Pro", system-ui, sans-serif;
  --grad-dir: to right;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--bg);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--f-main);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* Fine film grain + vignette for a cinematic finish */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(var(--blue-rgb), .35); color: #fff; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 1.5px solid var(--blue);
  outline-offset: 4px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: min(1320px, 100% - var(--pad) * 2);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 10001;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--bg);
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* Latin-only elements */
.brand__name, .footer__name, .footer__big, .label__num, .svc__num, .step__num,
.project__name, .project__index, .plan__en, .plan__amount, .pillar__num, .intro__word {
  font-family: var(--f-latin);
}

/* =========================================================
   Intro
   ========================================================= */
.intro { display: none; }

.js .intro.play {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--bg);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-io), visibility 0s 1.1s;
}
.js .intro.play.out { clip-path: inset(0 0 100% 0); visibility: hidden; }

.intro__bloom {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38vmax 30vmax at 50% 46%, rgba(var(--blue-rgb), .13), transparent 70%),
    radial-gradient(60vmax 50vmax at 50% 50%, rgba(255, 255, 255, .03), transparent 70%);
  opacity: 0;
}
.intro.play .intro__bloom { animation: fadeIn 1.4s var(--ease) 1.7s forwards; }

.intro__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 1.1s var(--ease-io), opacity .8s var(--ease), filter .8s;
}
.intro.out .intro__stage { transform: translateY(-6vh) scale(.96); opacity: 0; filter: blur(6px); }

.intro__owl {
  width: clamp(130px, 20vw, 220px);
  height: auto;
  overflow: visible;
}
.intro__owl path[pathLength] {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
}
.intro.play .d1 { animation: draw 1.35s var(--ease-io) .2s forwards; }
.intro.play .d2 { animation: draw .9s var(--ease-io) .45s forwards; }
.intro.play .d3 { animation: draw 1.5s var(--ease-io) .6s forwards; }
.intro.play .d4 { animation: draw 1.05s var(--ease-io) .95s forwards; }

.intro__eyes path {
  transform-box: fill-box;
  transform-origin: 50% 60%;
  transform: scaleY(.04);
  opacity: 0;
}
.intro.play .intro__eyes path { animation: eyesOpen .7s var(--ease) 1.9s forwards; }

.intro__word {
  margin-top: clamp(26px, 4vh, 40px);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  letter-spacing: .55em;
  padding-inline-start: .55em;
  line-height: 1;
  display: flex;
}
.intro__word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  filter: blur(10px);
}
.intro.play .intro__word span { animation: letterIn 1s var(--ease) forwards; }
.intro.play .intro__word span:nth-child(1) { animation-delay: 2.3s; }
.intro.play .intro__word span:nth-child(2) { animation-delay: 2.38s; }
.intro.play .intro__word span:nth-child(3) { animation-delay: 2.46s; }
.intro.play .intro__word span:nth-child(4) { animation-delay: 2.54s; }
.intro.play .intro__word span:nth-child(5) { animation-delay: 2.62s; }

.intro__line {
  width: 120px;
  height: 1px;
  margin-top: 22px;
  background: linear-gradient(90deg, transparent, rgba(var(--blue-rgb), .9), transparent);
  transform: scaleX(0);
}
.intro.play .intro__line { animation: lineIn 1s var(--ease) 2.75s forwards; }

.intro__tag {
  margin-top: 16px;
  font-size: .95rem;
  color: var(--muted);
  opacity: 0;
}
html[lang="en"] .intro__tag { letter-spacing: .3em; text-transform: uppercase; font-size: .72rem; }
.intro.play .intro__tag { animation: fadeUp .9s var(--ease) 2.9s forwards; }

.intro__skip {
  position: absolute;
  bottom: max(28px, env(safe-area-inset-bottom));
  inset-inline-end: 32px;
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: .8rem;
  color: var(--muted);
  opacity: 0;
  transition: color .3s, border-color .3s;
}
.intro.play .intro__skip { animation: fadeIn .6s ease .5s forwards; }
.intro__skip:hover { color: #fff; border-color: rgba(var(--blue-rgb), .6); }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes eyesOpen {
  0% { opacity: 0; transform: scaleY(.04); }
  40% { opacity: 1; }
  70% { transform: scaleY(1.06); }
  100% { opacity: 1; transform: scaleY(1); }
}
@keyframes letterIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes lineIn { to { transform: scaleX(1); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

html.intro-lock, html.intro-lock body { overflow: hidden; }

/* =========================================================
   Cursor
   ========================================================= */
.cursor { display: none; }
html.has-cursor .cursor { display: block; }
html.has-cursor, html.has-cursor body, html.has-cursor a, html.has-cursor button,
html.has-cursor [data-tilt], html.has-cursor [data-stage] { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }

.cursor__dot, .cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  will-change: transform;
}
.cursor__dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: #fff;
  transition: opacity .3s, background .3s;
}
.cursor__ring {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  display: grid;
  place-items: center;
}
.cursor__ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .38);
  transition: transform .45s var(--ease), background .35s, border-color .35s;
}
.cursor__label {
  position: relative;
  font-size: .72rem;
  font-weight: 500;
  color: var(--bg);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .3s, transform .4s var(--ease);
  white-space: nowrap;
}
.cursor.is-hover .cursor__ring::before {
  transform: scale(1.6);
  border-color: rgba(var(--blue-rgb), .7);
  background: rgba(var(--blue-rgb), .08);
}
.cursor.is-label .cursor__ring::before {
  transform: scale(2.3);
  border-color: transparent;
  background: var(--blue);
}
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-label .cursor__dot,
.cursor.is-text .cursor__dot { opacity: 0; }
.cursor.is-text .cursor__ring::before { transform: scale(.4); opacity: 0; }
.cursor.is-hidden .cursor__dot, .cursor.is-hidden .cursor__ring { opacity: 0; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 56px;
  padding-inline: 30px;
  border-radius: 999px;
  font-size: .98rem;
  font-weight: 500;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: color .45s var(--ease), border-color .45s var(--ease), background .45s var(--ease), transform .5s var(--ease), box-shadow .45s var(--ease);
}
.btn__label { position: relative; z-index: 1; }
.btn__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-inline-end: -14px;
  border-radius: 50%;
  background: var(--bg);
  color: #fff;
  transition: transform .5s var(--ease), background .4s;
}
.btn__icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .btn__icon svg, [dir="rtl"] .svc__more svg { transform: scaleX(-1); }
.btn:hover .btn__icon { transform: rotate(45deg); }
[dir="rtl"] .btn:hover .btn__icon { transform: rotate(-45deg); }

.btn--primary { background: #fff; color: var(--bg); }
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: var(--blue);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn--primary:hover::before { transform: none; }
.btn--primary:hover { box-shadow: 0 10px 40px -12px rgba(var(--blue-rgb), .55); }

.btn--ghost {
  border: 1px solid var(--line-2);
  color: #fff;
  background: rgba(255, 255, 255, .02);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: rgba(var(--blue-rgb), .65); background: rgba(var(--blue-rgb), .07); }
.btn--sm { height: 44px; padding-inline: 22px; font-size: .88rem; }
.btn--block { width: 100%; }
.magnetic { will-change: transform; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: transform .6s var(--ease), background .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(13, 11, 25, .62);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__owl { width: 36px; height: 34px; color: #fff; --owl-stroke: 22; transition: transform .6s var(--ease); }
.brand:hover .brand__owl { transform: rotate(-6deg) scale(1.05); }
.brand__name { font-weight: 700; font-size: 1rem; letter-spacing: .3em; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 38px); }
.nav__link {
  position: relative;
  font-size: .9rem;
  font-weight: 400;
  color: var(--muted);
  padding-block: 6px;
  transition: color .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: var(--origin, right);
  transition: transform .5s var(--ease);
}
html[dir="ltr"] .nav__link::after { --origin: left; }
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding-inline: 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: .85rem;
  transition: border-color .3s;
}
.lang-toggle:hover { border-color: rgba(var(--blue-rgb), .6); }
.lang-toggle__opt { color: var(--dim); transition: color .3s; line-height: 1; }
.lang-toggle__opt[data-lang-label="en"] { font-family: var(--f-latin); font-weight: 600; letter-spacing: .06em; }
.lang-toggle__opt.is-active { color: #fff; }
.lang-toggle__sep { width: 1px; height: 14px; background: var(--line-2); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mmenu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 30px) var(--pad) 40px;
  background: rgba(13, 11, 25, .97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.mmenu.is-open { opacity: 1; }
.mmenu__nav { display: flex; flex-direction: column; }
.mmenu__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  font-weight: 300;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), color .3s;
}
.mmenu.is-open .mmenu__nav a { opacity: 1; transform: none; }
.mmenu.is-open .mmenu__nav a:nth-child(2) { transition-delay: .05s; }
.mmenu.is-open .mmenu__nav a:nth-child(3) { transition-delay: .1s; }
.mmenu.is-open .mmenu__nav a:nth-child(4) { transition-delay: .15s; }
.mmenu.is-open .mmenu__nav a:nth-child(5) { transition-delay: .2s; }
.mmenu.is-open .mmenu__nav a:nth-child(6) { transition-delay: .25s; }
.mmenu__nav a:hover { color: var(--blue); }
.mmenu__nav i { font-style: normal; font-family: var(--f-latin); font-size: .8rem; color: var(--blue); }
.mmenu__foot { display: flex; justify-content: space-between; color: var(--dim); font-size: .85rem; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__light {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(560px circle at var(--mx, 30%) var(--my, 40%), rgba(var(--blue-rgb), .085), transparent 65%),
    radial-gradient(80vw 60vh at 50% -10%, rgba(var(--blue-rgb), .06), transparent 60%);
  transition: background-position .3s;
}
.hero__grid {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -2%;
  height: 52%;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(520px) rotateX(70deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .4) 45%, transparent 85%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .4) 45%, transparent 85%);
  animation: gridMove 9s linear infinite;
}
@keyframes gridMove { to { background-position: 0 72px, 0 0; } }

.hero__content { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: .82rem;
  color: var(--muted);
  background: rgba(13, 11, 25, .35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.eyebrow__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.eyebrow__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--blue);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }

.hero__title {
  margin-top: 30px;
  max-width: 14.5em;
  font-family: var(--f-display);
  font-size: clamp(2.45rem, 6.1vw, 6rem);
  font-weight: 200;
  line-height: 1.22;
  color: rgba(255, 255, 255, .86);
}
html[lang="en"] .hero__title { line-height: 1.04; letter-spacing: -.025em; max-width: 13em; font-weight: 500; color: rgba(255,255,255,.7); }
.hero__title em {
  font-style: normal;
  font-weight: 500;
  color: #fff;
}
html[lang="en"] .hero__title em { font-weight: 700; }
.hero__title em .wi, .hero__title em:not(:has(.wi)) {
  background: linear-gradient(180deg, #ffffff 35%, #a9e3fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 1081px) {
  .hero__title { max-width: 64%; }
}

/* word split */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .06em .14em; margin-block: -.06em -.14em; }
.wi { display: inline-block; }
.js .split-ready .wi { transform: translateY(115%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + var(--base, 0ms)); }
.js .split-ready.is-in .wi { transform: none; }

.hero__sub {
  margin-top: 30px;
  max-width: 34rem;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.95;
  color: var(--muted);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

.js .hero__eyebrow, .js .hero__sub, .js .hero__ctas, .js .hero__bar {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
}
.js .is-ready .hero__eyebrow { opacity: 1; transform: none; transition-delay: .05s; }
.js .is-ready .hero__sub { opacity: 1; transform: none; transition-delay: .7s; }
.js .is-ready .hero__ctas { opacity: 1; transform: none; transition-delay: .85s; }
.js .is-ready .hero__bar { opacity: 1; transform: none; transition-delay: 1.1s; }
.js .hero__canvas { opacity: 0; transition: opacity 2s var(--ease) .2s; }
.js .is-ready .hero__canvas { opacity: 1; }

.hero__bar {
  position: absolute;
  inset-inline: 0;
  bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--dim);
}
.hero__bar-item[dir="ltr"] { font-family: var(--f-latin); letter-spacing: .28em; text-transform: uppercase; font-size: .68rem; }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; color: var(--dim); transition: color .3s; }
.scroll-cue:hover { color: #fff; }
.scroll-cue__line { position: relative; width: 1px; height: 46px; background: var(--line-2); overflow: hidden; }
.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateY(-100%);
  animation: cue 2.4s var(--ease-io) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* =========================================================
   Marquee
   ========================================================= */
.marquee {
  direction: ltr;
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 26px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .012));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee__track span {
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  font-weight: 200;
  white-space: nowrap;
  color: rgba(255, 255, 255, .82);
}
.marquee__track span:nth-of-type(even) { color: rgba(255, 255, 255, .32); }
.marquee__track i { font-style: normal; color: var(--blue); font-size: .9rem; opacity: .8; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Sections / shared
   ========================================================= */
.section { position: relative; padding-block: clamp(96px, 13vw, 180px); }

.section-head { margin-bottom: clamp(48px, 6vw, 84px); }
.section-head--split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--center .section-head__aside { max-width: 36rem; margin-top: 22px; }
.section-head__aside { color: var(--muted); font-size: 1.02rem; line-height: 1.9; max-width: 30rem; }

.label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  font-size: .85rem;
  color: var(--muted);
}
.label::before { content: ""; width: 34px; height: 1px; background: var(--line-2); order: 0; }
.label__num { color: var(--blue); font-size: .78rem; font-weight: 600; letter-spacing: .08em; order: 1; }
.label > span:last-child { order: 2; }
html[lang="en"] .label > span:last-child { text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; }

.h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.1vw, 3.6rem);
  font-weight: 300;
  line-height: 1.32;
  max-width: 17em;
}
html[lang="en"] .h2 { line-height: 1.08; letter-spacing: -.02em; font-weight: 600; }

/* Reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1.1s var(--ease), transform 1.2s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal].is-done { transition-delay: 0s; }
.js .svc[data-reveal].is-in { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.js .plan[data-reveal].is-in { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* =========================================================
   About
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(40px, 7vw, 110px); align-items: center; }

.statement {
  font-family: var(--f-display);
  font-size: clamp(1.55rem, 2.9vw, 2.55rem);
  font-weight: 300;
  line-height: 1.62;
}
html[lang="en"] .statement { line-height: 1.3; letter-spacing: -.015em; font-weight: 500; }
.js .statement .sw { opacity: .16; transition: opacity .5s var(--ease); }
.js .statement .sw.on { opacity: 1; }
.statement .sw:first-child { color: #fff; }

.about__body { margin-top: 40px; max-width: 38rem; color: var(--muted); font-size: 1.04rem; line-height: 2; }

.owl-orb {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 460px);
  margin-inline: auto;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s var(--ease);
}
.owl-orb::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--blue-rgb), .16), transparent 70%);
  filter: blur(20px);
}
.owl-orb__ring { position: absolute; border-radius: 50%; }
.owl-orb__ring--1 { inset: 0; border: 1px dashed rgba(255, 255, 255, .09); animation: spin 90s linear infinite; }
.owl-orb__ring--2 { inset: 10%; border: 1px solid rgba(255, 255, 255, .07); animation: spin 24s linear infinite; }
.owl-orb__ring--2::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 14px 2px rgba(var(--blue-rgb), .6);
}
.owl-orb__ring--3 { inset: 22%; border: 1px solid rgba(var(--blue-rgb), .16); animation: spin 40s linear infinite reverse; }
.owl-orb__ring--3::after {
  content: "";
  position: absolute;
  bottom: 12%;
  right: 4%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}
@keyframes spin { to { transform: rotate(360deg); } }
.owl-orb__owl {
  position: relative;
  width: 40%;
  aspect-ratio: 480 / 448;
  height: auto;
  color: #fff;
  --owl-stroke: 11;
  transform: translateZ(70px);
  filter: drop-shadow(0 0 30px rgba(var(--blue-rgb), .18));
}
.owl-orb__badge {
  position: absolute;
  bottom: 6%;
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(13, 11, 25, .7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: .8rem;
  color: var(--muted);
  transform: translateZ(40px);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(70px, 9vw, 130px);
}
.pillar { position: relative; padding-top: 30px; }
.pillar::before, .pillar::after { content: ""; position: absolute; top: 0; inset-inline: 0; height: 1px; background: var(--line-2); }
.pillar::after { background: var(--blue); transform: scaleX(0); transform-origin: var(--o, right); transition: transform 1s var(--ease); }
html[dir="ltr"] .pillar::after { --o: left; }
.pillar:hover::after { transform: scaleX(1); }
.pillar__num { font-size: .78rem; color: var(--blue); letter-spacing: .1em; }
.pillar h3 { margin-top: 18px; font-family: var(--f-display); font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 400; }
.pillar p { margin-top: 12px; color: var(--muted); line-height: 1.9; }

/* =========================================================
   Services
   ========================================================= */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 34px 32px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, .008));
  overflow: hidden;
  isolation: isolate;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s var(--ease), border-color .5s, background .5s, opacity 1.1s var(--ease);
}
.js .svc[data-reveal] { transition: transform .7s var(--ease), border-color .5s, background .5s, opacity 1.1s var(--ease); }
.js .svc[data-reveal]:not(.is-in) { transform: translateY(34px); }
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(380px circle at var(--px, 50%) var(--py, 0%), rgba(var(--blue-rgb), .12), transparent 60%);
  opacity: 0;
  transition: opacity .5s;
}
.svc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(260px circle at var(--px, 50%) var(--py, 0%), rgba(var(--blue-rgb), .75), transparent 70%);
  -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;
}
.svc:hover::before, .svc:hover::after { opacity: 1; }
.svc__num { position: absolute; top: 30px; inset-inline-end: 30px; font-size: .78rem; color: var(--dim); letter-spacing: .1em; }
.svc__icon {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .4s, transform .6s var(--ease);
}
.svc:hover .svc__icon { stroke: var(--blue); transform: translateY(-4px); }
.svc__title { margin-top: auto; padding-top: 60px; font-family: var(--f-display); font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 400; line-height: 1.4; }
html[lang="en"] .svc__title { font-weight: 600; letter-spacing: -.01em; }
.svc__desc { margin-top: 12px; color: var(--muted); font-size: .95rem; line-height: 1.85; }
.svc__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: .85rem;
  color: var(--dim);
  transition: color .4s, gap .4s var(--ease);
}
.svc__more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover .svc__more { color: var(--blue); gap: 12px; }

/* Process */
.process { margin-top: clamp(90px, 11vw, 150px); }
.process__title { font-family: var(--f-display); font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 300; margin-bottom: 44px; }
.process__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { position: relative; padding: 0 0 0 0; padding-inline-end: 28px; }
.step::before { content: ""; position: absolute; top: 22px; inset-inline: 46px 0; height: 1px; background: linear-gradient(var(--grad-dir), var(--line-2), transparent); }
.step:last-child::before { display: none; }
.step__num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-size: .78rem;
  color: var(--blue);
  background: var(--bg);
  position: relative;
  transition: border-color .4s, background .4s;
}
.step:hover .step__num { border-color: var(--blue); background: rgba(var(--blue-rgb), .08); }
.step h4 { margin-top: 24px; font-size: 1.15rem; font-weight: 500; }
.step p { margin-top: 8px; color: var(--muted); font-size: .93rem; line-height: 1.85; }

/* =========================================================
   Work
   ========================================================= */
.project {
  display: grid;
  grid-template-columns: 1.45fr .9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.project__stage {
  position: relative;
  padding: clamp(28px, 5vw, 70px) clamp(18px, 4vw, 56px) clamp(56px, 7vw, 90px);
  border-radius: 34px;
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(var(--blue-rgb), .09), transparent 70%),
    linear-gradient(180deg, var(--bg-3), var(--bg-2));
  perspective: 1800px;
  overflow: hidden;
}
.project__glow {
  position: absolute;
  inset: auto 10% -30% 10%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(var(--blue-rgb), .22), transparent);
  filter: blur(30px);
  pointer-events: none;
}
.devices {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -8deg));
  transition: transform 1s var(--ease);
}
html[dir="rtl"] .devices { --ry: 8deg; }

.laptop { width: 86%; margin-inline: auto 14%; direction: ltr; }
.laptop__lid {
  position: relative;
  padding: 2.3% 2.3% 3%;
  border-radius: 18px 18px 6px 6px;
  background: linear-gradient(180deg, #23212e, #15131d);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.laptop__cam { position: absolute; top: .9%; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #2c2a38; }
.laptop__base {
  position: relative;
  height: 0;
  padding-bottom: 3.6%;
  margin-inline: -6.5%;
  border-radius: 2px 2px 16px 16px;
  background: linear-gradient(180deg, #3a3846 0%, #1d1b26 55%, #0f0e15 100%);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .9);
}
.laptop__base span { position: absolute; top: 0; left: 50%; width: 16%; height: 40%; margin-left: -8%; border-radius: 0 0 10px 10px; background: #12111a; }

.phone {
  position: absolute;
  width: 23%;
  bottom: -12%;
  inset-inline-end: 0;
  transform: translateZ(90px);
  direction: ltr;
}
.phone__frame {
  position: relative;
  padding: 5%;
  border-radius: 18% / 8.5%;
  background: linear-gradient(160deg, #2a2835, #0e0d14);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .6);
}
.phone__island { position: absolute; top: 3.6%; left: 50%; z-index: 3; width: 30%; height: 2.6%; margin-left: -15%; border-radius: 99px; background: #000; }

.screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  background: #05070f;
  container-type: inline-size;
}
.screen--phone { aspect-ratio: 9 / 19.5; border-radius: 13% / 6%; }
.screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.mock {
  position: absolute;
  inset: 0 0 auto 0;
  height: 172%;
  font-family: var(--f-latin);
  color: #fff;
  background:
    radial-gradient(90% 55% at 72% 22%, #0f2c62 0%, rgba(7, 18, 40, .9) 45%, transparent 75%),
    linear-gradient(180deg, #061026 0%, #05070f 60%, #070a14 100%);
  transition: transform 7s cubic-bezier(.45, 0, .2, 1);
}
.project__stage:hover .mock { transform: translateY(-41.8%); }
.mock__nav { display: flex; align-items: center; justify-content: space-between; padding: 2.6cqw 4cqw; }
.mock__logo { font-size: 1.7cqw; font-weight: 700; letter-spacing: .32em; }
.mock__logo b { font-weight: 500; opacity: .55; margin-left: .6em; }
.mock__links { display: flex; gap: 2.4cqw; }
.mock__links i { width: 4.4cqw; height: .45cqw; border-radius: 9px; background: rgba(255, 255, 255, .28); }
.mock__btn { font-size: 1cqw; letter-spacing: .18em; padding: .9cqw 1.8cqw; border: 1px solid rgba(255, 255, 255, .35); border-radius: 99px; }
.mock__hero { position: relative; padding: 4.5cqw 4cqw 0; height: 50cqw; }
.mock__kicker { display: block; font-size: 1.05cqw; letter-spacing: .45em; color: var(--blue); }
.mock__h {
  display: block;
  margin-top: 1.6cqw;
  font-size: 6.8cqw;
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.01em;
  background: linear-gradient(180deg, #fff 40%, rgba(255, 255, 255, .35));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mock__car { position: absolute; right: 2cqw; top: 11cqw; width: 60cqw; height: auto; filter: drop-shadow(0 2cqw 3cqw rgba(0, 0, 0, .6)); }
.mock__cta { display: flex; gap: 1.2cqw; margin-top: 3.4cqw; }
.mock__cta b, .mock__cta i { font-style: normal; font-size: 1cqw; letter-spacing: .2em; padding: 1.1cqw 2cqw; border-radius: 99px; }
.mock__cta b { background: #fff; color: #05070f; font-weight: 700; }
.mock__cta i { border: 1px solid rgba(255, 255, 255, .3); }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; padding: 4cqw; }
.mock__cards span { display: flex; flex-direction: column; gap: 1cqw; padding: 1.2cqw; border-radius: 1.2cqw; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); }
.mock__cards i { aspect-ratio: 16 / 10; border-radius: .8cqw; background: radial-gradient(70% 60% at 50% 70%, rgba(var(--blue-rgb), .35), transparent 70%), linear-gradient(180deg, #0c1a38, #070b17); }
.mock__cards b { height: .9cqw; width: 70%; border-radius: 9px; background: rgba(255, 255, 255, .5); }
.mock__cards em { height: .7cqw; width: 45%; border-radius: 9px; background: rgba(var(--blue-rgb), .6); }
.mock__band { display: flex; flex-direction: column; gap: 1.4cqw; padding: 4cqw; margin: 0 4cqw; border-top: 1px solid rgba(255, 255, 255, .08); }
.mock__band b { height: 3cqw; width: 52%; border-radius: 1cqw; background: rgba(255, 255, 255, .85); }
.mock__band em { height: .8cqw; width: 70%; border-radius: 9px; background: rgba(255, 255, 255, .2); }

.mock--phone { height: 150%; }
.project__stage:hover .mock--phone { transform: translateY(-30%); }
.mock--phone .mock__nav { padding: 16cqw 7cqw 6cqw; }
.mock--phone .mock__logo { font-size: 4.6cqw; }
.mock--phone .mock__logo b { display: block; margin: 1cqw 0 0; }
.mock__burger { display: flex; flex-direction: column; gap: 1.6cqw; }
.mock__burger i { width: 7cqw; height: .8cqw; border-radius: 9px; background: #fff; }
.mock--phone .mock__hero { height: auto; padding: 6cqw 7cqw 0; }
.mock--phone .mock__kicker { font-size: 3cqw; }
.mock--phone .mock__h { font-size: 14cqw; margin-top: 3cqw; }
.mock--phone .mock__car { position: relative; right: auto; top: auto; width: 100%; margin-top: 6cqw; }
.mock--phone .mock__cta { margin-top: 6cqw; }
.mock--phone .mock__cta b { font-size: 3cqw; padding: 3cqw 6cqw; }
.mock__cards--stack { grid-template-columns: 1fr; gap: 4cqw; padding: 7cqw; }
.mock__cards--stack span { padding: 3cqw; border-radius: 4cqw; gap: 2.4cqw; }
.mock__cards--stack i { border-radius: 3cqw; }
.mock__cards--stack b { height: 2.4cqw; }
.mock__cards--stack em { height: 2cqw; }

.project__info { display: flex; flex-direction: column; gap: 0; }
.project__top { display: flex; align-items: center; justify-content: space-between; }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; font-size: .8rem; }
.tag--demo { border: 1px solid rgba(var(--blue-rgb), .4); color: var(--blue); background: rgba(var(--blue-rgb), .06); }
.tag__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.project__index { font-size: .8rem; color: var(--dim); letter-spacing: .12em; }
.project__name { margin-top: 30px; font-size: clamp(2.3rem, 4.2vw, 3.8rem); font-weight: 600; line-height: 1; letter-spacing: -.02em; text-align: start; }
html[dir="rtl"] .project__name { text-align: right; }
.project__type { margin-top: 14px; font-size: 1.1rem; color: var(--blue); font-weight: 400; }
.project__desc { margin-top: 24px; color: var(--muted); line-height: 1.95; }
.project__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.7;
}
.project__note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; }
.project__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.project__meta dt { font-size: .76rem; color: var(--dim); }
html[lang="en"] .project__meta dt { text-transform: uppercase; letter-spacing: .16em; font-size: .66rem; }
.project__meta dd { margin: 6px 0 0; font-size: .92rem; }

.work__soon { display: flex; align-items: center; gap: 18px; margin-top: clamp(60px, 8vw, 100px); color: var(--dim); font-size: .9rem; }
.work__soon-line { flex: 1; height: 1px; background: linear-gradient(var(--grad-dir), var(--line-2), transparent); }

/* =========================================================
   Pricing
   ========================================================= */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 34px 34px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .008));
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s var(--ease), border-color .5s, opacity 1.1s var(--ease);
  isolation: isolate;
}
.js .plan[data-reveal]:not(.is-in) { transform: translateY(34px); }
.plan::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--px, 50%) var(--py, 0%), rgba(var(--blue-rgb), .08), transparent 60%);
  opacity: 0;
  transition: opacity .5s;
}
.plan:hover::before { opacity: 1; }
.plan:hover { border-color: var(--line-2); }

.plan--featured {
  border-color: rgba(var(--blue-rgb), .35);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(var(--blue-rgb), .12), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
}
.plan--featured:hover { border-color: rgba(var(--blue-rgb), .6); }

.plan--signature::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--ang), transparent 0deg, transparent 250deg, rgba(var(--blue-rgb), .9) 300deg, #fff 320deg, transparent 340deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotateBorder 7s linear infinite;
  pointer-events: none;
}
@keyframes rotateBorder { to { --ang: 360deg; } }

.plan__badge {
  position: absolute;
  top: 26px;
  inset-inline-end: 26px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .74rem;
  color: var(--bg);
  background: var(--blue);
  font-weight: 500;
}
.plan__head { display: flex; flex-direction: column; gap: 4px; }
.plan__name { font-family: var(--f-display); font-size: 1.6rem; font-weight: 400; }
html[lang="en"] .plan__name { font-weight: 600; }
.plan__en { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--dim); }
html[lang="en"] .plan__en { display: none; }
.plan__from { margin-top: 34px; font-size: .85rem; color: var(--muted); }
.plan__price { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.plan__amount { font-size: clamp(2.8rem, 4vw, 3.5rem); font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.plan__cur { color: var(--muted); font-size: 1rem; }
.plan__list { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 36px; }
.plan__list li { position: relative; padding-inline-start: 30px; font-size: .96rem; line-height: 1.6; }
.plan__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .2em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(var(--blue-rgb), .5);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348C5F5' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plan .btn { margin-top: auto; }

/* =========================================================
   Contact
   ========================================================= */
.contact::before {
  content: "";
  position: absolute;
  inset: 10% 0 auto;
  height: 70%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(var(--blue-rgb), .06), transparent 70%);
  pointer-events: none;
}
.contact__grid { position: relative; display: grid; grid-template-columns: .9fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact__title { max-width: 11em; }
.contact__text { margin-top: 24px; color: var(--muted); font-size: 1.05rem; line-height: 1.9; max-width: 28rem; }
.contact__channels { display: flex; flex-direction: column; gap: 12px; margin-top: 44px; }
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .015);
  transition: border-color .4s, background .4s, transform .5s var(--ease);
}
a.channel:hover { border-color: rgba(var(--blue-rgb), .5); background: rgba(var(--blue-rgb), .05); transform: translateX(var(--shift, -4px)); }
html[dir="ltr"] a.channel:hover { --shift: 4px; }
.channel svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 50%; border: 1px solid var(--line-2); fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.channel span { display: flex; flex-direction: column; line-height: 1.5; }
.channel small { font-size: .76rem; color: var(--dim); }
.channel b { font-weight: 400; font-size: .98rem; }

.form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(26px, 4vw, 46px);
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-size: .84rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .025);
  font-size: 1rem;
  font-weight: 300;
  outline: none;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .26); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(var(--blue-rgb), .8);
  background: rgba(var(--blue-rgb), .035);
  box-shadow: 0 0 0 4px rgba(var(--blue-rgb), .1);
}
.field input[dir="ltr"] { text-align: left; }
html[dir="rtl"] .field input[dir="ltr"]:placeholder-shown { text-align: right; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: left 18px center;
}
html[dir="ltr"] .field select { background-position: right 18px center; }
.field select:invalid { color: var(--dim); }
.field select option { background: var(--bg); color: #fff; }
.field__err { display: none; font-size: .8rem; color: var(--danger); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: rgba(255, 138, 155, .7); }
.field.is-invalid .field__err { display: block; }

.hp { position: absolute !important; inset-inline-start: 0; top: 0; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.form__plan {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 10px 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(var(--blue-rgb), .4);
  background: rgba(var(--blue-rgb), .06);
  font-size: .86rem;
  color: var(--muted);
}
html[dir="rtl"] .form__plan { padding: 8px 16px 8px 10px; }
.form__plan b { color: #fff; font-weight: 500; font-family: var(--f-latin); }
.form__plan-x { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); font-size: 1.1rem; line-height: 1; }
.form__plan-x:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 6px; }
.form__status { font-size: .92rem; line-height: 1.7; flex: 1 1 220px; }
.form__status.is-success { color: var(--blue); }
.form__status.is-error { color: var(--danger); }
.form__status.is-pending { color: var(--muted); }
.form__submit.is-loading { pointer-events: none; opacity: .75; }
.form__submit.is-loading .btn__icon svg { display: none; }
.form__submit.is-loading .btn__icon::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  animation: spin .8s linear infinite;
}

/* =========================================================
   Footer
   ========================================================= */
.footer { position: relative; padding-top: clamp(80px, 9vw, 120px); border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer__brand { display: inline-flex; align-items: center; gap: 18px; }
.footer__owl { width: 62px; height: 58px; color: #fff; --owl-stroke: 16; }
.footer__name { font-size: 1.6rem; font-weight: 800; letter-spacing: .32em; }
.footer__tag { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 1.15rem; font-weight: 300; }
html[dir="rtl"] .footer__tag { align-items: flex-start; }
html[dir="ltr"] .footer__tag { align-items: flex-end; }
.footer__tag-en { font-family: var(--f-latin); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--dim); }
html[lang="en"] .footer__tag-en { display: none; }

.footer__mid { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-top: 56px; padding-block: 28px; border-block: 1px solid var(--line); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 30px; }
.footer__nav a { font-size: .92rem; color: var(--muted); transition: color .3s; }
.footer__nav a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: border-color .3s, background .3s, transform .4s var(--ease);
}
.socials a:hover { border-color: var(--blue); background: rgba(var(--blue-rgb), .08); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.socials svg .fill { fill: #fff; }

.footer__big {
  margin-top: 30px;
  font-size: clamp(4rem, 18.5vw, 18rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: 0;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  white-space: nowrap;
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-block: 26px calc(26px + env(safe-area-inset-bottom));
  font-size: .82rem;
  color: var(--dim);
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  bottom: max(22px, env(safe-area-inset-bottom));
  inset-inline-end: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(13, 11, 25, .75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background .4s, border-color .4s;
}
.wa-float svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.wa-float:hover { background: var(--blue); border-color: var(--blue); }
.wa-float:hover svg { stroke: var(--bg); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .project { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .section-head--split { grid-template-columns: 1fr; gap: 22px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { order: -1; }
  .owl-orb { width: min(80%, 360px); }
  .pillars { grid-template-columns: 1fr; gap: 34px; }
  .process__list { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .step::before { display: none; }
  .hero__bar-item { display: none; }
  .hero__bar { justify-content: center; }
}

@media (max-width: 600px) {
  body { font-size: .97rem; }
  .services__grid { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .svc__title { padding-top: 40px; }
  .form__row { grid-template-columns: 1fr; }
  .process__list { grid-template-columns: 1fr; }
  .project__meta { grid-template-columns: 1fr 1fr; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero { padding-bottom: 110px; }
  .lang-toggle { padding-inline: 13px; }
  .brand__name { font-size: .9rem; }
  .phone { width: 27%; bottom: -16%; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  html[dir="rtl"] .footer__tag, html[dir="ltr"] .footer__tag { align-items: flex-start; }
  .wa-float { width: 52px; height: 52px; }
}

/* Touch devices: no hover-scroll on mocks, keep subtle auto motion instead */
@media (hover: none) {
  .mock { animation: mockScroll 14s ease-in-out infinite; }
  .mock--phone { animation-name: mockScrollPhone; }
  .project__stage:hover .mock { transform: none; }
}
@keyframes mockScroll { 0%, 18% { transform: none; } 50%, 68% { transform: translateY(-41.8%); } 100% { transform: none; } }
@keyframes mockScrollPhone { 0%, 18% { transform: none; } 50%, 68% { transform: translateY(-30%); } 100% { transform: none; } }

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .hero__grid, .marquee__track { animation: none !important; }
  .js [data-reveal], .js .split-ready .wi, .js .hero__eyebrow, .js .hero__sub, .js .hero__ctas, .js .hero__bar { opacity: 1 !important; transform: none !important; }
  .js .statement .sw { opacity: 1; }
  .mock { animation: none !important; }
}
