:root {
  --bg: #f3f4f6;
  --bg-soft: #e9ecef;
  --surface: #ffffff;
  --ink: #1b1e23;
  --ink-muted: #5a616c;
  --line: #d5d9df;
  --accent: #355a48;
  --accent-deep: #244033;
  --accent-soft: #d8e5de;
  --focus: #2a6f4e;
  --danger: #8a3b32;
  --shadow: 0 18px 40px rgba(27, 30, 35, 0.07);
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6.5rem;
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
  --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(circle at top left, rgba(53, 90, 72, 0.08), transparent 34%),
    linear-gradient(180deg, #f7f8fa 0%, var(--bg) 42%, #eef1f4 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
}

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

.sr-only {
  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(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 999px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(247, 248, 250, 0.86);
  border-bottom: 1px solid rgba(213, 217, 223, 0.8);
}

.header-inner {
  min-height: var(--header-h);
  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(--ink);
  font-weight: 600;
}

.brand-mark {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), var(--accent-deep));
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

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

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1rem;
  height: 2px;
  background: var(--ink);
}

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

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

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

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

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

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

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

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

.btn-ghost:hover {
  border-color: var(--ink-muted);
  color: var(--ink);
}

.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero-home {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
}

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 22, 18, 0.72) 8%, rgba(15, 22, 18, 0.42) 48%, rgba(15, 22, 18, 0.18) 100%),
    linear-gradient(0deg, rgba(15, 22, 18, 0.45), transparent 42%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  color: #f7f8f6;
  max-width: 36rem;
  padding-bottom: 1rem;
  animation: rise 0.9s var(--ease) both;
}

.hero-copy .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-copy h1 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 500;
  color: #e8efe9;
  margin-bottom: 1rem;
}

.hero-copy p {
  color: rgba(247, 248, 246, 0.88);
  font-size: 1.05rem;
  max-width: 32rem;
}

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

.hero-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.section {
  padding: var(--space-5) 0;
}

.section-tight {
  padding: var(--space-4) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
  animation: rise 0.8s var(--ease) both;
}

.section-head p {
  color: var(--ink-muted);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

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

.split img,
.cover-img,
.portrait-img,
.card-media img {
  width: 100%;
  border-radius: calc(var(--radius) + 4px);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.cover-img,
.hero-page img {
  max-height: 420px;
}

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

.offer-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(213, 217, 223, 0.9);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.offer-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.offer-row img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
}

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

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

.offer-meta {
  color: var(--accent-deep);
  font-weight: 600;
  white-space: nowrap;
}

.quote-strip {
  background: var(--accent-deep);
  color: #f4f7f5;
  padding: var(--space-5) 0;
}

.quote-strip blockquote {
  margin: 0;
  max-width: 44rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.35;
}

.quote-strip cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-family: var(--font-body);
  color: rgba(244, 247, 245, 0.78);
}

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

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: relative;
  animation: rise 0.7s var(--ease) both;
}

.step:nth-child(2) { animation-delay: 0.08s; }
.step:nth-child(3) { animation-delay: 0.16s; }

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.step h3 {
  font-size: 1.15rem;
}

.step p {
  color: var(--ink-muted);
  margin: 0;
}

.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
}

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

.page-hero p {
  max-width: 38rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.hero-page {
  margin-top: 1.5rem;
}

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

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

.media-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.media-card .card-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.media-card h2,
.media-card h3 {
  font-size: 1.2rem;
}

.media-card p {
  color: var(--ink-muted);
  margin: 0;
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.card-media img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.6s var(--ease);
}

.media-card:hover .card-media img {
  transform: scale(1.04);
}

.meta {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.prose {
  max-width: 42rem;
}

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

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

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

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

.prose li::marker {
  color: var(--accent);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.side-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.side-panel dl {
  margin: 0;
}

.side-panel dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-top: 0.9rem;
}

.side-panel dd {
  margin: 0.2rem 0 0;
  font-weight: 500;
}

.price-block {
  display: grid;
  gap: 1rem;
}

.price-item {
  padding: 1.3rem 1.4rem;
  background: rgba(255, 255, 255, 0.78);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.price-item h3 {
  margin-bottom: 0.35rem;
}

.price-item .amount {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--accent-deep);
  margin-bottom: 0.4rem;
}

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

.review {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.review:last-child {
  border-bottom: 0;
}

.review p {
  font-size: 1.05rem;
}

.review .who {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.story {
  margin-top: 2rem;
  padding: 1.6rem;
  background: var(--accent-soft);
  border-radius: var(--radius);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.form {
  display: grid;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

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

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fff;
  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 color-mix(in srgb, var(--focus) 35%, white);
  border-color: var(--focus);
}

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

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

.form-status.is-success {
  display: block;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.form-status.is-error {
  display: block;
  background: #f7e8e6;
  color: var(--danger);
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.contact-card p {
  margin-bottom: 0.35rem;
}

.timeline {
  display: grid;
  gap: 1.25rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.timeline-item .mark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
}

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

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}

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

th {
  background: var(--bg-soft);
  font-weight: 600;
}

.site-footer {
  margin-top: var(--space-5);
  padding: var(--space-5) 0 var(--space-3);
  background: #161a1d;
  color: rgba(244, 246, 248, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

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

.footer-lead {
  max-width: 28rem;
}

.footer-label {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.site-footer a {
  color: rgba(244, 246, 248, 0.84);
  text-decoration: none;
}

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

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 1rem;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
  padding: 1rem 1.2rem;
}

.cookie-inner p {
  margin: 0;
  color: var(--ink-muted);
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cta-band {
  padding: var(--space-5) 0;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(135deg, rgba(53, 90, 72, 0.12), rgba(53, 90, 72, 0.03)),
    var(--surface);
  border: 1px solid var(--line);
}

.cta-panel h2 {
  margin-bottom: 0.4rem;
}

.cta-panel p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 34rem;
}

.img-placeholder {
  background: linear-gradient(135deg, var(--bg-soft), #dfe5df);
  min-height: 180px;
}

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

@media (max-width: 900px) {
  .split,
  .split.reverse,
  .detail-layout,
  .contact-grid,
  .footer-grid,
  .steps,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .offer-row img {
    width: 100%;
    height: 180px;
  }

  .offer-meta {
    white-space: normal;
  }

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

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + 0.4rem);
    left: 1.25rem;
    right: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.8rem;
    display: none;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
    animation: rise 0.25s var(--ease);
  }

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

  .nav-cta {
    justify-content: center;
  }

  .hero-home {
    min-height: 78vh;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}
