:root {
  --bg: #eef3ef;
  --bg-deep: #dfe8e2;
  --surface: #f7faf7;
  --ink: #1a2e24;
  --ink-soft: #3d5448;
  --accent: #1b4332;
  --accent-mid: #2d6a4f;
  --accent-soft: #95d5b2;
  --gold: #c9a06a;
  --gold-deep: #9a7340;
  --line: rgba(27, 67, 50, 0.14);
  --shadow: 0 18px 40px rgba(26, 46, 36, 0.08);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(149, 213, 178, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(201, 160, 106, 0.18), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #f5f7f5 40%, var(--bg-deep) 100%);
  min-height: 100vh;
}

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

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

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

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

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.35rem;
}

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

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(247, 250, 247, 0.88);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

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

.brand__mark {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.brand__tag {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--accent);
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius);
  font: inherit;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  flex-wrap: wrap;
}

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

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

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

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

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

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

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-mid) 100%);
  color: #f7faf7;
  box-shadow: 0 10px 24px rgba(27, 67, 50, 0.22);
}

.btn--primary:hover {
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--accent-mid);
  color: var(--accent);
}

.btn--ghost:hover {
  background: rgba(45, 106, 79, 0.08);
  color: var(--accent);
}

.btn--gold {
  background: var(--gold);
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(15, 36, 27, 0.88) 8%, rgba(15, 36, 27, 0.55) 48%, rgba(15, 36, 27, 0.25) 100%),
    linear-gradient(0deg, rgba(15, 36, 27, 0.55), transparent 45%);
}

.hero__content {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 4.5rem;
  max-width: 36rem;
  color: #f4f7f4;
  animation: riseIn 0.9s ease both;
}

.hero__content h1 {
  color: #f7faf7;
  margin-bottom: 0.9rem;
}

.hero__content p {
  color: rgba(247, 250, 247, 0.9);
  font-size: 1.12rem;
  max-width: 32rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

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

.section {
  padding: 4.5rem 0;
}

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

.section__head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

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

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

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

.offer-grid,
.card-grid,
.blog-grid,
.price-grid {
  display: grid;
  gap: 1.5rem;
}

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

.card-grid {
  grid-template-columns: repeat(2, 1fr);
}

.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.price-grid {
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
}

.offer-card,
.story-card,
.blog-card,
.price-panel,
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.offer-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(26, 46, 36, 0.12);
}

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

.offer-card__body,
.blog-card__body,
.review-card,
.price-panel,
.story-card {
  padding: 1.35rem 1.4rem 1.5rem;
}

.offer-card h3,
.blog-card h3 {
  margin-bottom: 0.45rem;
}

.offer-card a,
.blog-card a {
  text-decoration: none;
  color: inherit;
}

.offer-card a:hover h3,
.blog-card a:hover h3 {
  color: var(--accent-mid);
}

.quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent);
  line-height: 1.45;
  margin-bottom: 1rem;
}

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

.band {
  background: linear-gradient(120deg, var(--accent) 0%, #245c43 55%, #3a7d5c 100%);
  color: #f4f7f4;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.band::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 180%;
  background: radial-gradient(circle, rgba(201, 160, 106, 0.22), transparent 60%);
  pointer-events: none;
}

.band h2,
.band p {
  color: #f7faf7;
  position: relative;
}

.band p {
  opacity: 0.9;
  max-width: 36rem;
}

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

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: rgba(247, 250, 247, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  animation: riseIn 0.7s ease both;
}

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

.step__num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #f7faf7;
  font-weight: 700;
  font-size: 0.95rem;
}

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

.page-hero h1 {
  max-width: 18ch;
}

.page-hero p {
  max-width: 42rem;
  font-size: 1.1rem;
}

.prose {
  max-width: 46rem;
}

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

.prose ul,
.prose ol {
  color: var(--ink-soft);
  padding-left: 1.2rem;
}

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

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

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

th {
  background: rgba(45, 106, 79, 0.08);
  color: var(--accent);
  font-weight: 700;
}

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

.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  font-weight: 650;
  margin-bottom: 0.35rem;
  color: var(--accent);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  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 var(--accent-soft);
  border-color: var(--accent-mid);
}

.field-error {
  min-height: 1.2rem;
  margin-top: 0.3rem;
  font-size: 0.88rem;
  color: #8b2e2e;
}

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

.form-status--ok {
  background: rgba(149, 213, 178, 0.35);
  color: var(--accent);
}

.form-status--err {
  background: rgba(180, 60, 60, 0.12);
  color: #7a1f1f;
}

.contact-aside {
  background: var(--accent);
  color: #f4f7f4;
  padding: 1.6rem;
  border-radius: calc(var(--radius) + 2px);
}

.contact-aside h2,
.contact-aside p,
.contact-aside a {
  color: #f7faf7;
}

.contact-aside a {
  text-decoration: underline;
}

.site-footer {
  margin-top: 3rem;
  background: #13271e;
  color: rgba(247, 250, 247, 0.82);
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  color: rgba(247, 250, 247, 0.9);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

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

.footer-grid h3 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(247, 250, 247, 0.12);
  padding-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 640px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 20px 50px rgba(19, 39, 30, 0.25);
  animation: riseIn 0.45s ease both;
}

.cookie-banner__inner {
  padding: 1.15rem 1.25rem;
}

.cookie-banner__inner p {
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.inline-error,
[data-nav-error]:not([hidden]),
[data-form-fallback]:not([hidden]) {
  background: #f8e8e8;
  color: #7a1f1f;
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  border-radius: var(--radius);
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--accent);
}

.faq details p {
  margin: 0.7rem 0 0.2rem;
}

.meta-line {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: calc(var(--radius) + 2px);
}

.note {
  border-left: 3px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1rem;
  margin: 1.25rem 0;
  color: var(--ink-soft);
}

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

@keyframes heroDrift {
  from {
    transform: scale(1.04) translateY(0);
  }
  to {
    transform: scale(1.1) translateY(-1.5%);
  }
}

@media (max-width: 900px) {
  .offer-grid,
  .blog-grid,
  .split,
  .split--reverse,
  .price-grid,
  .footer-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(247, 250, 247, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .site-header {
    position: sticky;
  }

  .site-header__inner {
    position: relative;
  }

  .hero {
    min-height: 72vh;
  }
}

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