:root {
  --bg: #f3efe6;
  --paper: #fffdf8;
  --ink: #1c2824;
  --muted: #5d675f;
  --line: #e3dacb;
  --pine: #14352f;
  --pine-2: #1c463e;
  --leaf: #2f6b5c;
  --clay: #c45b32;
  --clay-2: #a34724;
  --sand: #efe6d4;
  --gold: #b8935a;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --shadow: 0 18px 40px rgba(20, 53, 47, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .slide-title {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin-bottom: 0.4em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; margin-bottom: 0.35em; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--clay);
  color: white;
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 32px)); }

.topbar {
  background: var(--pine);
  color: #efe7d8;
  font-size: 0.92rem;
}
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: white; }
.topbar-row, .header-row, .footer-bottom, .stats-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.topbar-row { min-height: 42px; }
.topbar p { margin: 0; display: flex; gap: 16px; flex-wrap: wrap; }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 239, 230, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { min-height: 78px; }
.logo {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}
.logo img { width: 46px; height: 46px; object-fit: contain; }
.logo strong { display: block; font-size: 1.05rem; }
.logo small { display: block; color: var(--muted); font-size: 0.78rem; }
.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--pine);
  color: #f4efe4;
  font-family: var(--serif);
  font-size: 1.4rem;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a, .drop > a {
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--ink);
}
.nav > a.is-active, .drop > a.is-active { background: white; }
.nav-cta {
  background: var(--pine) !important;
  color: #f6f1e6 !important;
  margin-left: 6px;
}
.drop { position: relative; }
.drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  max-height: 70vh;
  overflow: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.drop-wide { width: min(520px, 70vw); columns: 2; }
.drop-menu a {
  display: block;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  break-inside: avoid;
}
.drop-menu a:hover { background: var(--sand); }
.drop.is-open > .drop-menu { display: block; }
@media (hover: hover) and (pointer: fine) {
  .drop:hover .drop-menu,
  .drop:focus-within .drop-menu { display: block; }
}
.nav-toggle { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--pine);
  color: #f6f1e6;
  padding: 64px 0 48px;
  min-height: 560px;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease;
}
.hero-bg-img.is-active { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(8, 28, 25, 0.88) 0%, rgba(8, 28, 25, 0.62) 46%, rgba(8, 28, 25, 0.28) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; }
.hero-grid > *, .hero-copy, .slide { min-width: 0; max-width: 100%; }
.hero-copy {
  display: grid;
  max-width: 40rem;
}
.hero-copy > .slide {
  grid-area: 1 / 1;
  display: block;
  visibility: hidden;
  align-self: start;
}
.hero-copy > .slide.is-active { visibility: visible; }
.hero-copy > .slide-controls { grid-area: 2 / 1; }
.slide h1, .slide-title, .hero .lead { overflow-wrap: break-word; }
.kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 12px;
  color: var(--gold);
}
.kicker-dark { color: var(--clay); }
.lead { font-size: 1.12rem; color: inherit; max-width: 46rem; }
.hero .lead { color: #e7dece; }
.hero-actions, .slide-controls { display: flex; gap: 10px; align-items: center; margin-top: 22px; flex-wrap: wrap; }
.slide h1, .slide-title { margin-top: 0; }
.slide-title { font-size: clamp(2.4rem, 5vw, 4.4rem); margin-bottom: 0.4em; }
.slide-prev, .slide-next, .slide-dot {
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  color: white;
  border-radius: 999px;
}
.slide-prev, .slide-next { width: 42px; height: 42px; cursor: pointer; }
.slide-dot { width: 9px; height: 9px; padding: 0; }
.slide-dot.is-active { background: white; }

.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats-row { padding: 18px 0; }
.stats p { margin: 0; display: flex; gap: 10px; align-items: baseline; }
.stats strong { font-family: var(--serif); font-size: 1.8rem; }

.section { padding: 72px 0; }
.section-sand { background: var(--sand); }
.section-pine { background: var(--pine); color: #f6f1e6; }
.section-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; }
.section-head a { color: var(--leaf); }
.section-lead { max-width: 46rem; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}
.card-service { padding: 0; overflow: hidden; min-height: 0; }
.card-media { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.card-service .icon { margin: 0 0 4px; }
a.card:hover { transform: translateY(-3px); border-color: #d9c7a6; transition: 0.2s ease; }
a.card-service:hover .card-media img { transform: scale(1.05); }
.icon { width: 42px; height: 42px; color: var(--leaf); margin-bottom: 12px; }
.icon svg { width: 100%; height: 100%; }
.card p, .why p, .steps p { color: var(--muted); margin-bottom: 0; }
.section-pine .steps p { color: #ddd4c6; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.why { display: grid; gap: 14px; }
.why article, .steps li {
  background: var(--paper);
  border-radius: 18px;
  padding: 16px 16px 16px 18px;
  border: 1px solid var(--line);
}
.why span, .steps span {
  font-family: var(--serif);
  color: var(--clay);
  display: block;
  margin-bottom: 4px;
}
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.section-pine .steps li { background: rgba(255,253,248,.06); border-color: rgba(255,255,255,.12); color: inherit; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .letter-nav a {
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.95rem;
}
.chips a:hover, .letter-nav a:hover { border-color: var(--leaf); color: var(--leaf); }
.letter-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

.area-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 28px; }
.area-list a {
  text-decoration: none;
  background: var(--paper);
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.area-list span { color: var(--muted); font-size: 0.85rem; }
.area-list a.is-hidden, .is-hidden { display: none; }

.prose { font-size: 1.05rem; }
.prose-wide, .narrow.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose p, .prose ul { margin-bottom: 1em; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--leaf); }
.cover { width: 100%; border-radius: 18px; margin-bottom: 18px; max-height: 460px; object-fit: cover; }
.updated { color: var(--muted); font-size: 0.92rem; }

.page-hero { padding: 42px 0 10px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; color: var(--muted); font-size: 0.92rem; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; }
.crumbs a { color: var(--leaf); text-decoration: none; }

.layout-article { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 28px; align-items: start; }
.side {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  position: sticky;
  top: 96px;
}
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); }

.quote-grid, .contact-grid, .sitemap-grid, .footer-grid { display: grid; gap: 14px; }
.quote-grid { grid-template-columns: 1fr 1fr; }
.span-2 { grid-column: span 2; }
label { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 600; }
label span { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 12px 12px;
  color: var(--ink);
}
textarea { resize: vertical; }
.form-note { color: var(--muted); font-size: 0.85rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.filter { max-width: 420px; margin-top: 18px; }
.contact-grid, .sitemap-grid, .footer-grid { grid-template-columns: 1.1fr 0.9fr; }
.sitemap-grid, .footer-grid { grid-template-columns: repeat(4, 1fr); }
.footer-grid ul, .sitemap-grid ul, .search-list { padding-left: 18px; }
.map { width: 100%; min-height: 280px; border: 0; border-radius: 18px; margin-top: 12px; }

.cta-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  background: var(--paper);
  border-radius: 28px;
  padding: 28px;
  border: 1px solid var(--line);
}
.post-card time, .quote-card footer { color: var(--muted); font-size: 0.88rem; }
.quote-card p { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 600;
}
.btn-clay { background: var(--clay); color: white; }
.btn-clay:hover { background: var(--clay-2); }
.btn-pine { background: var(--pine); color: #f6f1e6; }
.btn-ghost { background: transparent; color: white; border: 1px solid rgba(255,255,255,.4); }

.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.pager a { color: var(--leaf); }

.flash {
  width: min(1120px, calc(100% - 32px));
  margin: 12px auto 0;
  padding: 12px 16px;
  border-radius: 12px;
}
.flash.ok { background: #e5f2ea; color: #145233; }
.flash.err { background: #fde8e2; color: #8a3418; }

.footer { background: #102823; color: #e7dece; padding-top: 48px; }
.footer a { color: inherit; }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; }
.footer-title { color: var(--gold); margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 28px; padding: 16px 0 24px; font-size: 0.92rem; }
.footer-nap a { text-decoration: none; }

.mobile-bar { display: none; }
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #1f8f55;
  color: white;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 16px;
  z-index: 25;
  box-shadow: var(--shadow);
}

:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

@media (max-width: 980px) {
  .hero-grid, .split, .layout-article, .cta-band, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero::after {
    background: linear-gradient(180deg, rgba(8, 28, 25, 0.82) 0%, rgba(8, 28, 25, 0.74) 70%, rgba(8, 28, 25, 0.62) 100%);
  }
  .cards, .cards-3, .steps, .area-list { grid-template-columns: 1fr 1fr; }
  .sitemap-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .side { position: static; }
  .drop-wide { columns: 1; width: 240px; }
}
@media (max-width: 760px) {
  .hero { min-height: 0; padding: 36px 0 28px; }
  .hero h1, .hero .slide-title, .hero .lead { max-width: calc(100% - 8px); }
  .hero h1, .hero .slide-title { font-size: 1.85rem; }
  .hero .lead { font-size: 1rem; }
  .topbar { display: none; }
  .header { overflow: visible; }
  .nav-toggle {
    display: inline-flex;
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 5;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    border-radius: 999px;
    padding: 8px 14px;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 6;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 12px 12px;
    max-height: calc(100dvh - 78px - 64px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.is-open { display: flex; }
  .nav > a, .drop > a { border-radius: 12px; }
  .drop > a { display: flex; justify-content: space-between; align-items: center; }
  .drop > a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-right: 6px;
    flex: 0 0 auto;
  }
  .drop.is-open > a::after { transform: rotate(225deg); }
  .drop-menu {
    display: none;
    position: static;
    box-shadow: none;
    border: 0;
    max-height: none;
    overflow: visible;
    columns: 1;
    width: auto;
    min-width: 0;
    padding: 0 0 6px 8px;
    background: transparent;
  }
  .drop:hover > .drop-menu,
  .drop:focus-within > .drop-menu { display: none; }
  .drop.is-open > .drop-menu,
  .drop.is-open:hover > .drop-menu,
  .drop.is-open:focus-within > .drop-menu { display: block; }
  .cards, .cards-3, .steps, .area-list, .quote-grid, .sitemap-grid, .footer-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .header { position: sticky; }
  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: var(--pine);
    z-index: 40;
  }
  .mobile-bar a { color: white; text-align: center; text-decoration: none; padding: 12px 4px; }
  .wa-float { display: none; }
  body { padding-bottom: 56px; }
  .stats-row { flex-direction: column; align-items: flex-start; padding: 14px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a.card:hover, a.card-service:hover .card-media img { transform: none; }
  .hero-bg-img { transition: none; }
}
