:root {
  --blue: #2b5cab;
  --cyan: #12aaee;
  --navy: #07142e;
  --navy2: #0f2a52;
  --text: #1d2740;
  --muted: #5b6883;
  --line: #e2e8f3;
  --alt: #f3f7fd;
  --radius: 20px;
  --grad: linear-gradient(135deg, var(--blue), var(--cyan));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font: 16px/1.7 "Inter", system-ui, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  animation: pagein .5s ease both;
}
@keyframes pagein { from { opacity: 0; } }
[lang="ar"] body { font-family: "Cairo", "Inter", system-ui, "Segoe UI", sans-serif; line-height: 1.9; }
img, svg { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy2); margin: 0 0 12px; }
p { margin: 0 0 14px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; position: relative; }
.center { text-align: center; }

.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 50; background: var(--grad); transform-origin: left; transform: scaleX(0); }
[dir="rtl"] .progress { transform-origin: right; }

/* ---------- header: floating pill ---------- */
.nav { position: fixed; top: 14px; inset-inline: 0; z-index: 40; pointer-events: none; transition: top .3s; }
.nav.stuck { top: 8px; }
.nav-in {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 66px; padding-inline: 14px 14px; background: #fff;
  border-radius: 99px; box-shadow: 0 10px 40px rgba(7, 20, 46, .18);
}
.nav .wrap { max-width: 1120px; }
.logo { padding-inline-start: 8px; }
.logo img { height: 42px; width: auto; display: block; }
#menu { display: flex; gap: 4px; margin-inline-start: 24px; }
#menu a { position: relative; padding: 8px 16px; border-radius: 99px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; transition: background .2s, color .2s; }
#menu a:hover { background: var(--alt); color: var(--blue); }
#menu a[aria-current="page"] { background: var(--grad); color: #fff; }
.nav-end { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.flag { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); flex: none; }
.lang { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; border: 2px solid var(--blue); color: var(--blue); text-decoration: none; font-weight: 700; font-size: .9rem; transition: .2s; }
.lang:hover { background: var(--blue); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--alt); cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--navy2); border-radius: 2px; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
  padding: 13px 28px; border-radius: 99px; border: 2px solid transparent;
  background: var(--grad); color: #fff; box-shadow: 0 10px 28px rgba(18, 170, 238, .35);
  transition: transform .2s, box-shadow .2s;
}
.btn b { font-weight: 700; transition: transform .2s; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(18, 170, 238, .45); }
.btn:hover b { transform: translateX(4px); }
[dir="rtl"] .btn:hover b { transform: translateX(-4px); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.section .btn.ghost { color: var(--blue); border-color: var(--blue); }
.section .btn.ghost:hover { background: var(--blue); color: #fff; }
.btn.light { background: #fff; color: var(--blue); box-shadow: 0 10px 28px rgba(0, 0, 0, .2); }
.btn.wa { background: #1fa855; box-shadow: 0 10px 28px rgba(31, 168, 85, .35); justify-self: start; }
.btn .ic { width: 22px; height: 22px; }

/* ---------- dark animated areas ---------- */
.hero, .page-head, .cta, .footer { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -2; animation: drift 14s ease-in-out infinite alternate; }
.o1 { width: 440px; height: 440px; background: #1f6feb; opacity: .5; top: -120px; inset-inline-start: -100px; }
.o2 { width: 380px; height: 380px; background: #12aaee; opacity: .35; bottom: -140px; inset-inline-end: -60px; animation-delay: -5s; }
.o3 { width: 260px; height: 260px; background: #7c4dff; opacity: .28; top: 30%; inset-inline-end: 30%; animation-delay: -9s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }

/* hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding-block: 120px 80px; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; width: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); font-size: .85rem; font-weight: 600; color: #cfe6ff; margin-bottom: 22px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #3be8a0; box-shadow: 0 0 0 0 rgba(59, 232, 160, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(59, 232, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 232, 160, 0); } }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 20px; }
.rot { display: inline-block; min-height: 1.2em; background: linear-gradient(90deg, #6cc8ff, #12aaee, #8b7bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rot::after { content: ""; display: inline-block; width: 4px; height: .9em; margin-inline-start: 6px; background: #12aaee; vertical-align: -.05em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero p { font-size: 1.2rem; color: #b7c9e8; max-width: 540px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.scroll { position: absolute; bottom: 24px; left: 50%; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; transform: translateX(-50%); }
.scroll i { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.6s infinite; }
@keyframes wheel { 60% { transform: translateY(14px); opacity: 0; } }

/* hero scene */
.scene { position: relative; height: 440px; direction: ltr; }
.dash { position: absolute; inset: 40px 20px 50px 30px; border-radius: 22px; background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); padding: 18px; animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(.6deg); } }
.dash-bar { display: flex; gap: 7px; align-items: center; margin-bottom: 18px; }
.dash-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f6d; }
.dash-bar i:nth-child(2) { background: #ffc371; }
.dash-bar i:nth-child(3) { background: #3be8a0; }
.dash-bar span { flex: 1; height: 10px; margin-left: 10px; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.dash-body { display: grid; grid-template-columns: 110px 1fr; grid-template-rows: 1fr auto; gap: 16px; height: calc(100% - 40px); }
.ring { position: relative; display: grid; place-items: center; align-self: start; }
.ring svg { width: 110px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3.5; }
.ring .bg { stroke: rgba(255, 255, 255, .12); }
.ring .fg { stroke: #3be8a0; stroke-linecap: round; stroke-dasharray: 97.4; stroke-dashoffset: 97.4; animation: ringfill 2.2s .6s ease forwards; }
@keyframes ringfill { to { stroke-dashoffset: 1; } }
.ring b { position: absolute; font-size: 1.4rem; color: #fff; }
.bars { display: flex; align-items: flex-end; gap: 9px; height: 110px; align-self: start; }
.bars i { flex: 1; height: var(--h); border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #6cc8ff, #2b5cab); transform-origin: bottom; animation: rise 1.2s ease both, bar 3.6s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: .1s, .4s; } .bars i:nth-child(3) { animation-delay: .2s, .8s; } .bars i:nth-child(4) { animation-delay: .3s, 1.2s; } .bars i:nth-child(5) { animation-delay: .4s, 1.6s; } .bars i:nth-child(6) { animation-delay: .5s, 2s; }
@keyframes rise { from { transform: scaleY(0); } }
@keyframes bar { 50% { transform: scaleY(.78); } }
.line { grid-column: 1 / -1; width: 100%; height: 90px; }
.line path { fill: none; stroke: #12aaee; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 3s .8s ease forwards; filter: drop-shadow(0 0 8px #12aaee); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chip { position: absolute; display: flex; align-items: center; gap: 9px; padding: 10px 16px 10px 12px; border-radius: 99px; background: #fff; color: var(--navy2); font-weight: 700; font-size: .88rem; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); animation: float 5s ease-in-out infinite; }
.chip .ic { width: 22px; height: 22px; color: var(--cyan); }
.c1 { top: 0; left: 0; } .c2 { top: 70px; right: -6px; animation-delay: -1.2s; } .c3 { bottom: 70px; left: -14px; animation-delay: -2.4s; } .c4 { bottom: 0; right: 24px; animation-delay: -3.6s; }
@keyframes float { 50% { transform: translateY(-14px); } }
.dot { position: absolute; border-radius: 50%; background: var(--cyan); opacity: .8; animation: float 6s ease-in-out infinite; }
.d1 { width: 14px; height: 14px; top: 38%; left: -26px; } .d2 { width: 9px; height: 9px; top: 12%; right: 26%; animation-delay: -2s; } .d3 { width: 18px; height: 18px; bottom: 22%; right: -22px; animation-delay: -4s; background: #8b7bff; }

/* marquee */
.marquee { overflow: hidden; direction: ltr; }
.marquee .track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee.rev .track { animation-direction: reverse; }
.marquee .seq { display: flex; flex: none; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee.bar { background: var(--grad); color: #fff; font-weight: 700; padding-block: 14px; }
.marquee.bar span { padding-inline: 28px; white-space: nowrap; position: relative; }
.marquee.bar span::after { content: "✦"; position: absolute; inset-inline-end: -6px; opacity: .7; }
.clients-m { padding-block: 10px; }
.clients-m span { margin-inline: 8px; padding: 12px 26px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-weight: 700; color: var(--navy2); white-space: nowrap; box-shadow: 0 6px 18px rgba(7, 20, 46, .05); }
.marquee .track { animation-duration: 55s; }

/* stats */
.stats { background: linear-gradient(180deg, var(--navy), var(--navy2)); color: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding-block: 44px; gap: 20px; }
.stats b { display: block; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; font-weight: 800; background: linear-gradient(90deg, #6cc8ff, #12aaee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: #b7c6e4; }

/* ---------- sections ---------- */
.section { padding-block: 96px; }
.section.alt { background: var(--alt); }
.section.tight { padding-block: 72px 56px; overflow: hidden; }
.head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.head h2, .about h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; }
.head h2::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 3px; background: var(--grad); margin: 14px auto 0; }
.head p { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.more { margin-top: 40px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.page-head { padding-block: 150px 70px; text-align: center; }
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
.page-head p { color: #b7c9e8; font-size: 1.15rem; margin: 0 auto; max-width: 640px; }
.crumbs { display: inline-flex; gap: 8px; padding: 6px 16px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); font-size: .85rem; margin-bottom: 18px; color: #b7c9e8; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs i { opacity: .5; font-style: normal; }

.icon { width: 60px; height: 60px; border-radius: 18px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 10px 24px rgba(18, 170, 238, .35); transition: transform .4s; }
.ic { width: 26px; height: 26px; }
.card:hover .icon, .panel:hover .icon { transform: rotate(-8deg) scale(1.1); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card, .panel { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: box-shadow .3s, border-color .3s; }
.card::before, .panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(18, 170, 238, .14), transparent 45%); opacity: 0; transition: opacity .3s; }
.card:hover, .panel:hover { box-shadow: 0 24px 50px rgba(15, 42, 82, .14); border-color: transparent; }
.card:hover::before, .panel:hover::before { opacity: 1; }
.card h3 { font-size: 1.15rem; position: relative; }
.card p { color: var(--muted); margin: 0; position: relative; }
.card .num { position: absolute; top: 14px; inset-inline-end: 22px; font-size: 3rem; font-weight: 800; color: var(--line); line-height: 1; }
.panel h2 { font-size: 1.8rem; font-weight: 800; position: relative; }
.panel p { color: var(--muted); font-size: 1.1rem; margin: 0; position: relative; }
.tilt { transform-style: preserve-3d; }

/* showcase illustrated tiles */
.showcase { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { margin: 0; position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 11; background: linear-gradient(135deg, var(--blue), var(--navy2)); box-shadow: 0 16px 40px rgba(15, 42, 82, .18); transition: box-shadow .3s; }
.tile:hover { box-shadow: 0 28px 60px rgba(15, 42, 82, .3); }
.showcase .tile:nth-child(1), .showcase .tile:nth-child(2), .showcase .tile:nth-child(3) { grid-column: span 2; }
.showcase .tile:nth-child(4), .showcase .tile:nth-child(5) { grid-column: span 3; }
.tile-laptop { background: linear-gradient(135deg, #7048e8, #2b1b6b); }
.tile-cloud { background: linear-gradient(135deg, #0ca678, #064e3b); }
.tile-sms { background: linear-gradient(135deg, #f08c00, #8a3b00); }
.tile-marketing { background: linear-gradient(135deg, #e64980, #5a1130); }
.tile svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .5s; }
.tile:hover svg { transform: scale(1.06); }
.tile figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 40px 22px 16px; background: linear-gradient(0deg, rgba(7, 20, 46, .8), transparent); color: #fff; font-weight: 700; font-size: 1.1rem; }

/* scene animations */
.blink { animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .1; } }
.scan { animation: scan 3.5s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; }
@keyframes scan { 0%, 100% { transform: rotate(-9deg); opacity: .5; } 50% { transform: rotate(9deg); opacity: 1; } }
.spin { animation: spin 5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
svg .float { animation: sfloat 4s ease-in-out infinite; }
svg .float.d2 { animation-delay: -2s; }
@keyframes sfloat { 50% { transform: translateY(-9px); } }
.flow { animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.led { animation: blink 1.6s steps(1) infinite; }
.led.l2 { animation-delay: -.5s; } .led.l3 { animation-delay: -1s; }
.pop { transform-box: fill-box; transform-origin: center; animation: pop 5s infinite both; }
.p2 { animation-delay: .7s; } .p3 { animation-delay: 1.4s; } .p4 { animation-delay: 2.1s; }
@keyframes pop { 0% { transform: scale(0); opacity: 0; } 8%, 85% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.grow { transform-box: fill-box; transform-origin: bottom; animation: grow 3s ease-in-out infinite alternate; }
.g2 { animation-delay: .3s; } .g3 { animation-delay: .6s; }
@keyframes grow { from { transform: scaleY(.45); } }
.trend { animation: draw2 3s ease-in-out infinite alternate; }
@keyframes draw2 { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
.waves path { animation: wave 1.6s ease-in-out infinite; }
.waves .w2 { animation-delay: .3s; }
@keyframes wave { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; inset-inline: 12% 12%; height: 3px; background: repeating-linear-gradient(90deg, var(--cyan) 0 10px, transparent 10px 20px); opacity: .5; }
.step { position: relative; text-align: center; }
.step span { position: relative; display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 1.6rem; font-weight: 800; box-shadow: 0 0 0 8px #fff, 0 12px 30px rgba(18, 170, 238, .4); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); }

/* why */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why-item { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; font-weight: 600; transition: transform .25s, box-shadow .25s; }
.why-item:hover { transform: translateX(6px); box-shadow: 0 14px 30px rgba(15, 42, 82, .1); }
[dir="rtl"] .why-item:hover { transform: translateX(-6px); }
.why-item .ic { flex: none; width: 34px; height: 34px; color: #fff; padding: 7px; border-radius: 50%; background: var(--grad); }
.alt .why-item { border-color: transparent; }

/* about */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-art { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin-inline: auto; display: grid; place-items: center; direction: ltr; }
.since { position: relative; z-index: 2; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-content: center; text-align: center; box-shadow: 0 20px 60px rgba(18, 170, 238, .5); }
.since small { font-size: .9rem; opacity: .85; letter-spacing: .1em; text-transform: uppercase; }
.since b { font-size: 2.6rem; line-height: 1; }
.orbit { position: absolute; inset: 8%; border: 2px dashed rgba(43, 92, 171, .35); border-radius: 50%; animation: spin 40s linear infinite; }
.orbit.r2 { inset: -2%; border-color: rgba(18, 170, 238, .3); animation-direction: reverse; animation-duration: 60s; }
.art-card { position: absolute; z-index: 3; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 20px; background: #fff; color: var(--blue); box-shadow: 0 16px 40px rgba(15, 42, 82, .2); animation: float 5s ease-in-out infinite; }
.art-card .ic { width: 32px; height: 32px; }
.a1 { top: 4%; left: 42%; } .a2 { top: 42%; right: 0; animation-delay: -1.5s; } .a3 { bottom: 2%; left: 40%; animation-delay: -3s; } .a4 { top: 42%; left: 0; animation-delay: -4.5s; }

/* clients page grid */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.client { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: #fff; transition: box-shadow .3s, border-color .3s; }
.client:hover { box-shadow: 0 16px 36px rgba(15, 42, 82, .12); border-color: transparent; }
.client b { font-weight: 600; font-size: .95rem; }
.mono { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; font-family: "Inter", sans-serif; }

/* cta */
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 72px; }
.cta { background: linear-gradient(120deg, var(--blue), #0b7fc6 55%, var(--cyan)); background-size: 200% 100%; animation: shift 10s ease-in-out infinite alternate; }
@keyframes shift { to { background-position: 100% 0; } }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 6px; }
.cta p { margin: 0; opacity: .92; font-size: 1.1rem; }

/* contact */
.info { display: grid; gap: 26px; align-content: start; }
.info-row { display: flex; gap: 18px; align-items: flex-start; }
.info-row > .ic { flex: none; width: 58px; height: 58px; padding: 15px; border-radius: 18px; background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(18, 170, 238, .35); }
.info-row h3 { margin-bottom: 4px; font-size: 1.1rem; }
.info-row p { margin: 0 0 4px; color: var(--muted); }
.link { font-weight: 700; text-decoration: none; }
form { display: grid; gap: 16px; background: #fff; padding: 32px; border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(15, 42, 82, .1); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--navy2); }
input, textarea { font: inherit; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--alt); color: var(--text); width: 100%; transition: .2s; }
input:focus, textarea:focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(18, 170, 238, .15); }
form .btn { justify-self: start; }
form small { color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: 0; padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.form-msg.ok { background: #e6f8ee; color: #167a43; }
.form-msg.bad { background: #fdebee; color: #b3261e; }
button:disabled { opacity: .6; cursor: wait; }

/* footer */
.footer { padding-top: 24px; color: #b7c6e4; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-block: 56px 32px; }
.foot-logo { display: inline-block; background: #fff; padding: 8px 16px; border-radius: 14px; margin-bottom: 16px; }
.foot-logo img { height: 40px; display: block; }
.footer h4 { color: #fff; margin-bottom: 14px; }
.footer a { color: #b7c6e4; text-decoration: none; display: inline-block; transition: color .2s; }
.footer a:hover { color: #fff; }
.foot-in > div:nth-child(2) a { display: block; padding: 3px 0; }
.copy { border-top: 1px solid rgba(255, 255, 255, .12); text-align: center; padding: 20px; font-size: .9rem; position: relative; }
.totop { margin-inline-start: 14px; color: var(--cyan) !important; font-weight: 700; }

/* reveal: only hidden when JS is running; site.js also force-shows after a timeout */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease var(--d, 0ms), transform .7s ease var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.in.tilt { transition: opacity .7s ease var(--d, 0ms), transform .15s ease-out, box-shadow .3s; }

@media (max-width: 960px) {
  .burger { display: flex; }
  /* the menu is part of the header pill: it grows downward out of it, same white surface */
  .nav-in { flex-wrap: wrap; border-radius: 33px; transition: box-shadow .3s; }
  .logo { order: 1; }
  .nav-end { order: 2; margin-inline-start: auto; }
  #menu {
    order: 3; flex-basis: 100%; flex-direction: column; gap: 2px; margin: 0;
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height .35s ease, opacity .25s ease, visibility .35s, padding .35s;
  }
  #menu.open { max-height: 420px; opacity: 1; visibility: visible; padding: 4px 4px 14px; border-top: 1px solid var(--line); margin-top: 4px; }
  #menu a { padding: 13px 18px; border-radius: 16px; }
  .hero { padding-block: 120px 70px; min-height: 0; }
  .hero-in, .two, .row, .foot-in, .about { grid-template-columns: 1fr; }
  .scene { height: 380px; max-width: 480px; margin-inline: auto; width: 100%; }
  .scroll { display: none; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: repeat(2, 1fr); }
  .showcase .tile:nth-child(n) { grid-column: span 1; }
  .showcase .tile:nth-child(5) { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .section { padding-block: 64px; }
  .about { gap: 40px; }
}
@media (max-width: 600px) {
  .cards, .why, .clients, .showcase, .steps { grid-template-columns: 1fr; }
  .showcase .tile:nth-child(5) { grid-column: span 1; }
  .scene { height: 340px; }
  .chip { font-size: .78rem; padding: 8px 12px 8px 9px; }
  .nav-in { padding-inline: 8px; }
  .lang { padding: 7px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .ring .fg { stroke-dashoffset: 1; } .line path { stroke-dashoffset: 0; }
}
