/* Hassi — site styles. Logical properties throughout so Arabic (RTL) mirrors cleanly. */
:root {
  --ink: #1d1a1f;
  --text: #4b4750;
  --muted: #77737c;
  --faint: #b9b6bd;
  --line: #ececef;
  --soft: #f6f5f7;
  --blue: #3f7fe8;
  --orange: #e8854f;
  --peach: #f7b99c;
  --pink: #f1a3b0;
  --peri: #9fb2ea;
  --teal: #4fb0c1;
  --cream: #fdf1e6;
  --pad: 32px;
  --max: 1320px;
  --gutter: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Inter', 'Noto Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
[lang="ar"] { --font: 'Noto Sans Arabic', 'Inter', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: #fff;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
svg { display: block; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .ico-arrow { transform: scaleX(-1); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section { padding-block: 120px; }

/* ---------- shared bits ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; box-shadow: 0 1px 2px rgba(29, 26, 31, .04);
  font-size: 12.5px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: #3b3740; line-height: 1.5;
}
.badge i { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, #b77a9d, #e58a7a); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  padding: 13px 30px; border-radius: 13px; font-size: 15.5px; font-weight: 500; line-height: 1.3;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn-sm { padding: 10px 20px; border-radius: 11px; font-size: 14px; }
.btn-dark {
  background: var(--ink); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 0 0 1px var(--ink), 0 10px 24px -8px rgba(29, 26, 31, .45);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 0 0 1px var(--ink), 0 16px 30px -10px rgba(29, 26, 31, .55); }
.btn-light { background: var(--soft); border: 1px solid var(--line); color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 10px 24px -12px rgba(29, 26, 31, .25); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.display { font-size: clamp(34px, 4.3vw, 54px); font-weight: 500; letter-spacing: -.03em; line-height: 1.18; margin-top: 0; text-wrap: balance; }
.title { font-size: clamp(30px, 3.9vw, 50px); font-weight: 500; letter-spacing: -.03em; line-height: 1.14; margin-top: 0; max-width: 16.5em; text-wrap: balance; }
[lang="ar"] :is(.display, .title, h1) { letter-spacing: 0; line-height: 1.4; }
.lead { color: var(--muted); max-width: 34em; margin-top: 22px; font-size: 16.5px; line-height: 1.7; }
.lead-sm { max-width: 26em; }
.center .btn-row { margin-top: 30px; justify-content: center; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 56px; }
.side { color: var(--muted); max-width: 22.5em; line-height: 1.75; padding-bottom: 6px; }

/* ---------- mesh gradients + grain ---------- */
.mesh { position: relative; background-color: var(--cream); isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background-image: var(--grain); mix-blend-mode: overlay; opacity: .7;
}
.mesh-hero { background-image: radial-gradient(60% 50% at 15% 12%, #cfe7ee 0, transparent 70%), radial-gradient(55% 50% at 90% 18%, var(--peri) 0, transparent 70%), radial-gradient(60% 55% at 85% 88%, var(--peach) 0, transparent 70%), radial-gradient(60% 60% at 10% 90%, var(--pink) 0, transparent 72%), linear-gradient(#f3f0f6, #f3f0f6); }
.mesh-1 { background-image: url(../img/art/t1.webp); background-size: cover; background-position: center; }
.mesh-2 { background-image: url(../img/art/t2.webp); background-size: cover; background-position: center; }
.mesh-3 { background-image: url(../img/art/t3.webp); background-size: cover; background-position: center; }
.mesh-4 { background-image: url(../img/art/t4.webp); background-size: cover; background-position: center; }
.mesh-5 { background-image: url(../img/art/t5.webp); background-size: cover; background-position: center; }
.mesh-6 { background-image: url(../img/art/t6.webp); background-size: cover; background-position: center; }
.mesh-7 { background-image: url(../img/art/t7.webp); background-size: cover; background-position: center; }
.mesh-s1 { background-image: url(../img/art/s1.webp); background-size: cover; background-position: center; }
.mesh-s2 { background-image: url(../img/art/s2.webp); background-size: cover; background-position: center; }
.mesh-s3 { background-image: url(../img/art/s3.webp); background-size: cover; background-position: center; }
.mesh-s4 { background-image: url(../img/art/s4.webp); background-size: cover; background-position: center; }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 20px; inset-inline-start: var(--gutter);
  width: min(620px, calc(100vw - 2 * var(--pad)));
  display: flex; align-items: center; gap: 22px; padding: 7px 7px 7px 16px; padding-inline: 16px 7px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(236, 236, 239, .9); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(29, 26, 31, .04), 0 12px 32px -18px rgba(29, 26, 31, .25);
  transition: inset-inline-start .6s var(--ease), transform .6s var(--ease), top .4s var(--ease), box-shadow .4s;
}
.nav.is-stuck { top: 12px; inset-inline-start: 50%; transform: translateX(-50%); box-shadow: 0 1px 2px rgba(29, 26, 31, .05), 0 18px 40px -18px rgba(29, 26, 31, .35); }
[dir="rtl"] .nav.is-stuck { transform: translateX(50%); }
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.logo-mark { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; font-weight: 500; color: #5b5760; margin-inline-start: 6px; }
.nav-links a { transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 11px; background: var(--soft); place-items: center; font-size: 17px; }

.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 5px; padding: 9px 10px; border-radius: 10px; font-size: 13px; font-weight: 500; color: #4b4750; transition: background .2s; }
.lang-btn:hover, .lang.open .lang-btn { background: var(--soft); }
.lang-btn .ico:last-child { width: 14px; height: 14px; transition: transform .25s; }
.lang.open .lang-btn .ico:last-child { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 12px); inset-inline-end: 0; min-width: 190px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 48px -20px rgba(29, 26, 31, .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .22s var(--ease);
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 9px; font-size: 14px; }
.lang-menu a:hover { background: var(--soft); }
.lang-menu a[aria-current] { background: var(--soft); font-weight: 500; }
.lang-menu small { color: var(--faint); font-size: 11.5px; letter-spacing: .04em; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 20px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -160px auto auto -180px; width: 1100px; height: 660px; z-index: -1; filter: blur(60px); opacity: .95;
  background: radial-gradient(38% 42% at 42% 30%, var(--peri) 0, transparent 70%), radial-gradient(34% 40% at 74% 18%, #f9b89c 0, transparent 70%), radial-gradient(35% 45% at 10% 45%, #fbd9cf 0, transparent 70%);
  animation: drift 16s ease-in-out infinite alternate;
}
[dir="rtl"] .hero-glow { inset: -160px -180px auto auto; }
@keyframes drift { from { transform: translate3d(-3%, -2%, 0) scale(1); } to { transform: translate3d(5%, 4%, 0) scale(1.12); } }
@keyframes mesh-pan { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
@keyframes nav-in { from { opacity: 0; translate: 0 -18px; } }
.js .nav { animation: nav-in .9s var(--ease) both; }
.hero-grid { display: grid; grid-template-columns: 620px minmax(0, 1fr); gap: 28px; align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-top: 150px; padding-bottom: 4px; }
.hero h1 { font-size: clamp(42px, 5.1vw, 70px); font-weight: 500; letter-spacing: -.04em; line-height: 1.03; margin-top: 0; text-wrap: balance; }
[lang="ar"] .hero h1 { font-size: clamp(38px, 4.4vw, 60px); font-weight: 600; line-height: 1.3; }

.feature { max-width: 530px; }
.feature-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.feature-name { display: inline-flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 500; letter-spacing: -.02em; color: #4b4750; }
.feature-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 500; color: #4b4750; }
.feature-link .ico { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.feature-link:hover .ico { transform: translate(2px, -2px); }
[dir="rtl"] .feature-link .ico { transform: scaleX(-1); }
.feature-text { margin-top: 22px; font-size: 15.5px; font-weight: 500; line-height: 1.75; color: #57535c; }
.feature-foot { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-size: 14px; line-height: 1.45; }
.feature-foot strong { display: block; font-weight: 500; }
.feature-foot small { color: var(--muted); font-size: 13.5px; }
.dots { display: flex; }
.dots b {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-inline-start: -9px;
  color: #fff; border: 2px solid #fff; background: var(--ink);
}
.dots b svg { width: 15px; height: 15px; }
.dots b:first-child { margin-inline-start: 0; }
.hero-bottom { display: flex; flex-direction: column; gap: 40px; }

.hero-visual {
  position: relative; border-radius: 28px; min-height: 640px; height: min(770px, calc(100vh - 150px)); overflow: hidden; isolation: isolate;
  background: #e9e6ee; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 30px 60px -40px rgba(79, 70, 110, .5);
}
.hero-photo { position: absolute; inset: -5% 0; display: block; will-change: transform; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; display: block; transform: scale(1.14); transition: transform 2.2s var(--ease) .1s; }
.hero-visual.in .hero-photo img, html:not(.js) .hero-photo img { transform: none; }
.hero-wash {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(60% 40% at 0% 0%, rgba(159, 178, 234, .38) 0, transparent 70%), radial-gradient(55% 40% at 100% 100%, rgba(247, 185, 156, .34) 0, transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .1), transparent 30%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}
.viz { position: absolute; z-index: 2; }
.viz {
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 20px; box-shadow: 0 24px 50px -24px rgba(30, 25, 50, .55);
}
.viz-chat { bottom: 6%; inset-inline-start: 5%; width: min(66%, 350px); padding: 16px; }
.viz-q { margin-inline-start: auto; width: fit-content; max-width: 92%; background: var(--ink); color: #fff; font-size: 13.5px; padding: 9px 14px; border-radius: 14px; border-end-end-radius: 4px; }
.viz-a { display: flex; gap: 10px; margin-top: 12px; font-size: 13.5px; line-height: 1.55; color: #3b3740; }
.viz-ai { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), #b79be6 60%, var(--orange)); font-size: 13px; }
.viz-pill { display: flex; align-items: center; gap: 10px; padding-block: 10px; padding-inline: 10px 16px; border-radius: 99px; font-size: 13px; font-weight: 500; line-height: 1.25; white-space: nowrap; }
.viz-pill small { display: block; color: var(--muted); font-weight: 400; font-size: 11.5px; }
.viz-pill > span:first-child { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 14px; }
.play { background: linear-gradient(135deg, var(--pink), var(--orange)); }
.viz-reel { inset-inline-end: 5%; top: 6%; }
.js .hero-visual .viz { opacity: 0; scale: .92; transition: opacity .8s var(--ease) 1.1s, scale .8s var(--ease) 1.1s; }
.js .hero-visual .viz-reel { transition-delay: 1.45s; }
.js .hero-visual.in .viz { opacity: 1; scale: 1; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.float { animation: float 7s ease-in-out var(--f, 0s) infinite; }

.strip { margin-top: 76px; background: linear-gradient(90deg, #f6f3f7 0%, #e7eaf6 22%, #f5eef1 48%, #fbe3da 72%, #fbf3ee 100%); }
.strip-inner { display: flex; align-items: center; gap: 48px; padding-block: 38px; }
.strip p { flex: none; max-width: 19em; font-size: 14px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; color: #77737c; line-height: 1.6; }
.marquee {
  flex: 1; min-width: 0; display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { flex: none; display: flex; align-items: center; gap: 44px; padding-inline-end: 44px; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: #8f8b95; white-space: nowrap; transition: color .3s; }
.marquee-track li:hover { color: var(--ink); }
.marquee-track svg { width: 22px; height: 22px; flex: none; }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes marquee-rtl { to { transform: translateX(100%); } }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }

/* ---------- about ---------- */
.about { padding-top: 136px; }
.hl { display: inline-flex; align-items: baseline; gap: .12em; white-space: nowrap; }
.hl .ico { width: .82em; height: .82em; align-self: center; }
.hl-blue { color: var(--blue); } .hl-orange { color: var(--orange); }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 18px; }
.service-wide { grid-column: span 2; }
.service { cursor: pointer; border-radius: 28px; }
.service:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
.step.grain::after { display: none; }
.tile {
  position: relative; height: 330px; padding: 12px; border-radius: 28px; overflow: hidden; isolation: isolate;
  background-size: 150% 150%; animation: mesh-pan 14s ease-in-out infinite alternate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.tile-photo { position: relative; height: 100%; border-radius: 18px; overflow: hidden; background: #e9e6ee; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.service:hover .tile-photo img { transform: scale(1.06); }
.tile-ico {
  --chip: #ece6fb; --ink2: #6b54b8;
  position: absolute; z-index: 1; bottom: -12px; inset-inline-end: -12px; width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-items: center; font-size: 24px; color: var(--ink2);
  background: radial-gradient(circle, var(--chip) 0 35px, #fff 36px);
  transition: transform .6s var(--ease);
}
.tile-ico .ico { translate: -5px -5px; }
[dir="rtl"] .tile-ico .ico { translate: 5px -5px; }
.mesh-2 .tile-ico { --chip: #fde3dc; --ink2: #b65c43; }
.mesh-3 .tile-ico, .mesh-7 .tile-ico { --chip: #dcf0f3; --ink2: #1f6b7c; }
.mesh-4 .tile-ico { --chip: #fbe0e6; --ink2: #b04866; }
.mesh-5 .tile-ico { --chip: #e1e9fb; --ink2: #3f6fc4; }
.mesh-6 .tile-ico { --chip: #efe5fb; --ink2: #7c55b8; }
.service:hover .tile { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(60, 50, 90, .6); }
.service:hover .tile-ico { transform: rotate(-8deg); }
.service h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin-top: 26px; padding-inline: 8px; }
.service p { color: var(--muted); margin-top: 10px; padding-inline: 8px; font-size: 15.5px; line-height: 1.65; max-width: 30em; }

/* ---------- process ---------- */
.steps { --w: 46%; --lap: 165px; --drop: 46px; display: flex; flex-direction: column; }
.step-wrap { position: relative; width: var(--w); }
.step-wrap:nth-child(odd):not(:first-child) { margin-top: var(--drop); }
.step-wrap:nth-child(even) { margin-inline-start: auto; margin-top: calc(var(--lap) * -1); }
.step { background-size: 150% 150%; animation: mesh-pan 12s ease-in-out infinite alternate; padding: 18px; border-radius: 30px; overflow: hidden; }
.step-inner { position: relative; z-index: 1; display: flex; gap: 28px; min-height: 264px; padding: 12px; padding-inline-end: 20px; border-radius: 16px; background: #fff; box-shadow: 0 6px 20px -10px rgba(60, 40, 60, .35); }
.step-pill { flex: none; width: 46px; border-radius: 13px; border: 1px solid #e9b3ae; display: grid; place-items: center; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.step-pill span { writing-mode: vertical-rl; transform: rotate(180deg); }
.step-wrap:nth-child(2) .step-pill { border-color: #b4bfea; }
.step-wrap:nth-child(3) .step-pill { border-color: #8fcbd5; }
.step-wrap:nth-child(4) .step-pill { border-color: #ecc0bd; }
.step-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding-block: 8px 14px; }
.step-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.step h3 { font-size: 25px; font-weight: 500; letter-spacing: -.025em; padding-top: 6px; }
.step-ico { filter: saturate(1.5) brightness(.84); flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 17px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.step p { color: var(--muted); max-width: 25em; line-height: 1.7; }
.connector {
  position: absolute; top: 72px; height: calc(100% - var(--lap) - 80px); width: 67.4%; pointer-events: none;
  inset-inline-start: 100%; border-top: 1.5px dashed #9db0e6; border-inline-end: 1.5px dashed #f0b08e; border-start-end-radius: 18px;
}
.step-wrap:nth-child(even) .connector {
  top: calc(100% - 86px); height: calc(78px + var(--drop));
  inset-inline: auto 100%; border-inline-end: 0; border-inline-start: 1.5px dashed #9db0e6; border-top-color: #f0b08e; border-radius: 0; border-start-start-radius: 18px;
}
.connector::after {
  content: ""; position: absolute; bottom: 1px; inset-inline-end: -5.5px; width: 9px; height: 9px;
  border-right: 1.5px solid #f0b08e; border-bottom: 1.5px solid #f0b08e; transform: rotate(45deg);
}
.step-wrap:nth-child(even) .connector::after { inset-inline: -5.5px auto; border-color: #9db0e6; }

/* ---------- carousel ---------- */
.why .title { margin-inline: auto; max-width: 13em; }
.carousel { margin-top: 56px; overflow: hidden; padding: 30px 4px 0; margin-inline: -4px; }
.track { --gap: 22px; display: flex; gap: var(--gap); transition: transform .8s var(--ease); }
.card { flex: 0 0 calc((100% - 2 * var(--gap)) / 3); display: flex; }
.card-in {
  position: relative; width: 100%; padding: 28px 28px 30px; border-radius: 24px; border: 1px solid var(--line); background: #fff;
  overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
  transition: transform .8s var(--ease), box-shadow .8s var(--ease), border-color .8s;
}
.card-in::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 62%; z-index: -1; opacity: 0; transition: opacity .8s;
  background: radial-gradient(55% 60% at 30% 12%, #f3a9b4 0, transparent 70%), radial-gradient(55% 60% at 85% 20%, #f9e6d3 0, transparent 70%);
  -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent);
}
.card.is-active .card-in { transform: translateY(-28px); border-color: #dcd9df; box-shadow: 0 30px 50px -36px rgba(60, 40, 70, .5); }
.card.is-active .card-in::before { opacity: 1; }
.card-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: #57535c; font-size: 18px; box-shadow: 0 6px 14px -8px rgba(60, 40, 70, .4); }
.card-q { margin-top: 44px; font-size: 17.5px; font-weight: 500; line-height: 1.65; color: #4b4750; flex: 1; }
.card-t { margin-top: 26px; font-weight: 500; }
.card-s { color: var(--muted); font-size: 14px; margin-top: 2px; }
.car-nav { display: flex; justify-content: center; gap: 16px; margin-top: 36px; padding-bottom: 20px; }
.car-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); border: 1px solid var(--line); font-size: 17px; transition: .3s var(--ease); }
.car-btn[data-dir="-1"] .ico { transform: scaleX(-1); }
[dir="rtl"] .car-btn[data-dir="-1"] .ico { transform: none; }
.car-btn.is-dark { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 12px 24px -10px rgba(29, 26, 31, .5); }
.car-btn:hover { transform: scale(1.06); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-grid .side { margin-top: 22px; }
.faq { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 28px; cursor: pointer; font-size: 18px; font-weight: 500; letter-spacing: -.015em; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--soft); border: 1px solid var(--line); transition: transform .35s var(--ease), background .3s, color .3s; }
.faq details[open] summary .ico { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq details[open] { background: linear-gradient(180deg, #fff 0, #fbf7f6 100%); }
.faq details p { padding: 0 28px 26px; color: var(--muted); max-width: 44em; line-height: 1.75; }

/* ---------- contact ---------- */
.section-contact { padding-top: 40px; padding-bottom: 72px; }
.contact {
  position: relative; display: grid; grid-template-columns: 1.55fr 1fr 1fr; padding: 64px 60px 150px; border-radius: 34px;
  border: 1px solid #e3e1e6; overflow: hidden; isolation: isolate; background: #fff;
}
.contact::before {
  animation: drift 13s ease-in-out infinite alternate; content: ""; position: absolute; inset: auto -5% -26% -5%; height: 80%; z-index: -1; filter: blur(34px);
  background: radial-gradient(38% 60% at 28% 70%, #f6b8a6 0, transparent 70%), radial-gradient(34% 62% at 78% 78%, #a9b8ec 0, transparent 70%), radial-gradient(30% 50% at 52% 85%, #f7c6a3 0, transparent 70%);
}
.contact.grain::after { opacity: .35; -webkit-mask-image: linear-gradient(transparent 40%, #000); mask-image: linear-gradient(transparent 40%, #000); }
.contact > * { position: relative; z-index: 1; }
.contact .title { font-size: clamp(34px, 4.1vw, 54px); max-width: 9.500em; margin-top: 0; }
.contact .btn-row { margin-top: 34px; }
.contact-col { display: flex; flex-direction: column; padding-top: 68px; padding-inline: 44px 12px; }
.contact-col + .contact-col { border-inline-start: 1px solid var(--line); }
.contact-col h3 { font-size: 18.5px; font-weight: 500; letter-spacing: -.015em; }
.contact-col p { color: var(--muted); margin-top: 12px; line-height: 1.6; flex: 1; min-height: 5.500em; }
.contact-link { display: inline-flex; align-items: center; gap: 12px; font-size: 18.5px; font-weight: 500; letter-spacing: -.015em; width: fit-content; }
.contact-link .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.contact-link:hover .ico { transform: translateX(5px); }
[dir="rtl"] .contact-link:hover .ico { transform: scaleX(-1) translateX(5px); }

.notfound { position: relative; min-height: 100vh; justify-content: center; padding-inline: var(--pad); overflow: hidden; }
.notfound .btn-row { margin-top: 30px; }

/* ---------- footer ---------- */
.footer { padding-block: 32px 40px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.500fr 1.200fr 1fr 1fr; gap: 40px; padding-block: 40px 48px; }
.footer-brand p { color: var(--muted); max-width: 22em; margin-top: 16px; line-height: 1.7; }
.footer address, .footer-contact a { display: flex; align-items: flex-start; gap: 10px; font-style: normal; color: #4b4750; line-height: 1.6; }
.footer address { margin-top: 18px; max-width: 22em; }
.footer address .ico, .footer-contact .ico { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #8d8992; }
.footer h4 { font-size: 12.5px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: #8d8992; margin-bottom: 14px; }
.footer h4.mt { margin-top: 28px; }
.footer li { padding-block: 4px; color: #4b4750; }
.footer li a:hover, .footer-base a:hover { color: var(--blue); }
.footer-base a { padding-block: 8px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }

/* ---------- WhatsApp button ---------- */
.wa {
  position: fixed; z-index: 40; bottom: 22px; inset-inline-end: 22px; display: inline-grid; place-items: center; width: 58px; height: 58px; padding: 0;
  border-radius: 99px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 0 0 1px var(--ink), 0 18px 34px -12px rgba(29, 26, 31, .6);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); animation: wa-in .8s var(--ease) 1.6s both;
}
.wa .ico { width: 26px; height: 26px; }
.wa:hover, .wa:focus-visible { transform: translateY(-3px); }
.wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(29, 26, 31, .35); animation: wa-pulse 2.8s ease-out 2.6s infinite; pointer-events: none; }
@keyframes wa-in { from { opacity: 0; translate: 0 24px; scale: .7; } }
@keyframes wa-pulse { to { box-shadow: 0 0 0 16px rgba(29, 26, 31, 0); } }
.footer-contact { display: flex; flex-direction: row; align-items: center; gap: 14px; margin-top: 6px !important; max-width: none !important; color: #4b4750 !important; }
.footer-contact a { padding-block: 4px; }
.footer-contact a:hover { color: var(--blue); }
.footer-contact .footer-wa { width: 38px; height: 38px; padding: 0; border-radius: 50%; justify-content: center; align-items: center; background: var(--ink); }
.footer-contact .footer-wa .ico { width: 19px; height: 19px; margin: 0; color: #fff; }
.footer-contact .footer-wa:hover { transform: translateY(-2px); }

/* ---------- popup form ---------- */
.modal { border: 0; padding: 20px; background: transparent; width: min(720px, 100%); max-width: 100%; max-height: 100dvh; overflow: visible; color: inherit; }
.modal::backdrop { background: rgba(29, 26, 31, .38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .4s ease; }
.modal.show::backdrop { opacity: 1; }
.modal-card {
  position: relative; isolation: isolate; overflow: hidden auto; max-height: calc(100dvh - 40px); padding: 44px 44px 40px; border-radius: 30px; background: #fff;
  border: 1px solid #e3e1e6; box-shadow: 0 50px 100px -40px rgba(29, 26, 31, .55);
  opacity: 0; filter: blur(12px); transform: translateY(26px) scale(.97); transition: opacity .5s var(--ease), filter .5s var(--ease), transform .5s var(--ease);
}
.modal.show .modal-card { opacity: 1; filter: none; transform: none; }
.modal-glow {
  position: absolute; inset: -30% -10% auto; height: 62%; z-index: -1; filter: blur(40px); opacity: .9; pointer-events: none;
  background: radial-gradient(40% 60% at 22% 40%, #f6b8a6 0, transparent 70%), radial-gradient(40% 60% at 78% 30%, #a9b8ec 0, transparent 70%), radial-gradient(30% 50% at 52% 10%, #f3a9b4 0, transparent 70%);
  animation: drift 12s ease-in-out infinite alternate;
}
.modal-close { position: absolute; top: 18px; inset-inline-end: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); font-size: 15px; transition: .3s var(--ease); }
.modal-close .ico { transform: rotate(45deg); }
.modal-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(90deg); }
.modal h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; margin-top: 18px; }
[lang="ar"] .modal h2 { letter-spacing: 0; line-height: 1.4; }
.modal-sub { color: var(--muted); margin-top: 10px; }
.modal form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 500; color: #4b4750; }
.field-wide { grid-column: 1 / -1; }
.field :is(input, select, textarea) {
  font: inherit; font-size: 15.5px; font-weight: 400; color: var(--ink); width: 100%; padding: 13px 15px; border-radius: 13px;
  border: 1px solid #e2e0e6; background: rgba(255, 255, 255, .85); outline: 0; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2377737c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-size: 18px; background-position: right 14px center; padding-inline-end: 40px; }
[dir="rtl"] .field select { background-position: left 14px center; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field :is(input, select, textarea):focus { border-color: var(--peri); box-shadow: 0 0 0 4px rgba(159, 178, 234, .28); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.modal-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.modal-foot small { color: var(--muted); font-size: 13px; flex: 1; min-width: 180px; }
.modal-foot .btn[disabled] { opacity: .6; pointer-events: none; }
.modal-done { text-align: center; padding: 36px 10px 12px; display: flex; flex-direction: column; align-items: center; }
.modal-done[hidden], .modal-form[hidden] { display: none; }
.modal-done p { color: var(--muted); max-width: 26em; margin: 12px 0 28px; }
.done-ico { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 26px; background: linear-gradient(135deg, var(--peri), #e5a5b5 55%, var(--peach)); box-shadow: 0 16px 30px -14px rgba(120, 100, 160, .7); animation: pop .6s var(--ease) both; }
@keyframes pop { from { scale: .4; opacity: 0; } }
html:has(.modal[open]) { overflow: hidden; }
@media (max-width: 640px) {
  .modal { padding: 10px; }
  .modal-card { padding: 34px 22px 26px; border-radius: 24px; max-height: calc(100dvh - 20px); }
  .modal form { grid-template-columns: 1fr; }
}

/* ---------- motion ---------- */
.js .reveal { opacity: 0; filter: blur(14px); transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), filter .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; filter: none; transform: none; }
.js .reveal.reveal-plain { opacity: 1; filter: none; transform: none; }
/* headline: words blur in one after another */
.js [data-split] .sw { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(.4em); transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 80ms + .1s); }
.js [data-split] .hl.sw { display: inline-flex; }
.js .in[data-split] .sw { opacity: 1; filter: none; transform: none; }
/* paragraphs: words turn from grey to ink */
.js [data-words] .w { opacity: .28; transition: opacity .6s ease calc(var(--i) * 38ms + .3s); }
.js .in[data-words] .w, .js .in [data-words] .w { opacity: 1; }
/* process: cards pop in, then the dashed connector draws itself */
.js .step-wrap.reveal { transform: translateY(40px) scale(.96); }
.js .step-wrap.reveal.in { transform: none; }
.js .connector { clip-path: inset(-12px 100% -12px -12px); transition: clip-path 1.2s ease-in-out .55s; }
.js .step-wrap:nth-child(even) .connector { clip-path: inset(-12px -12px -12px 100%); }
[dir="rtl"].js .connector { clip-path: inset(-12px -12px -12px 100%); }
[dir="rtl"].js .step-wrap:nth-child(even) .connector { clip-path: inset(-12px 100% -12px -12px); }
.js .step-wrap.in .connector:nth-child(n) { clip-path: inset(-12px); }
/* service icons */
.js .service .tile-ico { scale: .6; opacity: 0; transition: transform .6s var(--ease), scale .9s var(--ease) calc(var(--d, 0s) + .35s), opacity .6s ease calc(var(--d, 0s) + .35s); }
.js .service.in .tile-ico { scale: 1; opacity: 1; }
.btn .ico, .contact-link .ico { transition: transform .3s var(--ease); }
.btn-dark { position: relative; overflow: hidden; }
.btn-dark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); translate: -120% 0; transition: translate .8s var(--ease); }
.btn-dark:hover::after { translate: 120% 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js [data-split] .sw, .js .hero-visual .viz, .js .service .tile-ico { opacity: 1; filter: none; transform: none; scale: 1; transition: none; }
  .js [data-words] .w { opacity: 1; transition: none; }
  .js .connector:nth-child(n), .js .steps .connector { clip-path: none !important; transition: none; }
  .hero-photo img { transform: none; transition: none; }
  .float, .hero-glow, .tile, .step, .contact::before, .js .nav { animation: none; }
  .modal-card, .modal::backdrop { transition: none; }
  .modal-glow, .done-ico { animation: none; }
  .wa, .wa::before { animation: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; flex: 1; gap: 14px 30px; padding: 0; }
  .marquee-track[aria-hidden] { display: none; }
  .track, .card-in, .nav { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 120px; }
  .hero-visual { height: 600px; min-height: 0; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .service-wide { grid-column: span 2; }
  .contact { grid-template-columns: 1fr 1fr; padding: 48px 40px 130px; }
  .contact-main { grid-column: 1 / -1; }
  .contact-col { padding-top: 48px; padding-inline: 0 24px; }
  .contact-col + .contact-col { padding-inline-start: 32px; }
}
@media (max-width: 900px) {
  :root { --pad: 20px; }
  .section { padding-block: 60px; }
  .about { padding-top: 72px; }
  .nav, .nav.is-stuck { width: calc(100vw - 2 * var(--pad)); top: 12px; inset-inline-start: var(--pad); transform: none !important; }
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); inset-inline: 0; flex-direction: column; gap: 0; padding: 8px; margin: 0;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -20px rgba(29, 26, 31, .35);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .22s var(--ease); font-size: 16px;
  }
  .nav.menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; }
  .head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
  .strip { margin-top: 56px; }
  .strip-inner { flex-direction: column; align-items: flex-start; gap: 22px; padding-block: 30px; }
  .marquee { width: 100%; }
  .marquee-track li { font-size: 17px; }
  .steps { --w: 100%; gap: 46px; }
  .step-wrap:nth-child(n), .step-wrap:nth-child(odd):not(:first-child) { margin-top: 0; }
  .steps .connector, .steps .step-wrap:nth-child(even) .connector {
    display: block; top: calc(100% + 7px); bottom: auto; height: 32px; width: 0;
    inset-inline: auto; left: 50%; margin-left: -1px; border: 0; border-left: 1.5px dashed #9db0e6; border-radius: 0;
  }
  .steps .connector::after, .steps .step-wrap:nth-child(even) .connector::after {
    left: -5.250px; right: auto; bottom: 1px; border-color: #f0b08e;
  }
  .js .steps .connector { clip-path: inset(0 -12px 100% -12px) !important; transition: clip-path .7s ease-out .45s; }
  .js .steps .step-wrap.in .connector { clip-path: inset(-12px) !important; }
  .step-inner { min-height: 0; gap: 18px; }
  .step-body { gap: 22px; }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer li { padding-block: 0; }
  .footer li a { display: inline-block; padding-block: 7px; }
  .footer-contact a:not(.footer-wa) { padding-block: 6px; }
  .contact-link { min-height: 44px; }
  .feature-link { padding-block: 10px; margin-block: -10px; }
}
@media (max-width: 640px) {
  /* type: readable, never shouty */
  .hero h1 { font-size: clamp(34px, 9.4vw, 40px); line-height: 1.08; }
  [lang="ar"] .hero h1 { font-size: clamp(30px, 8.4vw, 36px); line-height: 1.35; }
  .display { font-size: clamp(28px, 7.8vw, 33px); line-height: 1.22; }
  .title, .contact .title { font-size: clamp(27px, 7.4vw, 32px); line-height: 1.2; }
  [lang="ar"] :is(.display, .title) { line-height: 1.45; }
  .lead, .side { font-size: 15.5px; line-height: 1.65; }
  .section { padding-block: 40px; }
  .about { padding-top: 48px; }
  .head { gap: 14px; margin-bottom: 30px; }

  /* nav */
  .nav .btn-sm { display: none; }
  .logo { font-size: 18px; }

  /* hero */
  .hero-copy { padding-top: 112px; gap: 34px; }
  .hero-bottom { gap: 30px; }
  .hero-copy { text-align: center; align-items: center; }
  .hero h1 { margin-inline: auto; }
  .feature { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .feature-head { flex-wrap: wrap; row-gap: 4px; justify-content: center; }
  .feature-name { font-size: 17px; }
  .feature-link { padding-block: 10px; margin-block: -10px; }
  .feature-text { margin-top: 14px; font-size: 15px; line-height: 1.65; }
  .feature-foot { margin-top: 18px; }
  .dots b { width: 32px; height: 32px; }
  .hero-visual { height: 420px; border-radius: 22px; }
  .viz-chat { width: 86%; padding: 12px; inset-inline-start: 4%; bottom: 4%; }
  .viz-q, .viz-a { font-size: 13px; }
  .viz-pill { padding-block: 7px; padding-inline: 7px 12px; font-size: 12.5px; }
  .viz-pill > span:first-child { width: 28px; height: 28px; }
  .viz-pill small { font-size: 12px; }
  .viz-reel { top: 4%; inset-inline-end: 4%; }
  .strip { margin-top: 44px; }
  .strip-inner { gap: 16px; padding-block: 24px; }
  .strip-inner { align-items: center; }
  .strip p { font-size: 12.5px; max-width: none; width: 100%; text-align: center; text-wrap: balance; }
  .marquee-track { gap: 32px; padding-inline-end: 32px; }
  .marquee-track li { font-size: 16px; }
  .marquee-track svg { width: 19px; height: 19px; }

  /* buttons */
  .btn { padding: 13px 22px; font-size: 15px; }
  .btn-row { gap: 10px; }

  /* services */
  .services { grid-template-columns: 1fr; gap: 30px; }
  .service-wide { grid-column: auto; }
  .tile { height: 230px; padding: 10px; border-radius: 24px; }
  .tile-photo { border-radius: 16px; }
  .tile-ico { width: 92px; height: 92px; font-size: 21px; background: radial-gradient(circle, var(--chip) 0 29px, #fff 30px); }
  .service h3 { font-size: 19px; margin-top: 18px; padding-inline: 4px; }
  .service p { font-size: 15px; margin-top: 6px; padding-inline: 4px; }

  /* process */
  .steps { gap: 42px; }
  .step { padding: 10px; border-radius: 22px; }
  .step-inner { padding: 10px; padding-inline-end: 14px; gap: 14px; border-radius: 14px; }
  .step-pill { width: 38px; font-size: 13px; }
  .step-body { gap: 16px; padding-block: 6px 8px; }
  .step h3 { font-size: 19px; padding-top: 4px; }
  .step-ico { width: 40px; height: 40px; font-size: 15px; }
  .step p { font-size: 15px; }

  /* why carousel */
  .why .title { max-width: 12em; }
  .card-in { padding: 22px; }
  .card.is-active .card-in { transform: none; }
  .card-ico { width: 44px; height: 44px; font-size: 16px; }
  .card-q { margin-top: 26px; font-size: 16px; }
  .carousel { padding-top: 0; margin-top: 30px; }
  .car-nav { margin-top: 24px; padding-bottom: 0; }
  .car-btn { width: 48px; height: 48px; }

  /* faq */
  .faq-grid { gap: 26px; }
  .faq summary { padding: 18px; font-size: 16px; gap: 16px; }
  .faq summary .ico { width: 30px; height: 30px; padding: 7px; }
  .faq details p { padding: 0 18px 20px; font-size: 15px; }

  /* contact */
  .section-contact { padding-top: 16px; padding-bottom: 40px; }
  .contact { grid-template-columns: 1fr; padding: 30px 22px 100px; border-radius: 24px; }
  .contact .btn-row { margin-top: 24px; }
  .contact-col, .contact-col + .contact-col { padding: 28px 0 0; border: 0; }
  .contact-col h3 { font-size: 17px; }
  .contact-col p { min-height: 0; margin: 8px 0 10px; font-size: 15px; }
  .contact-link { font-size: 16.5px; min-height: 44px; word-break: break-word; }

  /* footer */
  .footer { padding-block: 10px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-block: 30px 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer li { padding-block: 0; }
  .footer li a { display: inline-block; padding-block: 7px; }
  .footer-base { font-size: 13.5px; }
  .footer-langs, .footer-services, .footer-company { display: none; }
  .footer-grid { padding-bottom: 24px; }

  /* WhatsApp: smaller, clear of content */
  .wa { width: 52px; height: 52px; bottom: 16px; inset-inline-end: 16px; }
  .wa .ico { width: 24px; height: 24px; }
  .footer { padding-bottom: 22px; }
  .footer-base { padding-inline-end: 84px; }

  /* popup */
  .modal-card { padding: 30px 20px 24px; }
}
@media (max-width: 360px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .steps .connector { clip-path: none !important; transition: none; }
}
