/*
Theme Name: Digex
Author: Digex
Description: Thème d'agence digitale pour Digex (Rabat) : carte animée du Maroc, services, secteurs, réalisations avec chiffres avant/après, guides. Réglages dans le menu Digex. Référencement intégré : descriptions, partage social, données structurées schema.org, llms.txt pour les assistants IA.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digex-theme
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #0c1438;
	--ink-2: #3a4566;
	--ink-3: #5c6888;
	--sky: #2453f5;
	--sky-deep: #0533f2;
	--sky-2: #6b8aff;
	--sky-pale: #eef2fe;
	--sky-mist: #dbe3fd;
	--white: #fff;
	--sun: #f2b233;
	--live: #3ad07a;
	--wa: #25d366;
	--night: #0b1b3a;
	--brand: #0533f2;
	--brand-light: #6b8aff;
	--line: rgba(14, 35, 70, .12);
	--glass: rgba(255, 255, 255, .72);
	--glass-line: rgba(255, 255, 255, .7);
	--shadow-sm: 0 1px 2px rgba(12, 20, 56, .04), 0 3px 10px rgba(12, 20, 56, .04);
	--shadow: 0 1px 3px rgba(12, 20, 56, .05), 0 14px 36px rgba(12, 20, 56, .09);
	--radius: 18px;
	--radius-sm: 10px;
	--sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--head: "Poppins", "Instrument Sans", system-ui, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--gutter: clamp(16px, 4vw, 40px);
	--hh: 76px;
	--z-header: 50;
	--z-float: 40;
	--z-dots: 30;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 12px); }
body {
	margin: 0;
	background: var(--sky-pale);
	color: var(--ink);
	font: 400 17px/1.6 var(--sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
/* Highlighted words in titles: same bold face, no italic, brand colour. */
:is(h1, h2, h3, h4, .title) em { font-style: normal; font-weight: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sun); color: var(--ink); }
.screen-reader-text, .form__hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; transform: translateY(-160%); }
.skip:focus { transform: none; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(780px, 100% - 2 * var(--gutter)); }
.center { text-align: center; display: flex; justify-content: center; }
.muted { color: var(--ink-3); }

/* ---------- Type helpers ---------- */
.title { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.title--lg { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.title--xl { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.title em, .page-hero__title em { color: var(--sky-deep); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.16rem); color: var(--ink-2); max-width: 60ch; }
.label {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
	font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sky-deep);
}
.label__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: stretch; gap: 4px; min-height: 48px; }
.btn > span {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--ink); color: #fff; border: 0; border-radius: 4px;
	transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn__arrow { width: 48px; }
.btn__arrow .icon { width: 20px; transition: transform .3s var(--ease-out); }
.btn__text { padding: 0 22px; font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.btn:hover .btn__arrow .icon { transform: translateX(3px); }
.btn:hover > span { background: var(--sky-deep); }
.btn:active > span { transform: scale(.97); }
button.btn { background: none; border: 0; padding: 0; }
.btn--light > span { background: #fff; color: var(--ink); }
.btn--light:hover > span { background: var(--sky-pale); }
.btn--sm { min-height: 42px; }
.btn--sm .btn__arrow { width: 42px; }
.btn--sm .btn__text { padding: 0 16px; font-size: 12px; }
.link {
	display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; min-height: 44px;
	font-weight: 500; border-bottom: 1.5px solid currentColor; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
}
.link .icon { width: 18px; transition: transform .3s var(--ease-out); }
.link:hover .icon { transform: translateX(4px); }
.link--light { color: #fff; }
.round-btn {
	display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), background .2s;
}
.round-btn .icon { width: 20px; }
.round-btn:hover { background: var(--ink); color: #fff; }
.round-btn:active { transform: scale(.94); }
.chip {
	display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 9px; border-radius: 999px;
	font-size: 14.5px; font-weight: 500; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .45);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chip__dot { width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px rgba(5, 51, 242, .6); }
.pill {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
	background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 500; transition: background .2s, color .2s;
}
.pill:hover, .pill.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.checks { display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.checks .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--sky); color: #fff; stroke-width: 2.4; }
.checks--lg li { font-size: 16.5px; color: var(--ink); }

/* ---------- Sky, clouds, stars ---------- */
.sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
/* Clouds: transparent WebP painted by Codex, each layer moves at its own depth on scroll. */
.cloud {
	position: absolute; width: var(--w, 520px); aspect-ratio: var(--ar, 2.22);
	background: var(--img, url(assets/img/nuages/nuage-01.webp)) center / contain no-repeat;
	opacity: var(--o, .9);
	translate: 0 calc(var(--scroll, 0) * var(--depth, .4) * -1px);
	animation: drift var(--t, 90s) linear infinite alternate;
}
.cloud--1 { --w: 640px; --t: 110s; left: -24%; top: 50%; }
.cloud--2 { --img: url(assets/img/nuages/nuage-02.webp); --ar: 1.78; --w: 460px; --t: 80s; right: -12%; top: -4%; --o: .85; }
.cloud--3 { --img: url(assets/img/nuages/nuage-04.webp); --ar: 1.67; --w: 300px; --t: 95s; right: 6%; top: 52%; --o: .75; }
.cloud--4 { --img: url(assets/img/nuages/nuage-03.webp); --ar: 3.43; --w: 900px; --t: 120s; left: -18%; bottom: -6%; --o: .95; }
.sun {
	position: absolute; right: 12%; top: -180px; width: 520px; aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 236, 190, .55), rgba(255, 236, 190, 0) 65%);
	animation: breathe 9s ease-in-out infinite;
}
.sky--soft .cloud { --o: .6; filter: blur(2px); }
.sky--night { background: radial-gradient(120% 80% at 50% 0%, #17336a 0%, var(--night) 60%); }
.sky__stars {
	position: absolute; inset: -50%;
	background-image:
		radial-gradient(1.5px 1.5px at 20px 30px, #fff, transparent),
		radial-gradient(1px 1px at 120px 80px, rgba(255, 255, 255, .8), transparent),
		radial-gradient(1.2px 1.2px at 200px 160px, #fff, transparent),
		radial-gradient(1px 1px at 60px 190px, rgba(255, 255, 255, .7), transparent),
		radial-gradient(1.6px 1.6px at 260px 40px, rgba(255, 236, 190, .9), transparent);
	background-size: 300px 220px; opacity: .55; animation: twinkle 6s ease-in-out infinite alternate;
	translate: 0 calc(var(--scroll, 0) * -.04px);
}

/* ---------- Promo bar ---------- */

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: var(--z-header); height: var(--hh);
	transition: background .35s var(--ease), box-shadow .35s var(--ease), color .35s;
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.site-header.is-scrolled, .site-header:not(.site-header--hero) {
	background: rgba(238, 242, 254, .84); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
	box-shadow: 0 1px 0 var(--line);
}
.site-header--hero:not(.is-scrolled) { color: #fff; }
.site-header.is-hidden { translate: 0 -100%; }
.site-header { transition: translate .4s var(--ease), background .35s var(--ease), box-shadow .35s, color .35s; }
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo__img { width: auto; height: 30px; }
.logo__img--light { display: none; }
.site-header--hero:not(.is-scrolled) .logo__img--dark { display: none; }
.site-header--hero:not(.is-scrolled) .logo__img--light { display: block; }
.logo--custom img { width: auto; max-height: 40px; }
.logo .logo__img .mark, .logo:hover .logo__img { transition: opacity .2s; }
.logo:hover .logo__img { opacity: .85; }
.site-nav { margin-inline: auto; }
.site-nav__list { display: flex; gap: 6px; }
.site-nav__list a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-weight: 500; font-size: 16px; }
.site-nav__list a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1.5px; background: currentColor;
	transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.site-nav__list a:hover::after, .site-nav__list .current-menu-item a::after { transform: scaleX(1); transform-origin: left; }
.site-nav__mobile-cta { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: currentColor; }
.menu-toggle__bars { display: grid; gap: 7px; width: 26px; margin: auto; }
.menu-toggle__bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] i:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden; margin-top: calc(-1 * var(--hh));
	padding-top: calc(var(--hh) + clamp(24px, 5vh, 56px)); color: #fff; text-align: center;
	background: linear-gradient(180deg, #0533f2 0%, #2453f5 30%, #5079fa 58%, #a7bcfd 82%, var(--sky-pale) 100%);
}
.hero .sky { translate: calc(var(--mx, 0) * -14px) calc(var(--my, 0) * -10px); transition: translate 1.2s var(--ease-out); }
.hero__grid { position: relative; z-index: 2; }
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
/* Desktop: pitch on the left, animated map on the right. */
@media (min-width: 960px) {
	.hero { min-height: min(100svh, 980px); padding-bottom: clamp(56px, 9vh, 110px); text-align: left; background: linear-gradient(180deg, #0533f2 0%, #2453f5 34%, #5079fa 64%, #a7bcfd 86%, var(--sky-pale) 100%); }
	.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
	.hero__inner { align-items: flex-start; }
	.hero__title { font-size: clamp(2.6rem, 4.7vw, 4.6rem); }
	.hero__rotator { margin-top: .12em; font-size: .64em; line-height: 1.12; }
	.hero__text { max-width: 540px; }
	.hero__actions { justify-content: flex-start; }
	.hero .constellation { --mw: min(500px, 38vw); width: 100%; margin: 0; }
}
.hero__chip { margin-bottom: 22px; }
.hero__title { font-size: clamp(2.4rem, 6vw, 5.2rem); line-height: 1.04; letter-spacing: -.035em; }
.hero__line { display: block; }
.hero__line--accent { margin-top: .02em; color: #cddaff; }
/* Dynamic half of the hero title: one phrase per service. */
.hero__rotator { position: relative; display: block; font-style: normal; }
.hero__phrase { display: block; transition: opacity .45s var(--ease), translate .6s var(--ease-out), filter .45s; }
.hero__phrase.is-out { opacity: 0; translate: 0 -.45em; filter: blur(4px); }
.hero__phrase.is-pre { opacity: 0; translate: 0 .55em; filter: blur(4px); transition: none; }
.fx .hero__rotator { opacity: 0; animation: fade-up .9s .65s var(--ease-out) forwards; }
.hero__title .w { display: inline-block; overflow: hidden; padding: .02em .02em .12em; margin-bottom: -.12em; vertical-align: top; }
.hero__title .w > span { display: inline-block; }
.hero__text { max-width: 600px; margin-top: 22px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: rgba(255, 255, 255, .92); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 26px; margin-top: 28px; }

/* Constellation: the whole map of Morocco (Sahara included), cities linked to Rabat, on a tilted plane. */
.constellation {
	--mw: min(560px, 60vw);
	position: relative; z-index: 1; width: min(1240px, 100%); margin: 40px auto 0;
	height: calc(var(--mw) * 1.08 + 20px); perspective: 1600px; pointer-events: none;
}
.constellation__plane {
	position: absolute; left: 50%; top: 0; width: var(--mw); translate: -50% 0;
	transform: rotateX(calc(var(--my, 0) * -10deg)) rotateY(calc(var(--mx, 0) * 12deg)) translateY(calc(var(--scroll, 0) * -.04px));
	transform-origin: 50% 40%; transform-style: preserve-3d; transition: transform 1.2s var(--ease-out);
}
/* Service icons orbiting the map: behind it on the far side of the ring, in front on the near side. */
.constellation__plane { z-index: 1; }
.orbit { position: absolute; inset: 0; pointer-events: none; }
.orbit__ring {
	position: absolute; left: 50%; top: 50%; width: calc(var(--rx, 300) * 2px); height: calc(var(--ry, 90) * 2px);
	border: 1.5px dashed rgba(255, 255, 255, .38); border-radius: 50%; translate: -50% -50%; rotate: var(--tilt, -14deg);
}
.orbit__item {
	position: absolute; left: 0; top: 0; z-index: 0; display: grid; place-items: center;
	width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
	background: #fff; box-shadow: 0 10px 24px -8px rgba(5, 20, 80, .45), 0 0 0 4px rgba(255, 255, 255, .18);
	opacity: 0; will-change: transform;
}
.orbit__item.is-front { z-index: 2; }
.orbit.is-on .orbit__item { opacity: var(--a, 1); transition: opacity .6s; }
.orbit__item .ico-anim { width: 28px; height: 28px; }
.constellation__map { display: block; width: 100%; overflow: visible; color: rgba(255, 255, 255, .22); }
.constellation__sea { fill: rgba(255, 255, 255, .6); font: 700 34px var(--head); letter-spacing: .02em; }
.map__contour { fill: none; stroke: #fff; stroke-width: var(--w); stroke-opacity: .045; stroke-linejoin: round; }
.map__fill { fill: rgba(255, 255, 255, .1); }
.map__dots { opacity: .32; }
.map__dots-hot { opacity: .9; }
.map__outline { fill: none; stroke: #fff; stroke-width: 2.4; stroke-opacity: .85; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .5)); }
.map__relief path { fill: none; stroke: #fff; stroke-width: 3.2; stroke-opacity: .7; stroke-linecap: round; stroke-linejoin: round; }
.map__relief .map__dunes { stroke: var(--sun); stroke-opacity: .85; }
.map__waves path { fill: none; stroke: #fff; stroke-width: 3; stroke-opacity: .45; stroke-linecap: round; }
.map__radar circle { fill: none; stroke: var(--sun); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.map__packets circle { fill: var(--sun); filter: drop-shadow(0 0 6px rgba(242, 178, 51, .9)); }
.constellation__links path { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.constellation__links path.is-hot { stroke: var(--sun); stroke-width: 2.6; }
.city__dot { fill: #fff; }
.city--big .city__dot { fill: #fff; stroke: rgba(255, 255, 255, .45); stroke-width: 10; }
.city--rabat .city__dot { fill: var(--sun); stroke: rgba(242, 178, 51, .35); stroke-width: 16; }
.city__halo { opacity: 0; transform-box: fill-box; transform-origin: center; }
.city.is-ping .city__halo { animation: ping 1.4s var(--ease-out); }
.city--quiet text, .city--rabat text { display: none; }
/* With motion, a city name only shows while the yellow ray goes to it. */
.fx .constellation .city text { opacity: 0; transition: opacity .45s var(--ease); }
.fx .constellation .city.is-named text { display: block; opacity: 1; }
.city text { fill: #fff; font: 600 36px var(--sans); paint-order: stroke; stroke: rgba(20, 70, 160, .35); stroke-width: 6px; }
.city--big text { font: 700 44px var(--head); }
.constellation__hub {
	position: absolute; left: 50%; top: 4%; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
	box-shadow: var(--shadow); translate: -50% calc(-100% - 12px);
}
.constellation__hub .mark { width: 22px; height: 14px; color: var(--brand-light); }
.constellation__pills { position: absolute; inset: 0; z-index: 2; }
.site-pill {
	position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 9px;
	border-radius: 10px; background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: var(--shadow);
	font-size: 13px; font-weight: 500; white-space: nowrap; translate: -50% calc(-100% - 14px);
	opacity: 0; scale: .9; transition: opacity .35s var(--ease), scale .45s var(--ease-out);
}
.site-pill::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; rotate: 45deg; translate: -50% 0; border-radius: 2px; }
.site-pill.is-on { opacity: 1; scale: 1; }
.site-pill.is-leaving { opacity: 0; scale: .96; }
.site-pill .icon { width: 14px; color: var(--ink-3); }
.site-pill__url { min-width: 1ch; }
.site-pill__url::after { content: "|"; margin-left: 1px; color: var(--sky); animation: blink 1s steps(1) infinite; }
.site-pill.is-done .site-pill__url::after { display: none; }
.site-pill__live { display: inline-flex; align-items: center; gap: 5px; color: #138a48; font-size: 12px; opacity: 0; transition: opacity .3s; }
.site-pill__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.site-pill.is-done .site-pill__live { opacity: 1; }

/* ---------- Tools: real brand logos ---------- */
.tools { padding: clamp(40px, 5vw, 64px) 0 0; }
.tools__head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.tools__title { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.02em; }
.tools__rail { overflow: hidden; margin-top: 26px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tools__track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.tools__rail:hover .tools__track { animation-play-state: paused; }
.tool { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 600; font-size: 15px; white-space: nowrap; }
.tool .brand { width: 26px; height: 26px; flex: none; }
.tool .brand--wide { width: 72px; height: auto; max-height: 26px; }
.brand { display: block; }
/* Logo badges on service visuals. */
.service-card__media, .service-detail__media { position: relative; }
.tool-badges { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; }
.tool-badge { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px -6px rgba(5, 20, 80, .35); }
.tool-badge .brand { width: 21px; height: 21px; }
.tool-badge--wide { width: 66px; border-radius: 999px; }
.tool-badge--wide .brand { width: 50px; height: auto; max-height: 20px; }
.service-detail__media .tool-badges { left: 18px; bottom: 18px; gap: 8px; }
.service-detail__media .tool-badge { width: 48px; height: 48px; }
.service-detail__media .tool-badge .brand { width: 26px; height: 26px; }
.service-detail__media .tool-badge--wide { width: 84px; }
.service-detail__media .tool-badge--wide .brand { width: 64px; height: auto; max-height: 26px; }
@media (max-width: 640px) {
	.tool { padding: 8px 14px 8px 10px; font-size: 13.5px; }
	.tool .brand { width: 20px; height: 20px; }
}

/* ---------- Animated icons (Codex set): still by default, play on hover or when shown on touch screens ---------- */
.ico-anim { --dx-accent: var(--brand); display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; color: var(--ink); }
.ico-anim svg { width: 100%; height: 100%; overflow: visible; }
.ico-anim--sm { width: 26px; height: 26px; }
.ico-anim--lg { width: 48px; height: 48px; }
.ico-anim--xl { width: 64px; height: 64px; }
.ico-anim svg * { animation-play-state: paused !important; }
:is(a, .promise, .aside-card):is(:hover, :focus-visible) .ico-anim svg *, .ico-anim.is-playing svg * { animation-play-state: running !important; }
@media (hover: none) { .is-in .ico-anim svg * { animation-play-state: running !important; } }
.night .ico-anim { color: #fff; --dx-accent: var(--brand-light); }
.pole__list a .ico-anim { margin-right: 2px; }
.pole__list a > span:not(.ico-anim) { flex: 1; }
.service-card .ico-anim { margin-bottom: 4px; }
.promise__icon { margin-bottom: 14px; }

/* ---------- Services marquee ---------- */
.marquee { overflow: hidden; padding: clamp(18px, 3vw, 28px) 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: flex; align-items: center; }
.marquee li::after { content: ""; width: 10px; height: 10px; margin: 0 clamp(18px, 2.4vw, 32px); border-radius: 2px; background: var(--brand); rotate: 45deg; }
.marquee a { font: 700 clamp(1.5rem, 3.4vw, 2.6rem)/1.2 var(--head); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.2px var(--ink); white-space: nowrap; transition: color .3s; }
.marquee a:hover, .marquee a:focus-visible { color: var(--brand); -webkit-text-stroke-color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Key figures ---------- */
.figures { position: relative; z-index: 2; padding: clamp(16px, 3vw, 32px) 0 0; }
.figures__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--line); }
.figure { padding: 22px 24px; }
.figure + .figure { border-left: 1px solid var(--line); }
.figure__value { font-family: var(--head); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.figure__label { margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* ---------- Sections ---------- */
.section { position: relative; isolation: isolate; padding: clamp(56px, 7vw, 96px) 0; }
.section--tight { padding: clamp(32px, 4.5vw, 56px) 0; }
.section > .sky { z-index: -1; }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section__head .lead { margin-top: 18px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__more { margin-top: 40px; text-align: center; }

/* ---------- Story (pinned on desktop) ---------- */
.story { position: relative; padding-top: clamp(56px, 7vw, 96px); }
.story__intro { text-align: center; display: flex; flex-direction: column; align-items: center; }
.story__intro .lead { margin-top: 18px; }
.story__cue { margin-top: 24px; display: grid; justify-items: center; gap: 10px; font: 500 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.story__cue i { width: 1.5px; height: 44px; background: linear-gradient(var(--sky) 50%, transparent 50%) 0 0 / 100% 200%; animation: cue 1.8s var(--ease) infinite; }
.story__track { position: relative; }
.story__sticky { position: relative; }
.story__progress { display: none; }
.chapter { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; width: min(1240px, 100% - 2 * var(--gutter)); margin: clamp(40px, 6vw, 72px) auto; }
.chapter__num { font: 500 13px var(--mono); letter-spacing: .12em; color: var(--sky-deep); margin-bottom: 14px; }
.chapter__title { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: 14px; }
.chapter__text p:last-child { color: var(--ink-2); font-size: 1.1rem; max-width: 46ch; }
.scene { position: relative; min-height: 420px; display: grid; place-items: center; }

@media (min-width: 960px) {
	.fx .story__track { height: calc(var(--steps) * 90vh + 10vh); }
	.fx .story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
	.fx .chapter { position: absolute; inset: 0; margin: auto; height: min(560px, 80vh); pointer-events: none; }
	.fx .chapter__text > * { opacity: 0; translate: 0 26px; transition: opacity .5s var(--ease), translate .7s var(--ease-out); }
	.fx .chapter__text > :nth-child(2) { transition-delay: .06s; }
	.fx .chapter__text > :nth-child(3) { transition-delay: .12s; }
	.fx .chapter .scene { opacity: 0; scale: .94; translate: 0 30px; transition: opacity .5s var(--ease), scale .8s var(--ease-out), translate .8s var(--ease-out); }
	.fx .chapter.is-active { pointer-events: auto; }
	.fx .chapter.is-active .chapter__text > *, .fx .chapter.is-active .scene { opacity: 1; translate: 0 0; scale: 1; }
	.fx .chapter.is-past .chapter__text > *, .fx .chapter.is-past .scene { opacity: 0; translate: 0 -30px; }
	.fx .story__progress {
		display: grid; gap: 10px; position: absolute; left: var(--gutter); top: 50%; translate: 0 -50%; z-index: 2;
	}
	.fx .story__progress li { position: relative; width: 3px; height: 46px; border-radius: 3px; background: var(--sky-mist); overflow: hidden; }
	.fx .story__progress li::after { content: ""; position: absolute; inset: 0; background: var(--sky); transform: scaleY(var(--fill, 0)); transform-origin: top; }
	.fx .story__progress span { position: absolute; left: 12px; top: 0; font: 500 11px var(--mono); color: var(--ink-3); }
}

/* Scene 1 — search */
.mock-search {
	position: relative; width: min(560px, 100%); padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
	display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px;
}
.mock-search__bar {
	grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 18px; border-radius: 999px;
	border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 17px;
}
.mock-search__bar .icon { width: 20px; color: var(--ink-3); }
.caret { width: 1.5px; height: 22px; background: var(--sky); animation: blink 1s steps(1) infinite; }
.mock-search__results { display: grid; gap: 8px; }
.mock-search__results li { position: relative; display: grid; gap: 2px; padding: 12px; border-radius: 12px; font-size: 14px; transition: opacity .5s, translate .6s var(--ease-out); }
.mock-search__results li.is-you { background: #e8f1fd; box-shadow: inset 0 0 0 1.5px var(--sky); }
.mock-search__results b { font-size: 15.5px; }
.mock-search__results small { color: var(--ink-3); }
.mock-search__tag { position: absolute; right: 10px; top: 10px; padding: 3px 8px; border-radius: 999px; background: var(--sky); color: #fff; font-size: 11px; font-weight: 600; }
.stars { display: inline-flex; align-items: center; gap: 1px; color: #f5a623; font-size: 13px; font-weight: 600; }
.stars .icon { width: 14px; height: 14px; stroke-width: 0; }
.mock-map {
	position: relative; border-radius: 12px; overflow: hidden; min-height: 220px;
	background:
		linear-gradient(115deg, transparent 46%, #fff 46% 49%, transparent 49%),
		linear-gradient(25deg, transparent 58%, #ffd86b 58% 61%, transparent 61%),
		linear-gradient(160deg, transparent 30%, #fff 30% 32%, transparent 32%),
		radial-gradient(circle at 80% 20%, #bfe0ff 0 18%, transparent 19%),
		#e9eef4;
}
.mock-map i { position: absolute; left: var(--x); top: var(--y); width: 18px; height: 18px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: #e5484d; translate: -50% -100%; }
.mock-map i.is-you { background: var(--sky); width: 26px; height: 26px; box-shadow: 0 0 0 6px rgba(5, 51, 242, .2); }
.fx .chapter .mock-search__results li { opacity: 0; translate: 0 12px; }
.fx .chapter.is-active .mock-search__results li { opacity: 1; translate: 0 0; }
.fx .chapter.is-active .mock-search__results li:nth-child(1) { transition-delay: .9s; }
.fx .chapter.is-active .mock-search__results li:nth-child(2) { transition-delay: 1.05s; }
.fx .chapter.is-active .mock-search__results li:nth-child(3) { transition-delay: 1.2s; }
.fx .chapter .mock-map i { scale: 0; transition: scale .5s var(--ease-out); }
.fx .chapter.is-active .mock-map i { scale: 1; transition-delay: 1.3s; }
.fx .chapter.is-active .mock-map i.is-you { transition-delay: 1.6s; animation: bob 2.4s 2.2s ease-in-out infinite; }

/* Scene 2 — trust */
.mock-site { position: relative; width: min(560px, 100%); }
.mock-review {
	position: absolute; display: grid; gap: 6px; max-width: 260px; padding: 14px 16px; border-radius: 14px;
	background: #fff; box-shadow: var(--shadow); font-size: 14px; color: var(--ink-2);
}
.mock-review--1 { left: -6%; bottom: -8%; }
.mock-review--2 { right: -5%; top: 18%; }
.mock-badge {
	position: absolute; right: 6%; bottom: 10%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
	border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; box-shadow: var(--shadow);
}
.mock-badge .icon { width: 16px; color: var(--live); }
.fx .chapter .mock-review, .fx .chapter .mock-badge { opacity: 0; translate: 0 18px; scale: .96; transition: opacity .5s, translate .7s var(--ease-out), scale .7s var(--ease-out); }
.fx .chapter.is-active .mock-review, .fx .chapter.is-active .mock-badge { opacity: 1; translate: 0 0; scale: 1; }
.fx .chapter.is-active .mock-review--1 { transition-delay: .6s; }
.fx .chapter.is-active .mock-review--2 { transition-delay: .85s; }
.fx .chapter.is-active .mock-badge { transition-delay: 1.1s; }

/* Scene 3 — night */
.mock-night { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; width: min(600px, 100%); }
.mock-night__timeline { position: relative; display: grid; gap: 14px; }
.mock-night__timeline::before { content: ""; position: absolute; left: 70px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--ink), var(--wa), var(--sun)); }
.mock-night__timeline li {
	position: relative; display: grid; grid-template-columns: 50px 40px 1fr; column-gap: 12px; align-items: center;
	padding: 12px 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow-sm);
}
.mock-night__timeline .t { grid-row: span 2; font: 500 14px var(--mono); color: var(--ink-3); }
.mock-night__timeline .ico { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; z-index: 1; }
.mock-night__timeline .ico .icon { width: 20px; }
.ico--wa { background: var(--wa) !important; color: #fff; }
.ico--sun { background: var(--sun) !important; color: var(--ink) !important; }
.mock-night__timeline b { font-size: 16px; }
.mock-night__timeline small { color: var(--ink-3); font-size: 13.5px; }
.phone { width: 220px; aspect-ratio: 9 / 18.5; padding: 9px; border-radius: 36px; background: #1b2438; box-shadow: var(--shadow), inset 0 0 0 2px #3a4560; }
.phone__screen { position: relative; height: 100%; border-radius: 28px; overflow: hidden; padding: 46px 12px 0; text-align: center; color: #fff; background: linear-gradient(180deg, #1c3a78, #0b1b3a); }
.phone__screen::before { content: ""; position: absolute; left: 50%; top: 10px; width: 74px; height: 22px; border-radius: 12px; background: #000; translate: -50% 0; }
.phone__day { font-size: 14px; opacity: .8; }
.phone__time { font-family: var(--head); font-size: 50px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.phone__notif { display: flex; gap: 8px; margin-top: 54px; padding: 10px; border-radius: 14px; text-align: left; font-size: 12px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); }
.phone__notif > span { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; }
.phone__notif .icon { width: 16px; }
.phone__notif b { display: block; }
.fx .chapter .mock-night__timeline li { opacity: 0; translate: -16px 0; transition: opacity .5s, translate .6s var(--ease-out); }
.fx .chapter.is-active .mock-night__timeline li { opacity: 1; translate: 0 0; }
.fx .chapter.is-active .mock-night__timeline li:nth-child(2) { transition-delay: .7s; }
.fx .chapter.is-active .mock-night__timeline li:nth-child(3) { transition-delay: 1.3s; }
.fx .chapter .phone__notif { opacity: 0; translate: 0 -14px; transition: opacity .4s, translate .6s var(--ease-out); }
.fx .chapter.is-active .phone__notif { opacity: 1; translate: 0 0; transition-delay: .8s; }

/* Scene 4 — AI answer */
.mock-ai { display: grid; gap: 16px; width: min(540px, 100%); padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.mock-ai__q { justify-self: end; max-width: 80%; padding: 12px 16px; border-radius: 18px 18px 4px 18px; background: var(--ink); color: #fff; font-size: 15.5px; }
.mock-ai__a { display: grid; grid-template-columns: 36px 1fr; gap: 6px 12px; }
.mock-ai__avatar { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), #8a6cf0); color: #fff; }
.mock-ai__avatar .icon { width: 18px; }
.mock-ai__a p { min-height: 5.2em; font-size: 15.5px; color: var(--ink-2); }
.mock-ai__source { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #e8f1fd; color: var(--sky-deep); font-size: 13px; font-weight: 600; }
.mock-ai__source .icon { width: 13px; }
.fx .chapter .mock-ai__q { opacity: 0; translate: 0 10px; transition: opacity .4s, translate .5s var(--ease-out); }
.fx .chapter.is-active .mock-ai__q { opacity: 1; translate: 0 0; transition-delay: .3s; }
.fx .chapter .mock-ai__source { opacity: 0; scale: .9; transition: opacity .4s, scale .5s var(--ease-out); }
.fx .chapter .mock-ai__a.is-typed .mock-ai__source { opacity: 1; scale: 1; }

/* ---------- Browser frame ---------- */
.browser { overflow: hidden; border-radius: 14px; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .8); }
.browser__bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; background: #f3f6fa; border-bottom: 1px solid var(--line); }
.browser__dots { display: flex; gap: 5px; }
.browser__dots i { width: 9px; height: 9px; border-radius: 50%; background: #d5dce6; }
.browser__dots i:first-child { background: #ff6159; }
.browser__dots i:nth-child(2) { background: #ffbd2e; }
.browser__dots i:nth-child(3) { background: #28c941; }
.browser__url { flex: 1; display: inline-flex; align-items: center; gap: 6px; min-width: 0; height: 24px; padding: 0 10px; border-radius: 6px; background: #fff; font-size: 12.5px; color: var(--ink-2); }
.browser__url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser__url .icon { flex: none; width: 12px; }
.browser__live { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: #138a48; white-space: nowrap; }
.browser__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: live 2s infinite; }
.browser__screen { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sky-mist); }
.browser__screen img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease-out); }
.browser--xl .browser__screen { aspect-ratio: 16 / 9; }
.ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--sky-mist), #fff); }

/* ---------- Services / poles ---------- */
.poles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pole { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: translate .5s var(--ease-out), box-shadow .4s; }
.pole:hover { translate: 0 -6px; box-shadow: var(--shadow); }
.pole__media { aspect-ratio: 3 / 2; overflow: hidden; }
/* Person popping out of the card: the full visual sits in a frame clipped below its top, the cut-out person on top is not clipped. */
.poles:has(.pole__media--pop) { padding-top: clamp(40px, 6vw, 72px); }
.pole:has(.pole__media--pop) { overflow: visible; }
.pole__media--pop { position: relative; overflow: visible; margin-top: -12%; }
.pole__frame { position: absolute; inset: 0; clip-path: inset(18% 0 0 0 round var(--radius) var(--radius) 0 0); background: var(--sky-pale); }
.pole__frame img, .pole__pop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pole__pop { z-index: 1; pointer-events: none; transform-origin: 50% 100%; transition: translate .6s var(--ease-out), scale .6s var(--ease-out); filter: drop-shadow(0 12px 18px rgba(5, 20, 80, .18)); }
.pole:hover .pole__pop { translate: 0 -6px; scale: 1.02; }
.pole:hover .pole__media--pop img { scale: none; }
.pole__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease-out); }
.pole:hover .pole__media img { scale: 1.05; }
.pole__body { padding: 20px 22px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pole__num { font: 500 13px var(--mono); color: var(--sky-deep); letter-spacing: .1em; }
.pole__title { font-size: 1.5rem; }
.pole__text { color: var(--ink-2); }
.pole__list { margin-top: 6px; border-top: 1px solid var(--line); }
.pole__list li:last-child a { border-bottom: 0; }
.pole__list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--line); font-weight: 500; transition: color .2s, padding .3s var(--ease-out); }
.pole__list a .icon { width: 18px; color: var(--sky); transition: transform .3s var(--ease-out); }
.pole__list a:hover { color: var(--sky-deep); padding-left: 6px; }
.pole__list a:hover .icon { transform: translateX(4px); }

/* ---------- Sectors carousel ---------- */
.carousel { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 0 24px; outline-offset: -3px; }
.carousel::-webkit-scrollbar { display: none; }
.carousel__track { display: flex; gap: 18px; width: max-content; padding-inline: max(var(--gutter), (100vw - 1240px) / 2); }
.carousel__nav { display: flex; gap: 10px; }
.sector { scroll-snap-align: start; width: 272px; }
.sector > a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 10px 10px 16px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); transition: translate .5s var(--ease-out), box-shadow .4s, background .3s; }
.sector > a:hover { translate: 0 -6px; box-shadow: var(--shadow); background: #fff; }
.sector__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; margin-bottom: 8px; }
.sector__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease-out); }
.sector > a:hover .sector__media img { scale: 1.06; }
.sector__media--plain { display: grid; place-items: center; background: linear-gradient(135deg, hsl(var(--h) 70% 62%), hsl(calc(var(--h) + 40) 75% 78%)); }
.sector__initial { font: 700 88px/1 var(--head); color: rgba(255, 255, 255, .9); }
.sector__num { font: 500 12px var(--mono); color: var(--sky-deep); padding-inline: 6px; }
.sector__title { font-size: 1.12rem; padding-inline: 6px; }
.sector .checks { padding-inline: 6px; margin-top: 4px; }
.sector .checks li { font-size: 14.5px; }
.sector-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.sector-grid .sector { width: auto; }

/* ---------- Work ---------- */
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 18px; }
.work-card { translate: 0 calc(var(--shift, 0) * 1px); }
.work-card > a { display: block; }
.work-card .browser { transition: translate .5s var(--ease-out), box-shadow .4s; }
.work-card:hover .browser { translate: 0 -6px; box-shadow: 0 26px 60px rgba(14, 35, 70, .18); }
.work-card:hover .browser__screen img { scale: 1.05; }
.work-card__body { padding: 18px 4px 0; }
.work-card__meta { display: flex; gap: 12px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.work-card__meta span:first-child { color: var(--accent); filter: brightness(.8); }
.work-card__title { margin-top: 8px; font-size: 1.2rem; }
.work-card__text { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
/* Mobile: one swipeable row of filters, stuck under the header while the projects scroll. */
@media (max-width: 760px) {
	.filters-bar {
		position: sticky; top: var(--hh); z-index: 20; margin: 0 calc(-1 * var(--gutter)) 20px;
		background: rgba(238, 242, 254, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line);
	}
	.filters {
		flex-wrap: nowrap; gap: 6px; margin: 0; padding: 10px var(--gutter); overflow-x: auto; overscroll-behavior-x: contain;
		scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none;
		-webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent);
	}
	.filters.is-end { -webkit-mask-image: none; mask-image: none; }
	.filters::-webkit-scrollbar { display: none; }
	.filters li { flex: none; scroll-snap-align: start; }
	.filters .pill { min-height: 38px; padding: 0 13px; font-size: 14px; white-space: nowrap; }
	.filters .pill__count { min-width: 20px; height: 20px; margin-left: 5px; font-size: 11px; }
}


/* ---------- Method ---------- */
.method__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.method__head { position: sticky; top: calc(var(--hh) + 40px); }
.steps { position: relative; display: grid; gap: 12px; padding-left: 64px; }
.steps::before, .steps::after { content: ""; z-index: 0; position: absolute; left: 22px; top: 24px; bottom: 24px; width: 2px; border-radius: 2px; background: var(--sky-mist); }
.steps::after { background: linear-gradient(var(--sky), var(--sun)); transform: scaleY(var(--p, 0)); transform-origin: top; }
.step { position: relative; z-index: 1; padding: 20px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step__dot { position: absolute; left: -64px; top: 22px; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--sky-mist); font: 600 15px var(--mono); color: var(--ink-3); transition: background .4s, color .4s, border-color .4s; }
.step.is-in .step__dot { background: var(--sky); border-color: var(--sky); color: #fff; }
.step__when { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--sky-deep); }
.step__title { margin: 6px 0; font-size: 1.25rem; }
.step p:last-child { color: var(--ink-2); }

/* ---------- Offer ---------- */
.offer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.offer__head .lead { margin-top: 18px; }
.offer__card { position: relative; display: grid; gap: 20px; padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.offer__card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--sky), var(--sun)); }
.offer__price { display: grid; gap: 4px; }
.offer__from { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.offer__price strong { font-family: var(--head); font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -.04em; line-height: 1; }
.offer__sub { margin-top: 14px; font: 700 clamp(1.15rem, 1.8vw, 1.45rem) / 1.3 var(--head); color: var(--ink); }
.offer__small { font-size: 13.5px; color: var(--ink-3); }

/* ---------- Night section ---------- */
.night { color: #fff; }
.night .title em { color: #9cc4ff; }
.night .label { color: #9cc4ff; }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promises--4 { grid-template-columns: repeat(4, 1fr); }
.promise { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .3s, translate .5s var(--ease-out); }
.promise:hover { background: rgba(255, 255, 255, .1); translate: 0 -4px; }
.promise__check { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 50%; background: var(--sky); color: #fff; font: 600 15px var(--mono); }
.promise__check .icon { width: 20px; stroke-width: 2.2; }
.promise h3 { font-size: 1.1rem; margin-bottom: 6px; }
.promise p { color: #c4d3ec; font-size: 15.5px; }
.standards { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; margin-top: clamp(32px, 5vw, 56px); padding: clamp(24px, 4vw, 44px); border-radius: 24px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.standards__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.standards__list li { display: flex; align-items: center; gap: 12px; font: 500 14.5px var(--mono); color: #dbe6f7; }
.tick { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, .3); transition: background .3s, border-color .3s; }
.tick .icon { width: 14px; stroke-width: 3; color: var(--night); scale: 0; transition: scale .35s var(--ease-out); }
.standards.is-in .tick, .js:not(.fx) .tick, html:not(.js) .tick { background: var(--live); border-color: var(--live); }
.standards.is-in .tick .icon, .js:not(.fx) .tick .icon, html:not(.js) .tick .icon { scale: 1; }
.fx .standards .tick, .fx .standards .tick .icon { transition-delay: calc(.3s + var(--i) * 110ms); }

/* ---------- Guides ---------- */
.guides__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card > a { display: grid; gap: 10px; }
.guide-card__media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--sky-mist); margin-bottom: 6px; }
.guide-card__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease-out); }
.guide-card:hover img { scale: 1.05; }
.guide-card__meta { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sky-deep); }
.guide-card__title { font-size: 1.15rem; transition: color .2s; }
.guide-card:hover .guide-card__title { color: var(--sky-deep); }
.guide-card__text { color: var(--ink-2); font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.accordion { display: grid; gap: 8px; }
.accordion__item { border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.accordion__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.06rem; }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sky-pale); transition: rotate .35s var(--ease-out), background .2s; }
.accordion__icon .icon { width: 16px; }
.accordion__item[open] .accordion__icon { rotate: 45deg; background: var(--sky); color: #fff; }
.accordion__body { padding: 0 20px 20px; color: var(--ink-2); }
.accordion__item[open] .accordion__body { animation: open .45s var(--ease-out); }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--sky-pale), #dce4fd); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__intro .lead { margin-top: 18px; }
.contact__ways { display: grid; gap: 10px; margin-top: 32px; }
.contact__ways a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-line); transition: background .2s, translate .3s var(--ease-out); }
.contact__ways a:hover { background: #fff; translate: 4px 0; }
.contact__ways a > span:first-child { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: #fff; }
.contact__ways .icon { width: 20px; }
.contact__ways b { display: block; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.form { display: grid; gap: 12px; padding: clamp(18px, 3vw, 28px); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 5px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 13px; font-weight: 600; color: var(--ink); }
.req { color: var(--brand); }
.opt { font-weight: 400; color: var(--ink-3); }
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea, .field select {
	width: 100%; min-height: 46px; padding: 10px 13px; border-radius: 10px; border: 1.5px solid #d9e0ee; background: #f7f9fe;
	font: 16px/1.4 var(--sans); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 84px; resize: vertical; }
.field select { appearance: none; padding-right: 34px; cursor: pointer; background: #f7f9fe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C1438' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; }
.field input::placeholder, .field textarea::placeholder { color: #98a2bb; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(5, 51, 242, .14); }
.field input:user-invalid { border-color: #d14343; }
.choices { display: flex; flex-wrap: wrap; gap: 6px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid #d9e0ee; font-size: 14px; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-top: 2px; }
.consent { display: flex; gap: 8px; align-items: flex-start; flex: 1 1 220px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brand); }
.form__hint { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.form__hint .icon { width: 13px; }
.btn--block .btn__text { flex: 1; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading .btn__arrow .icon { animation: nudge .8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }
.form__notice { padding: 12px 16px; border-radius: 10px; font-size: 15px; }
.form__notice--ok { background: #e3f8ec; color: #0f6b38; }
.form__notice--error { background: #fde8e8; color: #9b1c1c; }

/* ---------- Page hero & inner pages ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 48px); background: linear-gradient(180deg, #d5dffd, var(--sky-pale)); }
.page-hero .sky { z-index: -1; }
.page-hero__inner { max-width: 900px; }
.page-hero__title { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.03em; }
.page-hero__intro { margin-top: 20px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }
.about__hero { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.about__hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { overflow: hidden; border-radius: 22px; box-shadow: var(--shadow); translate: 0 calc(var(--shift, 0) * 1px); }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__text { display: grid; gap: 16px; }
.pole-block__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.pole-block__head { position: sticky; top: calc(var(--hh) + 32px); display: grid; gap: 14px; }
.pole-block__media { overflow: hidden; border-radius: var(--radius); margin-top: 8px; box-shadow: var(--shadow-sm); }
.pole-block__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-card > a { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; height: 100%; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: translate .45s var(--ease-out), box-shadow .3s; }
.service-card > a:hover { translate: 0 -5px; box-shadow: var(--shadow); }
.service-card__media { overflow: hidden; align-self: stretch; margin: -12px -12px 4px; border-radius: calc(var(--radius) - 6px); aspect-ratio: 3 / 2; background: var(--sky-pale); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease-out); }
.service-card > a:hover .service-card__media img { scale: 1.04; }
.service-card h3 { font-size: 1.35rem; }
.service-card p { color: var(--ink-2); font-size: 15.5px; }
.service-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 600; color: var(--sky-deep); }
.service-card__more .icon { width: 16px; transition: transform .3s var(--ease-out); }
.service-card > a:hover .service-card__more .icon { transform: translateX(4px); }
.service-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.service-detail__main { display: grid; gap: 32px; }
.service-detail__media { overflow: hidden; border-radius: 22px; box-shadow: var(--shadow); }
.service-detail__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-detail__faq-title { margin-top: 16px; }
.service-detail__aside { position: sticky; top: calc(var(--hh) + 24px); display: grid; gap: 16px; }
.aside-card { display: grid; gap: 18px; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.aside-card h2 { font-size: 1.2rem; }
.aside-card--plain { box-shadow: none; background: var(--glass); border: 1px solid var(--glass-line); }
.case__showcase { margin-top: -8px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border-radius: var(--radius); background: var(--line); border: 1px solid var(--line); margin: 0; }
.facts div { padding: 18px 20px; background: #fff; }
.facts dt { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 6px 0 0; font-weight: 600; }
.results { display: grid; gap: 12px; }
.results li { display: flex; align-items: baseline; gap: 16px; padding: 18px 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); border-left: 4px solid var(--accent); }
.results strong { font-family: var(--head); font-size: 2rem; letter-spacing: -.03em; min-width: 4.5ch; font-variant-numeric: tabular-nums; }
.results span { color: var(--ink-2); }
.case__body { margin-top: clamp(40px, 6vw, 72px); }
.case__nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.article__media { overflow: hidden; border-radius: 22px; box-shadow: var(--shadow); margin-bottom: 40px; }
.article__media img { width: 100%; }
.prose { font-size: 1.08rem; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--ink); }
.prose h3 { margin-top: 1.6em; font-size: 1.3rem; color: var(--ink); }
.prose ul { display: grid; gap: .5em; padding-left: 0; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.prose a { color: var(--sky-deep); text-decoration: underline; text-underline-offset: 3px; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.page-numbers.current { background: var(--ink); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 6vw, 80px) 0 24px; color: #c9d6ec; }
.site-footer .sky { z-index: -1; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .logo__img { height: 34px; }
.site-footer__brand { display: grid; gap: 22px; align-content: start; }
.site-footer__brand p { max-width: 36ch; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; transition: translate .25s var(--ease-out); }
.site-footer__social a:hover { translate: 0 -3px; }
.site-footer__social .brand { width: 20px; height: 20px; }
.site-footer__in { font: 700 17px/1 var(--head); color: #0a66c2; }
.site-footer__title { margin-bottom: 16px; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #8fb0e3; }
.site-footer__col a { display: inline-flex; align-items: center; min-height: 40px; transition: color .2s; }
.site-footer__col a:hover { color: #fff; }
.site-footer__services .is-extra { display: none; }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; }
.site-footer__contact .icon { flex: none; width: 18px; margin-top: 3px; color: #8fb0e3; }
.site-footer__contact a { min-height: 0; }
.site-footer__wordmark { margin-top: 32px; text-align: center; font: 700 clamp(4rem, 15vw, 13rem)/.85 var(--head); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(156, 196, 255, .28); user-select: none; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }

/* ---------- Floating WhatsApp & section dots ---------- */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: var(--z-float); display: grid; place-items: center;
	width: 52px; height: 52px; border-radius: 50%; background: var(--wa); color: #fff;
	box-shadow: 0 10px 30px rgba(37, 211, 102, .35); transition: translate .3s var(--ease-out), box-shadow .3s;
}
.wa-float .icon { width: 26px; }
.wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wa-float:hover { translate: 0 -3px; box-shadow: 0 14px 34px rgba(37, 211, 102, .45); }
.dots { position: fixed; right: 18px; top: 50%; translate: 0 -50%; z-index: var(--z-dots); display: grid; gap: 4px; }
.dots a { position: relative; display: grid; place-items: center; width: 28px; height: 22px; }
.dots a::before { content: ""; width: 6px; height: 6px; border-radius: 6px; background: var(--ink-3); opacity: .45; transition: height .35s var(--ease-out), background .3s, opacity .3s; }
.dots a.is-active::before { height: 20px; background: var(--sky); opacity: 1; }
.dots span {
	position: absolute; right: 32px; padding: 4px 10px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm);
	font-size: 12.5px; font-weight: 500; white-space: nowrap; opacity: 0; translate: 6px 0; transition: opacity .25s, translate .3s var(--ease-out); pointer-events: none;
}
.dots a:hover span, .dots a:focus-visible span { opacity: 1; translate: 0 0; }
.dots.is-dark a::before { background: #fff; }
.dots.is-dark a.is-active::before { background: #9cc4ff; }

/* ---------- Reveal & entrance (only when JS and motion are allowed) ---------- */
.fx .reveal { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease), translate 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.fx .reveal.is-in { opacity: 1; translate: 0 0; }
.fx .work-card.reveal.is-in, .fx .split__media.reveal.is-in { translate: 0 calc(var(--shift, 0) * 1px); transition: opacity .8s var(--ease), translate .15s linear; }
.fx .hero__title .w > span { translate: 0 110%; animation: rise 1s var(--ease-out) forwards; animation-delay: calc(.2s + var(--i) * 75ms); }
.fx .hero__line--accent .w > span { animation-delay: calc(.6s + var(--i) * 75ms); }
.fx .hero__chip, .fx .hero__text, .fx .hero__actions { opacity: 0; animation: fade-up .9s var(--ease-out) forwards; }
.fx .hero__chip { animation-delay: .05s; }
.fx .hero__text { animation-delay: .95s; }
.fx .hero__actions { animation-delay: 1.1s; }
.fx .constellation { opacity: 0; translate: 0 60px; animation: fade-up-lg 1.6s .9s var(--ease-out) forwards; }
.fx .constellation__links path, .fx .map__outline { stroke-dashoffset: 1; }
.constellation.is-drawn .map__outline { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s var(--ease-out); }
.fx .map__relief path { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.constellation.is-drawn .map__relief path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease-out) calc(1s + var(--i, 0) * 180ms); }
.fx .constellation.is-drawn .map__radar circle { animation: radar 2.6s var(--ease-out) var(--d, 0s) infinite; }
.fx .map__waves path { animation: wave 5s ease-in-out calc(var(--i) * -.7s) infinite alternate; }
.fx .map__sea { animation: tide 7s ease-in-out infinite alternate; }
.constellation.is-drawn .constellation__links path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-out) calc(var(--i) * 90ms), stroke .4s, stroke-width .4s; }
.fx .city { opacity: 0; transition: opacity .6s calc(.4s + var(--i) * 80ms); }
.constellation.is-drawn .city { opacity: 1; }

@keyframes rise { to { translate: 0 0; } }
@keyframes fade-up { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes fade-up-lg { to { opacity: 1; translate: 0 0; } }
@keyframes drift { from { transform: translateX(-3vw); } to { transform: translateX(5vw); } }
@keyframes breathe { 50% { opacity: .7; scale: 1.06; } }
@keyframes twinkle { to { opacity: .85; } }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(58, 208, 122, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(58, 208, 122, 0); } }
@keyframes radar { 0% { opacity: .9; transform: scale(.2); } 100% { opacity: 0; transform: scale(3.4); } }
@keyframes wave { from { translate: -14px 0; opacity: .5; } to { translate: 14px 0; opacity: 1; } }
@keyframes tide { from { opacity: .65; } to { opacity: 1; } }
@keyframes ping { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes cue { 0% { background-position: 0 100%; } 100% { background-position: 0 -100%; } }
@keyframes bob { 50% { translate: -50% -115%; } }
@keyframes open { from { opacity: 0; translate: 0 -6px; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.cloud, .sky__stars, .sun { animation: none; translate: none; }
}


/* ---------- Conversion: hero trust, audit band, mobile bar ---------- */
.btn--sun > span { background: var(--sun); color: var(--ink); }
.btn--sun:hover > span { background: #ffc94d; }
.label--light { color: #fff; }
.cta-band { position: relative; z-index: 1; padding: clamp(16px, 3vw, 32px) 0; }
.cta-band__card {
	position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center;
	padding: clamp(28px, 5vw, 56px); border-radius: 28px; color: #fff;
	background: linear-gradient(135deg, var(--brand) 0%, #2453f5 55%, #5079fa 100%); box-shadow: 0 30px 70px rgba(5, 51, 242, .28);
}
.cta-band__card .sky { z-index: -1; }
.cta-band__card .cloud { --o: .35; }
.cta-band__card .title em { color: #fff; }
.cta-band__text > p { margin-top: 14px; max-width: 54ch; color: rgba(255, 255, 255, .9); font-size: 1.06rem; }
.cta-band__points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; }
.cta-band__points li { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; font-size: 15px; }
.cta-band__points .icon { width: 18px; color: var(--sun); stroke-width: 2.6; }
.cta-band__form { display: grid; gap: 8px; min-width: 0; padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(12px); }
.cta-band__form input { width: 100%; min-width: 0; min-height: 48px; padding: 0 14px; border: 0; border-radius: 10px; font: 16px var(--sans); color: var(--ink); background: #fff; }
.cta-band__form input:focus { outline: 3px solid var(--sun); outline-offset: 1px; }
.cta-band__form .btn { width: 100%; }
.cta-band__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cta-band__row > div { min-width: 0; }
.cta-band__form .btn__text { flex: 1; }
.cta-band__trust { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.cta-band__trust .icon { width: 14px; }
.mobile-cta { display: none; }
@media (max-width: 760px) {
	.mobile-cta {
		position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: var(--z-float); display: flex; gap: 8px;
		translate: 0 140%; transition: translate .45s var(--ease-out);
	}
	.mobile-cta.is-visible { translate: 0 0; }
	.mobile-cta__main { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: 14px; background: var(--ink); color: #fff; font: 600 13.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; box-shadow: var(--shadow); }
	.mobile-cta__main .icon { width: 18px; }
	.mobile-cta__wa { display: grid; place-items: center; width: 54px; border-radius: 14px; background: var(--wa); color: #fff; box-shadow: var(--shadow); }
	.mobile-cta__wa .icon { width: 26px; }
	.wa-float { display: none; }
	.cta-band__card { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px 18px; border-radius: 22px; }
	.cta-band__card > * { min-width: 0; }
	.cta-band__text > p { font-size: .98rem; }
	.cta-band__points { flex-direction: column; gap: 6px; }
	.cta-band__form { padding: 12px; border-radius: 16px; }
	.cta-band__trust { display: block; font-size: 12px; text-align: center; }
	.cta-band__trust .icon { display: inline; vertical-align: -2px; }
	body { padding-bottom: 76px; }
}

/* ---------- Project cards ---------- */
.work-card__frame { position: relative; }
.work-card__stat {
	position: absolute; left: 12px; bottom: 12px; display: grid; gap: 1px; max-width: calc(100% - 24px); padding: 8px 12px; border-radius: 12px;
	background: rgba(255, 255, 255, .94); box-shadow: var(--shadow); backdrop-filter: blur(8px);
	transition: translate .5s var(--ease-out);
}
.work-card__stat strong { font-family: var(--head); font-size: 1.35rem; line-height: 1.1; letter-spacing: -.02em; color: #0f8a46; }
.work-card__stat span { font-size: 12.5px; color: var(--ink-2); }
.work-card:hover .work-card__stat { translate: 0 -10px; }
.work-card__meta span { padding: 3px 8px; border-radius: 6px; background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--ink); }
.work-card__meta span:first-child { filter: none; color: var(--ink); }
.work-card__city { font: 400 .9rem var(--sans); color: var(--ink-3); letter-spacing: 0; }
.work-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 600; color: var(--sky-deep); }
.work-card__more .icon { width: 16px; transition: transform .3s var(--ease-out); }
.work-card:hover .work-card__more .icon { transform: translateX(4px); }
.pill__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--sky-pale); color: var(--ink); font-size: 12px; }
.pill.is-active .pill__count { background: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- Before / after figures ---------- */
.num { font-variant-numeric: tabular-nums; }
.delta { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-weight: 700; font-size: 13.5px; background: #fde8e8; color: #9b1c1c; }
.delta--good { background: #dff7e9; color: #0f6b38; }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.metric__label { font-size: 14.5px; color: var(--ink-2); min-height: 2.6em; }
.metric__value { font-family: var(--head); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.metric__value .unit { font-size: .5em; letter-spacing: 0; color: var(--ink-2); }
.metric .delta { justify-self: start; }
.bars { display: grid; gap: 6px; margin-top: 6px; }
.bars__row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); }
.bars__row i { font-style: normal; font-family: var(--mono); text-transform: uppercase; font-size: 10.5px; letter-spacing: .06em; }
.bars__row em { font-style: normal; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bars__bar { display: block; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--accent, var(--sky)), var(--sky-deep)); width: var(--w); min-width: 3px; transform-origin: left; }
.bars__bar--before { background: #c9d2e3; }
.fx .metric .bars__bar { transform: scaleX(0); transition: transform 1.2s var(--ease-out) .3s; }
.fx .metric.is-in .bars__bar { transform: scaleX(1); }
.fx .metric.is-in .bars__bar--before { transition-delay: .15s; }
.metrics__period { margin-top: 16px; font: 500 12px var(--mono); letter-spacing: .06em; color: var(--ink-3); }
.metrics__table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.metrics__table th, .metrics__table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.metrics__table thead th { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); background: var(--sky-pale); }
.metrics__table tbody th { font-weight: 500; }
.metrics__table tr:last-child > * { border-bottom: 0; }
.metrics__before { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(155, 28, 28, .5); }
.metrics__after { font-size: 1.3rem; font-weight: 700; }
.metrics--compact .metrics__grid { grid-template-columns: 1fr 1fr; }
.metrics--compact .bars { display: none; }

/* ---------- Model 2: comparison slider ---------- */
.compare { position: relative; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 3 / 2; background: var(--sky-mist); touch-action: pan-y; }
.compare__img { position: absolute; inset: 0; }
.compare__img img { width: 100%; height: 100%; object-fit: cover; }
.compare__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__tag { position: absolute; top: 16px; z-index: 2; padding: 6px 12px; border-radius: 999px; font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; background: rgba(12, 20, 56, .78); color: #fff; }
.compare__tag--before { left: 16px; }
.compare__tag--after { right: 16px; background: var(--sun); color: var(--ink); }
.compare::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .3); }
.compare__handle { position: absolute; top: 50%; left: var(--pos); z-index: 3; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow); pointer-events: none; }
.compare__handle .icon { width: 18px; }
.compare__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare__range:focus-visible ~ .compare__handle, .compare:focus-within .compare__handle { outline: 3px solid var(--sun); outline-offset: 3px; }
.compare__hint { margin-top: 12px; text-align: center; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Model 3: dashboard ---------- */
.dash { padding: clamp(18px, 3vw, 28px); border-radius: 24px; background: #0f1a45; color: #fff; box-shadow: var(--shadow); }
.dash__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; font-size: 14px; color: #b8c5ec; }
.dash__title { display: inline-flex; align-items: center; gap: 12px; }
.dash .browser__live { color: #6fe3a3; }
.dash__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { display: grid; gap: 8px; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.kpi__label { font-size: 13.5px; color: #b8c5ec; min-height: 2.6em; }
.kpi__value { font-family: var(--head); font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.kpi__value .unit { font-size: .55em; color: #b8c5ec; }
.kpi__foot { font-size: 12.5px; color: #93a3d0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dash .delta--good { background: rgba(58, 208, 122, .16); color: #6fe3a3; }
.dash__body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; margin-top: 12px; }
.dash__panel { padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.chart { margin: 0; }
.chart__title { font-size: 14px; font-weight: 600; margin-bottom: 10px; color: #fff; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart__grid { stroke: rgba(255, 255, 255, .08); }
.chart__axis { fill: #8796c4; font: 11px var(--mono); }
.chart__before { fill: rgba(255, 255, 255, .03); }
.chart__launch { stroke: var(--sun); stroke-width: 1.5; stroke-dasharray: 4 4; }
.chart__launch-label { fill: var(--sun); font: 600 11px var(--mono); }
.chart__line { fill: none; stroke: var(--brand-light); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; }
.chart__area { opacity: 1; fill-opacity: 1; }
.chart__dot { fill: #0f1a45; stroke: var(--brand-light); stroke-width: 2.5; }
.fx .chart__line { stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease-out) .3s; }
.fx .chart__area, .fx .chart__dot { opacity: 0; transition: opacity .6s .9s; }
.fx .chart__dot { transition-delay: calc(.4s + var(--i) * 120ms); }
.fx .is-in .chart__line { stroke-dashoffset: 0; }
.fx .is-in .chart__area, .fx .is-in .chart__dot { opacity: 1; }
.funnel { display: grid; gap: 10px; }
.funnel li { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 10px 12px; min-height: 52px; }
.funnel__bar { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 10px; background: linear-gradient(90deg, rgba(107, 138, 255, .55), rgba(107, 138, 255, .18)); transform-origin: left; }
.fx .funnel__bar { transform: scaleX(0); transition: transform 1s var(--ease-out); transition-delay: calc(.3s + var(--i) * 150ms); }
.fx .is-in .funnel__bar { transform: scaleX(1); }
.funnel__label, .funnel strong, .funnel small { position: relative; }
.funnel__label { font-size: 13.5px; color: #dbe3fb; }
.funnel strong { font-size: 1.1rem; }
.funnel small { grid-column: 1 / -1; font: 11px var(--mono); color: #93a3d0; }
.case__showcase--small { max-width: 860px; margin-top: 32px; }

/* ---------- Model 4: timeline ---------- */
.step__kpi { display: inline-flex; margin-top: 12px; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--accent, var(--sky)) 14%, #fff); color: var(--ink); font: 600 13px var(--mono); }

/* ---------- Model 5: conversation ---------- */
.convo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.convo__phone { display: grid; justify-items: center; gap: 14px; }
.convo__side { display: grid; gap: 24px; }
.phone--chat { width: 330px; }
.phone--chat .phone__screen { display: flex; flex-direction: column; padding: 40px 0 0; text-align: left; background: #eef2f8; color: var(--ink); }
.phone--wa .phone__screen { background: #ece5dd; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--ink); color: #fff; }
.phone--wa .chat__head { background: #075e54; }
.chat__head small { display: block; font-size: 11px; opacity: .8; }
.chat__head b { font-size: 14px; }
.chat__avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); }
.phone--wa .chat__avatar { background: var(--wa); }
.chat__avatar .icon { width: 18px; color: #fff; }
.chat { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 18px; overflow: hidden; justify-content: flex-end; }
.chat__msg { max-width: 82%; }
.chat__msg p { padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.chat__msg--bot { align-self: flex-start; }
.chat__msg--bot p { background: #fff; border-top-left-radius: 4px; }
.chat__msg--user { align-self: flex-end; }
.chat__msg--user p { background: var(--brand); color: #fff; border-top-right-radius: 4px; }
.phone--wa .chat__msg--user p { background: #d9fdd3; color: var(--ink); }
.chat__choices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chat__choices span { padding: 5px 10px; border-radius: 999px; border: 1.5px solid var(--brand); color: var(--brand); background: #fff; font-size: 12.5px; font-weight: 600; }
.phone--wa .chat__choices span { border-color: #128c7e; color: #128c7e; }
.chat__typing { display: none; align-self: flex-start; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #fff; }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa6c2; animation: typing 1s infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; }
.chat__typing i:nth-child(3) { animation-delay: .3s; }
.js.fx .chat[data-ready] .chat__msg { display: none; }
.js.fx .chat[data-ready] .chat__msg.is-shown { display: block; animation: msg-in .45s var(--ease-out); }
.js.fx .chat.is-typing .chat__typing { display: flex; }
.convo__replay { border: 0; background: none; padding: 0; font-size: 15px; }
@keyframes typing { 50% { translate: 0 -4px; opacity: .5; } }
@keyframes msg-in { from { opacity: 0; translate: 0 10px; scale: .96; } }

/* ---------- Case shared ---------- */
.case__story-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.case__aside { position: sticky; top: calc(var(--hh) + 24px); }
.facts--stack { grid-template-columns: 1fr; }
.case__body { margin-top: 0; }
.quote { margin: 0; display: grid; gap: 18px; }
.quote blockquote { margin: 0; font: 700 clamp(1.4rem, 2.6vw, 2rem)/1.3 var(--head); letter-spacing: -.02em; color: var(--ink); }
.quote blockquote p::before { content: "« "; color: var(--brand); }
.quote blockquote p::after { content: " »"; color: var(--brand); }
.quote figcaption { font: 500 13px var(--mono); letter-spacing: .06em; color: var(--ink-3); }

@media (max-width: 1000px) {
	.metrics__grid, .dash__kpis { grid-template-columns: 1fr 1fr; }
	.dash__body, .convo, .case__story-grid { grid-template-columns: 1fr; }
	.case__aside { position: static; }
	.convo__side { order: -1; }
}
@media (max-width: 640px) {
	.metrics__grid, .metrics--compact .metrics__grid { grid-template-columns: 1fr; }
	.metrics__table th, .metrics__table td { padding: 12px 10px; font-size: 14px; }
	.metrics__table thead th:nth-child(4), .metrics__table td:nth-child(4) { display: none; }
	.phone--chat { width: min(330px, 100%); }
	.compare { aspect-ratio: 4 / 3; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.promises--4 { grid-template-columns: repeat(2, 1fr); }
	.service-detail { grid-template-columns: 1fr; }
	.service-detail__aside { position: static; }
}
@media (max-width: 1000px) {
	:root { --hh: 66px; }
	.site-nav {
		position: fixed; inset: var(--hh) 0 auto; max-height: calc(100dvh - var(--hh)); overflow: auto;
		padding: 16px var(--gutter) 28px; background: var(--sky-pale); color: var(--ink); box-shadow: var(--shadow);
		visibility: hidden; opacity: 0; translate: 0 -12px; transition: opacity .3s, translate .35s var(--ease-out), visibility .3s;
	}
	.site-nav.is-open { visibility: visible; opacity: 1; translate: 0 0; }
	.site-nav__list { flex-direction: column; gap: 0; }
	.site-nav__list a { width: 100%; min-height: 56px; padding: 0; font-size: 1.4rem; border-bottom: 1px solid var(--line); }
	.site-nav__list a::after { display: none; }
	.site-nav__mobile-cta { display: block; margin-top: 24px; }
	.site-header__cta { display: none; }
	.menu-toggle { display: grid; }
	.site-header__actions { margin-left: auto; }
	.poles, .work__grid, .guides__grid { grid-template-columns: 1fr 1fr; }
	.poles .pole:last-child { grid-column: 1 / -1; }
	.figures__grid { grid-template-columns: 1fr 1fr; }
	.figure:nth-child(odd) { border-left: 0; }
	.figure:nth-child(n+3) { border-top: 1px solid var(--line); }
	.figure { padding: 18px 16px; }
	.method__grid, .faq__grid, .contact__grid, .offer__grid, .standards, .pole-block__grid { grid-template-columns: 1fr; }
	.method__head, .pole-block__head { position: static; }
	.promises { grid-template-columns: 1fr 1fr; }
	.dots { display: none; }
}
@media (max-width: 959px) {
	.chapter { grid-template-columns: 1fr; }
	/* Mobile: number and title, then the illustration, then the paragraph. */
	.chapter { gap: 0; }
	.chapter__text { display: contents; }
	.chapter__num { order: 1; }
	.chapter__title { order: 2; }
	.chapter__scene { order: 3; margin: 6px 0 18px; }
	.chapter__text > p:last-child { order: 4; }
	.scene { min-height: 0; }
	.mock-review--1 { left: 2%; }
	.mock-review--2 { right: 2%; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.btn__text { white-space: normal; padding: 10px 14px; line-height: 1.3; letter-spacing: .06em; text-align: center; }
	.form__row { gap: 10px; }
	.field input:not([type="checkbox"]):not([type="radio"]), .field textarea, .field select { padding-inline: 11px; }
	.field select { padding-right: 30px; background-position: right 8px center; }
	.form { border-radius: 18px; }
	.form__foot { flex-direction: column; align-items: stretch; gap: 12px; }
	.consent { flex: none; }
	.form__foot .btn { width: 100%; }
	.contact__ways { margin-top: 20px; }
	.contact__ways a { padding: 10px 12px; }
	.poles, .work__grid, .guides__grid, .promises, .promises--4, .service-cards, .split, .standards__list, .site-footer__grid, .facts { grid-template-columns: 1fr; }
	/* Footer: every service, in two columns. */
	.site-footer__services { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
	.site-footer__services .is-extra { display: list-item; }
	.site-footer__services a { min-height: 36px; padding: 4px 0; font-size: 14px; line-height: 1.3; }
	/* Footer: brand and services full width, Agence and Contact side by side. */
	.site-footer__grid { grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 32px; }
	.site-footer__brand, .site-footer__col--services { grid-column: 1 / -1; }
	.site-footer__list a { min-height: 36px; font-size: 14px; }
	.site-footer__contact li { gap: 7px; padding: 5px 0; font-size: 13px; line-height: 1.35; }
	.site-footer__contact .icon { width: 15px; margin-top: 2px; }
	.site-footer__contact a, .site-footer__contact span { min-width: 0; overflow-wrap: anywhere; }
	.split--rev .split__media { order: 0; }
	.hero__title { font-size: clamp(2.5rem, 12vw, 3.6rem); }
	/* Compact mobile hero: the constellation leads, the pitch follows. */
	/* Mobile order: title, animated map, then the rest of the pitch. */
	.hero__grid { display: flex; flex-direction: column; align-items: center; }
	.hero__inner { display: contents; }
	.hero__title { order: 1; margin-top: 36px; }
	.hero .constellation { order: 2; }
	.hero__chip { order: 3; }
	.hero__text { order: 4; }
	.hero__actions { order: 5; }
	.hero { display: flex; flex-direction: column; padding-top: var(--hh); padding-bottom: 56px; background: linear-gradient(180deg, #0533f2 0, #2453f5 45%, #3f6af8 calc(100% - 64px), var(--sky-pale) 100%); }
	.constellation { --mw: min(74vw, 300px); height: calc(var(--mw) * 1.08 + 6px); margin: 26px auto 4px; }
	.constellation__plane { transform: none; }
	.site-pill { gap: 4px; padding: 3px 6px 3px 5px; border-radius: 6px; font-size: 8px; translate: -50% calc(-100% - 8px); }
	.site-pill::after { width: 6px; height: 6px; bottom: -3px; }
	.site-pill .icon { width: 8px; }
	.site-pill__live { gap: 3px; font-size: 8px; }
	.site-pill__live::before { width: 5px; height: 5px; }
	.constellation__hub { gap: 4px; padding: 3px 7px 3px 5px; font-size: 8px; translate: -50% calc(-100% - 8px); }
	.constellation__hub .mark { width: 13px; height: 8px; }
	.orbit__item { width: 30px; height: 30px; margin: -15px 0 0 -15px; box-shadow: 0 6px 14px -6px rgba(5, 20, 80, .45), 0 0 0 3px rgba(255, 255, 255, .18); }
	.orbit__item .ico-anim { width: 18px; height: 18px; }
	.hero__chip { margin: 12px 0 0; padding: 4px 11px 4px 6px; font-size: 12.5px; }
	.hero__chip .chip__dot { width: 12px; height: 12px; }
	.hero__title { font-size: 30px; line-height: 1.1; }
	.hero__text { margin-top: 12px; font-size: 15px; line-height: 1.5; }
	.hero__actions { margin-top: 18px; gap: 8px; }
	.hero__actions .btn { width: 100%; }
	.hero__actions .link { min-height: 40px; font-size: 15px; }
	.fx .constellation { translate: 0 0; animation-delay: .2s; }
	.hero__actions { flex-direction: column; }
	.city text { font-size: 44px; }
	.city--big text { font-size: 54px; }
	.mock-search { grid-template-columns: 1fr; }
	.mock-map { display: none; }
	/* Night scene on mobile: compact timeline and a small phone side by side. */
	.mock-night { grid-template-columns: minmax(0, 1fr) 112px; gap: 10px; align-items: center; }
	.mock-night__timeline { gap: 8px; }
	.mock-night__timeline::before { left: 22px; top: 18px; bottom: 18px; }
	.mock-night__timeline li { grid-template-columns: 28px minmax(0, 1fr); column-gap: 8px; row-gap: 1px; padding: 8px 9px; border-radius: 12px; }
	.mock-night__timeline .ico { grid-row: 1 / span 3; grid-column: 1; width: 28px; height: 28px; }
	.mock-night__timeline .ico .icon { width: 15px; }
	.mock-night__timeline .t { grid-row: auto; grid-column: 2; font-size: 11px; line-height: 1.2; }
	.mock-night__timeline b { grid-column: 2; font-size: 13px; line-height: 1.25; }
	.mock-night__timeline small { grid-column: 2; font-size: 11.5px; line-height: 1.3; }
	.mock-night .phone { width: 112px; padding: 5px; border-radius: 20px; }
	.mock-night .phone__screen { padding: 24px 6px 0; border-radius: 16px; }
	.mock-night .phone__screen::before { top: 6px; width: 38px; height: 11px; border-radius: 6px; }
	.mock-night .phone__day { font-size: 9px; }
	.mock-night .phone__time { font-size: 26px; }
	.mock-night .phone__notif { gap: 5px; margin-top: 20px; padding: 6px; border-radius: 9px; font-size: 9px; line-height: 1.3; }
	.mock-night .phone__notif > span { width: 18px; height: 18px; border-radius: 5px; }
	.mock-night .phone__notif .icon { width: 11px; }
	.mock-review { position: relative; inset: auto; margin-top: 10px; max-width: none; }
	.mock-badge { position: relative; inset: auto; margin-top: 10px; }
	.sector { width: 78vw; }
	.wa-float span { display: none; }
	.wa-float { padding: 0 14px; }
	.btn__text { padding: 0 16px; }
}
