:root {
  --ink: #1a2e28;
  --ink-soft: #3d524a;
  --paper: #f3f0ea;
  --paper-deep: #e6e1d6;
  --cream: #faf8f4;
  --forest: #1a3c34;
  --forest-mid: #2a5a4e;
  --accent: #b8864a;
  --accent-deep: #8f6530;
  --line: rgba(26, 46, 40, 0.12);
  --shadow: 0 18px 40px rgba(26, 46, 40, 0.08);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::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(184, 134, 74, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(42, 90, 78, 0.1), transparent 45%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 40%, var(--paper-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

a {
  color: var(--forest-mid);
  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: 500;
  line-height: 1.2;
  color: var(--forest);
  margin: 0 0 0.6em;
}

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

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
}

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

.inline-error {
  background: #f8e8e4;
  color: #6b2c22;
  padding: 0.75rem 1.25rem;
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(250, 248, 244, 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;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: var(--forest);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

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

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

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

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

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

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

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

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

.btn--primary {
  background: var(--forest);
  color: var(--cream);
}

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

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

.btn--ghost:hover {
  background: var(--forest);
  color: var(--cream);
}

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

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

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

/* Hero variants */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

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

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(26, 60, 52, 0.88) 0%, rgba(26, 60, 52, 0.55) 48%, rgba(26, 46, 40, 0.25) 100%),
    linear-gradient(0deg, rgba(26, 46, 40, 0.55) 0%, transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
  color: var(--cream);
  max-width: 38rem;
}

.hero__content h1 {
  color: var(--cream);
  margin-bottom: 0.75rem;
  animation: riseIn 0.9s ease both;
}

.hero__content p {
  color: rgba(250, 248, 244, 0.9);
  font-size: 1.1rem;
  animation: riseIn 0.9s ease 0.12s both;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
  animation: riseIn 0.8s ease both;
}

.hero--split {
  min-height: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
  background: var(--forest);
}

.hero--split .hero__content {
  padding: 4.5rem 2rem 4.5rem clamp(1.25rem, 5vw, 4rem);
  max-width: none;
}

.hero--split .hero__media {
  position: relative;
  min-height: 420px;
}

.hero--split .hero__scrim {
  background: linear-gradient(270deg, transparent 40%, rgba(26, 60, 52, 0.35));
}

.hero--page {
  min-height: 42vh;
  align-items: center;
}

.hero--page .hero__content {
  padding: 4rem 0 3rem;
  max-width: 40rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

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

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

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

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

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

.offer-item {
  border-top: 2px solid var(--forest);
  padding-top: 1.25rem;
}

.offer-item figure {
  margin: 0 0 1rem;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}

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

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

.offer-item h3 {
  margin-bottom: 0.4rem;
}

.offer-item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.offer-item a {
  font-weight: 600;
  text-decoration: none;
  color: var(--forest);
}

/* Quote band */
.quote-band {
  background: var(--forest);
  color: var(--cream);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.quote-band::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(196, 165, 116, 0.25);
  border-radius: 50%;
  top: -80px;
  right: 8%;
  animation: floatSoft 12s ease-in-out infinite;
}

.quote-band blockquote {
  margin: 0;
  max-width: 44rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 400;
  line-height: 1.45;
  position: relative;
}

.quote-band cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: normal;
  color: rgba(250, 248, 244, 0.7);
}

/* Process steps */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}

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

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent);
  line-height: 1;
}

.step h3 {
  margin-bottom: 0.35rem;
}

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

/* Cards for interactive listings only when needed */
.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.media-row--flip {
  direction: rtl;
}

.media-row--flip > * {
  direction: ltr;
}

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

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

/* Pricing */
.rate-block {
  border-left: 3px solid var(--accent);
  padding: 1.5rem 0 1.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

.rate-block h3 {
  margin-bottom: 0.35rem;
}

.rate-amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--forest);
  margin: 0.5rem 0;
}

.rate-note {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

.factor-list li {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* Reviews */
.review-grid {
  display: grid;
  gap: 2rem;
}

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

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

.review__meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 1rem;
}

.review--long {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  border-bottom: 1px solid var(--line);
}

/* Blog */
.blog-list {
  display: grid;
  gap: 2rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.blog-item figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
}

.blog-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-item h2 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.blog-item h2 a {
  text-decoration: none;
  color: var(--forest);
}

.blog-meta {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.article-body {
  max-width: 42rem;
}

.article-body h2 {
  margin-top: 2rem;
}

.article-hero {
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 0 0 2rem;
}

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

/* Forms */
.form-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--forest);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--forest-mid);
  box-shadow: 0 0 0 3px rgba(42, 90, 78, 0.15);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #a34432;
}

.field-error {
  color: #8a3426;
  font-size: 0.82rem;
  min-height: 1.1em;
  margin-top: 0.3rem;
}

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

.form-status--success {
  background: #e4efe8;
  color: #1a3c34;
}

.form-status--error {
  background: #f8e8e4;
  color: #6b2c22;
}

.contact-aside {
  padding: 1.75rem;
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius);
}

.contact-aside h2 {
  color: var(--cream);
}

.contact-aside a {
  color: var(--accent);
}

.contact-aside dl {
  margin: 1.25rem 0 0;
}

.contact-aside dt {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.6);
  margin-top: 1rem;
}

.contact-aside dd {
  margin: 0.25rem 0 0;
}

/* Legal */
.legal-body {
  max-width: 44rem;
}

.legal-body h2 {
  margin-top: 2.25rem;
  font-size: 1.4rem;
}

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.25rem 0;
}

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

.legal-body th {
  background: rgba(26, 60, 52, 0.08);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(250, 248, 244, 0.82);
  padding: 3.5rem 0 2rem;
  margin-top: 3rem;
}

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

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

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.footer-grid h3 {
  color: var(--cream);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

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

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

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(26, 46, 40, 0.97);
  color: var(--cream);
  padding: 1.25rem;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
  animation: riseIn 0.45s ease both;
}

.cookie-banner__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  justify-content: space-between;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.92rem;
  color: rgba(250, 248, 244, 0.9);
}

.cookie-banner__text a {
  color: var(--accent);
}

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

.cookie-banner .btn--ghost {
  border-color: rgba(250, 248, 244, 0.5);
  color: var(--cream);
}

.cookie-banner .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

/* 404 */
.page-404 {
  text-align: center;
  padding: 6rem 0;
}

.page-404 h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 0.25rem;
}

/* Reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease var(--reveal-delay, 0ms), transform 0.7s ease var(--reveal-delay, 0ms);
}

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

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

@keyframes heroDrift {
  from {
    transform: scale(1.05) translate(0, 0);
  }
  to {
    transform: scale(1.12) translate(-1.5%, 1%);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-12px, 18px);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero--split {
    grid-template-columns: 1fr;
  }

  .hero--split .hero__media {
    min-height: 280px;
    order: -1;
  }

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

  .media-row,
  .media-row--flip,
  .form-panel,
  .footer-grid,
  .blog-item {
    grid-template-columns: 1fr;
    direction: ltr;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
    gap: 0;
  }

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

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-header {
    position: relative;
  }

  .site-header__inner {
    position: relative;
  }
}

@media (max-width: 600px) {
  .step {
    grid-template-columns: 3rem 1fr;
    gap: 0.85rem;
  }

  .hero__content {
    padding: 3.5rem 0 2.5rem;
  }
}
