:root {
  --bg: #eef1f0;
  --bg-elevated: #f7f8f7;
  --surface: #ffffff;
  --ink: #14201d;
  --ink-soft: #3d4a46;
  --muted: #5f6d68;
  --line: #d5ddd9;
  --accent: #1a4d45;
  --accent-deep: #0f332e;
  --accent-soft: #d8e6e2;
  --warm: #b8893a;
  --warm-soft: #f3e6c9;
  --danger: #8b2e2e;
  --ok: #1f6b4a;
  --shadow: 0 18px 40px rgba(20, 32, 29, 0.08);
  --radius: 18px;
  --radius-sm: 10px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 76px;
  --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);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(26, 77, 69, 0.12), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(184, 137, 58, 0.1), transparent 55%),
    linear-gradient(180deg, #e8eeec 0%, var(--bg) 28%, #e9eeeb 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

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

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
  color: var(--ink-soft);
}

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 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(247, 248, 247, 0.86);
  border-bottom: 1px solid rgba(213, 221, 217, 0.8);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 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;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  background:
    linear-gradient(145deg, var(--accent) 0%, #2a6b60 55%, var(--warm) 120%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

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

.site-nav {
  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.94rem;
  font-weight: 560;
  padding: 0.25rem 0;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

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

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  margin-left: 0.25rem;
}

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

.site-nav .nav-cta:hover {
  background: var(--accent-deep);
}

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

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  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;
}

main {
  min-height: 60vh;
}

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

.section {
  padding: 4.5rem 0;
}

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

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

.lede {
  font-size: 1.125rem;
  max-width: 40rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(26, 77, 69, 0.25);
}

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

.btn-secondary {
  background: transparent;
  color: var(--accent-deep);
  border: 1.5px solid rgba(26, 77, 69, 0.35);
}

.btn-secondary:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4rem;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
  min-height: min(72vh, 680px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
  animation: rise 0.8s var(--ease) both;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  max-width: 12ch;
  margin-bottom: 0.8rem;
}

.hero-copy .lede {
  font-size: 1.15rem;
  max-width: 34rem;
}

.hero-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
  animation: fade-slide 1s var(--ease) 0.15s both;
}

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

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15, 51, 46, 0.15), transparent 45%);
  pointer-events: none;
}

.band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

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

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

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

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

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

.offer-item,
.card,
.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.offer-item:hover,
.card:hover,
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

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

.offer-body,
.card-body,
.post-body {
  padding: 1.25rem 1.3rem 1.5rem;
}

.offer-body h3,
.card-body h3,
.post-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

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

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

.quote {
  background: var(--bg-elevated);
  border-left: 4px solid var(--warm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.35rem 1.5rem;
}

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

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

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

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  color: var(--warm);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.7rem;
}

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

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

.price-table th {
  background: var(--accent);
  color: #fff;
  font-weight: 650;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.cta-panel {
  background:
    linear-gradient(135deg, rgba(26, 77, 69, 0.95), rgba(15, 51, 46, 0.92)),
    url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1400&q=80") center/cover;
  color: #fff;
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow);
}

.cta-panel h2,
.cta-panel p {
  color: #fff;
}

.cta-panel p {
  max-width: 38rem;
  opacity: 0.92;
}

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

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

.prose {
  max-width: 44rem;
}

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

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

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

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

.prose th {
  background: var(--accent-soft);
}

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 650;
  font-size: 0.92rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  background: var(--bg-elevated);
  color: var(--ink);
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(26, 77, 69, 0.35);
  border-color: var(--accent);
}

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

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

.form-status.is-visible {
  display: block;
}

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

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

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-aside {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-aside p {
  margin-bottom: 0.55rem;
}

.site-footer {
  margin-top: 3rem;
  background: var(--accent-deep);
  color: #dce8e4;
  padding: 3rem 1.25rem 2rem;
}

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

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

.footer-tag,
.site-footer p,
.site-footer li {
  color: #c7d6d1;
}

.footer-heading {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

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

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

.site-footer a {
  color: #e8f2ef;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-copy {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem;
  display: none;
}

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

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

.inline-error {
  background: #f8e8e8;
  color: var(--danger);
  border: 1px solid #e7c0c0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin: 1rem 1.25rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

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

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

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.65rem;
}

.feature-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--warm);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(213, 221, 217, 0.9);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-deep);
}

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

.portrait {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.portrait img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
}

.portrait-body {
  padding: 1.1rem 1.2rem 1.35rem;
}

.timeline {
  display: grid;
  gap: 1rem;
  border-left: 2px solid var(--accent-soft);
  padding-left: 1.25rem;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: -1.62rem;
  top: 0.35rem;
}

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

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

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

@keyframes fade-slide {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slow-zoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

@media (max-width: 960px) {
  .hero-panel,
  .split,
  .offer-grid,
  .card-grid,
  .post-grid,
  .steps,
  .footer-grid,
  .stat-row,
  .portrait-grid {
    grid-template-columns: 1fr;
  }

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

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

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
  }

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

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

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

  .hero-copy h1 {
    max-width: none;
  }
}

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