:root {
  color-scheme: light;
  --paper: #f7f7ef;
  --white: #fffef9;
  --ink: #182d24;
  --muted: #526256;
  --accent: #366447;
  --line: #d5ded0;
  --lime: #ddf59a;
  --forest: #193b2d;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
p { line-height: 1.65; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #5b925c; outline-offset: 4px; }
section[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(1280px, calc(100% - 108px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-150%);
  background: var(--white);
}
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-row { min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.23rem; font-weight: 750; letter-spacing: -.045em; white-space: nowrap; text-decoration: none; }
.brand-logo { display: block; flex: none; width: 42px; height: auto; border-radius: 9px; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 47px); }
.primary-nav a { color: var(--muted); text-decoration: none; font-size: .94rem; font-weight: 600; }
.primary-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 47px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  text-align: center;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color .18s, border-color .18s;
}
.button span, .text-link span { font-size: 1.1em; line-height: 1; }
.button-primary { background: var(--forest); border-color: var(--forest); color: white; }
.button-primary:hover { background: #2a5740; border-color: #2a5740; }
.button-outline { border-color: #aebfaf; background: transparent; color: var(--ink); }
.button-outline:hover { background: #e8efe1; border-color: #829c87; }
.button:disabled { opacity: .6; cursor: default; }
.text-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; min-height: 44px; font-size: .94rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link span { display: inline-block; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5.4vw, 85px); align-items: center; padding-block: clamp(38px, 5.5vw, 84px); }
.hero-copy .eyebrow { color: var(--accent); font-weight: 700; font-size: .78rem; letter-spacing: .135em; text-transform: uppercase; margin-bottom: 21px; }
h1, h2 { font-family: "Geist", "Inter", "Segoe UI", system-ui, sans-serif; font-weight: 750; letter-spacing: -.065em; line-height: 1.015; }
h1 { font-size: clamp(2.8rem, 5.8vw, 5.55rem); }
h1 span { color: var(--accent); }
.hero-copy > p:not(.eyebrow) { max-width: 495px; margin-top: 25px; color: var(--muted); font-size: clamp(1.01rem, 1.28vw, 1.17rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; }
.hero-actions .button { min-height: 54px; padding-inline: 20px; }

.hero-photo {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #dce3da;
}
.hero-photo img, .service-card img, .process-photo { display: block; width: 100%; height: auto; }
.hero-photo figcaption { position: absolute; bottom: 12px; left: 12px; padding: 5px 9px; border-radius: 5px; color: white; background: #15251de8; font-size: .73rem; }

h2 { font-size: clamp(2.2rem, 4.25vw, 4.15rem); }
h3 { font-size: 1.18rem; line-height: 1.25; letter-spacing: -.025em; }
.section-intro > p { color: var(--muted); margin-top: 13px; }
.services { border-top: 1px solid var(--line); padding-block: 44px 74px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.service-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.service-card img { background: #dce3da; }
.service-copy { padding: clamp(19px, 2.4vw, 32px); }
.service-card p, .faq-list p { color: var(--muted); }
.service-card p { margin-top: 11px; }

.process { background: var(--forest); color: var(--white); }
.process-inner { display: grid; grid-template-columns: .85fr 1fr; grid-template-areas: "intro steps" "photo steps"; gap: 20px clamp(36px, 9vw, 144px); padding-block: 78px; }
.process-intro { grid-area: intro; }
.process-intro p, .process-list p { color: #d7e4d6; }
.process-intro p { margin-top: 17px; max-width: 345px; }
.process-intro a { color: var(--lime); margin-top: 15px; }
.process-photo { grid-area: photo; max-width: 450px; border-radius: 12px; background: #305346; }
.process-list { grid-area: steps; align-self: center; list-style: none; counter-reset: process; margin: 0; padding: 0; }
.process-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; counter-increment: process; padding-block: 21px; border-top: 1px solid #ffffff36; }
.process-list li:last-child { border-bottom: 1px solid #ffffff36; }
.process-list li::before { display: grid; place-items: center; content: counter(process); width: 35px; height: 35px; border: 1px solid #d5ea9d80; border-radius: 50%; color: var(--lime); font-size: .92rem; font-weight: 700; }
.process-list h3 { margin-top: 4px; }
.process-list p { margin-top: 6px; }

.faq { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(35px, 9vw, 144px); padding-block: 76px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; cursor: pointer; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: 0 0 8px; height: 8px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); margin-right: 4px; }
details[open] summary::after { transform: rotate(225deg) translate(-1px, -2px); }
details p { padding: 0 24px 18px 2px; }

.quote-section { background: #e7eedc; border-block: 1px solid var(--line); }
.quote-layout { display: grid; grid-template-columns: .8fr 1fr; align-items: start; gap: clamp(36px, 8vw, 122px); padding-block: 74px; }
.quote-intro > p { color: var(--muted); margin-top: 18px; max-width: 410px; }
.quote-includes, .quote-contact { border-top: 1px solid #c3d1b8; padding-top: 21px; margin-top: 30px; max-width: 380px; }
.quote-includes h3, .quote-contact h3 { font-size: 1rem; }
.quote-includes ul { margin: 12px 0 0; padding: 0; list-style: none; }
.quote-includes li { position: relative; padding-left: 22px; margin-top: 8px; color: var(--muted); line-height: 1.5; }
.quote-includes li::before { content: ""; position: absolute; top: 7px; left: 1px; width: 10px; height: 6px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.quote-contact { scroll-margin-top: 1.5rem; }
.quote-contact h3 { margin-bottom: 8px; }
.contact-link { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 44px; padding: 7px 0; font-size: .88rem; text-decoration: none; }
.contact-channel { color: var(--muted); }
.contact-detail { font-weight: 700; overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact-link:hover .contact-detail { color: var(--accent); }
.quote-form { background: var(--white); border: 1px solid #d0dcc5; border-radius: 18px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 8px; }
.quote-form label { display: block; margin-top: 5px; font-size: .91rem; font-weight: 700; }
.quote-form label span { color: var(--muted); font-weight: 400; }
.quote-form input, .quote-form select, .quote-form textarea { color: var(--ink); background: #fff; border: 1px solid #bac7b8; border-radius: 7px; padding: 11px 12px; min-width: 0; width: 100%; min-height: 44px; }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #68746a; opacity: 1; }
.quote-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-row label { margin-bottom: 8px; }
.quote-form > .button { margin-top: 8px; }
.form-note { color: var(--muted); font-size: .84rem; }
.form-note:empty { display: none; }
.quote-result { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; scroll-margin-top: 20px; }
.quote-result textarea { margin-top: 8px; font-size: .9rem; line-height: 1.4; }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.footer-row { min-height: 84px; }
.photo-credit { color: var(--muted); font-size: .8rem; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: clamp(25px, 4.2vw, 45px); }
}

@media (max-width: 740px) {
  .wrap { width: calc(100% - 40px); }
  .header-row { min-height: 66px; }
  .primary-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 42px 30px; }
  h1 { font-size: clamp(2.65rem, 9.1vw, 4.8rem); }
  .hero-copy .eyebrow { margin-bottom: 14px; }
  .hero-copy > p:not(.eyebrow) { margin-top: 17px; }
  .hero-actions { margin-top: 22px; }
  .service-grid, .process-inner, .faq, .quote-layout { grid-template-columns: 1fr; }
  .process-inner { grid-template-areas: "intro" "photo" "steps"; }
  .services, .process-inner, .faq, .quote-layout { padding-block: 45px; }
  .section-intro > p { margin-top: 10px; }
  .service-grid { margin-top: 21px; gap: 12px; }
  .process-inner, .faq, .quote-layout { gap: 28px; }
  .process-photo { max-width: none; }
  .footer-row { flex-wrap: wrap; gap: 0 12px; padding-block: 12px; }
  .photo-credit { flex-basis: 100%; order: 1; }
}

@media (max-width: 365px) {
  .wrap { width: calc(100% - 30px); }
  h1 { font-size: clamp(2.3rem, 11.6vw, 2.6rem); }
  .header-row, .footer-row { gap: 12px; }
  .brand { gap: 8px; font-size: 1.04rem; }
  .brand-logo { width: 34px; border-radius: 7px; }
  .header-row .button { gap: 7px; padding-inline: 8px; white-space: nowrap; }
  .form-row { grid-template-columns: 1fr; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
