/* ============ TOKENS ============ */
:root {
  --forest:   #1c3a2b;
  --forest-2: #25503a;
  --moss:     #4a7a4f;
  --sage:     #8aa888;
  --bark:     #6b4f37;
  --bark-2:   #8a6b4a;
  --clay:     oklch(0.62 0.09 70);
  --cream:    #f6f3ec;
  --cream-2:  #efe9dd;
  --paper:    #fcfaf5;
  --ink:      #20251f;
  --ink-soft: #4b5249;
  --line:     #e2dccd;
  --white:    #ffffff;

  --shadow-sm: 0 2px 8px rgba(28,58,43,.06);
  --shadow-md: 0 14px 40px -12px rgba(28,58,43,.22);
  --shadow-lg: 0 30px 70px -22px rgba(28,58,43,.34);

  --serif: "Playfair Display", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1240px;
  --radius: 16px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--moss); color: #fff; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.eyebrow {
  font-family: var(--sans);
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--moss);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--moss); display: inline-block; }

.btn {
  font-family: var(--sans);
  font-size: 1rem; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; border-radius: 100px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 10px 26px -10px var(--clay); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -12px var(--clay); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-3px); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--forest-2); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-white { background: #fff; color: var(--bark); }
.btn-white:hover { background: var(--cream); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-3px); }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 22px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; transition: color .4s; }
.brand-logo { height: 46px; width: auto; display: block; filter: brightness(0) invert(1); transition: filter .4s var(--ease); }
.nav.scrolled .brand-logo { filter: none; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.28rem; line-height: 1; }
.brand-sub { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; opacity: .8; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: #fff; font-size: .94rem; font-weight: 500; padding: 9px 15px; border-radius: 100px;
  transition: background .25s, color .25s, opacity .25s; opacity: .92;
}
.nav-links a:hover { background: rgba(255,255,255,.14); opacity: 1; }
.nav-cta { margin-left: 10px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .94rem; }

.nav.scrolled { background: rgba(252,250,245,.9); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); padding: 13px 0; border-bottom: 1px solid var(--line); }
.nav.scrolled .brand { color: var(--ink); }
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav.scrolled .nav-links a:hover { background: var(--cream-2); color: var(--forest); }
.nav.scrolled .nav-links .nav-cta { color: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.nav-toggle span + span { margin-top: 5px; }
.nav.scrolled .nav-toggle span { background: var(--ink); }

/* nav dark mode (for pages with light hero) */
.nav--dark .brand { color: var(--ink); }
.nav--dark .nav-links a { color: var(--ink-soft); }
.nav--dark .nav-toggle span { background: var(--ink); }
.nav--dark { background: rgba(252,250,245,.9); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--line); }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; isolation: isolate; padding: 140px 0 90px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--forest); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,40,29,.62) 0%, rgba(20,40,29,.48) 40%, rgba(20,40,29,.82) 100%);
}
.hero-content { max-width: 760px; }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 4.9rem); font-weight: 800; margin: 22px 0 0; text-wrap: balance; }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--sage); }
.hero p.lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); margin: 26px 0 0; max-width: 560px; color: rgba(255,255,255,.9); font-weight: 300; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; margin-top: 46px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.2); }
.hero-trust div { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: rgba(255,255,255,.88); }
.hero-trust svg { width: 19px; height: 19px; color: var(--sage); flex: none; }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  background: var(--forest);
  color: #fff;
  padding: clamp(110px, 15vw, 150px) 0 clamp(56px, 8vw, 90px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(74,122,79,.2) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero .eyebrow { color: var(--sage); }
.page-hero .eyebrow::before { background: var(--sage); }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; margin: 18px 0 0; color: #fff; }
.page-hero p.lead { font-size: clamp(1rem, 1.6vw, 1.18rem); margin: 20px 0 0; max-width: 540px; color: rgba(255,255,255,.85); font-weight: 300; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .83rem; color: rgba(255,255,255,.55); margin-bottom: 28px;
}
.breadcrumb a { color: rgba(255,255,255,.72); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { opacity: .4; }

/* ============ CTA STRIP ============ */
.cta-strip { background: var(--clay); color: #fff; padding: clamp(56px, 8vw, 90px) 0; text-align: center; }
.cta-strip h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); color: #fff; }
.cta-strip p { font-size: 1.1rem; color: rgba(255,255,255,.88); margin-top: 14px; max-width: 500px; margin-inline: auto; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ============ SECTION SHELL ============ */
section { position: relative; }
.pad { padding: clamp(72px, 11vw, 130px) 0; }
.sec-head { max-width: 680px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::before { display: none; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 16px 0 0; color: var(--forest); }
.sec-head p { font-size: 1.12rem; color: var(--ink-soft); margin-top: 18px; text-wrap: pretty; }

/* ============ SERVICES ============ */
.services { background: var(--paper); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 32px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--moss), var(--clay)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cream); color: var(--forest); margin-bottom: 22px; transition: background .4s, color .4s, transform .4s var(--ease);
}
.svc-card:hover .svc-icon { background: var(--forest); color: #fff; transform: rotate(-6deg) scale(1.05); }
.svc-icon svg { width: 28px; height: 28px; }
.svc-card h3 { font-size: 1.28rem; color: var(--ink); margin-bottom: 9px; }
.svc-card p { font-size: .95rem; color: var(--ink-soft); }
.svc-card .svc-detail { font-size: .88rem; color: var(--ink-soft); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.svc-card .svc-link { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--moss); margin-top: 16px; transition: gap .25s var(--ease), color .25s; }
.svc-card .svc-link:hover { color: var(--forest); gap: 10px; }
.svc-card .svc-link svg { width: 14px; height: 14px; }
.svc-num { position: absolute; top: 22px; right: 24px; font-family: var(--serif); font-size: 1rem; color: var(--line); font-weight: 600; }

/* ============ WHY / STATS ============ */
.why { background: var(--forest); color: #fff; overflow: hidden; }
.why .sec-head h2 { color: #fff; }
.why .sec-head p { color: rgba(255,255,255,.8); }
.why .eyebrow { color: var(--sage); }
.why .eyebrow::before { background: var(--sage); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 34px 28px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.03); transition: background .4s, transform .4s var(--ease); }
.stat:hover { background: rgba(255,255,255,.08); transform: translateY(-6px); }
.stat-ico { width: 44px; height: 44px; color: var(--sage); margin-bottom: 20px; }
.stat-ico svg { width: 100%; height: 100%; }
.stat .num { font-family: var(--serif); font-size: 3rem; font-weight: 700; line-height: 1; color: #fff; }
.stat .num span { font-size: 1.6rem; color: var(--sage); }
.stat .label { font-weight: 600; margin-top: 12px; font-size: 1.05rem; }
.stat .desc { font-size: .9rem; color: rgba(255,255,255,.72); margin-top: 6px; }

/* ============ GALLERY ============ */
.gallery { background: var(--cream); }
.masonry { columns: 3; column-gap: 18px; }
.masonry figure {
  break-inside: avoid; margin: 0 0 18px; border-radius: 14px; overflow: hidden; position: relative;
  background: var(--cream-2); box-shadow: var(--shadow-sm); cursor: pointer;
}
.masonry img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center; transition: transform .8s var(--ease); display: block; }
.masonry figure:hover img { transform: scale(1.07); }
.masonry figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 18px 16px; color: #fff; font-weight: 600; font-size: .98rem;
  background: linear-gradient(transparent, rgba(20,38,29,.85)); transform: translateY(8px); opacity: 0; transition: .45s var(--ease);
}
.masonry figure:hover figcaption { transform: none; opacity: 1; }
.img-fallback {
  background-image: repeating-linear-gradient(45deg, var(--cream-2) 0 14px, var(--cream) 14px 28px);
  position: relative;
}
.img-fallback::after {
  content: attr(data-ph); font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bark); position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 12px;
}
figure.img-fallback { min-height: 240px; }

/* ============ TESTIMONIALS ============ */
.testi { background: var(--paper); }
.ti-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ti-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
  display: flex; flex-direction: column; gap: 16px; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.ti-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stars { display: flex; gap: 3px; color: var(--clay); }
.stars svg { width: 19px; height: 19px; }
.ti-quote { font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; color: var(--ink); font-weight: 500; }
.ti-who { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 6px; }
.ti-av { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; color: #fff; font-family: var(--serif); font-size: 1.05rem; }
.ti-name { font-weight: 600; font-size: .98rem; }
.ti-meta { font-size: .85rem; color: var(--ink-soft); }

/* ============ SERVICE AREAS ============ */
.areas { background: var(--cream-2); }
.areas-grid {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-bottom: 32px;
}
.area-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: 100px;
  border: 1.5px solid var(--line); background: var(--white);
  font-size: .94rem; font-weight: 500; color: var(--ink-soft);
  transition: border-color .25s, color .25s, background .25s, transform .25s var(--ease);
  cursor: default;
}
.area-chip:hover { border-color: var(--moss); color: var(--forest); background: var(--cream); transform: translateY(-2px); }
.area-chip.area-home { background: var(--forest); color: #fff; border-color: var(--forest); font-weight: 600; }
.area-chip.area-home:hover { background: var(--forest-2); border-color: var(--forest-2); transform: translateY(-2px); }
.area-chip svg { width: 14px; height: 14px; flex: none; }
.areas-note { text-align: center; font-size: .96rem; color: var(--ink-soft); }
.areas-note a { color: var(--moss); font-weight: 600; transition: color .2s; }
.areas-note a:hover { color: var(--forest); }

/* ============ CONTACT ============ */
.contact { background: var(--forest); color: #fff; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: .95fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact .eyebrow { color: var(--sage); }
.contact .eyebrow::before { background: var(--sage); }
.contact h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 16px 0 0; }
.contact-lead { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-top: 18px; max-width: 420px; }
.contact-list { margin-top: 38px; display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 15px; align-items: flex-start; }
.contact-item .ci-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; color: var(--sage); }
.contact-item .ci-ico svg { width: 21px; height: 21px; }
.contact-item .ci-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sage); }
.contact-item .ci-val { font-weight: 600; font-size: 1.08rem; margin-top: 2px; }

.form-card { background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; letter-spacing: .01em; }
.field label .req { color: var(--clay); }
.field label .opt { color: var(--ink-soft); font-size: .82rem; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px; background: var(--white);
  transition: border-color .25s, box-shadow .25s; appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b4f37' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(74,122,79,.16); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0492f; box-shadow: 0 0 0 3px rgba(192,73,47,.12); }
.field .err { font-size: .78rem; color: #c0492f; margin-top: 6px; display: none; font-weight: 500; }
.field.invalid .err { display: block; }
.form-submit { width: 100%; margin-top: 8px; font-size: 1.05rem; padding: 17px; }
.form-submit:disabled { opacity: .7; cursor: not-allowed; transform: none !important; }
.form-note { font-size: .82rem; color: var(--ink-soft); text-align: center; margin-top: 14px; }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--moss); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .check svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 1.6rem; color: var(--forest); }
.form-success p { color: var(--ink-soft); margin-top: 8px; }

/* ============ FOOTER ============ */
footer { background: #14241d; color: rgba(255,255,255,.72); padding: 70px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
footer .brand { color: #fff; margin-bottom: 18px; }
.foot-about { font-size: .94rem; max-width: 320px; }
.foot-col h4 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--sage); margin-bottom: 18px; font-weight: 600; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-col a { font-size: .94rem; transition: color .25s, padding .25s; }
.foot-col a:hover { color: #fff; padding-left: 4px; }
.foot-contact div { margin-bottom: 14px; }
.foot-contact .k { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sage); }
.foot-contact .v { color: #fff; font-weight: 500; font-size: 1.02rem; margin-top: 2px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 26px; font-size: .85rem; }
.foot-bottom .badges { display: flex; gap: 18px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .ti-grid { grid-template-columns: 1fr; }
  .masonry { columns: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; align-items: stretch;
    background: var(--paper); padding: 96px 24px 30px; gap: 4px; transform: translateY(-100%); transition: transform .45s var(--ease);
    box-shadow: var(--shadow-md); z-index: -1;
  }
  .nav-links.open { transform: none; }
  .nav-links a { color: var(--ink); padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
  .nav-links a:hover { background: var(--cream-2); }
  .nav-links .nav-phone { color: var(--forest); }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: block; }
  .hero { padding-top: 120px; }
}
@media (max-width: 540px) {
  .svc-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }
  .cta-btns .btn { flex: 1 1 auto; }
}
