:root {
  --bg: #e4e8e3;
  --bg-deep: #d5dcd4;
  --surface: #f3f5f1;
  --ink: #1c2b26;
  --ink-soft: #3d4a44;
  --muted: #5f6d66;
  --accent: #2f5d50;
  --accent-hover: #244a40;
  --accent-soft: #6f8f7a;
  --warm: #d4b483;
  --warm-deep: #a67c2d;
  --line: #c5cec4;
  --danger: #8b3a2f;
  --ok: #2f5d50;
  --shadow: 0 12px 40px rgba(28, 43, 38, 0.08);
  --radius: 4px;
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --wrap: 1120px;
  --wrap-narrow: 720px;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(111, 143, 122, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(212, 180, 131, 0.18), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  min-height: 100vh;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 var(--space-2);
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 var(--space-2);
}

ul,
ol {
  margin: 0 0 var(--space-2);
  padding-left: 1.2rem;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 2rem, var(--wrap-narrow));
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-2);
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

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

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

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

.btn--ghost:hover {
  background: var(--ink);
  color: var(--surface);
}

.btn--warm {
  background: var(--warm);
  color: var(--ink);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(228, 232, 227, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.site-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-logo:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

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

.nav-toggle__bars::before {
  top: -5px;
}

.nav-toggle__bars::after {
  top: 5px;
}

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

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

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

.site-nav__cta {
  background: var(--accent);
  color: #f7f8f5 !important;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
}

.site-nav__cta:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

.site-footer {
  margin-top: var(--space-6);
  padding: var(--space-5) 0 var(--space-3);
  background: var(--ink);
  color: #d7ddd8;
}

.site-footer a {
  color: var(--warm);
  text-decoration: none;
}

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

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-4);
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.site-footer__label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.75rem;
}

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

.site-footer__links li {
  margin-bottom: 0.4rem;
}

.site-footer__base {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: #9aa89f;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--surface);
  border-top: 2px solid var(--accent);
  box-shadow: var(--shadow);
  padding: var(--space-3) 0;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.cookie-banner__text {
  flex: 1 1 18rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

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

.home-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(28, 43, 38, 0.88) 18%, rgba(28, 43, 38, 0.45) 55%, rgba(28, 43, 38, 0.25) 100%),
    linear-gradient(0deg, rgba(28, 43, 38, 0.75), transparent 45%);
}

.home-hero__content {
  position: relative;
  z-index: 1;
  padding: var(--space-6) 0 var(--space-5);
  color: #f3f5f1;
  max-width: 36rem;
}

.home-hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 700;
  line-height: 0.95;
  margin: 0 0 var(--space-3);
  letter-spacing: -0.03em;
  animation: rise-in 0.9s ease both;
}

.home-hero h1 {
  color: #f3f5f1;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 500;
  max-width: 28rem;
  margin-bottom: var(--space-2);
  animation: rise-in 0.9s ease 0.12s both;
}

.home-hero .lead {
  color: #c9d4cc;
  animation: rise-in 0.9s ease 0.22s both;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-3);
  animation: rise-in 0.9s ease 0.32s both;
}

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.section--alt {
  background: rgba(243, 245, 241, 0.65);
}

.section__head {
  margin-bottom: var(--space-4);
  max-width: 36rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-4);
  align-items: center;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.9);
}

.offer-list {
  display: grid;
  gap: var(--space-3);
}

.offer-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: var(--space-3);
  align-items: center;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}

.offer-row img {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius);
}

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

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

.offer-row a {
  white-space: nowrap;
  font-weight: 600;
  text-decoration: none;
}

.quote-block {
  border-left: 3px solid var(--warm-deep);
  padding-left: var(--space-3);
  margin: var(--space-4) 0;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
}

.quote-block cite {
  display: block;
  margin-top: var(--space-2);
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.journal-item a {
  text-decoration: none;
  color: inherit;
}

.journal-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: var(--space-2);
  transition: transform 0.35s ease;
}

.journal-item a:hover img {
  transform: scale(1.02);
}

.journal-item h3 {
  font-size: 1.15rem;
}

.journal-item time {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.cta-band {
  margin: var(--space-5) 0;
  padding: var(--space-4);
  background: var(--accent);
  color: #f3f5f1;
  border-radius: var(--radius);
}

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

.cta-band p {
  color: #d5e0d9;
  max-width: 34rem;
}

.cta-band .btn--warm {
  margin-top: var(--space-2);
}

.page-hero {
  margin-bottom: var(--space-4);
}

.page-hero--plain {
  padding: var(--space-5) 0 var(--space-3);
}

.page-hero--media {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  color: #f3f5f1;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero__veil {
  position: relative;
  width: 100%;
  padding: var(--space-5) 0 var(--space-4);
  background: linear-gradient(0deg, rgba(28, 43, 38, 0.9), rgba(28, 43, 38, 0.35));
}

.page-hero--media h1,
.page-hero--media .lead,
.page-hero--media .eyebrow {
  color: #f3f5f1;
}

.page-hero--media .eyebrow {
  color: var(--warm);
}

.prose h2 {
  margin-top: var(--space-4);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: var(--space-3) 0;
}

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

.prose th {
  background: var(--bg-deep);
}

.service-detail__meta {
  display: grid;
  gap: var(--space-2);
  margin: var(--space-3) 0;
  padding: var(--space-3);
  background: var(--surface);
  border-left: 3px solid var(--accent);
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin: var(--space-4) 0;
}

.service-list {
  display: grid;
  gap: var(--space-4);
}

.service-teaser {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-3);
  align-items: start;
}

.service-teaser img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-3) 0;
}

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

.price-table th {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.review-list {
  display: grid;
  gap: var(--space-3);
}

.review-item {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}

.review-item__meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: var(--space-2);
}

.story {
  margin: var(--space-4) 0;
  padding: var(--space-3);
  background: var(--surface);
}

.form {
  display: grid;
  gap: var(--space-3);
  max-width: 36rem;
}

.form__field {
  display: grid;
  gap: 0.4rem;
}

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

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font: inherit;
  color: var(--ink);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.form__error {
  color: var(--danger);
  font-size: 0.88rem;
  min-height: 1.2em;
}

.form__status {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
}

.form__status--ok {
  background: rgba(47, 93, 80, 0.12);
  color: var(--ok);
}

.form__status--err {
  background: rgba(139, 58, 47, 0.12);
  color: var(--danger);
}

.contact-aside {
  margin-top: var(--space-4);
  padding: var(--space-3);
  background: var(--surface);
  border-top: 3px solid var(--warm-deep);
}

.enfoque-list {
  display: grid;
  gap: var(--space-4);
}

.enfoque-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
}

.enfoque-item__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: var(--space-5) var(--space-2);
}

.post-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-3);
}

.post-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
}

@media (max-width: 900px) {
  .site-footer__grid,
  .split,
  .service-detail__grid,
  .journal-grid,
  .service-teaser,
  .offer-row {
    grid-template-columns: 1fr;
  }

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

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

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: var(--space-2) var(--space-2) var(--space-3);
  }

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

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

  .site-header__inner {
    position: relative;
  }
}

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