/* =================================================================
   ML Solutions — style.css (v3)
   Refonte "ingénierie sécurité" : bleu logo #003368 + acier/cyan,
   lignes fines, beaucoup de blanc. Mobile-first, zéro dépendance.
================================================================= */

:root {
  --blue:        #003368;   /* bleu logo, primaire */
  --blue-deep:   #002647;   /* fonds sombres profonds */
  --blue-700:    #0a4a86;   /* bleu intermédiaire */
  --cyan:        #0C7A99;   /* accent / CTA (texte blanc OK) */
  --cyan-hover:  #0a6580;
  --cyan-bright: #2BB8D9;   /* lignes / dots / icônes sur fond sombre */
  --ink:         #16242f;   /* texte sur clair */
  --muted:       #5d6b79;   /* texte secondaire */
  --bg:          #f4f7fb;   /* fond clair alterné */
  --white:       #ffffff;
  --line:        #e3eaf1;   /* filets fins sur clair */
  --line-dark:   rgba(255,255,255,.14); /* filets fins sur sombre */

  --radius:      10px;
  --radius-sm:   8px;
  --shadow-sm:   0 1px 2px rgba(0,51,104,.06), 0 1px 3px rgba(0,51,104,.05);
  --shadow-md:   0 10px 30px rgba(0,51,104,.10);
  --shadow-lg:   0 24px 60px rgba(0,38,71,.22);

  --maxw:        1160px;
  --header-h:    74px;

  --t-fast:      .18s ease;
  --t-base:      .28s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink); background: var(--white);
  line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { line-height: 1.18; font-weight: 700; letter-spacing: -.01em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: 20px; }
.section { padding: 84px 0; position: relative; }

.section__head { max-width: 720px; margin: 0 0 44px; }
.section__title { font-size: clamp(1.7rem, 3.6vw, 2.45rem); color: var(--blue); }
.section__title--light { color: #fff; }
.section__subtitle { margin-top: 14px; font-size: 1.08rem; color: var(--muted); }
.section__subtitle--light { color: rgba(255,255,255,.8); }

/* ---------- Eyebrow (label technique) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
}
.eyebrow--light { color: var(--cyan-bright); }
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6;
}
.eyebrow__dot { display: none; }

/* ---------- Accessibilité ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--cyan); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan-bright); outline-offset: 2px; border-radius: 3px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: .96rem; font-weight: 600; line-height: 1;
  padding: 13px 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; text-align: center;
  transition: background var(--t-base), color var(--t-base), transform var(--t-fast), box-shadow var(--t-base), border-color var(--t-base);
}
.btn--accent { background: var(--cyan); color: #fff; box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--cyan-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-2px); }
.btn--ghost-dark { background: transparent; color: #fff; border-color: var(--cyan-bright); }
.btn--ghost-dark:hover { background: rgba(43,184,217,.14); transform: translateY(-2px); }
.btn--lg { padding: 15px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,51,104,.97);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 11px; color: #fff; flex-shrink: 0; }
.logo__mark { flex-shrink: 0; height: 42px; width: auto; filter: brightness(0) invert(1); }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
.logo__text small { font-size: .66rem; font-weight: 500; letter-spacing: .04em; color: var(--cyan-bright); text-transform: uppercase; }

.nav { display: none; margin-left: auto; gap: 28px; }
.nav a { color: rgba(255,255,255,.82); font-size: .93rem; font-weight: 500; padding: 6px 0; position: relative; transition: color var(--t-fast); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 1.5px; background: var(--cyan-bright); transition: width var(--t-base); }
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav ~ .header__actions { margin-left: 0; }
.header__phone { display: none; align-items: center; gap: 7px; color: #fff; font-weight: 600; font-size: .92rem; }
.header__phone:hover { color: var(--cyan-bright); }
.header__phone, .header__phone span { white-space: nowrap; }
.header__cta { display: none; white-space: nowrap; }
.nav a { white-space: nowrap; }
/* Baseline réservée au footer : on l'enlève de l'en-tête pour gagner de la place */
.header .logo__text small { display: none; }

.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; margin: 0 auto; transition: transform var(--t-base), opacity var(--t-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: flex; flex-direction: column; gap: 4px; padding: 12px 22px 20px; background: var(--blue); border-top: 1px solid var(--line-dark); }
.mobile-nav a { color: rgba(255,255,255,.9); padding: 13px 8px; font-weight: 500; border-radius: 8px; transition: background var(--t-fast); }
.mobile-nav a:not(.btn):hover { background: rgba(255,255,255,.08); }
.mobile-nav .btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 55%, #0a3f72 100%);
}
/* Trame "bureau d'études" : lignes fines */
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 80% 0%, #000 35%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 80% 0%, #000 35%, transparent 78%);
}
.hero__inner { position: relative; padding-top: 84px; padding-bottom: 92px; max-width: 820px; }
.hero__title { font-size: clamp(2rem, 5.4vw, 3.25rem); font-weight: 800; letter-spacing: -.025em; }
.hero__title span { color: var(--cyan-bright); }
.hero__subtitle { margin-top: 22px; font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: rgba(255,255,255,.86); max-width: 660px; }

.hero__callout {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; max-width: 660px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-dark);
  border-left: 3px solid var(--cyan-bright); border-radius: var(--radius); padding: 16px 18px;
}
.hero__callout svg { flex-shrink: 0; color: var(--cyan-bright); margin-top: 2px; }
.hero__callout p { font-size: .96rem; color: rgba(255,255,255,.86); }
.hero__callout strong { color: #fff; }

.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- À propos / réassurance ---------- */
.about { background: var(--white); }
.about__inner { display: grid; grid-template-columns: 1fr; gap: 40px; }
.about__lead { font-size: clamp(1.3rem, 2.8vw, 1.85rem); color: var(--blue); font-weight: 700; letter-spacing: -.015em; }
.about__lead strong { color: var(--cyan); }
.about__text { margin-top: 18px; color: var(--muted); font-size: 1.05rem; max-width: 640px; }

.trust { display: grid; grid-template-columns: 1fr; gap: 14px; }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color var(--t-base), box-shadow var(--t-base); }
.trust__item:hover { border-color: #cfe0ee; box-shadow: var(--shadow-sm); }
.trust__item svg { width: 30px; height: 30px; flex-shrink: 0; color: var(--cyan); }
.trust__item strong { display: block; color: var(--blue); font-size: .98rem; }
.trust__item span { display: block; color: var(--muted); font-size: .85rem; }

/* ---------- Univers A : Contrôle d'accès (sombre) ---------- */
.access {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
}
.access__feature {
  display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
  border-radius: 14px; padding: 26px; margin-bottom: 40px;
}
.access__feature-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(43,184,217,.14); color: var(--cyan-bright); display: inline-flex; align-items: center; justify-content: center; }
.access__feature-icon svg { width: 28px; height: 28px; }
.access__feature-body h3 { font-size: 1.25rem; color: #fff; margin-bottom: 8px; }
.access__feature-body p { color: rgba(255,255,255,.82); font-size: .98rem; }
.access__feature-body strong { color: #fff; }
.access__feature-cta { white-space: nowrap; }

.access__cols { display: grid; grid-template-columns: 1fr; gap: 28px; }
.access__text p { color: rgba(255,255,255,.82); font-size: 1.02rem; }
.access__text strong { color: #fff; }
.access__h3 { font-size: 1.2rem; color: #fff; margin: 26px 0 14px; }
.access__h3:first-child { margin-top: 0; }

.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks--light li { color: rgba(255,255,255,.86); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232BB8D9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.access__panel {
  background: rgba(43,184,217,.07); border: 1px solid rgba(43,184,217,.28);
  border-radius: 14px; padding: 26px; align-self: start;
}
.access__panel-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-bright); margin-bottom: 12px; }
.access__panel-title { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.access__panel-text { color: rgba(255,255,255,.82); font-size: .96rem; margin-bottom: 22px; }

.sectors { margin-top: 44px; border-top: 1px solid var(--line-dark); padding-top: 28px; }
.sectors__label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.sectors__list { display: flex; flex-wrap: wrap; gap: 10px; }
.sectors__list li { font-size: .92rem; font-weight: 500; color: #fff; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); border-radius: 999px; padding: 8px 16px; }

/* Rappel marque Vauban (fond sombre) */
.brand-strip { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 36px; padding-bottom: 30px; border-bottom: 1px solid var(--line-dark); }
.brand-strip__label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.brand-strip__logo { height: 44px; width: auto; }

/* Partenaire Securitas sur la carte alarme (fond clair) */
.card__partner { display: flex; align-items: center; gap: 10px; margin-top: 16px; min-height: 30px; }
.card__partner-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__partner-logo { height: 24px; width: auto; }
.card__partner-name { font-size: 1rem; font-weight: 800; color: #c8102e; letter-spacing: -.01em; }

/* ---------- Univers B : Sécurité & réseaux (clair) ---------- */
.services { background: var(--bg); }
.cards { display: grid; grid-template-columns: 1fr; gap: 18px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 26px; position: relative; overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-fast);
}
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform var(--t-base); }
.card:hover { border-color: #cfe0ee; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card:hover::before { transform: scaleX(1); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 12px; background: rgba(12,122,153,.09); color: var(--cyan); margin-bottom: 18px; }
.card__icon svg { width: 26px; height: 26px; }
.card__title { font-size: 1.22rem; color: var(--blue); margin-bottom: 12px; }
.card__text { color: var(--muted); font-size: .97rem; }
.card__note { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--muted); }
.card__note strong { color: var(--ink); }

/* ---------- Méthode ---------- */
.method { background: var(--white); }
.steps { display: grid; grid-template-columns: 1fr; gap: 18px; counter-reset: step; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px; }
.step__num { display: block; font-size: 1.3rem; font-weight: 800; color: var(--cyan); letter-spacing: .02em; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.12rem; color: var(--blue); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Zone d'intervention ---------- */
.zone-section { background: var(--bg); }
.zone { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
.zone__title { font-size: clamp(1.6rem, 3.4vw, 2.2rem); color: var(--blue); margin-bottom: 14px; }
.zone__text p { color: var(--muted); font-size: 1.04rem; margin-bottom: 12px; }
.zone__text strong { color: var(--ink); }
.zone__note { font-size: .98rem; }
.zone__panel { background: linear-gradient(160deg, var(--blue), var(--blue-deep)); color: #fff; border-radius: 16px; padding: 34px; text-align: center; }
.zone__panel svg { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--cyan-bright); }
.zone__panel-city { font-size: 1.15rem; font-weight: 700; }
.zone__panel-sub { color: rgba(255,255,255,.7); font-size: .94rem; margin-top: 4px; }

/* ---------- Contact ---------- */
.contact-section { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; }
.contact__inner { display: grid; grid-template-columns: 1fr; gap: 36px; }
.contact__title { font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: #fff; margin-bottom: 16px; }
.contact__text { color: rgba(255,255,255,.82); font-size: 1.05rem; margin-bottom: 26px; max-width: 460px; }
.contact__list { display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 600; }
.contact__list svg { width: 22px; height: 22px; color: var(--cyan-bright); flex-shrink: 0; }
.contact__list a:hover { color: var(--cyan-bright); }

.form { background: var(--white); border-radius: 16px; padding: 30px 28px; box-shadow: var(--shadow-lg); }
.form__row { margin-bottom: 18px; }
.form__grid { display: grid; grid-template-columns: 1fr; gap: 0 18px; }
.form label { display: block; font-weight: 600; font-size: .9rem; color: var(--blue); margin-bottom: 7px; }
.req { color: var(--cyan); }
.optional { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; min-height: 48px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(12,122,153,.14); }
.form input.is-error, .form select.is-error, .form textarea.is-error { border-color: #c0392b; }
.form__check { display: flex; align-items: flex-start; gap: 11px; margin: 6px 0 22px; }
.form__check input { width: 20px; height: 20px; min-height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--cyan); }
.form__check label { font-weight: 400; font-size: .87rem; color: var(--muted); margin-bottom: 0; line-height: 1.5; }
.form__status { margin-top: 16px; font-weight: 600; text-align: center; min-height: 1.2em; }
.form__status.is-success { color: #1B7A43; }
.form__status.is-error { color: #c0392b; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-deep); color: rgba(255,255,255,.74); padding-top: 56px; }
.footer__inner { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
.logo--footer { color: #fff; margin-bottom: 14px; }
.footer__tagline { font-size: .94rem; max-width: 340px; margin-bottom: 16px; }
.footer__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__badge { font-size: .78rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.07); border: 1px solid var(--line-dark); padding: 6px 12px; border-radius: 999px; }
.footer__col h3 { color: #fff; font-size: .98rem; margin-bottom: 14px; }
.footer__list { display: grid; gap: 9px; font-size: .93rem; }
.footer__list a:hover { color: var(--cyan-bright); }
.footer__modal-link { background: none; border: none; color: inherit; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.footer__modal-link:hover { color: var(--cyan-bright); }
.footer__bottom { border-top: 1px solid var(--line-dark); padding: 18px 0; }
.footer__bottom-inner { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; color: rgba(255,255,255,.5); }

/* ---------- FAB / retour haut ---------- */
.whatsapp-fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #25D366; color: #fff; box-shadow: var(--shadow-md); transition: transform var(--t-base), box-shadow var(--t-base); }
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: var(--shadow-lg); }
.to-top { position: fixed; right: 20px; bottom: 84px; z-index: 89; width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer; background: var(--blue); color: #fff; box-shadow: var(--shadow-md); display: inline-flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(10px); transition: opacity var(--t-base), transform var(--t-base), background var(--t-fast); }
.to-top.is-visible { opacity: 1; transform: translateY(0); }
.to-top:hover { background: var(--cyan); }

/* ---------- Modales ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,16,32,.6); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.modal__box { position: relative; background: #fff; border-radius: 16px; max-width: 600px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 36px 30px; box-shadow: var(--shadow-lg); animation: modalIn var(--t-base); }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: var(--bg); border: none; border-radius: 10px; cursor: pointer; color: var(--blue); transition: background var(--t-fast); }
.modal__close:hover { background: var(--line); }
.modal__box h2 { color: var(--blue); margin-bottom: 18px; padding-right: 40px; }
.modal__content p { color: var(--muted); margin-bottom: 14px; font-size: .94rem; }
.modal__content strong { color: var(--blue); }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; background: var(--blue); color: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 12px; }
.cookie-banner p { font-size: .87rem; color: rgba(255,255,255,.85); }
.cookie-banner .btn { align-self: flex-end; }

/* ---------- Reveal ---------- */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.js .reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =================================================================
   RESPONSIVE
================================================================= */
@media (min-width: 380px) {
  .container { padding-inline: 28px; }
}

@media (max-width: 559px) {
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 30px; }
  .hero__inner { padding-top: 56px; padding-bottom: 64px; }
  .hero__cta .btn { width: 100%; }
  .access__feature, .card, .step, .zone__panel, .access__panel { padding: 22px 20px; }
  .form { padding: 24px 18px; }
}

@media (min-width: 560px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .form__grid { grid-template-columns: 1fr 1fr; }
  .cookie-banner { flex-direction: row; align-items: center; justify-content: space-between; left: auto; right: 16px; bottom: 16px; max-width: 470px; }
  .cookie-banner .btn { align-self: auto; flex-shrink: 0; }
}

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .zone { grid-template-columns: 1.5fr 1fr; }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .access__feature { grid-template-columns: auto 1fr auto; }
  .access__cols { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .contact__inner { grid-template-columns: 1fr 1.1fr; align-items: start; }
}

@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__phone { display: inline-flex; }
  .header__cta { display: inline-flex; }
  .header__actions { margin-left: 0; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
