/* Page Qualité — maquette 2026 (navbar/footer globaux inchangés) */

@keyframes sq-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes sq-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
@keyframes sq-hero-img-in {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}

html:has(body.sq-page) {
  scroll-behavior: smooth;
}

body.sq-page {
  background: #F5F8F1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.sq-page .grain { display: none; }
body.sq-page ::selection {
  background: #C9E6BE;
  color: #0E4429;
}

.sq-quality {
  --sq-font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --sq-font-body: 'Manrope', system-ui, sans-serif;
  --sq-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sq-dur: 0.9s;
  font-family: var(--sq-font-body);
  color: #13231A;
  overflow-x: hidden;
}

/* ── Reveal ── */
.sq-quality [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity var(--sq-dur) var(--sq-ease),
    transform var(--sq-dur) var(--sq-ease);
  transition-delay: var(--rv-delay, 0ms);
  will-change: opacity, transform;
}
.sq-quality [data-reveal="fade-left"] { transform: translateX(-32px); }
.sq-quality [data-reveal="fade-right"] { transform: translateX(32px); }
.sq-quality [data-reveal="scale"] { transform: scale(0.94); }
.sq-quality [data-reveal="fade"] { transform: none; }
.sq-quality [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}
.sq-quality.is-ready .sq-hero__visual.is-revealed .sq-hero__photo img {
  animation: sq-hero-img-in 1.15s var(--sq-ease) both;
  animation-delay: 0.15s;
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.sq-page) { scroll-behavior: auto; }
  .sq-quality [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
  .sq-quality.is-ready .sq-hero__visual.is-revealed .sq-hero__photo img {
    animation: none;
  }
}

/* ── Shared ── */
.sq-eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1C7C4A;
  margin-bottom: 14px;
}
.sq-eyebrow--light { color: #9BE08A; }
.sq-eyebrow--icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.sq-eyebrow--icon .sc-icon-wrap--xs { margin-bottom: 0; }
.sq-h2 {
  font-family: var(--sq-font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: #13231A;
  text-wrap: balance;
}
.sq-h2--light { color: #fff; }
.sq-lead {
  font-size: 17px;
  line-height: 1.55;
  color: #5C6B60;
  font-weight: 500;
  margin: 0;
}
.sq-lead--light { color: #BFD6B6; }
.sq-em { color: #1C7C4A; }

.sq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 999px;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--sq-ease), box-shadow 0.35s ease, background 0.25s ease, color 0.25s ease;
}
.sq-btn--primary {
  background: #1C7C4A;
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(28, 124, 74, 0.8);
}
.sq-btn--primary:hover {
  color: #fff;
  background: #178f47;
  transform: translateY(-2px);
}
.sq-btn--ghost {
  background: #fff;
  color: #13231A;
  border: 1px solid #DCE6D6;
}
.sq-btn--ghost:hover {
  transform: translateY(-2px);
  border-color: #C9D9C0;
}
.sq-btn--white {
  background: #fff;
  color: #0E4429;
  padding: 15px 30px;
}
.sq-btn--glass {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 15px 30px;
}
.sq-btn--glass:hover { color: #fff; transform: translateY(-2px); }
.sq-btn--icon { gap: 10px; }
.sq-btn--icon .sc-icon-wrap--xs {
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  box-shadow: none;
}
.sq-btn--primary.sq-btn--icon .sc-icon-wrap--xs {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.sq-btn:active { transform: translateY(0) scale(0.98); }

/* Icônes (style premium, scopé page qualité) */
.sq-quality .sc-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(145deg, #f4faf1 0%, #e8f3e4 100%);
  border: 1px solid rgba(28, 124, 74, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 24px -14px rgba(28, 124, 74, 0.4);
  color: #1C7C4A;
  transition: transform 0.3s var(--sq-ease), box-shadow 0.3s ease;
}
.sq-quality .sc-icon-wrap .sc-icon {
  width: 55%;
  height: 55%;
  display: block;
}
.sq-quality .sc-icon-wrap--xs { width: 32px; height: 32px; border-radius: 10px; }
.sq-quality .sc-icon-wrap--sm { width: 40px; height: 40px; border-radius: 12px; }
.sq-quality .sc-icon-wrap--md { width: 48px; height: 48px; border-radius: 14px; }
.sq-quality .sc-icon-wrap--band {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(155, 224, 138, 0.22);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
  color: #9BE08A;
}
.sq-step-card:hover .sc-icon-wrap--md,
.sq-norm-card:hover .sc-icon-wrap--sm,
.sq-edu__item:hover .sc-icon-wrap--xs {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 28px -12px rgba(28, 124, 74, 0.5);
}

.sq-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #E6F1E2;
  color: #1C7C4A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  margin-top: 1px;
}

/* ── Hero ── */
.sq-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) clamp(18px, 5vw, 32px) clamp(36px, 5vw, 48px);
  padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 80px));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
.sq-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #8A998D;
  margin-bottom: 22px;
}
.sq-breadcrumb a {
  text-decoration: none;
  color: #8A998D;
}
.sq-breadcrumb a:hover { color: #1C7C4A; }
.sq-breadcrumb__current {
  color: #1C7C4A;
  font-weight: 700;
}
.sq-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #E6F1E2;
  color: #1C7C4A;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.sq-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #1C7C4A;
  animation: sq-pulse 2s ease-in-out infinite;
}
.sq-hero__title {
  font-family: var(--sq-font-display);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  color: #13231A;
  text-wrap: balance;
}
.sq-hero__lead {
  font-size: 18px;
  line-height: 1.55;
  color: #5C6B60;
  max-width: 480px;
  margin: 0 0 34px;
  font-weight: 500;
}
.sq-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.sq-hero__visual { position: relative; }
.sq-hero__photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(15, 68, 41, 0.5);
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #DCEAD4 0%, #E8F2E2 100%);
}
.sq-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sq-hero__float {
  position: absolute;
  right: -14px;
  top: 34px;
  background: #fff;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 20px 44px -20px rgba(15, 68, 41, 0.45);
  display: flex;
  align-items: center;
  gap: 13px;
  animation: sq-float 6s ease-in-out infinite;
}
.sq-hero__float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sq-hero__float-icon .sc-icon-wrap--xs {
  margin-bottom: 0;
}
.sq-hero__float-label {
  font-size: 12px;
  color: #8A998D;
  font-weight: 600;
}
.sq-hero__float-value {
  font-family: var(--sq-font-display);
  font-weight: 700;
  font-size: 16px;
  color: #1C7C4A;
  letter-spacing: -0.01em;
}

/* ── Trust strip ── */
.sq-trust {
  border-top: 1px solid #E3EADE;
  border-bottom: 1px solid #E3EADE;
  background: linear-gradient(90deg, #FAFCF8 0%, #F2F7EE 48%, #FAFCF8 100%);
}
.sq-trust__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px clamp(18px, 5vw, 32px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 10px;
}
.sq-trust__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #8A998D;
  flex-shrink: 0;
}
.sq-trust__label .sc-icon-wrap--xs { margin-bottom: 0; }
.sq-trust__badges {
  display: contents;
}
.sq-trust__badge {
  background: #EEF4E9;
  color: #1C7C4A;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* ── Process ── */
.sq-process {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 96px) clamp(18px, 5vw, 32px);
  background: linear-gradient(180deg, rgba(238, 244, 233, 0.35) 0%, transparent 42%, rgba(238, 244, 233, 0.2) 100%);
  border-radius: 0;
}
.sq-process__head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.sq-process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.sq-step-card {
  position: relative;
  background: #fff;
  border: 1px solid #E3EADE;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 24px 48px -42px rgba(15, 68, 41, 0.4);
  transition: transform 0.4s var(--sq-ease), box-shadow 0.4s ease;
}
.sq-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 56px -36px rgba(15, 68, 41, 0.48);
}
.sq-step-card--video {
  cursor: pointer;
}
.sq-step-card--video:focus-visible {
  outline: 2px solid #1C7C4A;
  outline-offset: 3px;
}
.sq-step-card__play {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #1C7C4A;
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.sq-step-card__play .sc-icon { width: 55%; height: 55%; margin-left: 2px; }
.sq-step-card--video:hover .sq-step-card__play,
.sq-step-card--video:focus-visible .sq-step-card__play {
  opacity: 1;
  transform: scale(1);
}
.sq-step-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.sq-step-card__icon { line-height: 0; }
.sq-step-card__icon .sc-icon-wrap--md { margin-bottom: 0; }
.sq-step-card__num {
  flex-shrink: 0;
  font-family: var(--sq-font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #8A998D;
  padding-top: 4px;
}
.sq-step-card__title {
  font-family: var(--sq-font-display);
  font-weight: 700;
  font-size: 18.5px;
  letter-spacing: -0.015em;
  margin: 0 0 9px;
  color: #13231A;
}
.sq-step-card__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: #5C6B60;
  font-weight: 500;
  margin: 0;
}

/* ── Video modal ── */
.sq-video-modal[hidden] { display: none; }
.sq-video-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.sq-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 28, 18, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.sq-video-modal__dialog {
  position: relative;
  width: min(860px, 100%);
  background: #0E1512;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 100px -40px rgba(10, 40, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.sq-video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}
.sq-video-modal__close:hover { background: rgba(0, 0, 0, 0.7); }
.sq-video-modal__title {
  position: absolute;
  top: 0;
  left: 0;
  padding: 14px 60px 14px 18px;
  margin: 0;
  font-family: var(--sq-font-display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.sq-video-modal__player {
  display: block;
  width: 100%;
  max-height: 80vh;
  aspect-ratio: 16 / 9;
  background: #000;
}
body.sq-video-modal-open { overflow: hidden; }

/* ── Norms (dark) ── */
.sq-norms {
  background: linear-gradient(165deg, #0E4429 0%, #0B3A22 55%, #0E4429 100%);
  color: #fff;
}
.sq-norms__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 96px) clamp(18px, 5vw, 32px);
}
.sq-norms__head {
  max-width: 700px;
  margin: 0 auto 52px;
  text-align: center;
}
.sq-norms__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.sq-norm-card {
  background: #0F4F31;
  border: 1px solid #1A6340;
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.35s var(--sq-ease), border-color 0.25s ease;
}
.sq-norm-card:hover {
  transform: translateY(-2px);
  border-color: #22704a;
}
.sq-norm-card__icon {
  line-height: 0;
  margin-bottom: 14px;
}
.sq-norm-card__icon .sc-icon-wrap--sm { margin-bottom: 0; }
.sq-norm-card__tag {
  display: inline-flex;
  align-items: center;
  background: #13593A;
  border: 1px solid #1F7048;
  color: #9BE08A;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.sq-norm-card__title {
  font-family: var(--sq-font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin: 0 0 9px;
  color: #fff;
}
.sq-norm-card__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: #A9C8A0;
  font-weight: 500;
  margin: 0;
}

/* ── Certificat CERES ── */
.sq-cert {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 96px) clamp(18px, 5vw, 32px);
  background: linear-gradient(180deg, transparent 0%, rgba(238, 244, 233, 0.55) 50%, transparent 100%);
}
.sq-cert__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
.sq-cert__visual {
  border-radius: 26px;
  background: linear-gradient(145deg, #F4F9F0 0%, #E8F2E2 100%);
  border: 1px solid #DCE6D6;
  padding: clamp(36px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 30px 60px -45px rgba(15, 68, 41, 0.4);
  aspect-ratio: 4 / 3;
}
.sq-cert__logo-wrap {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #DCE6D6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 16px 32px -22px rgba(15, 68, 41, 0.4);
  overflow: hidden;
}
.sq-cert__logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.sq-cert__brand {
  font-family: var(--sq-font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: #13231A;
}
.sq-cert__brand-sub {
  font-size: 13.5px;
  color: #5C6B60;
  font-weight: 600;
  margin-top: 6px;
}
.sq-cert__pill {
  margin-top: 18px;
  background: #1C7C4A;
  color: #fff;
  font-family: var(--sq-font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.sq-cert__points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}
.sq-cert__point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.5;
  color: #3A4A3E;
  font-weight: 500;
}
.sq-cert__point-icon { line-height: 0; }
.sq-cert__point-icon .sc-icon-wrap--xs { margin-bottom: 0; }

/* ── Education ── */
.sq-edu {
  background: linear-gradient(160deg, #EEF4E9 0%, #E6EFE0 50%, #EEF4E9 100%);
}
.sq-edu__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 96px) clamp(18px, 5vw, 32px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
.sq-edu__photo {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 40px 80px -45px rgba(15, 68, 41, 0.5);
  aspect-ratio: 4 / 5;
  background: #D8E7D0;
}
.sq-edu__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sq-edu__intro { margin-bottom: 28px; }
.sq-edu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}
.sq-edu__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #E1EBDB;
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14.5px;
  line-height: 1.45;
  color: #3A4A3E;
  font-weight: 500;
  transition: transform 0.3s var(--sq-ease), box-shadow 0.3s ease, background 0.25s ease;
}
.sq-edu__item:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 12px 28px -18px rgba(15, 68, 41, 0.25);
}
.sq-edu__item-icon { line-height: 0; }
.sq-edu__item-icon .sc-icon-wrap--xs { margin-bottom: 0; }
.sq-edu__download { margin-top: 26px; }

/* ── CTA finale ── */
.sq-cta-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 32px);
}
.sq-cta {
  background: linear-gradient(135deg, #1C7C4A 0%, #168044 45%, #0E4429 100%);
  border-radius: 32px;
  padding: clamp(44px, 6vw, 72px) clamp(28px, 5vw, 56px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 90px -45px rgba(15, 68, 41, 0.7);
}
.sq-cta__deco {
  position: absolute;
  top: -40px;
  right: -20px;
  width: 180px;
  height: 180px;
  opacity: 0.1;
  pointer-events: none;
  color: #fff;
}
.sq-cta__deco svg {
  width: 100%;
  height: 100%;
}
.sq-cta__title {
  font-family: var(--sq-font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: #fff;
  position: relative;
  text-wrap: balance;
}
.sq-cta__lead {
  font-size: 18px;
  line-height: 1.5;
  color: #CFE8C5;
  font-weight: 500;
  max-width: 520px;
  margin: 0 auto 32px;
  position: relative;
}
.sq-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

@media (max-width: 1024px) {
  .sq-hero {
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vw, 48px);
  }
  .sq-hero__copy {
    text-align: center;
  }
  .sq-hero__lead {
    margin-left: auto;
    margin-right: auto;
  }
  .sq-hero__visual {
    max-width: 440px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .sq-hero {
    padding: calc(var(--nav-h) + 28px) 20px 40px;
  }
  .sq-badge {
    font-size: 11.5px;
    padding: 6px 12px;
    margin-bottom: 18px;
    max-width: min(100%, 360px);
    flex-wrap: wrap;
    justify-content: center;
    line-height: 1.35;
  }
  .sq-hero__title {
    font-size: clamp(32px, 8.5vw, 44px);
    margin-bottom: 16px;
  }
  .sq-hero__lead {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 24px;
    max-width: 36ch;
  }
  .sq-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .sq-hero__actions .sq-btn {
    width: 100%;
    justify-content: center;
  }
  .sq-hero__photo {
    border-radius: 20px;
  }
  .sq-hero__float {
    right: 8px;
    top: 16px;
    padding: 12px 14px;
    max-width: calc(100% - 24px);
  }
  .sq-hero__float-value {
    font-size: 15px;
  }

  .sq-trust__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 12px;
  }
  .sq-trust__label {
    justify-content: center;
    width: 100%;
  }
  .sq-trust__badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .sq-trust__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 11.5px;
    padding: 9px 10px;
    line-height: 1.3;
    white-space: normal;
    border-radius: 12px;
    min-height: 40px;
  }

  .sq-process {
    padding: 48px 20px;
  }
  .sq-process__head {
    margin-bottom: 36px;
  }
  .sq-process__grid {
    grid-template-columns: 1fr;
  }
  .sq-step-card {
    padding: 22px 20px;
  }

  .sq-norms__inner {
    padding: 48px 20px;
  }
  .sq-norms__grid {
    grid-template-columns: 1fr;
  }
  .sq-norm-card {
    padding: 22px 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px 14px;
    align-items: center;
  }
  .sq-norm-card__icon {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
  }
  .sq-norm-card__tag {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
    justify-self: start;
  }
  .sq-norm-card__title {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .sq-norm-card__desc {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .sq-cert {
    padding: 48px 20px;
  }
  .sq-cert__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sq-cert__visual {
    aspect-ratio: auto;
    min-height: 260px;
    padding: 32px 24px;
  }
  .sq-cert .sq-btn {
    width: 100%;
    justify-content: center;
  }

  .sq-edu__inner {
    padding: 48px 20px;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sq-edu__grid {
    grid-template-columns: 1fr;
  }
  .sq-edu__download {
    width: 100%;
    justify-content: center;
  }

  .sq-cta-wrap {
    padding: 48px 20px;
  }
  .sq-cta {
    border-radius: 20px;
    padding: 32px 24px;
  }
  .sq-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .sq-cta__actions .sq-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .sq-hero__title {
    font-size: clamp(28px, 9vw, 36px);
  }
  .sq-hero__lead {
    max-width: none;
  }
  .sq-badge {
    font-size: 10.5px;
    letter-spacing: -0.01em;
  }
  .sq-h2 {
    font-size: clamp(24px, 7vw, 32px);
  }
}
