:root {
  --bg: #ffffff;
  --bg-soft: #f3f6f3;
  --ink: #121512;
  --muted: #5a635c;
  --line: #dce3dc;
  --green: #1f6b3a;
  --green-2: #15512c;
  --wa: #128c7e;
  --wa-2: #0d6f63;
  --brown: #6b4423;
  --brown-2: #523318;
  --soft-g: #e7f1eb;
  --soft-b: #f3ebe3;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 16px;
  --nav: 4.1rem;
  --wrap: min(1100px, calc(100% - 1.5rem));
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1000px 500px at 100% -10%, rgba(31,107,58,.07), transparent 55%),
    radial-gradient(800px 420px at -8% 30%, rgba(107,68,35,.05), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; border: 0; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--display);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}

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

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 28px rgba(18,21,18,.06);
}
.nav-inner {
  width: var(--wrap);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -.02em;
}
.brand-mark {
  width: .85rem;
  height: .85rem;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--green), #3d8f5c);
  box-shadow: 0 0 0 3px rgba(31,107,58,.14);
}
.nav-links {
  display: none;
  align-items: center;
  gap: 1.35rem;
}
.nav-links a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s ease;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--ink); }
.nav-actions { display: flex; gap: .4rem; align-items: center; }
.menu-btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.menu-btn span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--ink);
  margin: 3px 0;
  transition: transform .25s var(--ease);
}
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
}

.mobile-menu {
  display: none;
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: .5rem 0 1rem;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  width: var(--wrap);
  margin-inline: auto;
  padding: .85rem 0;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 2.7rem;
  padding: .55rem 1.15rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--body);
  font-size: .94rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .22s var(--ease), background .2s ease, box-shadow .22s ease;
}
.btn svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.btn-sm { min-height: 2.3rem; padding: .4rem .9rem; font-size: .86rem; }
.btn:hover { transform: translateY(-2px); }
.btn-wa {
  background: var(--wa);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(18,140,126,.28);
}
.btn-wa:hover { background: var(--wa-2); }
.btn-call {
  background: var(--brown);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(107,68,35,.22);
}
.btn-call:hover { background: var(--brown-2); }
.btn-ghost {
  background: transparent;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.55);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline {
  background: #fff;
  color: var(--ink) !important;
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn-outline:hover { border-color: var(--green); color: var(--green) !important; }
.cta-row { display: flex; flex-wrap: wrap; gap: .55rem; }

/* HERO */
.hero {
  position: relative;
  min-height: min(88svh, 720px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #152018;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: ken 16s var(--ease) forwards;
  transform: scale(1.06);
}
@keyframes ken { to { transform: scale(1); } }
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(8,14,10,.78) 0%, rgba(8,14,10,.28) 50%, rgba(8,14,10,.5) 100%),
    linear-gradient(180deg, rgba(8,14,10,.1) 0%, rgba(8,14,10,.82) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin-inline: auto;
  padding: 3rem 0 3.5rem;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .85rem;
  padding: .3rem .7rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
}
.kicker::before {
  content: "";
  width: .4rem; height: .4rem;
  border-radius: 50%;
  background: #62d18c;
  box-shadow: 0 0 10px #62d18c;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.15rem, 7vw, 4rem);
  font-weight: 800;
  max-width: 14ch;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #b8e6c6, #fff 50%, #e8d5c4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  margin: 1rem 0 1.4rem;
  max-width: 36ch;
  color: rgba(255,255,255,.9);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

/* PAGE HERO (inner pages) */
.page-hero {
  padding: 2.5rem 0 1.5rem;
  background: linear-gradient(180deg, var(--soft-g), #fff 70%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  max-width: 16ch;
}
.page-hero p {
  margin-top: .7rem;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.05rem;
}

/* SECTIONS */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-head { max-width: 36rem; margin-bottom: 1.75rem; }
.section-head .eyebrow {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: .4rem;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3.8vw, 2.3rem);
  font-weight: 800;
}
.section-head p {
  margin-top: .55rem;
  color: var(--muted);
}

/* VALUE STRIP */
.values {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .values { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.value {
  padding: 1.25rem 1.15rem;
  border-top: 3px solid var(--green);
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 30px rgba(18,21,18,.04);
}
.value strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: .35rem;
}
.value p { color: var(--muted); font-size: .95rem; }

/* SERVICE GRID — vertical cards, text ALWAYS below image */
.services {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 760px) {
  .services { grid-template-columns: repeat(3, 1fr); }
}
.service {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(18,21,18,.1);
}
.service-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #d7ddd7;
  transition: transform .6s var(--ease);
}
.service:hover .service-img { transform: scale(1.04); }
.service-body {
  padding: 1.15rem 1.15rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
  background: #fff;
  color: var(--ink);
}
.service-body .tag {
  width: fit-content;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brown);
  background: var(--soft-b);
  padding: .2rem .5rem;
  border-radius: 999px;
}
.service-body h3 { font-size: 1.2rem; font-weight: 800; }
.service-body p { color: var(--muted); font-size: .94rem; flex: 1; }
.service-body .btn { margin-top: .35rem; align-self: flex-start; }

/* FEATURE BLOCK — stacked on mobile, text never hidden */
.feature {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
.feature:last-child { margin-bottom: 0; }
.feature-media {
  border-radius: var(--r);
  overflow: hidden;
  background: #d7ddd7;
}
.feature-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.feature-copy h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: .55rem;
}
.feature-copy p { color: var(--muted); margin-bottom: 1rem; max-width: 40ch; }
.checks { display: grid; gap: .45rem; margin-bottom: 1.15rem; }
.checks li {
  position: relative;
  padding-left: 1.2rem;
  font-weight: 600;
  font-size: .95rem;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: .45rem;
  height: .45rem;
  background: var(--green);
  border-radius: 2px;
}
@media (min-width: 860px) {
  .feature {
    grid-template-columns: 1.05fr 1fr;
    gap: 2.5rem;
  }
  .feature.is-reverse { grid-template-columns: 1fr 1.05fr; }
  .feature.is-reverse .feature-media { order: 2; }
  .feature.is-reverse .feature-copy { order: 1; }
}

/* STEPS */
.steps {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.step-num {
  display: block;
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: .55rem;
  opacity: .85;
}
.step h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* CTA BAND */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.35rem;
  border-radius: calc(var(--r) + 4px);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--soft-g), #fff 45%, var(--soft-b));
}
.cta-band h2 {
  font-size: clamp(1.35rem, 3.5vw, 1.9rem);
  font-weight: 800;
  max-width: 18ch;
}
.cta-band > p {
  margin: .55rem 0 1.15rem;
  color: var(--muted);
  max-width: 40ch;
}

/* CONTACT */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
.contact-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
}
.contact-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: .4rem;
}
.contact-card p { color: var(--muted); margin-bottom: 1rem; }
.contact-links { display: grid; gap: .65rem; }
.contact-links a {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 700;
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: border-color .2s ease, background .2s ease;
}
.contact-links a:hover {
  border-color: var(--green);
  background: var(--soft-g);
}
.form {
  display: grid;
  gap: .65rem;
}
.form label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--muted);
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: .8rem .95rem;
  border: 1px solid #c8d1c8;
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31,107,58,.15);
}
.form-note {
  min-height: 1.2rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--green);
}
.form-note.is-error { color: #9b2c2c; }

/* FOOTER */
.foot {
  border-top: 1px solid var(--line);
  padding: 2rem 0 5.5rem;
  background: #fff;
}
.foot-inner {
  display: grid;
  gap: 1rem;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.25rem;
}
.foot-nav a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
}
.foot-nav a:hover { color: var(--ink); }
.foot p { font-size: .88rem; color: var(--muted); }
@media (min-width: 900px) {
  .foot { padding-bottom: 2rem; }
  .foot-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* FAB */
.fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 28px rgba(18,140,126,.38);
}
.fab svg { width: 1.5rem; height: 1.5rem; position: relative; z-index: 1; }
.fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--wa);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* REVEAL — stays visible */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-img, .fab::before { animation: none !important; }
  .service:hover, .btn:hover, .service:hover .service-img { transform: none; }
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
