/* Informatique de l'Orge — thème clair par défaut, sombre sur demande. */

:root {
  --bg: #f4efe6;
  --bg-alt: #ebe4d6;
  --surface: #fffdf8;
  --ink: #1a1612;
  --ink-soft: #3a342c;
  --muted: #5c5348;
  --accent: #8a3b12;
  --accent-hover: #6e2e0d;
  --on-accent: #fffdf8;
  --accent-soft: #f3e2d4;
  --line: #d9cfc0;
  --line-strong: #b7aa98;
  --input: #fffdf8;
  --good: #1e5c3a;
  --good-soft: #e5f2ea;
  --danger: #9f2e28;
  --danger-text: #9f2e28;
  --on-danger: #fffdf8;
  --focus: #8a3b12;
  --header-h: 4.5rem;
  --shadow: 0 10px 30px rgba(26, 22, 18, 0.08);
  --page: min(72rem, calc(100% - 2.5rem));
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #161310;
  --bg-alt: #211c18;
  --surface: #2a241e;
  --ink: #f7f1e8;
  --ink-soft: #e4d9cc;
  --muted: #cbbba8;
  --accent: #e7b08a;
  --accent-hover: #f3c7a8;
  --on-accent: #1a120c;
  --accent-soft: #3a2c22;
  --line: #4a4036;
  --line-strong: #6b5e50;
  --input: #1c1814;
  --good: #b7e0c6;
  --good-soft: #1c3326;
  --danger: #ffb4a8;
  --danger-text: #ffb4a8;
  --on-danger: #1a120c;
  --focus: #f0c7a4;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 { font-size: clamp(2.15rem, 5vw, 3.4rem); margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.45rem); margin: 0 0 0.85rem; }
h3 { font-size: 1.45rem; margin: 0 0 0.5rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover { color: var(--accent-hover); }
a:visited { color: var(--accent); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

@media (min-width: 1400px) {
  :root { --page: min(100rem, calc(100% - 5rem)); }
}

.container {
  width: var(--page);
  margin-inline: auto;
}

[id] { scroll-margin-top: 5.5rem; }

@media (max-width: 1099px) {
  [id] { scroll-margin-top: 9rem; }
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  z-index: 80;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.75rem 1rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 0 0 12px 12px;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  color: var(--on-accent);
}

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

.kicker {
  margin: 0 0 0.35rem;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--accent);
}

.lead {
  font-size: 1.35rem;
  line-height: 1.45;
  max-width: 40rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.15;
  min-width: 0;
}

.logo:hover,
.logo:visited { color: var(--ink); }

.logo__mark {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
  border-radius: 9px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1rem;
  font-weight: 800;
}

.logo__name { font-size: 1.12rem; white-space: nowrap; }

.nav { display: none; }

.nav__list,
.nav-mobile__list,
.footer__list,
.formula-list,
.service-grid,
.steps,
.blog-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list { display: flex; flex-wrap: nowrap; gap: 0.15rem; }

.nav__link {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 2.85rem;
  padding: 0.35rem 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  white-space: nowrap;
  border-radius: 999px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.nav__link:visited { color: var(--ink); }

.nav__link:hover { background: var(--accent-soft); }

.nav__link[aria-current="page"],
.nav__link[aria-current="page"]:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.header__phone {
  display: none;
  align-items: center;
  min-height: 3rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background-color: var(--accent);
  background-image: linear-gradient(100deg, transparent 18%, rgba(255, 253, 248, 0.42) 48%, transparent 78%);
  background-size: 42% 100%;
  background-position: -45% center;
  background-repeat: no-repeat;
  color: var(--on-accent);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 0.2rem 0.55rem rgba(26, 22, 18, 0.12);
  transition:
    transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.28s ease,
    background-color 0.3s ease,
    background-position 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.header__phone:visited { color: var(--on-accent); }

.header__phone:hover {
  color: var(--on-accent);
  background-color: var(--accent-hover);
  background-position: 145% center;
  transform: translateY(-0.16rem);
  box-shadow: 0 0.55rem 1rem rgba(26, 22, 18, 0.18);
}

.header__phone:active {
  transform: translateY(0);
  box-shadow: 0 0.12rem 0.35rem rgba(26, 22, 18, 0.12);
}

.theme-toggle,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 2px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  font-size: 1.0625rem;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.28s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.theme-toggle:hover,
.nav-toggle:hover {
  transform: translateY(-0.16rem);
  border-color: var(--ink);
  box-shadow: 0 0.45rem 0.9rem rgba(26, 22, 18, 0.12);
}

.theme-toggle:active,
.nav-toggle:active {
  transform: translateY(0);
  box-shadow: none;
}

.theme-toggle svg { width: 1.2rem; height: 1.2rem; display: block; }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 1.15rem;
  height: 14px;
  flex: none;
}

.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 1.15rem;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.2s ease;
}

.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.callbar {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.55rem 1rem;
  background-color: var(--accent);
  background-image: linear-gradient(100deg, transparent 18%, rgba(255, 253, 248, 0.42) 48%, transparent 78%);
  background-size: 32% 100%;
  background-position: -35% center;
  background-repeat: no-repeat;
  color: var(--on-accent);
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  text-align: center;
  transition:
    background-color 0.3s ease,
    background-position 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.callbar:visited { color: var(--on-accent); }

.callbar:hover {
  color: var(--on-accent);
  background-color: var(--accent-hover);
  background-position: 135% center;
}

.nav-mobile {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 0.5rem 1.25rem 2rem;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-0.4rem);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-mobile[hidden] { display: none !important; }
.nav-mobile.is-open { opacity: 1; transform: none; }

.nav-mobile__link {
  display: block;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 750;
  font-weight: 700;
}

.nav-mobile__link:hover,
.nav-mobile__link:visited { color: var(--ink); }
.nav-mobile__link[aria-current="page"] { color: var(--accent); }

.nav-mobile__contact {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.25rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background-repeat: no-repeat;
  transition:
    transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.28s ease,
    background-color 0.3s ease,
    background-position 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    background-size 0.38s cubic-bezier(0.22, 0.61, 0.36, 1),
    color 0.25s ease,
    border-color 0.3s ease,
    filter 0.3s ease;
}

.btn:hover { transform: translateY(-0.22rem); }
.btn:active { transform: translateY(0); box-shadow: 0 0.15rem 0.4rem rgba(26, 22, 18, 0.12); }

.btn--primary,
.btn--primary:visited {
  background-color: var(--accent);
  background-image: linear-gradient(100deg, transparent 18%, rgba(255, 253, 248, 0.42) 48%, transparent 78%);
  background-size: 42% 100%;
  background-position: -45% center;
  color: var(--on-accent);
  border-color: var(--accent);
  box-shadow: 0 0.35rem 0.9rem rgba(26, 22, 18, 0.16);
}

.btn--primary:hover {
  background-color: var(--accent-hover);
  background-position: 145% center;
  border-color: var(--accent-hover);
  color: var(--on-accent);
  box-shadow: 0 0.85rem 1.5rem rgba(26, 22, 18, 0.22);
}

.btn--ghost,
.btn--ghost:visited {
  background-color: transparent;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-size: 0% 100%;
  background-position: left center;
  color: var(--ink);
  border-color: var(--ink);
  transition:
    transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.28s ease,
    background-size 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    color 0s,
    border-color 0.3s ease;
}

.btn--ghost:hover {
  background-color: transparent;
  background-size: 100% 100%;
  color: var(--bg);
  box-shadow: 0 0.7rem 1.3rem rgba(26, 22, 18, 0.14);
  transition:
    transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.28s ease,
    background-size 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    color 0s linear 0.16s,
    border-color 0.3s ease;
}

.btn--light,
.btn--light:visited {
  background-color: #fffdf8;
  background-image: linear-gradient(100deg, transparent 18%, rgba(138, 59, 18, 0.16) 50%, transparent 80%);
  background-size: 42% 100%;
  background-position: -45% center;
  color: #1a1612;
  border-color: #fffdf8;
  box-shadow: 0 0.35rem 0.9rem rgba(26, 22, 18, 0.12);
}

.btn--light:hover {
  background-color: #f3e6d4;
  background-position: 145% center;
  color: #1a1612;
  box-shadow: 0 0.85rem 1.5rem rgba(26, 22, 18, 0.2);
}

.btn--danger,
.btn--danger:visited {
  background-color: var(--danger);
  background-image: linear-gradient(100deg, transparent 18%, rgba(255, 253, 248, 0.35) 48%, transparent 78%);
  background-size: 42% 100%;
  background-position: -45% center;
  color: var(--on-danger);
  border-color: var(--danger);
}

.btn--danger:hover {
  color: var(--on-danger);
  background-position: 145% center;
  filter: brightness(0.95);
  box-shadow: 0 0.7rem 1.3rem rgba(26, 22, 18, 0.16);
}

.btn:disabled,
.btn:disabled:hover {
  opacity: 0.7;
  cursor: wait;
  transform: none;
  box-shadow: none;
  filter: none;
}

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.35rem; }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(26rem, 72svh, 40rem);
  overflow: hidden;
  color: #fffdf8;
  background: #241208;
}

.hero__media {
  position: absolute;
  left: 0;
  right: 0;
  top: -22%;
  bottom: -22%;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  display: block;
  filter: blur(9px);
  transform: scale(1.08);
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(28, 14, 8, 0.82) 0%, rgba(28, 14, 8, 0.62) 34%, rgba(28, 14, 8, 0.22) 62%, rgba(28, 14, 8, 0.38) 100%),
    linear-gradient(180deg, rgba(20, 10, 6, 0.28) 0%, transparent 24%, transparent 68%, rgba(20, 10, 6, 0.5) 100%);
}

.hero__copy {
  position: relative;
  z-index: 2;
  width: var(--page);
  margin-inline: auto;
  padding: 2.4rem 0 2.6rem;
  text-shadow: 0 1px 2px rgba(20, 8, 4, 0.45);
}

.hero__layout {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.hero__main { max-width: 40rem; }

.hero h1 { margin-bottom: 0.65rem; }

.hero__towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
}

.hero__towns li {
  display: inline-flex;
  align-items: center;
  font-size: 1.0625rem;
  font-weight: 600;
  color: rgba(255, 253, 248, 0.92);
  text-shadow: none;
}

.hero__towns li:not(:last-child)::after {
  content: "·";
  margin-left: 0.45rem;
  color: rgba(255, 253, 248, 0.55);
  font-weight: 400;
}

.hero__card {
  padding: 1.35rem 1.4rem 1.25rem;
  border: 1px solid rgba(255, 253, 248, 0.34);
  border-radius: 22px;
  background: rgba(32, 18, 10, 0.46);
  box-shadow: 0 16px 36px rgba(20, 8, 4, 0.28);
  backdrop-filter: blur(14px);
  text-shadow: none;
}

.hero__card .kicker { margin-bottom: 0.55rem; }

.hero__amount {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 4vw, 3.3rem);
  font-weight: 700;
  line-height: 0.95;
}

.hero__amount span {
  display: block;
  margin-top: 0.4rem;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0;
}

.hero__net {
  margin: 0.85rem 0 0;
  color: #d7f3e4;
  font-size: 1.25rem;
  font-weight: 800;
}

.hero__facts {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid rgba(255, 253, 248, 0.22);
  list-style: none;
  color: #fffdf8;
  font-size: 1.125rem;
  font-weight: 700;
}

.hero .kicker { color: #f6d7b8; }

.hero .lead,
.hero__copy p { color: #fffdf8; }

.hero__copy p.hero__net { color: #d7f3e4; }

.hero .btn { text-shadow: none; }

.hero .btn--ghost,
.hero .btn--ghost:visited {
  color: #fffdf8;
  border-color: #fffdf8;
  background-color: transparent;
  background-image: linear-gradient(#fffdf8, #fffdf8);
  background-size: 0% 100%;
  background-position: left center;
}

.hero .btn--ghost:hover {
  background-color: transparent;
  background-size: 100% 100%;
  color: #1a1612;
  box-shadow: 0 0.75rem 1.4rem rgba(20, 8, 4, 0.28);
}

.section { padding: 3.25rem 0; }
.section--alt { background: var(--bg-alt); }
.section__intro { max-width: 40rem; margin-bottom: 1.5rem; }

.tax {
  background: var(--surface);
  border: 3px solid var(--good);
  border-radius: 18px;
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.tax h2 { color: var(--ink); }

.service-grid,
.formula-list,
.steps,
.blog-grid {
  display: grid;
  gap: 1rem;
}

.service,
.formula,
.steps li,
.card__link,
.featured__link {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 16px;
}

.service,
.formula { padding: 1.25rem 1.3rem 1.35rem; }

.service-grid { gap: 1.15rem; }

.service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.4rem 1.4rem 1.55rem;
  box-shadow: var(--shadow);
}

.service__mark {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 0.9rem;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.service__mark svg {
  width: 1.8rem;
  height: 1.8rem;
}

.service h3 { margin-bottom: 0.35rem; }

.service p {
  color: var(--ink-soft);
  margin: 0;
}

.formula-list {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.formula-list > li {
  display: flex;
  min-width: 0;
}

a.formula {
  flex: 1;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a.formula:hover,
a.formula:visited,
a.formula:focus {
  color: inherit;
}

.formula {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
  padding: 1.45rem 1.2rem 1.35rem;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.formula:hover {
  transform: translateY(-0.55rem);
  border-color: var(--accent);
  box-shadow: 0 18px 34px rgba(26, 22, 18, 0.16);
}

.formula h3 { margin-bottom: 0.85rem; }

.formula__price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  margin: 0;
}

.formula__label {
  flex-basis: 100%;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--muted);
}

.formula__price--net {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 2px solid var(--line);
}

.formula .formula__price:first-of-type { margin-bottom: 0.95rem; }

.formula .price--net,
.formula__price--net .formula__label,
.formula__price--net .price__detail {
  color: var(--good);
}

.formula .price--net {
  font-size: 1.45rem;
  font-weight: 800;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

.price--net {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.price__hint {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--muted);
}

.spaced { margin-top: 2.5rem; }

.footer h2 {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.25rem;
  margin: 0 0 0.6rem;
}

.price__detail {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.steps { counter-reset: step; }

.steps li {
  counter-increment: step;
  padding: 1.25rem 1.3rem 1.4rem;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
}

.about-preview,
.about {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.about__photo,
.about-preview img {
  width: min(100%, 20rem);
  height: auto;
  border-radius: 16px;
  display: block;
}

.signature {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  margin: 1.4rem 0 0;
}

.parallax {
  position: relative;
  isolation: isolate;
  min-height: 26rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fffdf8;
  text-align: center;
}

.parallax__media {
  position: absolute;
  left: 0;
  width: 100%;
  top: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.parallax__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.parallax__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(36, 18, 8, 0.58) 0%, rgba(36, 18, 8, 0.34) 58%, rgba(36, 18, 8, 0.18) 100%);
}

.parallax__content {
  position: relative;
  z-index: 2;
  width: min(40rem, calc(100% - 2.5rem));
  padding: 3rem 0;
}

.parallax h2,
.parallax p,
.parallax a { color: #fffdf8; }

.parallax .btn--light,
.parallax .btn--light:hover,
.parallax .btn--light:visited { color: #1a1612; }

.parallax h2,
.parallax p { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45); }

.parallax__phone {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin: 0.5rem 0 1rem;
}

.parallax__phone a { text-decoration-thickness: 2px; }
.parallax__phone a:hover,
.parallax__phone a:visited { color: #fffdf8; }

.page { padding: 2rem 0 3.5rem; }
.page-head { max-width: 42rem; margin-bottom: 1.75rem; }

.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.2rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.3rem; }
.prose li { margin: 0.35rem 0; }
.prose a { font-weight: 700; }

.facts { display: grid; gap: 1rem; margin: 0 0 1.5rem; }
.facts dt { font-weight: 800; }
.facts dd { margin: 0.15rem 0 0; }

.fine-print {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 50rem;
  color: var(--ink-soft);
}

.table-wrap { overflow-x: auto; }

.prices {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 16px;
}

.prices th,
.prices td {
  text-align: left;
  padding: 1rem 1.05rem;
  border-bottom: 2px solid var(--line);
  vertical-align: baseline;
}

.prices tr:last-child th,
.prices tr:last-child td { border-bottom: 0; }

.prices thead th {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  background: var(--bg-alt);
}

.prices .price { font-size: 1.55rem; }
.prices .price--net { font-size: 1.15rem; }

.pay-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pay-list li {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 2px solid var(--line-strong);
  background: var(--surface);
  font-weight: 800;
}

.cta-band { background: var(--accent-soft); padding: 2.4rem 0; }

.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.footer {
  background: var(--bg-alt);
  border-top: 3px solid var(--line);
  margin-top: 3.5rem;
  padding: 3.5rem 0 1.6rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
}

.footer__name {
  margin: 0 0 0.45rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.footer a { color: var(--ink); font-weight: 700; }
.footer a:hover { color: var(--accent); }
.footer a:visited { color: var(--ink); }
.footer__list li { margin: 0.45rem 0; }

.sap-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0.9rem 0;
  padding: 0.45rem 0.85rem 0.45rem 0.5rem;
  border: 2px solid var(--good);
  border-radius: 12px;
  color: var(--good);
  font-weight: 800;
}

.sap-badge svg { width: 2.6rem; height: 2.6rem; flex: none; }

.footer__bottom {
  display: grid;
  gap: 0.35rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 1.0625rem;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.card__link,
.featured__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

.card__link:hover,
.featured__link:hover { border-color: var(--accent); color: inherit; }
.card__link:visited,
.featured__link:visited { color: inherit; }

.card--draft .card__link,
.featured--draft .featured__link { border-style: dashed; }

.card__media img,
.featured__media img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  display: block;
}

.card__body,
.featured__body { padding: 1.15rem 1.25rem 1.35rem; }

.card__date,
.meta { color: var(--ink-soft); font-size: 1.0625rem; }

.card h2,
.featured h2 { margin: 0.3rem 0 0.45rem; font-size: 1.5rem; }

.card__more {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.badge {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
}

.featured { margin-bottom: 1rem; }

.article { max-width: 44rem; }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.article__hero { margin: 0 0 1.5rem; }
.article__hero img { width: 100%; height: auto; border-radius: 16px; display: block; }
.article__hero figcaption { margin-top: 0.45rem; color: var(--ink-soft); font-size: 1.0625rem; }

.article-body { overflow-wrap: break-word; }
.article-body img { height: auto; border-radius: 12px; }
.article-body h2 { margin-top: 2rem; }
.article-body ul, .article-body ol { padding-left: 1.3rem; }

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 800;
}

.banner {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--accent);
  border-radius: 12px;
  background: var(--accent-soft);
  font-weight: 700;
}

.share,
.form-actions,
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.post-nav {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.post-nav__link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 100%;
  padding: 1rem 1.1rem;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.post-nav__link:hover { border-color: var(--accent); color: var(--ink); }
.post-nav__link:visited { color: var(--ink); }
.post-nav__dir { color: var(--muted); font-weight: 800; font-size: 1.0625rem; }
.post-nav__title { font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; font-weight: 700; }
.post-nav__link--next { text-align: right; }

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.pagination a,
.pagination .current {
  min-width: 2.85rem;
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.7rem;
  border: 2px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.pagination .current {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.contact-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.contact-card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1.25rem;
}

.contact-card a { font-weight: 800; font-size: 1.3rem; }

.form { display: grid; gap: 1.05rem; }

.form__label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 800;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="url"],
.form input[type="date"],
.form input[type="password"],
.form select,
.form textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.7rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--input);
  border: 2px solid var(--line-strong);
  border-radius: 12px;
}

.form textarea { min-height: 10rem; resize: vertical; }
.form ::placeholder { color: var(--muted); opacity: 1; }

.form__check {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem;
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  font-weight: 700;
}

.form__check input {
  width: 1.45rem;
  height: 1.45rem;
  margin-top: 0.25rem;
  flex: none;
  accent-color: var(--accent);
}

.form__error {
  margin: 0.35rem 0 0;
  color: var(--danger-text);
  font-weight: 700;
  font-size: 1.125rem;
}

.form__help,
.form__note {
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.form .has-error input,
.form .has-error select,
.form .has-error textarea { border-color: var(--danger); }

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

.notice {
  padding: 0.9rem 1rem;
  border: 2px solid var(--good);
  border-radius: 12px;
  background: var(--good-soft);
  font-weight: 700;
}

.blog-images {
  margin: 0.25rem 0 0.5rem;
  padding: 1rem;
  border: 2px dashed var(--line-strong);
  border-radius: 12px;
}

.blog-images__list { list-style: none; margin: 0; padding: 0; }

.blog-image {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.blog-image__preview {
  width: 100%;
  max-width: 12rem;
  height: auto;
  border-radius: 8px;
}

.blog-image__delete {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.55rem;
  font-weight: 700;
}

.form-model {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 1.125rem;
  line-height: 1.55;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.15rem;
}

.empty { max-width: 40rem; }

@media (min-width: 760px) {
  .formula-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .formula h3 { min-height: 3.6em; }
}

@media (min-width: 700px) {
  .service-grid,
  .blog-grid,
  .post-nav { grid-template-columns: 1fr 1fr; }

  .blog-image { grid-template-columns: 10rem 1fr; align-items: start; }
  .logo__name { font-size: 1.28rem; }
}

@media (min-width: 800px) {
  .steps,
  .about-preview,
  .about,
  .footer__grid { grid-template-columns: 1.3fr 0.8fr 0.9fr; }

  .steps { grid-template-columns: repeat(3, 1fr); }
  .about-preview,
  .about { grid-template-columns: 16rem 1fr; }

  .featured__link { display: grid; grid-template-columns: 1.15fr 0.85fr; }
  .featured__media img { height: 100%; min-height: 18rem; }

  .cta-band__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
  }
}

@media (max-width: 799px) {
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 899px) {
  .hero__card {
    width: fit-content;
    max-width: 100%;
    padding: 0.9rem 1.05rem 0.85rem;
    border-radius: 16px;
  }

  .hero__card .kicker { margin-bottom: 0.3rem; }

  .hero__amount { font-size: 2rem; }

  .hero__amount span { margin-top: 0.2rem; }

  .hero__net {
    margin-top: 0.5rem;
    font-size: 1.125rem;
  }

  .hero__facts {
    gap: 0.2rem;
    margin-top: 0.7rem;
    padding-top: 0.65rem;
    font-size: 1.0625rem;
  }
}

@media (min-width: 900px) {
  .hero__layout { grid-template-columns: minmax(0, 1.35fr) minmax(16.5rem, 22rem); gap: 2.25rem; }
  .hero__main { max-width: none; }
}

@media (min-width: 1100px) {
  .hero { min-height: clamp(28rem, 64svh, 38rem); }
}

@media (min-width: 1400px) {
  .hero__layout {
    grid-template-columns: minmax(0, 40rem) minmax(16.5rem, 22rem);
    justify-content: start;
    gap: 2.75rem;
  }
  .hero__main { max-width: 40rem; }
  .about-preview > div { max-width: 46rem; }
}

@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 0.85fr 1.15fr; }
  .service-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (min-width: 1100px) {
  .nav { display: block; margin-left: auto; }
  .logo,
  .nav,
  .header__actions { flex: none; }
  .header__actions { margin-left: 0; }
  .nav-toggle { display: none; }
  .callbar { display: none; }
  .header__phone { display: inline-flex; }
  .nav-mobile { display: none !important; }
}

@media (min-width: 1100px) and (max-width: 1220px) {
  .header__inner { gap: 0.4rem; }
  .nav__link { padding-inline: 0.4rem; }
  .header__phone { padding-inline: 0.65rem; }
}

@media (max-width: 699px) {
  .prices thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .prices,
  .prices tbody,
  .prices tr,
  .prices th,
  .prices td { display: block; width: 100%; }

  .prices { border: 0; background: transparent; }
  .prices tr {
    margin-bottom: 0.9rem;
    padding: 0.85rem 1rem 1rem;
    border: 2px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
  }

  .prices th,
  .prices td { border: 0; padding: 0.35rem 0; }

  .prices td::before {
    content: attr(data-label);
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--muted);
  }
}

@media (max-width: 420px) {
  .container,
  .hero__copy,
  .parallax__content { width: min(72rem, calc(100% - 1.7rem)); }
  .logo__name { font-size: 1.02rem; }
}

html.motion .motion-wait {
  opacity: 0;
}

html.motion .motion-wait--rise {
  transform: translateY(16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .parallax__media,
  .hero__media,
  .formula:hover,
  .btn:hover,
  .btn:active,
  .header__phone:hover,
  .header__phone:active,
  .theme-toggle:hover,
  .theme-toggle:active,
  .nav-toggle:hover,
  .nav-toggle:active,
  html.motion .motion-wait,
  html.motion .motion-wait--rise { transform: none !important; }

  html.motion .motion-wait { opacity: 1 !important; }
}

@media (prefers-contrast: more) {
  .service,
  .formula,
  .steps li,
  .card__link,
  .featured__link,
  .form input,
  .form select,
  .form textarea,
  .form__check,
  .tax {
    border-width: 3px;
  }
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 1.15rem 0 1.25rem;
  background: var(--surface);
  color: var(--ink);
  border-top: 3px solid var(--accent);
  box-shadow: 0 -12px 32px rgba(26, 22, 18, 0.14);
}

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

.cookie-banner__inner {
  display: grid;
  gap: 1rem;
}

.cookie-banner__title {
  margin: 0 0 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.cookie-banner p { margin: 0; }

.cookie-banner__copy p:last-of-type {
  font-size: 1.125rem;
  max-width: 46rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.cookie-banner__actions a {
  font-weight: 800;
  color: var(--ink);
}

.cookie-banner__actions a:hover { color: var(--accent); }

.cookie-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}

body.has-cookie-banner { padding-bottom: 14rem; }

@media (min-width: 900px) {
  .cookie-banner__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
  }

  body.has-cookie-banner { padding-bottom: 10rem; }
}

@media print {
  .header,
  .callbar,
  .cta-band,
  .nav-mobile,
  .theme-toggle,
  .parallax,
  .actions,
  .cookie-banner { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
