/* ==========================================================================
   POZPAC — pose-pac.fr
   Feuille de styles unique, sans dépendance externe.
   ========================================================================== */

:root {
  --ink: #0b2e4a;
  --navy: #0e3a5c;
  --navy-900: #08243c;
  --navy-800: #0a2c47;
  --blue: #1668b3;
  --blue-700: #125a9c;
  --teal: #12a17b;
  --teal-700: #0d8565;
  --teal-100: #e6f6ef;
  --amber: #f4a72c;
  --amber-700: #d98d15;
  --amber-100: #fff3df;
  --bg: #f7fbfd;
  --bg-soft: #eef6fa;
  --surface: #ffffff;
  --line: #dce8ef;
  --line-strong: #c6d9e4;
  --muted: #55707f;
  --muted-2: #556f7e;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 46, 74, 0.05), 0 10px 30px -18px rgba(11, 46, 74, 0.25);
  --shadow-md: 0 24px 60px -30px rgba(11, 46, 74, 0.35);
  --wrap: 1160px;
  --header-h: 78px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--navy);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}

.h1-sub {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--muted);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.18rem;
  letter-spacing: -0.012em;
}

h4 {
  font-size: 1rem;
}

p {
  margin: 0 0 1em;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

a {
  color: var(--blue-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-700);
}

strong {
  font-weight: 700;
  color: var(--navy);
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

li + li {
  margin-top: 0.4em;
}

:focus-visible {
  outline: 3px solid rgba(22, 104, 179, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--amber-100);
  color: var(--navy);
}

/* Layout ---------------------------------------------------------------- */

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

.section {
  padding-block: clamp(56px, 7vw, 96px);
}

.section--tight {
  padding-block: clamp(40px, 5vw, 64px);
}

.section--soft {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  border-block: 1px solid var(--line);
}

.section--navy {
  background: var(--navy);
  color: #e8f1f6;
}

.section--navy h2,
.section--navy h3 {
  color: #fff;
}

.section--navy .eyebrow {
  color: #9fe3cd;
}

.section--navy .section-head p {
  color: #c9dae5;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  font-size: 1.06rem;
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--amber);
}

.lead {
  font-size: clamp(1.04rem, 1.6vw, 1.16rem);
  color: var(--muted);
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mt-2 {
  margin-top: 16px;
}

.mt-4 {
  margin-top: 32px;
}

/* Accessibility --------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

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

/* Header ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(198, 217, 228, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--navy);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-sub {
  margin-top: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav > .btn {
  display: none;
}

.nav li + li {
  margin: 0;
}

.nav a {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--teal-700);
}

.nav a[aria-current="page"] {
  color: var(--teal-700);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--amber);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.header-phone:hover {
  color: var(--teal-700);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* Buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  min-height: 48px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--amber);
  color: #21160a;
  box-shadow: 0 10px 24px -14px rgba(244, 167, 44, 0.9);
}

.btn--primary:hover {
  background: #f7b545;
  color: #21160a;
}

.btn--navy {
  background: var(--navy);
  color: #fff;
}

.btn--navy:hover {
  background: var(--navy-900);
  color: #fff;
}

.btn--ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--navy);
}

.btn--ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn--light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn--sm {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 0.88rem;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn[disabled],
.btn[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(33, 22, 10, 0.25);
  border-top-color: #21160a;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn[aria-busy="true"] .btn-spinner {
  display: inline-block;
}

.btn[aria-busy="true"] .btn-label {
  opacity: 0.75;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Hero ------------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(36px, 5vw, 64px) clamp(48px, 6vw, 80px);
  background:
    radial-gradient(900px 500px at 88% 8%, rgba(18, 161, 123, 0.1), transparent 62%),
    radial-gradient(800px 520px at 4% 0%, rgba(22, 104, 179, 0.09), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero h1 {
  max-width: 17ch;
}

.hero .lead {
  max-width: 52ch;
  margin-top: 18px;
  margin-bottom: 26px;
}

.hero-figure {
  position: relative;
  margin: 0;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(198, 217, 228, 0.8);
  box-shadow: var(--shadow-md);
  background: var(--bg-soft);
}

.hero-note {
  position: absolute;
  left: -14px;
  top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 290px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--navy);
}

.hero-note .icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
}

.hero-note .icon svg {
  width: 20px;
  height: 20px;
}

.hero-note small {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.hero-chips svg {
  width: 15px;
  height: 15px;
  color: var(--teal);
  flex: none;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

/* Cards ----------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.card .btn-row {
  margin-top: auto;
  padding-top: 18px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--blue-700);
  text-decoration: none;
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

.card-link:hover svg {
  transform: translateX(3px);
}

.card--service {
  padding: 0;
  overflow: hidden;
}

.card--service img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.card--service .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}

.tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-100);
  color: #0b6f57;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card--service .tag {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-100);
  color: #0b6f57;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card--flat {
  padding: 22px;
  box-shadow: none;
  background: #fbfdfe;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--teal-100);
  color: var(--teal-700);
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.icon-box--amber {
  background: var(--amber-100);
  color: #a86400;
}

.icon-box--blue {
  background: #e7f1fa;
  color: var(--blue-700);
}

/* Feature list ---------------------------------------------------------- */

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 12px;
  margin: 0;
  font-size: 0.97rem;
}

.check-list svg {
  width: 21px;
  height: 21px;
  flex: none;
  margin-top: 2px;
  color: var(--teal);
}

/* Steps ----------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  margin: 0;
  padding: 26px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  margin-bottom: 12px;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--amber);
  letter-spacing: -0.04em;
}

.step h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Split ----------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.split--media-right .split-media {
  order: 2;
}

.split-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--bg-soft);
}

.split-media figcaption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted-2);
  text-align: center;
}

.split h2 {
  margin-bottom: 16px;
}

.split .lead {
  margin-bottom: 22px;
}

/* Stats ----------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat {
  margin: 0;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.stat strong {
  display: block;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.1;
  color: var(--amber);
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: #c9dae5;
}

/* Chips / zone ---------------------------------------------------------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  margin: 0;
}

.chip {
  display: inline-block;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.chip:hover {
  border-color: var(--teal);
  color: var(--teal-700);
  background: var(--teal-100);
}

.chip--main {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.chip--main:hover {
  background: var(--navy-900);
  color: #fff;
}

/* Table ----------------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 620px;
}

caption {
  padding: 16px 20px 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: left;
}

th,
td {
  padding: 15px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: #f5fafc;
}

tbody tr:last-child td {
  border-bottom: 0;
}

td strong {
  color: var(--navy);
}

/* FAQ ------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.faq summary {
  position: relative;
  padding: 18px 56px 18px 20px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  line-height: 1.4;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details[open] summary {
  color: var(--teal-700);
}

.faq .faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq .faq-answer p:last-child {
  margin-bottom: 0;
}

/* Page hero ------------------------------------------------------------- */

.page-hero {
  padding-block: clamp(28px, 4vw, 46px) clamp(40px, 5vw, 64px);
  background:
    radial-gradient(800px 420px at 90% 0%, rgba(18, 161, 123, 0.09), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(28px, 4vw, 52px);
}

.page-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.6vw, 2.95rem);
}

.page-hero .lead {
  margin-bottom: 24px;
  max-width: 56ch;
}

.page-hero-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--bg-soft);
}

.breadcrumbs {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
}

.breadcrumbs li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--line-strong);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--teal-700);
}

.breadcrumbs [aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}

/* CTA band -------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 380px at 85% 10%, rgba(18, 161, 123, 0.35), transparent 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 60%, #124a72 100%);
  color: #fff;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta-band p {
  color: #cfe0ea;
  max-width: 58ch;
  margin-bottom: 0;
}

.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-grid .btn-row {
  flex: none;
}

/* Forms ----------------------------------------------------------------- */

.form-shell {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.form-shell > h2 {
  font-size: clamp(1.28rem, 2vw, 1.5rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--navy);
}

.field label .req {
  color: var(--teal-700);
}

.field .hint {
  font-size: 0.78rem;
  color: var(--muted-2);
  font-weight: 500;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fbfdfe;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(22, 104, 179, 0.12);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea,
.field.has-error .file-drop {
  border-color: var(--danger);
  background: var(--danger-bg);
}

.field-error {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--danger);
}

.field-error:empty {
  display: none;
}

.file-drop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fbfdfe;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.file-drop:hover,
.file-drop:focus-within {
  border-color: var(--teal);
  background: #f4fdf9;
}

.file-drop svg {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--teal-700);
}

.file-drop-text {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

.file-drop-text small {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted-2);
}

.file-drop input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.file-name {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.checkbox-field {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  flex: none;
  accent-color: var(--teal-700);
}

.checkbox-field a {
  color: var(--blue-700);
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.form-foot .btn {
  min-width: 220px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted-2);
  max-width: 36ch;
}

.form-alert {
  display: none;
  margin-bottom: 18px;
  padding: 13px 16px;
  border: 1px solid #f1c6c1;
  border-radius: 12px;
  background: var(--danger-bg);
  color: #7a271a;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-alert.is-visible {
  display: block;
}

.form-success {
  display: none;
  padding: 32px 26px;
  border: 1px solid #bfe6d6;
  border-radius: var(--radius-lg);
  background: #f2fcf8;
  text-align: center;
}

.form-success.is-visible {
  display: block;
}

.form-success .success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
}

.form-success .success-icon svg {
  width: 32px;
  height: 32px;
}

.form-success h3 {
  font-size: 1.35rem;
}

.form-success p {
  color: var(--muted);
  max-width: 46ch;
  margin-inline: auto;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-slot {
  min-height: 65px;
}

/* Cookie banner --------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  translate: -50% 0;
  z-index: 100;
  width: min(1080px, calc(100% - 32px));
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 80px -24px rgba(8, 36, 60, 0.45);
  backdrop-filter: blur(10px);
  animation: cookie-in 0.35s ease both;
}

.cookie-banner[hidden] {
  display: none;
}

@keyframes cookie-in {
  from {
    translate: -50% 16px;
  }
  to {
    translate: -50% 0;
  }
}

.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.cookie-copy {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.cookie-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--amber-100);
  color: #9a5b00;
}

.cookie-icon svg {
  width: 24px;
  height: 24px;
}

.cookie-copy h2 {
  margin: 0 0 4px;
  font-size: 1.02rem;
}

.cookie-copy p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cookie-actions .btn {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.85rem;
}

.cookie-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.76rem;
}

.cookie-links a,
.cookie-links button {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.cookie-links a:hover,
.cookie-links button:hover {
  color: var(--teal-700);
}

/* Preferences dialog ---------------------------------------------------- */

dialog.cookie-prefs {
  width: min(640px, calc(100% - 28px));
  max-height: min(88vh, 760px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 120px -20px rgba(8, 36, 60, 0.6);
  overflow: auto;
}

dialog.cookie-prefs::backdrop {
  background: rgba(8, 36, 60, 0.55);
  backdrop-filter: blur(3px);
}

.prefs-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 18px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.prefs-head h2 {
  margin: 0 0 4px;
  font-size: 1.2rem;
}

.prefs-head p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 48ch;
}

.prefs-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.prefs-close svg {
  width: 18px;
  height: 18px;
}

.prefs-body {
  padding: 8px 24px 4px;
}

.pref {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.pref:last-child {
  border-bottom: 0;
}

.pref h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.pref p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 48ch;
}

.pref .always {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-700);
  white-space: nowrap;
  padding-top: 6px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  flex: none;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.switch .track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #cfdde6;
  transition: background-color 0.18s ease;
  pointer-events: none;
}

.switch .track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(8, 36, 60, 0.3);
  transition: transform 0.18s ease;
}

.switch input:checked + .track {
  background: var(--teal);
}

.switch input:checked + .track::after {
  transform: translateX(22px);
}

.switch input:focus-visible + .track {
  outline: 3px solid rgba(22, 104, 179, 0.55);
  outline-offset: 2px;
}

.prefs-foot {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  padding: 16px 24px 20px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.prefs-foot .btn {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.85rem;
}

/* Footer ---------------------------------------------------------------- */

.site-footer {
  background: var(--navy-900);
  color: #c9dae5;
  padding-block: 56px 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
}

.site-footer h2,
.site-footer h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.site-footer a {
  color: #c9dae5;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: #c9dae5;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.site-footer button:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.site-footer li {
  margin: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand .brand-sub {
  color: #8fb0c4;
}

.footer-brand:hover {
  text-decoration: none;
}

.footer-address {
  margin: 0 0 14px;
  line-height: 1.6;
  color: #a9c3d3;
}

.footer-hours {
  margin: 0 0 14px;
  font-size: 0.84rem;
  color: #a9c3d3;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff !important;
}

.footer-phone svg {
  width: 18px;
  height: 18px;
  color: var(--amber);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.footer-badges span {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.72rem;
  color: #a9c3d3;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  color: #8fb0c4;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.footer-bottom button:hover {
  color: #fff;
}

/* HubSpot --------------------------------------------------------------- */

.hs-form-frame {
  min-height: 420px;
  width: 100%;
}

.hs-gate {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfe;
  text-align: center;
}

.hs-gate[hidden] {
  display: none;
}

.hs-gate p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.hs-gate .btn-row {
  justify-content: center;
}

/* Prose (legal pages) --------------------------------------------------- */

.prose {
  max-width: 820px;
}

.prose h2 {
  margin-top: 2.2em;
  margin-bottom: 0.5em;
  font-size: 1.4rem;
}

.prose h3 {
  margin-top: 1.6em;
  font-size: 1.08rem;
}

.prose p,
.prose li {
  color: #33526a;
}

.prose ul {
  padding-left: 1.2em;
}

.prose table {
  min-width: 0;
  margin-block: 18px;
}

.prose th,
.prose td {
  font-size: 0.87rem;
}

.notice {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--amber);
  border-radius: 0 12px 12px 0;
  background: var(--amber-100);
  font-size: 0.9rem;
  color: #6b4708;
}

.updated {
  margin-bottom: 30px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* 404 ------------------------------------------------------------------- */

.error-page {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding-block: 60px;
  background:
    radial-gradient(700px 420px at 80% 10%, rgba(18, 161, 123, 0.1), transparent 60%),
    linear-gradient(180deg, #fbfdff, var(--bg));
}

.error-card {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.error-code {
  display: inline-block;
  font-size: clamp(4.6rem, 14vw, 8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: transparent;
  background: linear-gradient(135deg, var(--navy) 20%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.error-card h1 {
  margin-top: 12px;
}

.error-card p {
  color: var(--muted);
  max-width: 52ch;
  margin-inline: auto;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

/* Compact contact info -------------------------------------------------- */

.info-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  gap: 14px;
  margin: 0;
}

.info-list .icon-box {
  width: 44px;
  height: 44px;
  margin: 0;
  flex: none;
  border-radius: 12px;
}

.info-list strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 2px;
}

.info-list a,
.info-list span {
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.info-list a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
}

.info-list a:hover {
  color: var(--teal-700);
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1080px) {
  .nav {
    gap: 16px;
  }

  .nav ul {
    gap: 16px;
  }

  .header-phone span {
    display: none;
  }

  .header-phone {
    width: 44px;
    height: 44px;
    justify-content: center;
    border: 1.5px solid var(--line-strong);
    border-radius: 12px;
    background: #fff;
  }
}

@media (max-width: 960px) {
  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px -30px rgba(8, 36, 60, 0.5);
  }

  .nav.is-open {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav a {
    padding: 12px 12px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .nav a:hover {
    background: var(--bg);
  }

  .nav a[aria-current="page"] {
    background: var(--teal-100);
  }

  .nav a[aria-current="page"]::after {
    display: none;
  }

  .nav .btn {
    display: inline-flex;
    margin-top: 8px;
    padding-block: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-phone {
    display: none;
  }

  .hero-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 22ch;
  }

  .hero-figure {
    order: 2;
  }

  .hero-note {
    left: 12px;
    top: 12px;
    bottom: auto;
  }

  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split--media-right .split-media {
    order: 0;
  }

  .cta-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cookie-inner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .header-cta {
    display: none;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .form-foot .btn {
    width: 100%;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-chips li {
    font-size: 0.78rem;
  }

  .hero-note {
    position: static;
    margin-top: 12px;
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cookie-banner {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 18px;
  }

  .cookie-actions .btn {
    flex: 1 1 auto;
  }

  .prefs-head,
  .prefs-body,
  .prefs-foot {
    padding-inline: 18px;
  }

  .prefs-foot .btn {
    flex: 1 1 100%;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding-block: 48px;
  }

  .table-wrap {
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .cookie-banner {
    animation: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cookie-banner,
  .cta-band,
  .nav-toggle,
  dialog.cookie-prefs {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
  }
}
