/* Scitel Technology — glassmorphism clair (version 4) */
:root {
  --ink: #141a4a;
  --navy: #141a5c;
  --blue: #1f4fd8;
  --orange: #ff7a3d;
  --muted: #4a5175;
  --white: #fff;
  --tint: transparent;
  --glass: rgba(255, 255, 255, .5);
  --glass-strong: rgba(255, 255, 255, .72);
  --edge: rgba(255, 255, 255, .95);
  --shadow: 0 24px 60px -32px rgba(40, 60, 140, .45), inset 0 1px 0 rgba(255, 255, 255, .95);
  --blur: blur(22px) saturate(150%);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --r-lg: 28px;
  --r-md: 20px;
  --display: "Oswald", "Arial Narrow", "Segoe UI", sans-serif;
  --font: "Montserrat", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; background: #eef3ff; }
body {
  margin: 0; color: var(--ink); background: transparent;
  font: 400 clamp(16px, 1.05vw, 17px)/1.65 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Halos colorés fixes derrière le verre */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42vmax 42vmax at 4% 2%, rgba(47, 107, 255, .42), transparent 62%),
    radial-gradient(36vmax 36vmax at 98% 22%, rgba(255, 122, 61, .34), transparent 62%),
    radial-gradient(40vmax 40vmax at 30% 62%, rgba(25, 194, 216, .30), transparent 62%),
    radial-gradient(40vmax 40vmax at 96% 88%, rgba(106, 75, 255, .36), transparent 62%),
    radial-gradient(34vmax 34vmax at 2% 98%, rgba(255, 122, 61, .22), transparent 62%),
    linear-gradient(160deg, #eef3ff 0%, #f8f5ff 45%, #eaf7ff 100%);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--navy); color: var(--white); border-radius: 12px; }
.skip:focus { top: 12px; }

/* Le verre */
.site-header .wrap, .facts div, .card, .duo article, .steps, .brands li, .tag, .badge, .btn--ghost,
.contact aside, .form, .site-footer .wrap, .service, .split > div {
  background: var(--glass); border: 1px solid var(--edge);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow);
}

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 7.5vw, 110px); }
.center { text-align: center; }
.center .lead, .center .title { margin-inline: auto; }

/* Typographie */
.display, .title, .subtitle { font-family: var(--display); color: var(--ink); }
.display { font-weight: 600; letter-spacing: 0; line-height: 1.08; font-size: clamp(2.4rem, 5.6vw, 4.6rem); text-wrap: balance; }
.display em { font-style: normal; color: var(--blue); }
.title { font-weight: 600; letter-spacing: 0; line-height: 1.14; font-size: clamp(1.9rem, 3.9vw, 3.1rem); max-width: 17em; text-wrap: balance; }
.subtitle { font-weight: 500; letter-spacing: .01em; line-height: 1.25; font-size: clamp(1.2rem, 1.7vw, 1.4rem); }
.lead { margin-top: 1.2rem; font-size: clamp(1.05rem, 1.35vw, 1.18rem); max-width: 36em; color: var(--muted); }
.muted { color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1.3rem; padding: .45em 1.1em; border-radius: 999px; font-size: .86rem; font-weight: 500; }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 54px; padding: .7em 1.7em;
  border: 1px solid var(--navy); border-radius: 999px; background: var(--navy); color: var(--white);
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .25s, background .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); background: var(--blue); border-color: var(--blue); box-shadow: 0 16px 30px -16px rgba(31, 79, 216, .8); }
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { background: var(--glass); color: var(--ink); border-color: var(--edge); }
.btn--ghost:hover { background: var(--glass-strong); border-color: var(--edge); color: var(--blue); box-shadow: var(--shadow); }
.btn--white { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--white); border-color: var(--white); color: var(--blue); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.center .actions { justify-content: center; }

/* En-tête : pilule de verre flottante */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px var(--gutter) 0; }
.site-header .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--max); height: 68px; padding-block: 0; padding-inline: 26px 12px; border-radius: 999px; transition: background .3s; }
.site-header.is-stuck .wrap { background: var(--glass-strong); }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; color: var(--ink); }
.brand img { height: 48px; width: auto; }
.site-footer .brand img { height: 64px; }
.brand b { font-family: var(--display); font-weight: 700; font-style: italic; font-size: 1.5rem; }
.brand span { margin-top: 4px; font-size: .55rem; font-weight: 600; letter-spacing: .42em; color: var(--blue); }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.nav a:not(.btn) { white-space: nowrap; padding: 10px 2px; font-family: var(--display); font-size: 1.02rem; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; transition: color .2s; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--blue); }
.nav a[aria-current] { font-weight: 500; }
.langs { display: inline-flex; gap: 6px; }
.nav a.lang { padding: 7px 13px; border: 1px solid rgba(20, 26, 74, .25); border-radius: 999px; font-size: .88rem; font-weight: 500; }
.nav a.lang:hover { border-color: var(--blue); }
.nav .btn { white-space: nowrap; min-height: 46px; padding: .4em 1.4em; font-size: .95rem; }
.burger { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--edge); border-radius: 50%; background: var(--glass-strong); cursor: pointer; position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, top .25s; }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }

/* Héros */
.hero { padding: clamp(130px, 14vw, 190px) 0 clamp(40px, 5vw, 72px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__media { position: relative; padding: 14px; border-radius: 36px; background: var(--glass); border: 1px solid var(--edge); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); }
.hero__media img { width: 100%; aspect-ratio: 5 / 4.6; object-fit: cover; object-position: 30% 50%; border-radius: 24px; }
.badge { position: absolute; inset-inline-start: -20px; bottom: 40px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: var(--r-md); background: var(--glass-strong); font-size: .88rem; line-height: 1.3; color: var(--muted); }
.badge b { display: block; font-size: 1rem; font-weight: 600; color: var(--ink); }
.badge i, .icon { display: grid; place-items: center; flex: none; background: rgba(31, 79, 216, .12); color: var(--blue); }
.badge i { width: 44px; height: 44px; border-radius: 14px; }
.badge svg, .icon svg { width: 24px; height: 24px; }
.badge--top { inset-inline-start: auto; inset-inline-end: -14px; bottom: auto; top: 36px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 5vw, 64px); }
.facts div { padding: 22px 24px; border-radius: 24px; }
.facts dt { font-size: .86rem; color: var(--muted); }
.facts dd { margin-top: 4px; font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.55rem); line-height: 1.2; }

/* Cartes */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); margin-top: clamp(30px, 4vw, 48px); text-align: start; }
.card { display: flex; flex-direction: column; padding: 12px; border-radius: var(--r-lg); text-decoration: none; transition: transform .3s, background .3s; }
a.card:hover { transform: translateY(-6px); background: var(--glass-strong); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 12px 10px; }
.card__body p { margin-top: .5rem; font-size: .96rem; color: var(--muted); }
.card__more { display: inline-flex; align-items: center; gap: .4em; margin-top: auto; padding-top: 1rem; font-weight: 600; font-size: .95rem; color: var(--blue); }
.card__more svg { width: 16px; height: 16px; transition: transform .25s; }
a.card:hover .card__more svg { transform: translateX(4px); }
.card--plain { padding: 30px; }
.card--plain p { margin-top: .6rem; color: var(--muted); }
.icon { width: 56px; height: 56px; margin-bottom: 1.2rem; border-radius: 18px; }

/* Deux courants */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); margin-top: clamp(30px, 4vw, 48px); }
.duo article { padding: clamp(24px, 3.2vw, 44px); border-radius: var(--r-lg); }
.duo article:last-child .icon { background: rgba(255, 122, 61, .16); color: #b8480f; }
.duo p { margin-top: .6rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.3rem; }
.chips li { padding: .45em 1.05em; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--edge); font-size: .92rem; font-weight: 500; }

/* Méthode : un seul panneau de verre */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(30px, 4vw, 48px); padding: 12px; border-radius: 32px; counter-reset: s; text-align: start; }
.steps li { counter-increment: s; padding: 24px; }
.steps li::before { content: "0" counter(s); display: block; margin-bottom: .8rem; font-family: var(--display); font-weight: 700; font-size: 2.7rem; line-height: 1; color: var(--blue); }
.steps p { margin-top: .4rem; font-size: .96rem; color: var(--muted); }

/* Partenaires */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(26px, 3.5vw, 40px); }
.brands li { padding: .8em 1.7em; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 1.4vw, 1.15rem); }

/* Bandeau final : verre sombre */
.cta { padding-bottom: clamp(40px, 5vw, 72px); }
.cta__panel {
  position: relative; overflow: hidden; padding: clamp(36px, 6vw, 84px); border-radius: 40px; text-align: center; color: var(--white);
  background: linear-gradient(135deg, rgba(20, 26, 92, .9), rgba(31, 79, 216, .82)); border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 30px 70px -34px rgba(20, 26, 92, .9), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.cta .title { color: var(--white); margin-inline: auto; }
.cta .lead { margin-inline: auto; color: #dfe6ff; }
.cta .actions { justify-content: center; }

/* En-tête de page interne */
.pagehead { padding: clamp(140px, 15vw, 200px) 0 clamp(28px, 4vw, 52px); }
.pagehead .display { font-size: clamp(2.1rem, 4.8vw, 3.8rem); max-width: 15em; }

/* Page services */
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; margin-bottom: clamp(16px, 2vw, 26px); padding: clamp(12px, 1.6vw, 20px); border-radius: 36px; }
.service > div { padding: clamp(8px, 2vw, 28px); }
.service:nth-child(even) figure { order: 2; }
.service img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 24px; }
.service .num { display: inline-block; margin-bottom: .9rem; padding: .3em .95em; border-radius: 999px; background: rgba(31, 79, 216, .12); color: var(--blue); font-size: .84rem; font-weight: 600; }
.service p { margin-top: .9rem; color: var(--muted); }
.ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-top: 1.4rem; }
.ticks li { position: relative; padding-inline-start: 1.9em; font-weight: 500; font-size: .96rem; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .2em; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 68% no-repeat; }

/* Entreprise */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 30px); align-items: stretch; }
.split figure { padding: 14px; border-radius: 36px; background: var(--glass); border: 1px solid var(--edge); box-shadow: var(--shadow); }
.split img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 24px; }
.split > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 56px); border-radius: 36px; }
.split .tag { align-self: flex-start; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(16px, 2.4vw, 30px); align-items: start; }
.contact aside { padding: 30px; border-radius: var(--r-lg); }
.contact__mail { display: inline-block; margin-top: .5rem; font-weight: 600; font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--blue); overflow-wrap: anywhere; text-underline-offset: 4px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: clamp(20px, 3.2vw, 40px); border-radius: 36px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: .7em 1em; border: 1px solid rgba(20, 26, 74, .22); border-radius: 16px; background: rgba(255, 255, 255, .7); font-size: 1rem; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(31, 79, 216, .25); outline-offset: 0; border-color: var(--blue); background: var(--white); }
.consent { grid-column: 1 / -1; display: flex; gap: .7em; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--blue); }
.consent a { color: var(--blue); }
.form__status { grid-column: 1 / -1; min-height: 1.5em; font-size: .95rem; font-weight: 600; color: var(--blue); }
.form button[disabled] { opacity: .6; cursor: progress; }

address { font-style: normal; }
.contact aside h2 + * { margin-top: .4rem; }
.contact aside h2:not(:first-of-type) { margin-top: 1.6rem; }
.contact aside address { color: var(--muted); }
.contact__tels li { padding: .1em 0; }

.map { padding: 14px; border-radius: 36px; background: var(--glass); border: 1px solid var(--edge); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); }
.map__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 14px 16px 22px; }
.map__head address { margin-top: .3rem; color: var(--muted); }
.map iframe { display: block; width: 100%; height: clamp(320px, 42vw, 480px); border: 0; border-radius: 24px; }

/* Partenaires */
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.partner { display: flex; flex-direction: column; gap: 8px; min-height: 210px; padding: 28px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--edge); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); transition: transform .3s, background .3s; }
.partner:hover { transform: translateY(-5px); background: var(--glass-strong); }
.partner__name { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: 0; color: var(--ink); text-align: start; }
[dir="rtl"] .partner__name { text-align: right; }
.partner__dom { color: var(--muted); font-size: .96rem; }
.partner .card__more { text-decoration: none; }
@media (max-width: 960px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .partners { grid-template-columns: minmax(0, 1fr); } .partner { min-height: 0; } }

/* WhatsApp */
.wa { position: fixed; inset-inline-end: clamp(14px, 2.4vw, 28px); bottom: clamp(14px, 2.4vw, 28px); z-index: 40; display: inline-flex; align-items: center; gap: 10px; padding-block: 6px; padding-inline: 6px 22px; border-radius: 999px; background: rgba(255, 255, 255, .86); border: 1px solid var(--edge); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); color: var(--ink); font-weight: 600; text-decoration: none; box-shadow: 0 18px 40px -18px rgba(20, 60, 40, .6), inset 0 1px 0 #fff; transition: transform .25s, background .25s; }
.wa:hover { transform: translateY(-3px); background: #fff; }
.wa svg, .wa-btn svg { flex: none; box-sizing: border-box; border-radius: 50%; background: #25d366; color: #fff; }
.wa svg { width: 46px; height: 46px; padding: 10px; }
.wa-btn { margin-top: 1rem; min-height: 48px; padding-block: 5px; padding-inline: 5px 20px; gap: 10px; background: rgba(255, 255, 255, .86); border-color: var(--edge); color: var(--ink); font-size: .95rem; }
.wa-btn:hover { background: #fff; border-color: var(--edge); color: var(--ink); box-shadow: var(--shadow); }
.wa-btn svg { width: 38px; height: 38px; padding: 8px; }
.wa-btn:hover svg { transform: none; }
@media (max-width: 640px) { .wa { padding: 5px; } .wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }

/* Pages légales */
.legal { max-width: 50em; padding: clamp(24px, 4vw, 52px); border-radius: 36px; background: var(--glass); border: 1px solid var(--edge); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); margin-inline: var(--gutter); width: auto; }
.legal h2 { margin-top: 2rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal ul { margin-top: .7rem; color: var(--muted); }
.legal li { padding: .15em 0; }
.legal a { color: var(--blue); }
.todo { padding: .1em .5em; border-radius: 8px; background: #ffe1cc; color: #7d3a0e; font-size: .9em; font-weight: 600; }

/* Pied de page */
.site-footer { padding: 0 var(--gutter) 96px; color: var(--muted); font-size: .95rem; }
.site-footer .wrap { max-width: var(--max); padding: clamp(26px, 4vw, 48px); border-radius: 36px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3fr); gap: 28px clamp(28px, 6vw, 90px); }
.site-footer h2 { margin-bottom: .7rem; font-family: var(--display); font-size: .95rem; font-weight: 600; color: var(--ink); }
.site-footer li { padding: .2em 0; }
.site-footer a { text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--blue); }
.site-footer p { max-width: 30em; margin-top: 1rem; }
.site-footer__end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(20, 26, 74, .14); font-size: .88rem; }

/* Arabe : police et sens de lecture */
html[lang="ar"] { --display: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
[dir="rtl"] .display, [dir="rtl"] .title, [dir="rtl"] .subtitle, [dir="rtl"] .facts dd { letter-spacing: 0; line-height: 1.35; }
[dir="rtl"] body { line-height: 1.85; }
[dir="rtl"] .btn:not(.wa-btn) svg, [dir="rtl"] .card__more svg { transform: scaleX(-1); }
[dir="rtl"] .btn:not(.wa-btn):hover svg, [dir="rtl"] a.card:hover .card__more svg { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .hero__media img { transform: scaleX(-1); }
[dir="rtl"] .brand span, [dir="rtl"] .nav a.lang, [dir="rtl"] .nav a:not(.btn) { letter-spacing: 0; text-transform: none; }
.nav a.lang[lang="ar"] { font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; letter-spacing: 0; }

/* Apparition au défilement */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Menu : bascule en hamburger dès que les libellés ne tiennent plus sur une ligne */
@media (max-width: 1280px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: calc(100% + 10px); inset-inline: auto 0; width: min(100%, 380px); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px 22px;
    border-radius: 28px; background: #fff; border: 1px solid var(--edge); box-shadow: 0 30px 60px -28px rgba(40, 60, 140, .6);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav a:not(.btn) { padding: 15px 0; font-size: 1.08rem; border-bottom: 1px solid rgba(20, 26, 74, .12); }
  .langs { margin-top: 16px; gap: 8px; }
  .nav a.lang { padding: 10px 18px; border: 1px solid rgba(20, 26, 74, .25); font-size: .95rem; }
  .nav .btn { margin-top: 18px; min-height: 52px; }
}

@media (max-width: 960px) {
  .hero__grid, .split, .contact, .service { grid-template-columns: minmax(0, 1fr); }
  .service:nth-child(even) figure { order: 0; }
  .hero__media img { aspect-ratio: 16 / 11; }
  .badge { inset-inline-start: 26px; bottom: 26px; }
  .badge--top { inset-inline-end: 26px; top: 26px; inset-inline-start: auto; bottom: auto; }
  .cards, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-header .wrap { padding-inline: 20px 10px; height: 64px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .facts div { padding: 16px; }
  .actions .btn { flex: 1 1 100%; }
  .cards, .steps, .duo, .ticks, .form { grid-template-columns: minmax(0, 1fr); }
  .badge--top { display: none; }
  .badge { padding: 10px 14px; inset-inline-start: 22px; bottom: 22px; }
  .legal { margin-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
