:root {
  --color-bg: #faf7f0;
  --color-surface: #ffffff;
  --color-soft: #eee5d8;
  --color-soft-strong: #e4d3bd;
  --color-primary: #4f6f52;
  --color-primary-dark: #3f5942;
  --color-text: #2f2f2f;
  --color-muted: #656565;
  --color-border: #ded3c4;
  --color-focus: #263f2a;
  --shadow: 0 18px 50px rgba(71, 58, 42, 0.11);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1120px;
  --space-section: clamp(4rem, 8vw, 7rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--color-text);
  color: var(--color-surface);
  padding: 0.75rem 1rem;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
}

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

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(222, 211, 196, 0.75);
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.45rem;
  min-height: 48px;
  color: var(--color-text);
  font-weight: 800;
  text-decoration: none;
}

.logo img {
  width: clamp(86px, 9vw, 118px);
  max-height: 118px;
  object-fit: contain;
}

.logo-text {
  display: grid;
  gap: 0.05rem;
  color: var(--color-primary-dark);
  font-size: clamp(1.15rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 0.98;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.site-nav a,
.header-call {
  min-height: 44px;
  border-radius: 999px;
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
}

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

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  background: var(--color-primary);
  color: var(--color-surface);
}

.header-call:hover,
.btn-primary:hover {
  background: var(--color-primary-dark);
}

.hero {
  padding: clamp(1.125rem, 2.5vw, 2rem) 0 clamp(3rem, 7vw, 5rem);
}

.hero-grid,
.split-layout,
.process-grid,
.contact-grid,
.cta-inner,
.footer-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-grid {
  align-items: center;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--color-primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--color-text);
  line-height: 1.12;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.65rem, 8vw, 5.6rem);
}

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

h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
  color: var(--color-muted);
}

.hero-text,
.page-hero p,
.section-heading p,
.cta p {
  max-width: 62ch;
  font-size: 1.12rem;
}

.hero-text {
  margin-top: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.btn-secondary {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.hero-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 10px solid var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--color-surface);
}

.carousel-track {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: carousel-fade 24s infinite;
}

.carousel-slide:nth-child(1) {
  animation-delay: 0s;
}

.carousel-slide:nth-child(2) {
  animation-delay: -18s;
}

.carousel-slide:nth-child(3) {
  animation-delay: -12s;
}

.carousel-slide:nth-child(4) {
  animation-delay: -6s;
}

.hero-carousel.is-paused .carousel-slide {
  animation-play-state: paused;
}

.carousel-toggle {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  min-height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(47, 47, 47, 0.72);
  color: var(--color-surface);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.45rem 0.85rem;
}

.carousel-toggle:hover {
  background: rgba(47, 47, 47, 0.88);
}

@keyframes carousel-fade {
  0%,
  22% {
    opacity: 1;
  }

  25%,
  97% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.trust-bar {
  padding: 1rem 0 0;
}

.trust-grid {
  display: grid;
  gap: 1rem;
}

.trust-grid div {
  min-height: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  padding: 1.25rem;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid span {
  margin-top: 0.2rem;
  color: var(--color-muted);
}

.section,
.page-hero,
.cta {
  padding: var(--space-section) 0;
}

.page-hero {
  padding-top: clamp(1rem, 2vw, 1.75rem);
}

.page-hero {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-soft) 100%);
}

.section-soft,
.section-area {
  background: var(--color-soft);
}

.section-heading {
  display: grid;
  justify-items: center;
  margin-inline: auto;
  max-width: 720px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin-top: 1rem;
}

.services-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.4rem;
}

.service-card,
.contact-card,
.contact-form,
.area-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

.service-card {
  padding: clamp(1.25rem, 4vw, 1.8rem);
}

.service-card p {
  margin-top: 0.8rem;
}

.card-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--color-soft);
  color: var(--color-primary-dark);
  font-weight: 800;
}

.content-stack {
  display: grid;
  gap: 1.1rem;
}

.text-link {
  color: var(--color-primary-dark);
  font-weight: 800;
  text-underline-offset: 0.25em;
}

.text-link:hover {
  color: var(--color-text);
}

.step-list,
.contact-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.step-list {
  counter-reset: steps;
  list-style: none;
}

.step-list li {
  position: relative;
  min-height: 90px;
  border-left: 3px solid var(--color-primary);
  padding: 0.15rem 0 0.15rem 1.5rem;
  color: var(--color-muted);
}

.step-list li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: -1.05rem;
  top: 0;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-surface);
  font-weight: 800;
}

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

.area-panel {
  padding: clamp(2rem, 6vw, 3.5rem);
}

.cta {
  background: var(--color-text);
  color: var(--color-surface);
}

.cta h2,
.cta p {
  color: var(--color-surface);
}

.cta .eyebrow {
  color: var(--color-soft-strong);
}

.cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
  color: var(--color-surface);
}

.site-footer {
  padding: 3rem 0 2rem;
  background: var(--color-bg);
}

.footer-grid {
  align-items: start;
}

.site-footer strong {
  font-size: 1.05rem;
}

.site-footer address {
  color: var(--color-muted);
  font-style: normal;
}

.site-footer a {
  text-underline-offset: 0.25em;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.4rem;
}

.contact-card,
.contact-form {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.contact-card h2 {
  margin-bottom: 1rem;
}

.contact-list {
  margin-top: 1.75rem;
  list-style: none;
}

.contact-list li {
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.contact-list span {
  display: block;
  color: var(--color-primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list a {
  font-weight: 800;
  text-underline-offset: 0.25em;
}

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

.form-row {
  display: grid;
  gap: 0.45rem;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-row {
  overflow-x: auto;
  padding-bottom: 0.1rem;
}

label {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  padding: 0.85rem 0.95rem;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-primary);
  outline: 3px solid rgba(111, 143, 114, 0.3);
}

@media (min-width: 680px) {
  .trust-grid,
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 860px) {
  .hero-grid,
  .split-layout,
  .process-grid,
  .contact-grid,
  .cta-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .cta-inner {
    align-items: center;
  }

  .cta-inner .hero-actions {
    justify-content: end;
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.8rem 0;
  }

  .logo {
    width: 100%;
    justify-content: center;
  }

  .logo img {
    width: clamp(82px, 24vw, 108px);
    max-height: 108px;
  }

  .logo-text {
    font-size: clamp(1rem, 4vw, 1.35rem);
  }

  .site-nav {
    order: 3;
    width: 100%;
  }

  .site-nav a {
    flex: 1;
    justify-content: center;
    padding-inline: 0.55rem;
  }

  .header-call {
    display: none;
  }

  h1,
  .page-hero h1,
  h2 {
    max-width: none;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .carousel-slide {
    animation: none !important;
  }

  .carousel-slide:first-child {
    opacity: 1;
  }

  .carousel-toggle {
    display: none;
  }
}
