:root {
  --ink: #14201f;
  --ink-soft: #3a4a48;
  --paper: #eef2f0;
  --surface: #f7f9f8;
  --accent: #1a5f5a;
  --accent-deep: #0f3d3a;
  --clay: #c9846a;
  --line: #c5d0cc;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(20, 32, 31, 0.08);
  --radius: 2px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --wrap: min(1120px, calc(100% - 2.5rem));
  --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.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(26, 95, 90, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(201, 132, 106, 0.08), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--surface) 40%, var(--paper) 100%);
  min-height: 100vh;
}

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

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

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

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

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

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

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

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

.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

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

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

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.btn--light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(238, 242, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(20, 32, 31, 0.06);
}

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

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

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

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

.nav-toggle__bars {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  position: relative;
  margin-top: 0.35rem;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

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

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

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

.site-nav__cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
}

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

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

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

  .site-nav.is-open {
    display: block;
    animation: slideDown 0.28s ease;
  }

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

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

/* Home hero — full-bleed composition */
.home-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fadeIn 1.2s ease;
}

.home-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 61, 58, 0.88) 0%, rgba(15, 61, 58, 0.55) 48%, rgba(20, 32, 31, 0.25) 100%),
    linear-gradient(0deg, rgba(15, 61, 58, 0.75) 0%, transparent 45%);
}

.home-hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 10vh, 7rem) 0 clamp(3rem, 8vh, 5rem);
  max-width: 38rem;
  animation: riseIn 0.8s ease 0.15s both;
}

.home-hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.02;
  margin: 0 0 1rem;
  color: var(--white);
  letter-spacing: -0.03em;
}

.home-hero__headline {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.95);
}

.home-hero__text {
  margin: 0 0 1.75rem;
  color: rgba(240, 237, 230, 0.88);
  max-width: 32rem;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

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

.section__header h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  margin: 0 0 0.75rem;
}

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

.section--alt {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid var(--line);
}

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

@media (max-width: 860px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
}

.offer-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.offer-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.offer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.offer-card__body {
  padding: 1.35rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.offer-card__body h3 {
  margin: 0;
  font-size: 1.25rem;
}

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

.offer-card__meta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

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

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split__media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.quote-block {
  background: var(--accent-deep);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4rem);
}

.quote-block blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  line-height: 1.35;
  font-weight: 500;
}

.quote-block cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.95rem;
  opacity: 0.85;
}

.cta-band {
  background:
    linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: var(--white);
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Page heroes */
.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 2rem;
}

.page-hero--compact {
  padding-bottom: 1rem;
}

.page-hero__title {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  margin: 0 0 0.75rem;
}

.page-hero__lead {
  margin: 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.detail-hero {
  margin-bottom: 2rem;
}

.detail-hero__media {
  max-height: 420px;
  overflow: hidden;
}

.detail-hero__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.detail-hero__copy {
  padding: 2rem 0 0;
}

.detail-hero__summary {
  color: var(--ink-soft);
  max-width: 40rem;
  font-size: 1.1rem;
}

.detail-hero__price {
  font-weight: 600;
  color: var(--accent);
}

.post-hero {
  padding-top: 2.5rem;
}

.post-hero__lead {
  color: var(--ink-soft);
  max-width: 40rem;
  font-size: 1.1rem;
}

.post-hero__media {
  margin-top: 1.75rem;
}

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

.post-detail__back {
  padding: 1rem 0 4rem;
}

/* Prose */
.prose {
  max-width: 42rem;
  padding-bottom: 4rem;
}

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

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

.prose p,
.prose li {
  color: var(--ink-soft);
}

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

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

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

.prose th {
  background: rgba(26, 95, 90, 0.08);
  color: var(--ink);
}

/* Listing grids */
.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding-bottom: 4rem;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2.5rem;
  background: var(--white);
}

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

.rate-table th {
  background: var(--accent-deep);
  color: var(--white);
  font-weight: 600;
}

.review-list {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.review-item {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem 1.35rem;
}

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

.review-item footer {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.review-item__service {
  display: block;
  font-weight: 500;
  color: var(--accent);
  margin-top: 0.25rem;
}

.case-story {
  background: rgba(26, 95, 90, 0.06);
  border-left: 3px solid var(--accent);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  margin: 2rem 0 4rem;
}

.case-story h3 {
  margin-top: 0;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 4rem;
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.contact-card h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.contact-card p {
  color: var(--ink-soft);
}

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

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

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

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

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

.form__error {
  color: #9b2c2c;
  font-size: 0.85rem;
  min-height: 1.1em;
}

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

.form__status[data-state="success"] {
  background: rgba(26, 95, 90, 0.12);
  color: var(--accent-deep);
}

.form__status[data-state="error"] {
  background: rgba(155, 44, 44, 0.1);
  color: #9b2c2c;
}

.form__status[hidden] {
  display: none;
}

/* Approach timeline */
.timeline {
  display: grid;
  gap: 0;
  padding-bottom: 4rem;
  counter-reset: step;
}

.timeline__item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.timeline__num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent);
  font-weight: 600;
}

.timeline__item h3 {
  margin: 0 0 0.4rem;
}

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

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(240, 237, 230, 0.85);
  padding: 3.5rem 0 1.5rem;
  margin-top: 2rem;
}

.site-footer a {
  color: rgba(240, 237, 230, 0.9);
  text-decoration: none;
}

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

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 860px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.75rem;
}

.site-footer__tag {
  margin: 0;
  max-width: 22rem;
}

.site-footer__heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 237, 230, 0.55);
  margin: 0 0 0.85rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(20, 32, 31, 0.1);
  padding: 1.15rem 0;
  animation: slideDown 0.3s ease;
}

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

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-banner__title {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.cookie-banner__copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__actions .btn {
    flex: 1;
  }
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.error-page h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  margin: 0 0 0.5rem;
}

.error-page p {
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

.factor-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.factor-list li {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1.15rem;
}

.factor-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

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