:root {
  --cactus: #162c20;
  --earthy: #373710;
  --moss: #384d37;
  --olive: #aeac88;
  --bloom: #e97a5a;
  --desert: #f2e9db;
  --ink: #162c20;
  --cream: #f2e9db;
  --font-display: 'Times New Roman', Times, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--desert);
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0;
}

p {
  margin: 0;
}

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

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: clip;
  color: var(--cream);
  background: var(--cactus);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  transform: scale(1.06);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(22, 44, 32, 0.18) 0%,
      rgba(22, 44, 32, 0.28) 42%,
      rgba(22, 44, 32, 0.88) 100%
    ),
    linear-gradient(
      90deg,
      rgba(22, 44, 32, 0.55) 0%,
      rgba(22, 44, 32, 0.12) 55%,
      rgba(22, 44, 32, 0.35) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 6vw, 4.5rem);
  display: grid;
  gap: 1rem;
  animation: rise 0.9s ease both;
}

.hero__logo {
  width: min(280px, 72vw);
  height: auto;
  margin-bottom: 0.35rem;
  animation: rise 1s ease both;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 1.05;
  max-width: 12ch;
  animation: rise 1.05s ease 0.08s both;
}

.hero__lead {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  color: rgba(242, 233, 219, 0.88);
  max-width: 34ch;
  font-weight: 400;
  animation: rise 1.1s ease 0.14s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
  animation: rise 1.15s ease 0.2s both;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

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

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

.btn-primary {
  background: var(--bloom);
  color: #1a1512;
}

.btn-primary:hover {
  background: #f08a6c;
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(242, 233, 219, 0.45);
}

.btn-ghost:hover {
  background: rgba(242, 233, 219, 0.1);
  border-color: rgba(242, 233, 219, 0.7);
}

.btn-secondary {
  background: transparent;
  color: var(--cactus);
  border-color: rgba(22, 44, 32, 0.28);
}

.btn-secondary:hover {
  background: rgba(22, 44, 32, 0.06);
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 3rem);
}

.section__inner {
  width: min(100%, 920px);
  margin: 0 auto;
}

.section__inner--narrow {
  width: min(100%, 560px);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.section h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.section__lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(22, 44, 32, 0.78);
  max-width: 42ch;
}

.section--services {
  background:
    radial-gradient(circle at 12% 20%, rgba(233, 122, 90, 0.12), transparent 40%),
    radial-gradient(circle at 90% 0%, rgba(56, 77, 55, 0.12), transparent 36%),
    linear-gradient(180deg, #f7f1e8 0%, var(--desert) 100%);
}

.section--services .section__lead {
  margin-bottom: 2.25rem;
}

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

.service-list li {
  display: grid;
  gap: 0.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(22, 44, 32, 0.12);
}

.service-list strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.service-list span {
  color: rgba(22, 44, 32, 0.72);
  line-height: 1.5;
}

.section--cta {
  background: #e8dfcf;
}

.section--cta .section__lead {
  max-width: 36ch;
}

.mark {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-bottom: 0.25rem;
}

.section--cta .hero__actions {
  justify-content: center;
  margin-top: 0.75rem;
}

.contact-email {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: var(--moss);
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(56, 77, 55, 0.35);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.contact-email:hover {
  color: var(--cactus);
  border-color: rgba(22, 44, 32, 0.55);
}

/* —— Footer —— */
.footer {
  background: var(--cactus);
  color: rgba(242, 233, 219, 0.78);
  padding: 2.5rem 1.25rem 2.75rem;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  text-align: center;
}

.footer__logo {
  width: 140px;
  height: auto;
  opacity: 0.92;
}

.footer__email {
  font-size: 0.92rem;
  color: rgba(242, 233, 219, 0.9);
  border-bottom: 1px solid rgba(242, 233, 219, 0.28);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.footer__email:hover {
  color: var(--cream);
  border-color: rgba(242, 233, 219, 0.7);
}

.footer p {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* —— Motion —— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .hero__image,
  .hero__content,
  .hero__logo,
  .hero h1,
  .hero__lead,
  .hero__actions {
    animation: none;
  }

  .hero__image {
    transform: none;
  }
}

@media (min-width: 900px) {
  .hero {
    align-items: center;
  }

  .hero__content {
    padding-left: clamp(2.5rem, 7vw, 6rem);
    padding-bottom: clamp(2rem, 5vw, 4rem);
  }

  .hero__image {
    object-position: 70% 38%;
  }

  .service-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .service-list li {
    border-top: 0;
    padding-top: 0;
    padding-left: 1.25rem;
    border-left: 1px solid rgba(22, 44, 32, 0.12);
  }

  .service-list li:first-child {
    padding-left: 0;
    border-left: 0;
  }
}
