:root {
  --bg: #eef3f1;
  --bg-deep: #d9e6e1;
  --surface: #fbfcfb;
  --ink: #162822;
  --muted: #4d6059;
  --line: rgba(22, 40, 34, 0.12);
  --primary: #1b5e50;
  --primary-deep: #0f3f36;
  --accent: #c08a2e;
  --accent-soft: #f3e6c8;
  --success: #1f6b4a;
  --error: #8f2f2f;
  --radius: 6px;
  --shadow: 0 18px 40px rgba(15, 40, 34, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --header-h: 4.5rem;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(192, 138, 46, 0.14), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(27, 94, 80, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #f7f9f8 42%, var(--bg-deep) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--primary-deep);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.inline-error {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #f8e8e8;
  color: var(--error);
  border-bottom: 1px solid #e3bcbc;
  text-align: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(238, 243, 241, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.45rem;
  background:
    radial-gradient(circle at 70% 28%, var(--accent) 0 18%, transparent 19%),
    linear-gradient(145deg, var(--primary) 0%, #2a7a68 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bars::before {
  position: absolute;
  top: -6px;
}

.nav-toggle-bars::after {
  position: absolute;
  top: 6px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  width: 100%;
}

.site-nav .nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
  margin-left: 0.35rem;
}

.site-nav .nav-cta::after {
  display: none;
}

.site-nav .nav-cta:hover {
  background: var(--primary-deep);
  color: #fff;
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.page-main {
  padding-bottom: 4rem;
}

.section {
  padding: 4rem 0;
}

.section-tight {
  padding: 2.5rem 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 42rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.75rem 1.2rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

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

.btn-primary:hover {
  background: var(--primary-deep);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background: rgba(27, 94, 80, 0.08);
  color: var(--primary-deep);
}

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

.btn-ghost:hover {
  background: rgba(22, 40, 34, 0.05);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero home — split composition, brand dominant */
.hero-home {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  overflow: hidden;
}

.hero-copy {
  padding: 4.5rem 1.25rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 36rem;
  margin-left: auto;
  width: 100%;
  animation: rise 0.8s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  line-height: 1.02;
  margin: 0 0 1rem;
  color: var(--ink);
}

.hero-copy h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  color: var(--primary-deep);
  max-width: 22ch;
}

.hero-copy .lead {
  margin-top: 0.25rem;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  animation: fade-in 1.1s ease 0.15s both;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(238, 243, 241, 0.55), transparent 35%);
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  right: 1.25rem;
  color: #fff;
  font-size: 0.9rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Page heroes */
.page-hero {
  padding: 3.5rem 0 2rem;
  animation: rise 0.7s ease both;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}

.page-hero.with-media {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: end;
}

.page-hero.with-media .media {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  min-height: 240px;
  box-shadow: var(--shadow);
}

.page-hero.with-media .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

/* Content blocks */
.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.25rem 1.1rem;
  padding: 0;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.45rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split.reverse > :first-child {
  order: 2;
}

.media-frame {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.5rem;
}

.panel + .panel {
  margin-top: 1rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.offer-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.offer-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: inherit;
}

.offer-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.offer-item .body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.offer-item h3 {
  font-size: 1.2rem;
  margin: 0;
}

.offer-item p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.offer-item .more {
  margin-top: auto;
  padding-top: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 0;
  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.4rem;
  color: var(--accent);
  line-height: 1;
  min-width: 2.2rem;
}

.quote-list {
  display: grid;
  gap: 1.25rem;
}

.quote {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote p {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.quote footer {
  color: var(--muted);
  font-size: 0.92rem;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.rate-table th {
  background: rgba(27, 94, 80, 0.08);
  font-weight: 600;
}

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

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.blog-card {
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  transition: transform 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  color: inherit;
}

.blog-card img {
  width: 140px;
  height: 120px;
  object-fit: cover;
}

.blog-card .body {
  padding: 0.75rem 1rem 0.75rem 0;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: calc(var(--radius) + 4px);
  margin: 1.5rem 0 2rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
  max-width: 38rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(27, 94, 80, 0.35);
  outline-offset: 1px;
  border-color: var(--primary);
}

[aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  color: var(--error);
  font-size: 0.88rem;
  min-height: 1.1em;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  display: none;
}

.form-status.is-success,
.form-status.is-error {
  display: block;
}

.form-status.is-success {
  background: #e5f4ec;
  color: var(--success);
}

.form-status.is-error {
  background: #f8e8e8;
  color: var(--error);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-aside {
  background: var(--primary);
  color: #eef7f4;
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 2px);
}

.contact-aside a {
  color: #fff;
}

.contact-aside h2 {
  color: #fff;
  font-size: 1.35rem;
}

.legal {
  max-width: 48rem;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

.cookie-table th,
.cookie-table td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
  background: var(--surface);
}

.cookie-table th {
  background: rgba(27, 94, 80, 0.08);
}

.region-map {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.region-item {
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.region-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.region-item p {
  margin: 0;
  color: var(--muted);
}

.cta-band {
  margin: 2rem 0 0;
  padding: 2.25rem;
  background:
    linear-gradient(135deg, rgba(27, 94, 80, 0.95), rgba(15, 63, 54, 0.98)),
    var(--primary);
  color: #eef7f4;
  border-radius: calc(var(--radius) + 4px);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 1.6rem;
}

.cta-band p {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
}

.cta-band .btn-primary {
  background: var(--accent);
  color: #1a1608;
}

.cta-band .btn-primary:hover {
  background: #d4a84a;
  color: #1a1608;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

.not-found h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 0.4rem;
}

/* Footer */
.site-footer {
  background: #12241f;
  color: #c9d8d2;
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-tag {
  color: #a8bbb4;
}

.footer-heading {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col a {
  color: #c9d8d2;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-contact p {
  margin-bottom: 0.45rem;
}

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  font-size: 0.9rem;
  color: #8fa59d;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  animation: rise 0.45s ease both;
}

.cookie-banner-inner {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner-inner p {
  margin: 0;
  flex: 1 1 280px;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 0.55rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .hero-home,
  .page-hero.with-media,
  .split,
  .offer-grid,
  .contact-grid,
  .footer-inner,
  .blog-grid,
  .region-map {
    grid-template-columns: 1fr;
  }

  .split.reverse > :first-child {
    order: 0;
  }

  .hero-copy {
    max-width: none;
    margin: 0;
    padding: 3rem 1.25rem 2rem;
  }

  .hero-visual {
    min-height: 280px;
  }

  .hero-visual::after {
    background: linear-gradient(180deg, rgba(238, 243, 241, 0.7), transparent 40%);
  }

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

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

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(238, 243, 241, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  body.nav-open {
    overflow: hidden;
  }
}

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

  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-card img {
    width: 100%;
    height: 160px;
  }

  .blog-card .body {
    padding: 0 1rem 1rem;
  }

  .rate-table,
  .cookie-table {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
