/* Kayousoft : feuille de style commune à toutes les pages */

:root {
  /* Palette reprise de l'application Biks (BiksV4_v3_1.css) */
  --dark: #344957;
  --cyan: #2aa0d2;
  --cyan-light: #35a8e0;
  --cyan-ink: #25749a;
  --orange: #ff931e;
  --light: #f2f2f2;
  --grey: #999;
  --navy: #173349;
  --slate: #344957;
  --text: #2a3b47;
  --bg: #ecf2f4;
  --soft: #f7f9fa;
  --line: #d1dede;
  /* Tuiles de l'accueil Biks : Production, Débit, Temps d'arrêt, Consommation */
  --pink: #e28ea0;
  --pink-light: #f1c7d0;
  --tile-1: #32a4ad;
  --tile-2: #5a96b2;
  --tile-3: #e28ea0;
  --tile-4: #cc8bcc;
  --max: 980px;
  --gap: 12px;
  --r-sm: 14px;
  --r: 18px;
  --r-lg: 32px;
  --shadow-sm: 0 2px 8px rgba(20, 40, 60, .08);
  --shadow: 0 10px 30px -10px rgba(20, 40, 60, .22);
  --shadow-lg: 0 24px 50px -18px rgba(20, 40, 60, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

::selection { background: var(--pink-light); color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cyan);
  color: #fff;
  padding: 8px 14px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  z-index: 100;
}
.skip:focus { left: 8px; top: 0; }

/* ---------- En-tête (pleine largeur, verre dépoli) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(52, 73, 87, .92);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(35, 56, 72, .96);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .55);
}

.site-header .bar {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 22px;
}

.site-header .logo img { display: block; height: 36px; width: auto; }

.site-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 8px 15px;
  color: rgba(255, 255, 255, .86);
  text-decoration: none;
  border-radius: 999px;
  font-size: 1rem;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.site-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.site-nav a:hover { background: rgba(226, 142, 160, .22); }
.site-nav a[aria-current="page"] { background: rgba(226, 142, 160, .38); color: #fff; }

.site-header .client-area {
  margin-left: auto;
  padding: 8px 20px;
  border: 1.5px solid var(--pink);
  border-radius: 999px;
  color: var(--pink-light);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.site-header .client-area:hover { background: var(--pink); border-color: var(--pink); color: #fff; }

.menu-btn {
  display: none;
  margin-left: auto;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  padding: 8px 20px;
  cursor: pointer;
}

/* ---------- Pied de page ---------- */

.site-footer {
  margin-top: 56px;
  background: linear-gradient(135deg, #344957, #173349);
  color: #fff;
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 36px;
  padding-top: 36px;
  padding-bottom: 36px;
}
.site-footer .brand { display: flex; align-items: center; gap: 24px; }
.site-footer .brand img { display: block; }
.site-footer .brand a { transition: transform .2s var(--ease); }
.site-footer .brand a:hover { transform: translateY(-2px); }
.site-footer nav { margin-left: auto; display: flex; gap: 8px; }
.site-footer nav a {
  padding: 8px 18px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.site-footer nav a:hover,
.site-footer nav a[aria-current="page"] { background: rgba(226, 142, 160, .3); color: #fff; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2aa0d2, #25749a);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 22px -8px rgba(37, 116, 154, .85);
  border: 0;
  font-family: inherit;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -10px rgba(37, 116, 154, .9);
  filter: brightness(1.06);
}
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-pink {
  background: linear-gradient(135deg, #eaa0b1, #dd7f96);
  box-shadow: 0 10px 22px -8px rgba(226, 142, 160, .9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}
.btn-pink:hover { box-shadow: 0 16px 28px -10px rgba(226, 142, 160, .95); }

/* ---------- Accueil ---------- */

.home { background: var(--bg); }

/* Bandeau d'accueil : vidéo de cailloux en fond (image fixe si mouvement réduit ou si la vidéo ne charge pas) */
.home-hero {
  position: relative;
  overflow: hidden;
  margin: var(--gap);
  padding-bottom: 36px;
  border-radius: var(--r-lg);
  background: #4d5560 url("../images/fond-mobile-slogan.jpg") center / cover no-repeat;
}
.home-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 51, 73, .55) 0%, rgba(23, 51, 73, .12) 45%, rgba(23, 51, 73, .4) 100%);
  pointer-events: none;
}
.home-hero > .home-intro,
.home-hero > .home-gains { position: relative; z-index: 1; }
.home-gains { max-width: 1020px; }

.home-intro { padding: 36px 0 8px; }
.home-intro .wrap { max-width: 1020px; }
.home-intro img { display: block; width: min(380px, 100%); }
.home-intro .slogan {
  margin: 8px 0 0;
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.home-main { padding: 20px 0 28px; }
.home-main .wrap { max-width: 1020px; }

.gains {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 20px 0 12px;
  padding: 0;
  list-style: none;
}
.gains li {
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 18px 10px 20px;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.3;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.gains li:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gains img { display: block; margin: 0 auto 12px; height: 96px; width: auto; max-width: 100%; }

.gains-dark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.gains-dark li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: rgba(23, 51, 73, .8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  color: #fff;
  padding: 14px 18px;
  text-align: center;
  line-height: 1.3;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.gains-dark li:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gains-dark img { height: 80px; width: auto; }

.offer {
  display: grid;
  grid-template-columns: 1fr 1fr 0.95fr;
  min-height: 250px;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.offer-pic { overflow: hidden; background-size: cover; background-position: center; min-height: 180px; }
.offer-pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.offer:hover .offer-pic img { transform: scale(1.06); }
.offer-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px 16px;
  color: #fff;
  text-align: center;
}
.offer-title h2 {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}
.offer-title .btn { font-size: 1.02rem; }
.offer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 28px;
  text-align: center;
  background: var(--soft);
  color: #6b8190;
  line-height: 1.3;
}
.offer-brand img { display: block; max-width: 100%; }
.offer-brand p { margin: 0; padding-top: 12px; border-top: 2px solid var(--pink); width: 100%; max-width: 190px; }

.offer-connect .offer-title { background: linear-gradient(150deg, #25749a, #173349); }
.offer-smart .offer-title { background: linear-gradient(150deg, #2c2623, #151211); }
.offer-services .offer-title { background: linear-gradient(150deg, #3f5a6c, #263a49); }
.offer-services .offer-brand { background: var(--dark); color: #fff; }

/* Bandeau de références clients */

.clients {
  margin: 0 var(--gap);
  overflow: hidden;
  padding: 28px 0;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.clients-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: defile 38s linear infinite;
}
.clients:hover .clients-track { animation-play-state: paused; }
.clients-track img { display: block; height: 78px; width: auto; flex: none; }

@keyframes defile {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Pages intérieures ---------- */

.hero {
  position: relative;
  margin: var(--gap) var(--gap) 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  background-color: var(--dark);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero .wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(260px, 36.5vw, 600px);
  padding-top: 32px;
  padding-bottom: 32px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.12;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}
.hero p {
  margin: 14px 0 0;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}
.hero-right .wrap { align-items: flex-end; text-align: left; padding-bottom: 11vw; }
.hero-right .hero-text { width: 50%; }
.hero-left .hero-text { width: 55%; }
.hero-center { text-align: center; }
.hero-center .hero-text { margin: 0 auto; }

/* Bandeau d'introduction : carte colorée qui chevauche le bas du bandeau d'image */
.intro-band {
  position: relative;
  z-index: 2;
  margin-top: -48px;
}
.intro-band .box {
  background: linear-gradient(135deg, #2aa0d2, #25749a);
  color: #fff;
  padding: 28px 32px;
  border-radius: var(--r);
  box-shadow: 0 24px 50px -20px rgba(10, 40, 60, .5);
  font-size: 1.15rem;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}
.intro-band .box-slate { background: linear-gradient(135deg, #4a6578, #344957); }
.intro-band .box p { margin: 0; }
.intro-band .box p + p { margin-top: 8px; }

.product-logo {
  display: block;
  margin: 40px auto 0;
  max-width: 100%;
}
.rule { border: 0; border-top: 1px solid var(--line); margin: 28px 0 32px; }

.schema {
  display: block;
  width: 100%;
  max-width: 1150px;
  margin: 0 auto 32px;
}

.section { padding: 8px 0 28px; }
.section h2 {
  margin: 0 0 14px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--dark);
}
.section h2.accent { color: var(--cyan-ink); }
.section h2.accent::before {
  content: "";
  display: block;
  width: 36px;
  height: 5px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--cyan-ink);
}
.section h3 { margin: 18px 0 8px; font-size: 1.1rem; }
.section p { margin: 0 0 12px; }
.section ul.ticks { margin: 0 0 12px; padding: 0; list-style: none; }
.section ul.ticks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}
.section ul.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 15px;
  height: 15px;
  background: url("../images/puce-k.png") no-repeat center / contain;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 22px 0 8px;
  padding: 0;
  list-style: none;
}
.cards > li {
  position: relative;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 26px 18px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.cards > li::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 0;
  width: 44px;
  height: 5px;
  border-radius: 0 0 8px 8px;
  background: var(--pink);
}
.cards > li:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: #fff; border-color: var(--pink-light); }
.cards h3 { margin: 0 0 8px; font-size: 1.15rem; }
.cards p { margin: 0 0 8px; }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.cta { text-align: center; padding: 12px 0 36px; }

.lead { font-size: 1.25rem; line-height: 1.5; }

/* Page Services : bandeau sombre « Une démarche, des résultats » (mêmes bulles que l'accueil) */

.demarche {
  margin: 36px var(--gap) 0;
  padding: 44px 0 40px;
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, #344957, #173349);
  color: #fff;
}
.demarche .wrap { max-width: 1020px; }
.demarche h2 { margin: 0 0 16px; font-size: 1.9rem; font-weight: 600; letter-spacing: -.01em; }
.demarche .gains li { background: rgba(255, 255, 255, .94); color: var(--text); }
.demarche .gains-dark { margin-bottom: 0; }
.demarche .gains-dark li { background: rgba(255, 255, 255, .08); }

/* Société */

.numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 18px 0 12px;
  padding: 0;
  list-style: none;
}
.numbers li {
  background: var(--tile-1);
  color: #fff;
  padding: 26px 22px;
  border-radius: var(--r);
  box-shadow: 0 2px 8px rgba(16, 58, 92, .18);
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.numbers li:nth-child(2) { background: var(--tile-2); }
.numbers li:nth-child(3) { background: var(--tile-3); }
.numbers li:hover { box-shadow: var(--shadow); }
.numbers li:hover { transform: translateY(-4px); }

.person {
  margin: 0 0 18px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  border-left: 5px solid var(--pink);
  background: var(--soft);
}
.person h3 { margin: 0 0 4px; font-size: 1.3rem; color: var(--cyan-ink); }
.person .role { margin: 0 0 10px; font-weight: 700; }
.person p:last-child { margin-bottom: 0; }

/* Formulaires */

.form { max-width: 640px; margin: 0 auto; }
.page-pad .form {
  padding: 32px 34px 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.hero-form .form { max-width: none; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.form label { display: block; margin: 16px 0 6px; font-weight: 600; }
.form .req { font-weight: 400; color: #6b8190; font-size: .95rem; }
.form input,
.form textarea {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font: inherit;
  border: 1.5px solid #b0c0ca;
  border-radius: var(--r-sm);
  background: var(--soft);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.form input:hover,
.form textarea:hover { border-color: #8a97a5; }
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(42, 160, 210, .22);
}
.form textarea { min-height: 170px; resize: vertical; }
.form .btn { margin-top: 10px; }

/* Widget anti-robot : 10 px d'écart avec le champ au-dessus et le bouton en dessous */
.form .cf-turnstile { margin-top: 10px; line-height: 0; }
.form .cf-turnstile iframe { display: block; border-radius: var(--r-sm); }

/* Message affiché après l'envoi (succès ou erreur). Le sélecteur « .form » le protège
   du style des textes de bandeau (.hero p) sur la page de démonstration. */
.form .form-msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0 0;
  padding: 14px 18px;
  border: 1px solid #ffd7a8;
  border-radius: var(--r-sm);
  background: #fff5e8;
  color: #7a4300;
  font-size: 1rem;
  line-height: 1.45;
  text-shadow: none;
}
.form .form-msg::before {
  content: "!";
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1;
}
.form .form-msg.ok { border-color: #b9e2c7; background: #eaf7ef; color: #1c5a33; }
.form .form-msg.ok::before { content: "\2713"; background: #2e9e4f; }
.form .form-msg[hidden] { display: none; }
.hp { position: absolute; left: -9999px; }

.page-pad { padding: 44px 0 48px; }
.page-pad h1 { margin: 0 0 18px; font-size: 2.2rem; font-weight: 600; color: var(--dark); }

/* Mentions légales */

.legal h2 { margin: 32px 0 10px; font-size: 1.25rem; color: var(--cyan-ink); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal li { margin-bottom: 4px; }
.legal .maj { font-style: italic; color: #6b8190; }
.legal a { color: var(--cyan-ink); text-underline-offset: 3px; }
.legal address { font-style: normal; margin: 0 0 12px; }

/* Variantes de bandeau */

.hero-shade .hero-text {
  background: rgba(20, 28, 36, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r);
  padding: 26px 32px;
}
.hero-dark { color: var(--navy); background-position: center top; }
.hero-dark .wrap { justify-content: flex-end; padding-bottom: 4vw; }
.hero-dark h1,
.hero-dark p { text-shadow: 0 1px 6px rgba(255, 255, 255, .7); }
.hero-img { background-position: center 85%; }
.hero-img .wrap { min-height: clamp(180px, 30vw, 460px); }

.hero-form .wrap {
  align-items: flex-end;
  justify-content: center;
  max-width: none;
  padding-right: 6vw;
  min-height: clamp(520px, 36.5vw, 640px);
}
.hero-form .card {
  width: min(48vw, 900px);
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--text);
  padding: 28px 32px 32px;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
}
.hero-form .card h1 { color: var(--dark); text-shadow: none; font-size: 2rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Apparition douce au défilement (classes ajoutées par js/main.js) ---------- */

.reveal { opacity: 0; }
.reveal.in {
  opacity: 1;
  animation: monte .7s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 90ms);
}
@keyframes monte {
  from { opacity: 0; transform: translateY(22px); }
}

/* ---------- Menu mobile (apparaît dès que la barre de navigation devient trop étroite) ---------- */

@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .site-header .bar { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; min-height: 64px; }
  .site-nav { display: none; flex: 1 0 100%; order: 3; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; padding-bottom: 8px; }
  .site-nav a { display: block; padding: 12px 16px; border-radius: 16px; }
  .site-header .client-area { margin-left: 0; order: 4; flex: 1 0 100%; display: none; margin-bottom: 8px; text-align: center; }
  .site-nav.open + .client-area { display: block; }
}

/* ---------- Mobile ---------- */

@media (max-width: 860px) {
  :root { --gap: 8px; --r-lg: 24px; --r: 18px; }

  .site-header .bar { padding-left: 16px; padding-right: 16px; }
  .site-header .logo img { height: 30px; }

  .gains { grid-template-columns: repeat(2, 1fr); }
  .gains li:last-child { grid-column: span 2; }
  .gains-dark { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .offer-pic { height: 200px; }

  .hero .wrap { min-height: 240px; }
  .hero-right .hero-text,
  .hero-left .hero-text { width: 100%; }
  .hero-right .wrap { align-items: flex-start; padding-bottom: 32px; }
  .hero:not(.hero-dark):not(.hero-img):not(.hero-form) .hero-text {
    background: rgba(20, 28, 36, .6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: var(--r-sm);
    padding: 14px 18px;
  }
  .hero-form .wrap { padding-right: 16px; }
  .hero-form .card { width: 100%; padding: 22px 20px 26px; }

  .hero:has(+ .intro-band) .wrap { padding-bottom: 60px; }
  .intro-band { margin-top: -28px; }
  .intro-band .box { padding: 22px 22px; font-size: 1.05rem; }

  .cards,
  .cols-2,
  .numbers { grid-template-columns: 1fr; }

  .page-pad .form { padding: 22px 20px 26px; }

  .site-footer nav { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1; }
  .reveal.in { animation: none; }
  .home-video { display: none; }
  .clients { -webkit-mask-image: none; mask-image: none; }
  .clients-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .clients-track [aria-hidden="true"] { display: none; }
}
