:root {
  --ink: #1a2b24;
  --ink-soft: #3d5248;
  --paper: #e9eee8;
  --paper-deep: #d5ddd4;
  --mist: #f4f7f3;
  --grove: #1f3d32;
  --grove-mid: #2f5a4a;
  --lichen: #9bb39a;
  --accent: #c47a4a;
  --accent-soft: #e8c4a8;
  --line: rgba(31, 61, 50, 0.14);
  --shadow: 0 18px 40px rgba(26, 43, 36, 0.08);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
}

*,
*::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 600px at 10% -10%, rgba(155, 179, 154, 0.35), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(196, 122, 74, 0.12), transparent 50%),
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 48%, #eef2ec 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--grove-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

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

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

p {
  margin: 0 0 1em;
}

.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(--grove);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 243, 0.86);
  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;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--grove);
}

.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50% 40% 55% 45%;
  background:
    radial-gradient(circle at 35% 35%, #e8ede4 0 18%, transparent 19%),
    linear-gradient(145deg, var(--lichen), var(--grove));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 580;
  letter-spacing: -0.02em;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  place-items: center;
}

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

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--grove);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--grove);
  color: #f7faf6 !important;
  box-shadow: 0 8px 20px rgba(31, 61, 50, 0.18);
}

.nav-cta:hover {
  background: var(--grove-mid);
}

#site-header-slot:empty,
#site-footer-slot:empty {
  min-height: 1px;
}

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

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f4f7f3;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 36, 29, 0.78) 0%, rgba(18, 36, 29, 0.42) 48%, rgba(18, 36, 29, 0.2) 100%),
    linear-gradient(0deg, rgba(18, 36, 29, 0.55), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.25rem 4rem;
  animation: rise 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 0.98;
  margin: 0 0 0.8rem;
  color: #f7faf6;
  max-width: 12ch;
}

.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  max-width: 34rem;
  color: rgba(244, 247, 243, 0.92);
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

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

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

.btn-primary:hover {
  background: #d28a58;
  color: #1a2b24;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #f7faf6;
}

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

.btn-outline {
  background: transparent;
  border-color: var(--grove);
  color: var(--grove);
}

.btn-outline:hover {
  background: var(--grove);
  color: #f7faf6;
}

.section {
  padding: 4.5rem 0;
}

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

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

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

.lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

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

.split-reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

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

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(18, 36, 29, 0.35));
  pointer-events: none;
  z-index: 1;
}

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

.offer-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: stretch;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.offer-row:hover {
  opacity: 0.88;
}

.offer-row img {
  width: 100%;
  height: 100%;
  min-height: 110px;
  object-fit: cover;
  border-radius: 14px;
}

.offer-row h3 {
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
}

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

.panel {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}

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

.quote {
  border-left: 3px solid var(--lichen);
  padding: 0.2rem 0 0.2rem 1.1rem;
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--grove);
  margin-bottom: 0.55rem;
}

.quote cite {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

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

.step {
  position: relative;
  padding-top: 2.2rem;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  position: absolute;
  top: 0;
  left: 0;
}

.cta-band {
  margin: 1rem 0 4rem;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(31, 61, 50, 0.92), rgba(47, 90, 74, 0.85)),
    url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1400&q=80") center/cover;
  color: #f4f7f3;
  padding: 2.6rem 1.8rem;
}

.cta-band h2 {
  color: #f7faf6;
}

.cta-band p {
  max-width: 36rem;
  color: rgba(244, 247, 243, 0.9);
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 16ch;
}

.page-hero-media {
  margin-top: 1.5rem;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow);
}

.page-hero-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  animation: softzoom 14s ease-in-out infinite alternate;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.price-table th {
  background: rgba(31, 61, 50, 0.08);
  font-family: var(--font-display);
  font-weight: 560;
}

.note {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.blog-list {
  display: grid;
  gap: 1.5rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.blog-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
}

.blog-item h2 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.meta {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

.article {
  max-width: 720px;
  margin: 0 auto;
}

.article .cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0 2rem;
}

.article .cover img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

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

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

.form-row.two {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  font-weight: 600;
  color: var(--grove);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(47, 90, 74, 0.35);
  border-color: var(--grove-mid);
}

.field-error {
  color: #8a3a2a;
  font-size: 0.88rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(155, 179, 154, 0.35);
  border: 1px solid rgba(47, 90, 74, 0.3);
}

.form-status.is-error {
  display: block;
  background: rgba(196, 122, 74, 0.18);
  border: 1px solid rgba(138, 58, 42, 0.25);
}

.legal {
  max-width: 760px;
}

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

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

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

.cookie-table th {
  background: rgba(31, 61, 50, 0.08);
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: rgba(31, 61, 50, 0.06);
  padding: 3rem 1.25rem 2rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 1.75rem;
}

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

.footer-heading {
  font-weight: 700;
  color: var(--grove);
  margin-bottom: 0.6rem;
}

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

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-copy {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 520px;
  margin: 0 auto;
  background: rgba(244, 247, 243, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.2rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: rise 0.45s ease both;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.inline-error {
  margin: 1rem 1.25rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: rgba(196, 122, 74, 0.18);
  border: 1px solid rgba(138, 58, 42, 0.25);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.error-page h1 {
  font-size: clamp(2.4rem, 8vw, 4.5rem);
}

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

.detail-meta dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grove-mid);
  font-weight: 700;
}

.detail-meta dd {
  margin: 0.2rem 0 0;
}

@keyframes drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes softzoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

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

@media (max-width: 900px) {
  .split,
  .split-reverse,
  .steps,
  .footer-grid,
  .blog-item,
  .offer-row,
  .form-row.two,
  .detail-meta {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(244, 247, 243, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.1rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: 82vh;
  }

  .page-hero-media img,
  .article .cover img {
    height: 240px;
  }
}
