/* ==========================================================================
   Dératisation 77 — static site stylesheet
   Palette issue du site WordPress : bleu du logo, sauge, rouge d’accent.
   ========================================================================== */

:root {
  --ink: #1d2630;
  --ink-2: #414a57;
  --ink-3: #5d6672;
  --muted: #6f7884;
  --line: #e5e9ec;
  --line-2: #d7dee2;
  --bg: #ffffff;
  --soft: #f7f8f9;
  --soft-2: #f2f5f6;
  --blue-soft: #f2fafd;
  --sage-soft: #f1f7f4;
  --red-soft: #fdf4f4;
  --red: #c04a4f;
  --red-dark: #9f373c;
  --red-bright: #cc5559;
  --sage: #8eb2a6;
  --sage-dark: #4f7468;
  --blue: #0aa5de;
  --blue-dark: #087fae;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 8px 24px rgba(29, 38, 48, .06);
  --shadow: 0 18px 50px rgba(29, 38, 48, .09);
  --shadow-lg: 0 30px 80px rgba(29, 38, 48, .13);
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --container: 1180px;
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: clip;
}

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

img {
  height: auto;
}

a {
  color: var(--red-dark);
  text-decoration-thickness: .06em;
  text-underline-offset: .16em;
}

a:hover {
  color: var(--red);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 .55em;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 2.5vw, 2.15rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.42rem); }
h4 { font-size: 1.08rem; }

p {
  margin: 0 0 1.05em;
}

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

li {
  margin-bottom: .35em;
}

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

small {
  font-size: .82rem;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(10, 165, 222, .55);
  outline-offset: 3px;
}

:target {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

::selection {
  background: rgba(142, 178, 166, .38);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

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

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

.container-narrow {
  max-width: 880px;
}

.section {
  padding: 76px 0;
}

.section-sm {
  padding: 52px 0;
}

.section-soft {
  background: var(--soft);
}

.section-blue {
  background: linear-gradient(180deg, var(--blue-soft), #fff);
}

.section-sage {
  background: linear-gradient(180deg, var(--sage-soft), #fff);
}

.section-dark {
  background: var(--ink);
  color: #d9e5e1;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 25px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

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

.btn svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
}

.btn-red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(192, 74, 79, .22);
}

.btn-red:hover,
.btn-red:focus {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}

.btn-outline:hover,
.btn-outline:focus {
  border-color: var(--ink);
  background: #fff;
  color: var(--ink);
}

.btn-sage {
  background: var(--sage);
  border-color: var(--sage);
  color: #17322b;
}

.btn-sage:hover,
.btn-sage:focus {
  background: #7ba396;
  border-color: #7ba396;
  color: #10241f;
}

.btn-white {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn-white:hover,
.btn-white:focus {
  background: var(--sage-soft);
  border-color: var(--sage-soft);
  color: var(--ink);
}

.btn-lg {
  min-height: 56px;
  padding: 16px 30px;
  font-size: 17px;
}

.btn-sm {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--red-dark);
  text-decoration: none;
}

.link-arrow svg {
  width: 17px;
  height: 17px;
  transition: transform .2s ease;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #d8e5e0;
  font-size: 13.5px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}

.topbar-note,
.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.topbar-note svg,
.topbar-phone svg {
  width: 15px;
  height: 15px;
  color: var(--sage);
}

.topbar-phone {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.topbar-phone:hover {
  color: var(--sage);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(29, 38, 48, .09);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--header-h);
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  width: 248px;
  height: auto;
}

.main-nav {
  margin-left: auto;
}

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

.main-nav > ul > li {
  position: relative;
  margin: 0;
}

.main-nav a,
.sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease;
}

.main-nav a:hover,
.sub-toggle:hover,
.main-nav a[aria-current="page"] {
  color: var(--red-dark);
  background: var(--red-soft);
}

.sub-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform .2s ease;
}

.has-sub.open > .sub-toggle svg,
.has-sub:hover > .sub-toggle svg {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  min-width: 250px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(7px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.submenu-wide {
  min-width: 280px;
}

.submenu li {
  margin: 0;
}

.submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: normal;
}

.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu,
.has-sub.open > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(192, 74, 79, .2);
}

.header-cta svg {
  width: 17px;
  height: 17px;
}

.header-cta:hover {
  background: var(--red-dark);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
  background: #fff;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  margin: 0;
}

.breadcrumbs li + li::before {
  content: "›";
  margin-right: 5px;
  color: #aeb6bc;
}

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

.breadcrumbs a:hover {
  color: var(--red-dark);
  text-decoration: underline;
}

/* ---------- Home hero ---------- */
.hero-home {
  position: relative;
  padding: 58px 0 52px;
  background:
    radial-gradient(circle at 88% 18%, rgba(142, 178, 166, .22), transparent 32%),
    radial-gradient(circle at 8% 88%, rgba(10, 165, 222, .1), transparent 28%),
    linear-gradient(180deg, var(--blue-soft) 0%, #fff 88%);
  overflow: hidden;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(29, 38, 48, .055) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 52px;
  align-items: center;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}

.hero-home h1 {
  max-width: 720px;
  margin-bottom: .42em;
  font-size: clamp(2.15rem, 3.7vw, 3.18rem);
  line-height: 1.07;
  letter-spacing: -.025em;
}

.hero-lead {
  max-width: 660px;
  font-size: 18.5px;
  line-height: 1.7;
  color: var(--ink-3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 25px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 600;
}

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

.hero-trust svg {
  width: 17px;
  height: 17px;
  color: var(--sage-dark);
}

.hero-visual {
  position: relative;
  padding: 12px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 4%;
  right: -4%;
  width: 84%;
  height: 84%;
  border: 1px solid rgba(142, 178, 166, .55);
  border-radius: 50%;
  pointer-events: none;
}

.hero-map-card {
  position: relative;
  z-index: 1;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-map-card img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  border-radius: 16px;
  background: var(--blue-soft);
}

.map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 4px 0;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
}

.map-caption strong {
  color: var(--ink);
  font-size: 15px;
}

.hero-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
}

.hero-float svg {
  width: 21px;
  height: 21px;
  color: var(--red);
}

.hero-float--top {
  top: 0;
  left: -10px;
}

.hero-float--bottom {
  right: -8px;
  bottom: 34px;
}

.hero-float--bottom svg {
  color: var(--sage-dark);
}

/* ---------- Trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 21px 0;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--sage-soft);
  color: var(--sage-dark);
}

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

.trust-item strong {
  display: block;
  margin-bottom: 1px;
  font-size: 15px;
  line-height: 1.3;
}

.trust-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

/* ---------- Section headings ---------- */
.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.section-head.center .kicker {
  justify-content: center;
}

.section-head h2 {
  margin-bottom: .35em;
}

.section-head .lead {
  margin-bottom: 0;
  color: var(--ink-3);
  font-size: 17.5px;
  line-height: 1.7;
}

.lead {
  font-size: 18px;
  line-height: 1.7;
}

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 54px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

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

.split.reverse .split-copy {
  order: 1;
}

.split-copy h2 {
  margin-bottom: .45em;
}

.split-media {
  position: relative;
}

.media-frame {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  border-radius: 15px;
}

.media-frame--sage {
  background: linear-gradient(145deg, var(--sage-soft), var(--blue-soft));
}

.media-frame--dark {
  background: var(--ink);
}

.media-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.45;
  box-shadow: var(--shadow-sm);
}

.media-note svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--red);
}

.check-list {
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 28px;
  color: var(--ink-2);
  font-size: 16px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: .38em;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d2630' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- Service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 25px 23px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(142, 178, 166, .75);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 17px;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.icon-badge--red {
  background: var(--red-soft);
  color: var(--red-dark);
}

.icon-badge--sage {
  background: var(--sage-soft);
  color: var(--sage-dark);
}

.icon-badge svg {
  width: 23px;
  height: 23px;
}

.service-card h3 {
  margin-bottom: .3em;
  font-size: 1.18rem;
}

.service-card p {
  margin-bottom: 16px;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.6;
}

.service-card .link-arrow {
  margin-top: auto;
  font-size: 14px;
}

/* ---------- Feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.feature-card h3 {
  margin-bottom: .35em;
  font-size: 1.13rem;
}

.feature-card p {
  margin: 0;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.6;
}

.feature-card .icon-badge {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
}

/* ---------- Guides ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 23px 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 165, 222, .35);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.guide-card .tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage-dark);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.guide-card h3 {
  margin-bottom: .32em;
  font-size: 1.16rem;
}

.guide-card p {
  margin-bottom: 17px;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.6;
}

.guide-card .link-arrow {
  margin-top: auto;
  font-size: 14px;
}

/* ---------- Zone ---------- */
.zone-box {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 38px;
  align-items: center;
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.zone-map {
  position: relative;
  padding: 14px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--blue-soft), var(--sage-soft));
}

.zone-map img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.zone-copy h2 {
  margin-bottom: .35em;
}

.commune-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px 14px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 14px;
}

.commune-grid li {
  margin: 0;
  padding: 3px 0;
}

.zone-note {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 54px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(142, 178, 166, .28), transparent 34%),
    linear-gradient(135deg, #1d2630, #2b3b45);
  color: #e5efeb;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -170px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(142, 178, 166, .35);
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-inner h2 {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

.cta-inner p {
  max-width: 620px;
  margin: 9px 0 0;
  color: #cfded9;
  font-size: 16px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  flex: 0 0 auto;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 21px;
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-dark);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
  text-align: center;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.faq-item[open] summary {
  color: var(--red-dark);
}

.faq-item[open] summary::after {
  background: var(--red-soft);
  color: var(--red-dark);
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 21px 19px;
  color: var(--ink-3);
  font-size: 15.5px;
  line-height: 1.7;
}

.faq-body > :last-child {
  margin-bottom: 0;
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative;
  padding: 46px 0 50px;
  background:
    radial-gradient(circle at 82% 12%, rgba(142, 178, 166, .24), transparent 34%),
    linear-gradient(135deg, #1b242d, #293943);
  color: #dce8e3;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -60px;
  width: 390px;
  height: 390px;
  background: url("/assets/img/rat-illustration.webp") center/contain no-repeat;
  opacity: .075;
  filter: grayscale(1);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .kicker {
  color: #a9cfc2;
}

.page-hero .kicker::before {
  background: var(--sage);
}

.page-hero h1 {
  max-width: 880px;
  margin-bottom: .3em;
  color: #fff;
  font-size: clamp(1.9rem, 3.3vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.page-hero .article-lead {
  max-width: 800px;
  margin-bottom: 18px;
  color: #d3e2dd;
  font-size: 17.5px;
  line-height: 1.7;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 15px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #b7ccc5;
  font-size: 13px;
}

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

.article-meta svg {
  width: 14px;
  height: 14px;
  color: var(--sage);
}

/* ---------- Article layout ---------- */
.article-wrap {
  padding: 52px 0 70px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 48px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-side {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  display: grid;
  gap: 16px;
}

.prose {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.85;
}

.prose > h2 {
  margin-top: 1.75em;
  margin-bottom: .55em;
  padding-top: .15em;
  font-size: clamp(1.42rem, 2.1vw, 1.7rem);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.5em;
  margin-bottom: .45em;
  font-size: 1.22rem;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.prose h2 + h3 {
  margin-top: .9em;
}

.prose p,
.prose ul,
.prose ol,
.prose table {
  margin-bottom: 1.15em;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li {
  margin-bottom: .45em;
}

.prose li::marker {
  color: var(--sage-dark);
}

.prose a {
  color: var(--red-dark);
  font-weight: 600;
}

.prose a:hover {
  color: var(--red);
}

.prose strong {
  color: var(--ink);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--soft);
  color: var(--ink);
  font-weight: 700;
}

.prose tr:nth-child(even) td {
  background: #fbfcfc;
}

.prose figure {
  margin: 1.4em 0;
}

.prose figure img {
  width: 100%;
  border-radius: var(--radius);
}

.prose figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.prose blockquote {
  margin: 1.4em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--sage);
  border-radius: 0 12px 12px 0;
  background: var(--sage-soft);
  color: var(--ink-2);
  font-size: 16px;
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 1.2em;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.table-wrap table {
  margin: 0;
  border: 0;
}

.table-wrap th:first-child,
.table-wrap td:first-child {
  border-left: 0;
}

.table-wrap th:last-child,
.table-wrap td:last-child {
  border-right: 0;
}

.table-wrap tr:first-child th {
  border-top: 0;
}

.table-wrap tr:last-child td {
  border-bottom: 0;
}

.key-points {
  margin: 0 0 30px;
  padding: 21px 23px 17px;
  border: 1px solid #d8e8e0;
  border-radius: 15px;
  background: var(--sage-soft);
}

.key-points h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.key-points ul {
  margin-bottom: 0;
  padding-left: 1.2em;
}

.key-points li {
  color: var(--ink-2);
  font-size: 15.5px;
}

.callout {
  margin: 1.4em 0;
  padding: 17px 20px;
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: var(--blue-soft);
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.65;
}

.callout strong {
  color: var(--ink);
}

.callout--warn {
  border-left-color: var(--red);
  background: var(--red-soft);
}

.callout--sage {
  border-left-color: var(--sage-dark);
  background: var(--sage-soft);
}

.callout > :last-child {
  margin-bottom: 0;
}

/* TOC */
.toc {
  padding: 19px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.toc-title svg {
  width: 17px;
  height: 17px;
  color: var(--sage-dark);
}

.toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  margin: 0 0 1px;
}

.toc li a {
  display: flex;
  gap: 8px;
  padding: 5px 0;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.45;
  text-decoration: none;
}

.toc li a::before {
  counter-increment: toc;
  content: counter(toc) ".";
  flex: 0 0 auto;
  color: var(--sage-dark);
  font-weight: 700;
}

.toc li a:hover,
.toc li a.is-active {
  color: var(--red-dark);
}

.toc-mobile {
  display: none;
  margin-bottom: 25px;
}

.toc-mobile summary {
  padding: 14px 17px;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.toc-mobile summary::after {
  content: "+";
  float: right;
  color: var(--sage-dark);
  font-size: 20px;
  line-height: 1;
}

.toc-mobile[open] summary::after {
  content: "−";
}

.toc-mobile ul {
  padding: 0 17px 14px;
  margin: 0;
  list-style: none;
}

.toc-mobile li {
  margin: 0;
}

.toc-mobile a {
  display: block;
  padding: 4px 0;
  color: var(--ink-2);
  font-size: 14px;
  text-decoration: none;
}

.toc-mobile a:hover {
  color: var(--red-dark);
}

.side-card {
  padding: 19px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.side-card h2 {
  margin-bottom: .35em;
  font-size: 1.15rem;
}

.side-card p {
  margin-bottom: 14px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.6;
}

.side-card .btn {
  width: 100%;
}

.side-card--cta {
  background:
    radial-gradient(circle at 100% 0, rgba(142, 178, 166, .24), transparent 45%),
    var(--ink);
  border-color: var(--ink);
  color: #d9e5e1;
}

.side-card--cta h2 {
  color: #fff;
}

.side-card--cta p {
  color: #c8d8d2;
}

.side-card--cta .side-phone {
  display: block;
  margin: 3px 0 13px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.32rem;
  font-weight: 700;
  text-decoration: none;
}

.side-card--cta .side-phone:hover {
  color: var(--sage);
}

.side-card--cta .btn-outline {
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}

.side-card--cta .btn-outline:hover {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.side-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-links li {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.side-links li:last-child {
  border-bottom: 0;
}

.side-links a {
  display: block;
  padding: 8px 0;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.4;
  text-decoration: none;
}

.side-links a:hover {
  color: var(--red-dark);
}

.article-cta {
  margin-top: 40px;
  padding: 28px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 95% 10%, rgba(142, 178, 166, .28), transparent 40%),
    var(--ink);
  color: #d8e5e0;
}

.article-cta h2 {
  margin-bottom: .3em;
  color: #fff;
  font-size: 1.55rem;
}

.article-cta p {
  margin-bottom: 18px;
  color: #c8d8d2;
}

.article-cta .cta-actions {
  justify-content: flex-start;
}

.article-faq {
  margin-top: 44px;
}

.article-faq > h2 {
  margin-bottom: .6em;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 14px;
}

.contact-card {
  padding: 21px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: .35em;
  font-size: 1.13rem;
}

.contact-card h2 svg {
  width: 20px;
  height: 20px;
  color: var(--sage-dark);
}

.contact-card p {
  margin-bottom: .45em;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.6;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card a {
  font-weight: 700;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 4px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 700;
  text-decoration: none;
}

.contact-phone svg {
  width: 24px;
  height: 24px;
  color: var(--red);
}

.contact-phone:hover {
  color: var(--red-dark);
}

.contact-form-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form-card h2 {
  margin-bottom: .3em;
}

.contact-form-card > p {
  color: var(--ink-3);
  font-size: 15px;
}

.contact-form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.contact-form-note a {
  color: var(--red-dark);
}

.hubspot-box {
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfc;
}

.form-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  padding: 25px 18px;
  text-align: center;
}

.form-placeholder svg {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  color: var(--sage-dark);
}

.form-placeholder p {
  max-width: 420px;
  margin: 0 auto 16px;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.6;
}

.form-placeholder .btn {
  margin-top: 2px;
}

.form-fallback {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.hs-form,
.hs-form * {
  font-family: var(--font-body) !important;
}

.hs-form label,
.hs-form .hs-label {
  color: var(--ink) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
}

.hs-form input:not([type="submit"]),
.hs-form textarea,
.hs-form select {
  width: 100% !important;
  padding: 11px 13px !important;
  border: 1px solid var(--line-2) !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: var(--ink) !important;
  font-size: 15px !important;
}

.hs-form input:focus,
.hs-form textarea:focus,
.hs-form select:focus {
  border-color: var(--blue) !important;
  outline: 2px solid rgba(10, 165, 222, .2) !important;
}

.hs-form .hs-button,
.hs-form input[type="submit"] {
  padding: 12px 25px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--red) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.hs-form .hs-button:hover,
.hs-form input[type="submit"]:hover {
  background: var(--red-dark) !important;
}

.hs-form .hs-error-msgs,
.hs-form .hs-error-msg {
  color: var(--red-dark) !important;
}

/* ---------- Legal / simple prose ---------- */
.simple-wrap {
  padding: 48px 0 70px;
}

.simple-wrap .prose {
  max-width: 880px;
}

.simple-wrap .prose h2 {
  margin-top: 1.7em;
}

.legal-updated {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- 404 ---------- */
.error-page {
  padding: 72px 0 90px;
  text-align: center;
}

.error-visual {
  position: relative;
  width: min(310px, 70vw);
  margin: 0 auto 6px;
}

.error-visual img {
  width: 100%;
  opacity: .92;
}

.error-code {
  margin: 0 0 4px;
  color: var(--red);
  font-family: var(--font-head);
  font-size: clamp(4.7rem, 12vw, 8rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.04em;
}

.error-page h1 {
  margin-bottom: .25em;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.error-page p {
  max-width: 580px;
  margin: 0 auto 26px;
  color: var(--ink-3);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 52px 0 0;
  background: var(--ink);
  color: #c8d8d2;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr .9fr 1.05fr;
  gap: 34px;
}

.footer-brand p {
  margin-bottom: 13px;
  color: #bdcec8;
  font-size: 13.5px;
  line-height: 1.65;
}

.footer-logo {
  width: 212px;
  margin-bottom: 17px;
  padding: 8px 11px;
  border-radius: 10px;
  background: #fff;
}

.footer-phone {
  margin-bottom: 2px !important;
}

.footer-phone a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

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

.footer-phone a:hover {
  color: var(--sage);
}

.footer-note {
  color: #9fb5ad !important;
  font-size: 12.5px !important;
}

.site-footer h2 {
  margin: 2px 0 13px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin: 0 0 6px;
}

.footer-links a,
.footer-cookie-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: #c8d8d2;
  font-size: 13.5px;
  line-height: 1.45;
  text-align: left;
  text-decoration: none;
}

.footer-links a:hover,
.footer-cookie-btn:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer address {
  font-style: normal;
}

.site-footer address p {
  margin-bottom: 7px;
  color: #c8d8d2;
  font-size: 13.5px;
  line-height: 1.55;
}

.site-footer address a,
.site-footer p a {
  color: #e3eeea;
}

.site-footer p a:hover,
.site-footer address a:hover {
  color: var(--sage);
}

.footer-legal-links {
  margin-top: 14px;
}

.footer-bottom {
  margin-top: 38px;
  padding: 17px 0 19px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #9fb5ad;
  font-size: 12px;
  line-height: 1.55;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #cfe0da;
}

/* ---------- Floating buttons ---------- */
.call-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 480;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 19px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(192, 74, 79, .42);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  animation: callPulse 3s infinite;
}

.call-float svg {
  width: 21px;
  height: 21px;
}

.call-float:hover {
  background: var(--red-dark);
  color: #fff;
  text-decoration: none;
}

.call-float.is-hidden,
.cookie-float.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
}

@keyframes callPulse {
  0% { box-shadow: 0 12px 32px rgba(192, 74, 79, .42), 0 0 0 0 rgba(192, 74, 79, .35); }
  70% { box-shadow: 0 12px 32px rgba(192, 74, 79, .42), 0 0 0 15px rgba(192, 74, 79, 0); }
  100% { box-shadow: 0 12px 32px rgba(192, 74, 79, .42), 0 0 0 0 rgba(192, 74, 79, 0); }
}

.cookie-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 480;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 26px rgba(29, 38, 48, .35);
}

.cookie-float svg {
  width: 21px;
  height: 21px;
}

.cookie-float:hover {
  background: var(--red);
}

.cookie-float {
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 76px;
  z-index: 470;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.to-top.is-visible {
  display: flex;
}

.to-top svg {
  width: 18px;
  height: 18px;
}

/* ---------- Cookie banner ---------- */
.cc-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 1000;
  width: min(780px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 23px 25px 21px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 100px rgba(29, 38, 48, .3);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 18px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  overflow: auto;
}

.cc-banner.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.cc-head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.cc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: var(--sage-soft);
  color: var(--sage-dark);
}

.cc-icon svg {
  width: 23px;
  height: 23px;
}

.cc-banner h2 {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 1.32rem;
}

.cc-banner p {
  margin: 0;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.55;
}

.cc-banner p a {
  color: var(--red-dark);
  font-weight: 600;
}

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 17px;
}

.cc-actions .btn {
  min-height: 43px;
  padding: 9px 18px;
  font-size: 14px;
}

.cc-link {
  padding: 8px 6px;
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cc-link:hover {
  color: var(--red-dark);
}

.cc-prefs {
  display: none;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.cc-prefs.is-open {
  display: block;
}

.cc-pref {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--soft-2);
}

.cc-pref:last-of-type {
  border-bottom: 0;
}

.cc-pref strong {
  display: block;
  margin-bottom: 1px;
  color: var(--ink);
  font-size: 14px;
}

.cc-pref span {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.cc-switch {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 25px;
  margin-top: 2px;
}

.cc-switch input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.cc-switch .track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #d5dce0;
  transition: background-color .2s ease;
}

.cc-switch .track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  transition: transform .2s ease;
}

.cc-switch input:checked + .track {
  background: var(--sage-dark);
}

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

.cc-switch input:disabled + .track {
  opacity: .65;
}

.cc-prefs-actions {
  margin-top: 13px;
  text-align: right;
}

.cc-prefs-actions .btn {
  min-height: 43px;
  padding: 9px 18px;
  font-size: 14px;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 18px !important; }
.mt-3 { margin-top: 28px !important; }
.mb-3 { margin-bottom: 28px !important; }
.hide { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .header-inner {
    gap: 14px;
  }

  .logo img {
    width: 210px;
  }

  .main-nav a,
  .sub-toggle {
    padding: 11px 8px;
    font-size: 14px;
  }

  .header-cta {
    padding: 9px 14px;
    font-size: 14px;
  }

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

  .footer-grid {
    grid-template-columns: 1.2fr .9fr .9fr;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .topbar-note span {
    max-width: 350px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    display: none;
    max-height: calc(100vh - var(--header-h) - 40px);
    padding: 10px 20px 18px;
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 24px 40px rgba(29, 38, 48, .14);
    overflow-y: auto;
  }

  .nav-open .main-nav {
    display: block;
  }

  .main-nav > ul {
    display: block;
  }

  .main-nav > ul > li {
    border-bottom: 1px solid var(--soft-2);
  }

  .main-nav > ul > li:last-child {
    border-bottom: 0;
  }

  .main-nav a,
  .sub-toggle {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 13px 5px;
    border-radius: 0;
    font-size: 15.5px;
  }

  .sub-toggle svg {
    transform: none;
  }

  .has-sub.open > .sub-toggle svg {
    transform: rotate(180deg);
  }

  .submenu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 8px;
    padding: 2px 0 6px 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .has-sub.open > .submenu {
    display: block;
  }

  .has-sub:hover > .submenu {
    display: none;
  }

  .has-sub.open:hover > .submenu {
    display: block;
  }

  .submenu a {
    padding: 9px 8px;
    font-size: 14.5px;
    font-weight: 600;
  }

  .header-cta {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-visual {
    max-width: 530px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-home {
    padding-top: 44px;
  }

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

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split.reverse .split-media,
  .split.reverse .split-copy {
    order: initial;
  }

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

  .zone-box {
    grid-template-columns: 1fr;
  }

  .zone-map {
    max-width: 420px;
    margin: 0 auto;
  }

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

  .article-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .article-side {
    position: static;
    order: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-side .toc {
    display: none;
  }

  .toc-mobile {
    display: block;
  }

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

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

  .footer-grid > div:last-child {
    grid-column: auto;
  }
}

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

  .container {
    padding: 0 18px;
  }

  .section {
    padding: 54px 0;
  }

  .section-sm {
    padding: 40px 0;
  }

  .topbar-note {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }

  .logo img {
    width: 178px;
  }

  .header-inner {
    min-height: 72px;
  }

  .page-hero {
    padding: 34px 0 38px;
  }

  .page-hero .article-lead {
    font-size: 16px;
  }

  .breadcrumbs {
    padding-top: 11px;
    font-size: 12px;
  }

  .hero-home {
    padding: 34px 0 38px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 8px 14px;
    font-size: 13.5px;
  }

  .hero-map-card {
    padding: 11px;
  }

  .hero-map-card img {
    max-height: 330px;
  }

  .hero-float {
    display: none;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 18px 0;
  }

  .service-grid,
  .feature-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .zone-box {
    padding: 20px;
  }

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

  .cta-band {
    padding: 40px 0;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .faq-item summary {
    padding: 15px 16px;
    font-size: 15px;
  }

  .faq-body {
    padding: 0 16px 16px;
    font-size: 14.5px;
  }

  .article-wrap {
    padding: 38px 0 54px;
  }

  .prose {
    font-size: 16.5px;
    line-height: 1.8;
  }

  .article-side {
    grid-template-columns: 1fr;
  }

  .article-side .side-card:not(.side-card--cta) {
    order: 3;
  }

  .article-side .side-card--cta {
    order: 2;
  }

  .article-cta {
    padding: 22px 18px;
  }

  .article-cta .cta-actions .btn {
    width: 100%;
  }

  .contact-form-card {
    padding: 19px;
  }

  .hubspot-box {
    padding: 8px;
  }

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

  .site-footer {
    padding-top: 38px;
  }

  .footer-bottom {
    margin-top: 28px;
  }

  .call-float {
    left: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
    min-height: 0;
    padding: 0;
    justify-content: center;
    font-size: 14px;
  }

  .call-float span {
    display: none;
  }

  .cookie-float {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }

  .to-top {
    right: 14px;
    bottom: 68px;
  }

  .cc-banner {
    width: calc(100vw - 20px);
    bottom: 10px;
    max-height: calc(100vh - 20px);
    padding: 18px 16px 16px;
    border-radius: 16px;
  }

  .cc-head {
    gap: 10px;
  }

  .cc-icon {
    width: 36px;
    height: 36px;
  }

  .cc-banner h2 {
    font-size: 1.17rem;
  }

  .cc-banner p {
    font-size: 12.5px;
  }

  .cc-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cc-actions .btn {
    width: 100%;
  }

  .cc-actions .cc-link {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .error-page {
    padding: 50px 0 65px;
  }

  .error-actions .btn {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .topbar,
  .site-header,
  .site-footer,
  .call-float,
  .cookie-float,
  .to-top,
  .cc-banner,
  .breadcrumbs,
  .article-side,
  .article-cta,
  .cta-band {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 12pt;
  }

  .article-layout {
    display: block;
  }

  .page-hero {
    padding: 0 0 20px;
    background: none;
    color: #000;
  }

  .page-hero h1,
  .page-hero .article-lead,
  .article-meta {
    color: #000;
  }

  .page-hero::after {
    display: none;
  }

  .prose a {
    color: #000;
    text-decoration: underline;
  }
}
