/* =========================================================
   Hulul v2 — dark editorial direction, Hulul identity
   ========================================================= */
@font-face { font-family: 'Hacen Tunisia'; src: url('../fonts/HacenTunisia-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Hacen Tunisia'; src: url('../fonts/HacenTunisia-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Hacen Tunisia'; src: url('../fonts/HacenTunisia-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Myriad Latin'; src: url('../fonts/MyriadPro-Light.otf') format('opentype'); font-weight: 300; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC, U+2122; }
@font-face { font-family: 'Myriad Latin'; src: url('../fonts/MyriadPro-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC, U+2122; }
@font-face { font-family: 'Myriad Latin'; src: url('../fonts/MyriadPro-Semibold.otf') format('opentype'); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC, U+2122; }
@font-face { font-family: 'Myriad Latin'; src: url('../fonts/MyriadPro-Bold.otf') format('opentype'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC, U+2122; }

:root {
  --bg: #0B0340;
  --bg-2: #0F0552;
  --navy: #14056B;
  --mint: #54E0C5;
  --gold: #F2BF04;
  --text: #F8FAFC;
  --muted: rgba(248, 250, 252, .64);
  --dim: rgba(248, 250, 252, .42);
  --line: rgba(248, 250, 252, .12);
  --card: rgba(248, 250, 252, .03);
  --font: 'Myriad Latin', 'Hacen Tunisia', system-ui, sans-serif;
  --latin: 'Myriad Latin', system-ui, sans-serif;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --sec: clamp(88px, 11vw, 160px);
  --hdr: 88px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --r: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hdr); overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-weight: 300; font-size: 1.1rem; line-height: 1.85; -webkit-font-smoothing: antialiased; overflow-x: clip; }
[lang="en"] body { line-height: 1.65; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, dl, dd { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--mint); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 300; background: var(--gold); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 16px; }
.i { width: 1.2em; height: 1.2em; flex: none; }
html.locked { overflow: hidden; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
@media (min-width: 1100px) { .wrap { padding-inline: max(var(--gut), 104px); max-width: calc(var(--wrap) + 208px); } }
.sec { padding-block: var(--sec); }

/* photos read black & white, like the reference */
.we img, .phero__bg img, .wcard__media img, .wcard__media video { filter: grayscale(1) contrast(1.08); }

/* ---------- type ---------- */
.h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); line-height: 1.2; }
.h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
[lang="en"] .h2, [lang="en"] .hero__h, [lang="en"] .phero__title, [lang="en"] .why__h, [lang="en"] .innov__h, [lang="en"] .we__title { text-transform: uppercase; letter-spacing: .01em; line-height: 1.08; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .92rem; font-weight: 400; color: var(--text); margin-bottom: 22px; }
[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.solid { color: var(--text); }

.head { display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(48px, 6vw, 80px); }
.head .eyebrow { margin-bottom: 0; }
.head p { color: var(--muted); max-width: 62ch; }
.head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.head--row > p { max-width: 44ch; }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- buttons ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--text); color: var(--bg); padding: .95em 2em; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; border: 1.5px solid var(--text); transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease); white-space: nowrap; }
.pill:hover { background: var(--mint); border-color: var(--mint); }
.pill:active { transform: translateY(1px); }
.pill--gold { background: var(--gold); border-color: var(--gold); }
.pill--gold:hover { background: #FFD233; border-color: #FFD233; }
.pill--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.pill--ghost:hover { background: var(--text); color: var(--bg); }
.tlink { display: inline-flex; align-items: center; gap: 12px; font-weight: 400; font-size: .98rem; color: var(--text); padding-block: 6px; border-bottom: 1px solid var(--line); transition: border-color .25s, color .25s; }
.tlink::before { content: ""; width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 50%; transition: background-color .25s; }
.tlink:hover { color: var(--mint); border-color: var(--mint); }
.tlink:hover::before { background: var(--mint); }
[lang="en"] .tlink { text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; }
.ring { display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; border: 1px solid var(--line); text-align: center; font-size: .86rem; font-weight: 400; padding: 22px; transition: background-color .35s, color .35s, border-color .35s, transform .5s var(--ease); }
[lang="en"] .ring { text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; }
.ring:hover { background: var(--mint); color: var(--bg); border-color: var(--mint); transform: rotate(-8deg); }
.box-btn { border: 1px solid var(--text); padding: 1em 2.4em; font-weight: 400; font-size: .92rem; transition: background-color .25s, color .25s; }
[lang="en"] .box-btn { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.box-btn:hover { background: var(--text); color: var(--bg); }
.circle { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .25s, color .25s, border-color .25s; }
.circle:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- header ---------- */
.hdr { position: fixed; inset-inline: 0; top: 0; z-index: 60; height: var(--hdr); transition: background-color .35s, box-shadow .35s, transform .4s var(--ease); }
.hdr.is-solid { background: rgba(11, 3, 64, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr__logo img { width: 128px; }
.hdr__end { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.hdr__menu { display: inline-flex; align-items: center; gap: 10px; font-weight: 400; font-size: 1rem; }
.hdr__menu .i { width: 1.6em; height: 1.6em; }
.lang { display: inline-flex; align-items: center; gap: 7px; font-weight: 400; font-size: .95rem; color: var(--muted); transition: color .2s; }
.lang:hover { color: var(--mint); }
.lang .i { width: 1.05em; height: 1.05em; }

/* full-screen menu */
.menu { position: fixed; inset: 0; z-index: 100; background: #07012B; display: flex; flex-direction: column; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .6s cubic-bezier(.7, 0, .3, 1), visibility 0s linear .6s; overflow: hidden auto; }
.menu.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .75s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.menu__word { position: absolute; inset-inline-start: 4vw; top: 50%; transform: translateY(-50%); font-size: clamp(6rem, 24vw, 22rem); font-weight: 700; line-height: 1; color: rgba(248, 250, 252, .035); pointer-events: none; white-space: nowrap; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--hdr); flex: none; }
.menu__close { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; color: var(--muted); transition: color .2s; }
.menu__close:hover { color: var(--text); }
.menu__body { flex: 1; display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; padding-block: 32px 48px; position: relative; }
.menu__nav { display: grid; gap: 4px; }
.menu__nav a { display: inline-flex; align-items: baseline; gap: 16px; font-size: clamp(2.2rem, 1.2rem + 4vw, 4.4rem); font-weight: 700; line-height: 1.25; transition: color .25s, transform .4s var(--ease); }
.menu__nav small { font-family: var(--latin); font-size: .9rem; font-weight: 400; color: var(--dim); }
.menu__nav a:hover { color: var(--mint); transform: translateX(-8px); }
[dir="ltr"] .menu__nav a:hover { transform: translateX(8px); }
.menu__nav a[aria-current="page"] { color: var(--mint); }
.menu__side { display: grid; gap: 26px; justify-items: start; }
.menu__contact { display: grid; gap: 18px; }
.menu__contact li { display: grid; gap: 2px; color: var(--muted); font-size: .98rem; }
.menu__contact strong { color: var(--text); font-weight: 700; }
.menu__nav li, .menu__side, .menu__top { opacity: 0; transform: translateY(30px); transition: opacity .25s, transform .3s; }
.menu.is-open .menu__nav li, .menu.is-open .menu__side, .menu.is-open .menu__top { opacity: 1; transform: none; transition: opacity .6s var(--ease) calc(.3s + var(--i, 0) * .07s), transform .8s var(--ease) calc(.3s + var(--i, 0) * .07s); }

/* side rail */
.rail { position: fixed; z-index: 50; inset-inline-start: 34px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.rail ul { display: grid; gap: 16px; }
.rail a { color: var(--muted); display: grid; place-items: center; transition: color .2s; }
.rail a:hover { color: var(--mint); }
.rail .i { width: 17px; height: 17px; }
.rail__line { width: 1px; height: 64px; background: var(--line); }
.rail__txt { writing-mode: vertical-rl; font-size: .8rem; font-weight: 400; color: var(--muted); }
[lang="en"] .rail__txt { transform: rotate(180deg); text-transform: uppercase; letter-spacing: .2em; font-size: .7rem; }
@media (max-width: 1099px) { .rail { display: none; } }

.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text); transition: background-color .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--mint); color: var(--bg); border-color: var(--mint); }
.social .i { width: 17px; height: 17px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(660px, 100svh); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) contrast(1.1) brightness(.9); }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--bg) 0%, rgba(11, 3, 64, .55) 45%, rgba(11, 3, 64, .7) 100%); }
.hero__in { padding-top: calc(var(--hdr) + 40px); padding-bottom: 96px; }
.hero__h { font-size: clamp(2.8rem, 1rem + 7vw, 7.2rem); line-height: 1.08; max-width: 14ch; }
[lang="en"] .hero__h { max-width: 16ch; }
.hero__h span:last-child { color: var(--mint); }
.hero__sub { margin-top: 28px; max-width: 64ch; color: var(--muted); font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }
.tlink--light { border-color: rgba(248, 250, 252, .3); }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__in > * { opacity: 0; transform: translateY(30px); }
  .js.is-ready .hero__in > * { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
  .js.is-ready .hero__in > :nth-child(2) { transition-delay: .1s; }
  .js.is-ready .hero__in > :nth-child(3) { transition-delay: .25s; }
  .js.is-ready .hero__in > :nth-child(4) { transition-delay: .4s; }
}

/* ---------- page hero ---------- */
.phero { position: relative; overflow: hidden; isolation: isolate; padding-top: calc(var(--hdr) + clamp(64px, 9vw, 130px)); padding-bottom: clamp(72px, 9vw, 120px); background: radial-gradient(rgba(248, 250, 252, .09) 1px, transparent 1.2px) 0 0 / 22px 22px, var(--bg); }
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--bg), rgba(11, 3, 64, .55) 60%, rgba(11, 3, 64, .75)); }
.phero__in { position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 48px; align-items: end; }
.phero__in > :not(.ring) { grid-column: 1; }
.phero .ring { grid-column: 2; grid-row: 2 / span 3; align-self: end; }
.phero__title { font-size: clamp(2.3rem, 1.1rem + 4.4vw, 5.4rem); line-height: 1.12; max-width: 20ch; }
.phero__lead { margin-top: 24px; max-width: 62ch; color: var(--muted); }
.crumbs { margin-bottom: 30px; font-size: .9rem; color: var(--dim); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumbs li + li::before { content: "/"; margin-inline-end: 10px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--mint); }

/* ---------- why band ---------- */
.why { background: var(--navy); padding-block: clamp(64px, 7vw, 96px); }
.why__h { text-align: center; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); margin-bottom: clamp(36px, 5vw, 56px); }
.why__list { display: grid; grid-template-columns: repeat(6, 1fr); }
.why__list li { padding: 8px 22px; text-align: center; border-inline-start: 1px solid var(--line); display: grid; justify-items: center; align-content: start; gap: 10px; }
.why__list li:first-child { border-inline-start: 0; }
.why__ic { width: 74px; height: 74px; border-radius: 50%; border: 1px solid rgba(248, 250, 252, .3); display: grid; place-items: center; margin-bottom: 6px; transition: border-color .3s, color .3s; }
.why__ic .i { width: 32px; height: 32px; }
.why__list li:hover .why__ic { border-color: var(--mint); color: var(--mint); }
.why__list h3 { font-size: 1.02rem; line-height: 1.4; }
[lang="en"] .why__list h3 { text-transform: uppercase; letter-spacing: .06em; font-size: .86rem; }
.why__list p { font-size: .9rem; color: var(--muted); line-height: 1.7; }

/* ---------- we are ---------- */
.we__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.we__title { display: grid; font-size: clamp(3.6rem, 1.5rem + 7vw, 8.4rem); line-height: 1; margin-bottom: 30px; }
.we__title .outline { -webkit-text-stroke-width: 2px; }
.we__lead { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); font-weight: 400; line-height: 1.5; color: var(--text); }
.we__text > p:not(.we__lead) { color: var(--muted); max-width: 58ch; }
.we__text .tlink { margin-top: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(24px, 4vw, 56px); margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.stats div { display: grid; gap: 2px; }
.num { font-family: var(--latin); font-weight: 700; font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.8rem); line-height: 1; color: var(--mint); direction: ltr; display: inline-block; }
.stats dt { color: var(--muted); font-size: .95rem; }
.we__collage { position: relative; aspect-ratio: 1 / 1.05; }
.we__a { position: absolute; inset-inline-end: 0; top: 0; width: 72%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.we__b { position: absolute; inset-inline-start: 0; bottom: 0; width: 48%; aspect-ratio: 1; overflow: hidden; border-radius: 4px; outline: 10px solid var(--bg); }
.we__a img, .we__b img, .we__wide img { width: 100%; height: 100%; object-fit: cover; }
.we__wide { margin-top: clamp(56px, 7vw, 100px); }
.we__wide img { aspect-ratio: 16 / 5.5; border-radius: 4px; }

/* ---------- services (staggered cards) ---------- */
.svcs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svcs__card a { display: grid; align-content: start; gap: 14px; height: 100%; padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line); background: var(--card); transition: border-color .3s, background-color .3s, transform .5s var(--ease); position: relative; }
.svcs__card a:hover { border-color: var(--mint); background: rgba(84, 224, 197, .05); }
.svcs__ic { color: var(--text); transition: color .3s; }
.svcs__ic .i { width: 52px; height: 52px; }
.svcs__card a:hover .svcs__ic { color: var(--mint); }
.svcs__num { position: absolute; top: 26px; inset-inline-end: 28px; font-family: var(--latin); font-size: .9rem; color: var(--dim); }
.svcs__card h3 { font-size: 1.32rem; line-height: 1.4; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-top: 10px; }
[lang="en"] .svcs__card h3 { text-transform: uppercase; letter-spacing: .04em; font-size: 1.08rem; line-height: 1.35; }
.svcs__card p { color: var(--muted); font-size: .98rem; line-height: 1.75; }
.more { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 400; margin-top: 4px; }
[lang="en"] .more { text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; }
.more::after { content: ""; width: 7px; height: 7px; border: 1.5px solid currentColor; border-radius: 50%; transition: background-color .25s; }
.svcs__card a:hover .more { color: var(--mint); }
.svcs__card a:hover .more::after { background: var(--mint); }
@media (min-width: 1000px) {
  .svcs__grid { padding-bottom: 60px; }
  .svcs__card:nth-child(3n + 2) { transform: translateY(60px); }
}

/* ---------- innovation ---------- */
.innov { background: var(--bg-2); border-block: 1px solid var(--line); }
.innov__h { font-size: clamp(2.2rem, 1rem + 4.6vw, 5.4rem); line-height: 1.15; max-width: 18ch; }
.innov__h b { font-family: var(--latin); color: var(--gold); font-weight: 700; }
.innov__h .outline { -webkit-text-stroke-width: 1.5px; }
.innov__h .solid { color: var(--mint); }
.innov__row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; margin-block: clamp(40px, 6vw, 72px); }
.innov__row > p { color: var(--muted); font-size: 1.15rem; max-width: 40ch; }
.innov__row dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.innov__row dl div { border-top: 1px solid var(--mint); padding-top: 18px; }
.innov__row dt { font-weight: 700; font-size: 1.3rem; margin-bottom: 4px; }
.innov__row dd { color: var(--muted); }

/* ---------- work (staggered tall cards) ---------- */
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 40px; font-size: .98rem; }
.filter span { color: var(--dim); }
.filter button { font-weight: 400; color: var(--muted); padding: 4px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
[lang="en"] .filter { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.filter button:hover { color: var(--text); }
.filter button.is-on { color: var(--text); border-color: var(--mint); }
.wgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.wcard.is-out, .wcard.is-more { display: none; }
.wcard__btn { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; text-align: start; background: var(--bg-2); }
.wcard__media, .wcard__media img, .wcard__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wcard__media img, .wcard__media video { transition: transform 1.1s var(--ease), filter .6s; }
.wcard__btn:hover .wcard__media img, .wcard__btn:hover .wcard__media video, .wcard__btn:focus-visible .wcard__media img { transform: scale(1.06); filter: grayscale(0) contrast(1); }
.wcard__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 1, 43, .92) 0%, rgba(7, 1, 43, .1) 55%, transparent); }
.wcard__meta { position: absolute; inset-inline: 26px 90px; bottom: 26px; display: grid; gap: 6px; }
.wcard__cat { font-size: .86rem; font-weight: 400; color: var(--mint); }
.wcard__title { font-weight: 700; font-size: 1.3rem; line-height: 1.4; }
[lang="en"] .wcard__title { line-height: 1.3; }
.wcard__go { position: absolute; inset-inline-end: 24px; bottom: 26px; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(248, 250, 252, .6); display: grid; place-items: center; transition: background-color .3s, color .3s, border-color .3s; }
.wcard__btn:hover .wcard__go { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.wcard__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (min-width: 1000px) {
  .wgrid { padding-bottom: 60px; }
  .wcard:nth-child(3n + 2) { transform: translateY(60px); }
}
.work__more { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }
.work__empty { color: var(--muted); }

/* ---------- clients ---------- */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.logos li { aspect-ratio: 16 / 10; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; padding: 26px; transition: border-color .3s; }
.logos li:hover { border-color: rgba(248, 250, 252, .3); }
.logos a { display: grid; place-items: center; width: 100%; height: 100%; }
.logos img { max-height: 62px; max-width: 70%; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; transition: opacity .25s; }
.logos li.is-color img { filter: none; opacity: 1; }
.logos li:hover img { opacity: 1; }

/* ---------- split + accordion ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.split__aside { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 18px; justify-items: start; }
.split__aside .eyebrow { margin-bottom: 0; }
.split__aside > p { color: var(--muted); max-width: 46ch; }
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn { width: 100%; display: flex; align-items: center; gap: 18px; padding: 24px 0; text-align: start; font-weight: 700; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); transition: color .2s; }
.acc__btn:hover { color: var(--mint); }
.acc__n { width: 34px; height: 34px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; font-family: var(--latin); font-size: .9rem; flex: none; transition: background-color .3s; }
.acc__item.is-open .acc__n { background: var(--mint); }
.acc__t { flex: 1; }
.acc__ic { transition: transform .4s var(--ease); color: var(--muted); }
.acc__item.is-open .acc__ic { transform: rotate(45deg); color: var(--mint); }
.acc__panel > div { padding: 0 52px 28px 0; color: var(--muted); max-width: 60ch; }
[dir="ltr"] .acc__panel > div { padding: 0 0 28px 52px; }
@media (prefers-reduced-motion: no-preference) { .acc__item.is-open .acc__panel > div { animation: accIn .5s var(--ease); } }
@keyframes accIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- testimonials ---------- */
.tslider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 12px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; padding-bottom: 4px; }
.tslider__track::-webkit-scrollbar { display: none; }
.tcard { scroll-snap-align: start; border: 1px solid var(--line); background: var(--card); padding: clamp(28px, 3vw, 44px); display: grid; align-content: space-between; gap: 28px; min-height: 300px; }
.tcard__q { color: var(--gold); font-size: 2.4rem; display: block; }
.tcard__q .i { width: 1em; height: 1em; }
.tcard__text { font-size: 1.15rem; line-height: 1.8; }
.tcard__text.is-pending { color: var(--muted); }
.tcard__who { display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 18px; }
.tcard__who strong { font-weight: 700; font-size: 1.05rem; }
.tcard__who span { color: var(--muted); font-size: .9rem; }
.tslider__ctl { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.tslider__bar { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.tslider__bar span { position: absolute; inset-block: -1px; inset-inline-start: 0; width: 20%; background: var(--mint); transition: inset-inline-start .4s var(--ease), width .4s var(--ease); }

/* ---------- contact + forms ---------- */
.branches { display: grid; gap: 28px; margin-top: 18px; width: 100%; }
.branch { border-top: 1px solid var(--line); padding-top: 20px; }
.branch h3 { color: var(--mint); font-size: 1.15rem; margin-bottom: 4px; }
.branch > p { color: var(--muted); margin-bottom: 8px; }
.branch ul { display: grid; gap: 2px; }
.branch a:hover { color: var(--mint); }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .92rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 12px 0; color: var(--text); font-weight: 400; border-radius: 0; transition: border-color .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23F8FAFC' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: left 0 center; }
[dir="ltr"] .field select { background-position: right 0 center; }
.field select option { background: var(--bg); color: var(--text); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: #FF8A7A; }
.err { color: #FF9C8F; font-size: .9rem; margin: 0; font-weight: 400; }
.form .pill[type="submit"] { justify-self: start; margin-top: 8px; }
.done { border: 1px solid var(--mint); background: rgba(84, 224, 197, .08); padding: 20px; }
.done strong { display: block; font-weight: 700; font-size: 1.1rem; color: var(--mint); }
.form.is-sent > :not(.done) { display: none; }

/* start a project */
.start__wrap { max-width: calc(900px + var(--gut) * 2); }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 44px; }
.stepper li { display: flex; align-items: center; gap: 12px; color: var(--dim); border-top: 1px solid var(--line); padding-top: 16px; font-weight: 400; }
.stepper span { font-family: var(--latin); font-size: .9rem; }
.stepper li.is-current { color: var(--text); border-color: var(--mint); font-weight: 700; }
.stepper li.is-done { color: var(--muted); border-color: var(--text); }
.step { border: 0; padding: 0; margin: 0; display: grid; gap: 22px; min-width: 0; }
.step legend { padding: 0; margin-bottom: 8px; }
.step__hint { color: var(--muted); margin: -8px 0 0; }
.step__nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 8px; }
.step__nav:has(> :only-child) { justify-content: flex-start; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); padding: 14px 16px; cursor: pointer; font-weight: 400; transition: border-color .2s, background-color .2s; }
.choice input { appearance: none; width: 20px; height: 20px; border: 1.5px solid var(--muted); border-radius: 4px; margin: 0; display: grid; place-items: center; flex: none; }
.choice input::after { content: ""; width: 10px; height: 5px; border: solid var(--bg); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.choice input:checked { background: var(--mint); border-color: var(--mint); }
.choice input:checked::after { opacity: 1; }
.choice:has(input:checked) { border-color: var(--mint); background: rgba(84, 224, 197, .06); }
.choice:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }

/* service detail */
.sdetail__ic { color: var(--mint); }
.sdetail__ic .i { width: 60px; height: 60px; }
.sdetail__list { border-top: 1px solid var(--line); }
.sdetail__list li { display: flex; gap: 22px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); font-weight: 400; line-height: 1.55; }
.sdetail__list span { font-family: var(--latin); font-size: .9rem; color: var(--mint); flex: none; }
.svcs--more { padding-top: 0; }
.svcs--more .svcs__card { transform: none !important; }
.legal { color: var(--muted); max-width: 72ch; }

/* ---------- big word + footer ---------- */
.big { padding-block: clamp(70px, 9vw, 120px) 40px; border-top: 1px solid var(--line); }
.big__in { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 40px; border-bottom: 1px solid var(--line); padding-bottom: 36px; }
.big__word { font-size: clamp(5rem, 2rem + 13vw, 15rem); font-weight: 700; line-height: .9; }
[lang="en"] .big__word { letter-spacing: -.01em; }
.big__line { justify-self: end; text-align: end; max-width: 38ch; color: var(--muted); }
.ftr { padding-bottom: 28px; }
.ftr__grid { display: grid; grid-template-columns: 1.2fr .7fr 1.7fr 1.2fr; gap: 40px; padding-block: 40px 56px; }
.ftr__brand img { width: 140px; margin-bottom: 18px; }
.ftr__brand p { color: var(--muted); margin-bottom: 22px; }
.ftr__h { font-size: .95rem; font-weight: 700; margin-bottom: 18px; color: var(--text); }
[lang="en"] .ftr__h { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.ftr__links { display: grid; gap: 9px; color: var(--muted); font-size: .96rem; }
.ftr__links--2 { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.ftr__links a:hover, .ftr__branch a:hover { color: var(--mint); }
.ftr__branch { display: grid; gap: 2px; color: var(--muted); font-size: .94rem; margin-bottom: 18px; }
.ftr__branch strong { color: var(--text); font-weight: 700; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; color: var(--dim); font-size: .9rem; }
.ftr__bottom ul { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.ftr__bottom a:hover { color: var(--mint); }

/* ---------- lightbox ---------- */
.lb { border: 0; padding: 0; background: transparent; width: min(1100px, 94vw); max-width: none; max-height: 92vh; color: var(--text); overflow: visible; }
.lb::backdrop { background: rgba(7, 1, 43, .94); }
.lb[open] { display: grid; gap: 14px; }
@media (prefers-reduced-motion: no-preference) { .lb[open] { animation: lbIn .45s var(--ease); } }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lb__stage { display: grid; place-items: center; }
.lb__stage img, .lb__stage video { max-width: 100%; max-height: 80vh; background: #000; }
.lb__title { text-align: center; font-weight: 700; margin: 0; }
.lb__close { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(7, 1, 43, .8); border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.lb__close:hover { background: var(--text); color: var(--bg); }

/* ---------- WhatsApp ---------- */
.wa { position: fixed; z-index: 55; left: 24px; bottom: 24px; display: grid; justify-items: start; gap: 10px; }
[dir="ltr"] .wa { left: auto; right: 24px; justify-items: end; }
.wa__row { display: flex; align-items: center; gap: 10px; flex-direction: row-reverse; }
[dir="ltr"] .wa__row { flex-direction: row; }
.wa__label { background: var(--text); color: var(--bg); font-size: .86rem; font-weight: 400; padding: 6px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.wa__btn { width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(37, 211, 102, .4); position: relative; transition: transform .25s var(--ease), background-color .2s; }
.wa__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; }
.wa__btn:hover { transform: scale(1.06); background: #1EBE5A; }
.wa__btn .i { width: 29px; height: 29px; }
.wa__menu { background: var(--text); color: var(--bg); padding: 14px; min-width: 210px; border-radius: 12px; display: grid; gap: 6px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.wa__menu p { margin: 0 0 4px; font-size: .88rem; color: #57537C; font-weight: 400; }
.wa__menu a { padding: 10px 12px; border-radius: 8px; background: #EEF0F6; font-weight: 700; transition: background-color .2s; }
.wa__menu a:hover { background: var(--mint); }
@media (prefers-reduced-motion: no-preference) {
  .wa { animation: waFloat 3.2s ease-in-out infinite; }
  .wa__btn::before { animation: waPulse 2.4s ease-out infinite; }
  .wa:hover, .wa:focus-within { animation-play-state: paused; }
}
@keyframes waFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.35); opacity: 0; } }

/* cursor ring */
.cursor { position: fixed; top: 0; left: 0; z-index: 400; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 1.5px solid var(--text); border-radius: 50%; pointer-events: none; opacity: 0; mix-blend-mode: difference; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease); }
.cursor.is-on { opacity: .9; }
.cursor.is-hover { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) { .cursor { display: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .why__list { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .why__list li:nth-child(3n + 1) { border-inline-start: 0; }
}
@media (max-width: 999px) {
  :root { --hdr: 74px; }
  .svcs__grid, .wgrid { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .we__grid, .split, .innov__row, .menu__body { grid-template-columns: 1fr; }
  .split__aside { position: static; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .head--row { grid-template-columns: 1fr; }
  .tslider__track { grid-auto-columns: 82%; }
  .menu__body { align-content: start; gap: 36px; }
  .menu__word { top: auto; bottom: 4%; transform: none; }
}
@media (max-width: 640px) {
  body { font-size: 1.04rem; }
  .svcs__grid, .wgrid, .form__row, .choices, .stepper { grid-template-columns: 1fr; }
  .why__list { grid-template-columns: repeat(2, 1fr); }
  .why__list li { border-inline-start: 0; padding-inline: 8px; }
  .logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .logos li { padding: 16px; }
  .innov__row dl { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .num { font-size: 2rem; }
  .phero__in { grid-template-columns: 1fr; }
  .phero .ring { grid-column: 1; grid-row: auto; width: 120px; height: 120px; margin-top: 30px; }
  .big__in { grid-template-columns: 1fr; gap: 16px; }
  .big__line { justify-self: start; text-align: start; }
  .ftr__grid { grid-template-columns: 1fr; }
  .tslider__track { grid-auto-columns: 92%; }
  .wcard__btn { aspect-ratio: 4 / 5; }
  .hero__cta { gap: 20px; }
  .stepper li:not(.is-current) { display: none; }
  .wa { left: 18px; bottom: 18px; }
  [dir="ltr"] .wa { right: 18px; }
  .wa__label { display: none; }
  .hdr__menu span { display: none; }
  .we__b { outline-width: 6px; }
}
