:root {
  --ink: #0c2a24;
  --ink-soft: #1a4038;
  --mist: #e6eee9;
  --paper: #f7f9f7;
  --brass: #c9892e;
  --brass-deep: #a56e1c;
  --line: rgba(12, 42, 36, 0.12);
  --muted: #5a726b;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(12, 42, 36, 0.12);
  --radius: 4px;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(201, 137, 46, 0.12), transparent 60%),
    linear-gradient(180deg, #f3f7f4 0%, var(--paper) 28%, #eef4f0 100%);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brass-deep);
}

h1,
h2,
h3,
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(247, 249, 247, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-lockup img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-word {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.nav-links {
  display: none;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav-links a:hover {
  color: var(--brass-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brass);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--brass-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0.75rem 0 1rem;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.65rem 0;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(12, 42, 36, 0.88) 8%, rgba(12, 42, 36, 0.55) 48%, rgba(12, 42, 36, 0.25) 100%),
    linear-gradient(0deg, rgba(12, 42, 36, 0.55), transparent 42%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  padding: 7rem 0 4.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin-bottom: 1.1rem;
  max-width: 12ch;
  animation: riseIn 0.9s var(--ease) both;
}

.hero h1 {
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 600;
  max-width: 22ch;
  margin-bottom: 0.9rem;
  animation: riseIn 0.9s var(--ease) 0.08s both;
}

.hero-lead {
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.6rem;
  animation: riseIn 0.9s var(--ease) 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 0.9s var(--ease) 0.24s both;
}

.section {
  padding: 4.5rem 0;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.85rem;
  max-width: 18ch;
}

.section-lead {
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.split-media {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: min(420px, 58vw);
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.split:hover .split-media img {
  transform: scale(1.03);
}

.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brass);
  line-height: 1;
  padding-top: 0.2rem;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.step p {
  color: var(--muted);
  margin: 0;
}

.band {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.band::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 137, 46, 0.28), transparent 70%);
  pointer-events: none;
}

.band .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.7rem;
  align-items: start;
}

.feature-list li::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(201, 137, 46, 0.2);
}

.quotes {
  display: grid;
  gap: 1.25rem;
}

.quote {
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}

.quote p {
  font-size: 1.12rem;
  margin-bottom: 0.7rem;
}

.quote cite {
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1rem 1.15rem;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item button span {
  color: var(--brass-deep);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-panel {
  display: none;
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
}

.faq-item.open .faq-panel {
  display: block;
}

.quote-panel {
  background:
    linear-gradient(145deg, rgba(12, 42, 36, 0.94), rgba(26, 64, 56, 0.92)),
    url("../assets/img/panels.jpg") center / cover;
  color: var(--white);
  border-radius: 22px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.quote-panel h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.quote-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.lead-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.form-row {
  display: grid;
  gap: 0.85rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.field input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font: inherit;
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.field input:focus {
  outline: 2px solid var(--brass);
  border-color: transparent;
}

.form-error {
  min-height: 1.1rem;
  color: #ffd0a8;
  font-size: 0.82rem;
  margin-top: 0.25rem;
}

.form-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0.2rem 0 0;
}

.form-note a {
  color: #ffe2b0;
}

[data-form-note]:not(:empty) {
  color: #ffd0a8;
  font-weight: 600;
}

.iti {
  width: 100%;
}

.site-footer {
  position: relative;
  z-index: 36;
  padding: 2.5rem 0 6.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.footer-links a {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0.25rem 0;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  pointer-events: auto;
}

.footer-links a:hover {
  color: var(--brass-deep);
}

.disclaimer {
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 70ch;
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(247, 249, 247, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}

.mobile-cta .btn {
  width: 100%;
}

.page-hero {
  padding: 3.5rem 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.6rem;
}

.legal-content,
.content-block {
  padding-bottom: 4rem;
}

.legal-content h2,
.content-block h2 {
  font-size: 1.35rem;
  margin: 1.8rem 0 0.6rem;
}

.legal-content p,
.content-block p,
.legal-content li {
  color: var(--muted);
}

.thank-card {
  max-width: 560px;
  margin: 4rem auto 5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
  }
}

@media (min-width: 760px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav,
  .mobile-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }

  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }

  .split.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .split.reverse .split-copy {
    order: 2;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }

  .quote-panel {
    padding: 2.2rem;
  }
}

@media (min-width: 980px) {
  .hero-inner {
    padding-bottom: 5.5rem;
  }

  .quotes {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Accessibility + legal */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--brass);
  color: var(--ink);
  padding: 0.6rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.legal-updated {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.legal-toc {
  margin: 0 0 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.2rem;
  columns: 1;
  gap: 2rem;
}

.legal-toc a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-soft);
}

.legal-content .table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: rgba(12, 42, 36, 0.06);
}

.footer-company {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 56ch;
}

.consent-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
}

.consent-check input {
  margin-top: 0.25rem;
}

.consent-check a {
  color: #ffe2b0;
}

.ad-notice {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  padding: 0.5rem 1rem 0;
}

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost-dark:hover {
  background: var(--mist);
  color: var(--ink);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 520px;
  margin-inline: auto;
  padding: 1.2rem 1.25rem 1.3rem;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner h2 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.cookie-prefs {
  display: none;
  grid-gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.cookie-prefs.open {
  display: grid;
}

.cookie-prefs label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  font-size: 0.88rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions .btn {
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

@media (min-width: 760px) {
  .legal-toc ol {
    columns: 2;
  }

  .cookie-banner {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    margin-inline: 0;
  }
}
