:root {
  --forest: #173f35;
  --forest-soft: #235548;
  --sage: #dfe9df;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --terracotta: #bd6547;
  --terracotta-dark: #984a31;
  --ink: #23312d;
  --muted: #66736f;
  --line: #d8ded8;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(23, 63, 53, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 2000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--forest);
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: var(--cream);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--terracotta-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 6vw, 5.25rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

p {
  margin: 0 0 18px;
}

.lead {
  color: #475852;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--forest);
  border-radius: 999px;
  color: var(--white);
  background: var(--forest);
  cursor: pointer;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--forest-soft);
  transform: translateY(-2px);
}

.button-outline {
  color: var(--forest);
  background: transparent;
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--white);
  background: var(--forest);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(23, 63, 53, 0.1);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50% 50% 50% 14%;
  color: var(--white);
  background: var(--terracotta);
  font-family: Inter, sans-serif;
  font-size: 0.82rem;
  transform: rotate(-8deg);
}

.brand-mark span {
  transform: rotate(8deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a:not(.button) {
  position: relative;
  padding: 10px 0;
  color: #354741;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--terracotta);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--forest);
  background: var(--sage);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  content: "";
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(12, 42, 34, 0.97) 0%, rgba(12, 42, 34, 0.84) 39%, rgba(12, 42, 34, 0.14) 74%);
}

.hero-image {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: 86px 0;
}

.hero h1,
.hero .eyebrow {
  color: var(--white);
}

.hero .lead {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero .button {
  border-color: var(--terracotta);
  background: var(--terracotta);
}

.hero .button-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.trust-strip {
  background: var(--forest);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-item {
  padding: 26px 32px;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.trust-item + .trust-item {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.split-image {
  min-height: 510px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 15px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
}

.check-list li::before {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--terracotta);
  content: "✓";
  font-size: 0.78rem;
  font-weight: 900;
}

.cards-3,
.blog-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card,
.testimonial,
.blog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 63, 53, 0.06);
}

.info-card {
  padding: 32px;
}

.card-number {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--forest);
  background: var(--sage);
  font-weight: 850;
}

.testimonial {
  padding: 30px;
}

.testimonial p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.testimonial footer {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.blog-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.blog-card img {
  height: 230px;
  object-fit: cover;
}

.blog-card-body {
  padding: 26px;
}

.blog-meta {
  margin-bottom: 12px;
  color: var(--terracotta-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-weight: 800;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.contact-section {
  background: var(--forest);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 68px;
}

.contact-copy,
.contact-copy h2,
.contact-copy .eyebrow {
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.75);
}

.form-card {
  padding: 38px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--forest);
  font-size: 0.91rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c9d1cc;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: #fbfcfa;
  outline: none;
}

input {
  min-height: 52px;
  padding: 0 15px;
}

textarea {
  min-height: 130px;
  padding: 14px 15px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(35, 85, 72, 0.14);
}

.checkbox {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.checkbox input {
  width: 18px;
  min-height: 18px;
  margin: 3px 0 0;
}

.checkbox a {
  text-decoration: underline;
}

.form-note {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.page-hero {
  padding: 92px 0 78px;
  background: var(--cream);
}

.page-hero .container {
  max-width: 900px;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
}

.article-shell {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
  padding: 72px 0 96px;
}

.article-shell > img {
  max-height: 470px;
  margin-bottom: 48px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.article-shell h2 {
  margin-top: 46px;
  font-size: 2.1rem;
}

.article-shell h3 {
  margin-top: 34px;
}

.article-shell ul,
.article-shell ol {
  padding-left: 22px;
}

.article-shell li {
  margin-bottom: 10px;
}

.article-note {
  margin: 38px 0;
  padding: 26px 28px;
  border-left: 4px solid var(--terracotta);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--cream);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-details {
  display: grid;
  gap: 16px;
  margin: 30px 0;
}

.contact-detail {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.contact-detail strong {
  display: block;
  color: var(--forest);
}

.map-frame {
  width: 100%;
  min-height: 390px;
  border: 0;
  border-radius: var(--radius-lg);
}

.legal {
  width: min(calc(100% - 40px), 850px);
  margin-inline: auto;
  padding: 72px 0 100px;
}

.legal h2 {
  margin-top: 42px;
  font-size: 2rem;
}

.legal h3 {
  margin-top: 30px;
}

.thanks-page {
  min-height: 74vh;
  display: grid;
  place-items: center;
  padding: 80px 20px;
  text-align: center;
  background: var(--cream);
}

.thanks-card {
  max-width: 680px;
  padding: 56px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.thanks-icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--terracotta);
  font-size: 2rem;
}

.site-footer {
  padding: 66px 0 28px;
  color: rgba(255, 255, 255, 0.74);
  background: #102d26;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
}

.site-footer .brand {
  margin-bottom: 18px;
  color: var(--white);
}

.site-footer h3 {
  color: var(--white);
  font-family: Inter, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1500;
  width: min(calc(100% - 44px), 470px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.cookie-banner p {
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions .button {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 0.85rem;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 79px 0 auto;
    display: none;
    padding: 28px 20px 34px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a:not(.button) {
    display: block;
    padding: 12px;
  }

  .split,
  .contact-layout,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .cards-3,
  .blog-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-copy {
    max-width: 680px;
  }
}

@media (max-width: 660px) {
  body {
    font-size: 16px;
  }

  .container,
  .article-shell,
  .legal {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    min-height: 650px;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(12, 42, 34, 0.94), rgba(12, 42, 34, 0.72));
  }

  .trust-grid,
  .cards-3,
  .blog-grid,
  .testimonial-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-item + .trust-item {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .split {
    gap: 38px;
  }

  .split-image {
    min-height: 360px;
  }

  .form-card,
  .thanks-card {
    padding: 28px 22px;
  }

  .footer-grid {
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
