@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Source+Sans+3:wght@400;600&display=swap");

:root {
  --paper: #f7f4ee;
  --ink: #1f2b24;
  --muted: #4a5a50;
  --green: #2f5d46;
  --green-dark: #24483a;
  --clay: #b5532e;
  --line: #d9d2c4;
  --white: #ffffff;
  --max: 960px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-wrap: break-word;
}

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

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--green); text-underline-offset: 0.2em; }
a:hover { color: var(--green-dark); }

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

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 10;
}
.skip-link:focus { top: 0.5rem; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
  text-decoration: none;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--green); }

/* Hero */
.hero { padding: 4rem 0 3.5rem; }
.hero .lead {
  font-size: 1.3rem;
  color: var(--muted);
  max-width: 36rem;
}

.button {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.button:hover { background: var(--green-dark); color: var(--white); }

/* Sections */
section { padding: 3.5rem 0; border-top: 1px solid var(--line); }

.services-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
}
.services-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.25rem;
}
.services-list p { margin: 0; color: var(--muted); }

.price-note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1rem;
}

.area-list {
  columns: 2;
  column-gap: 2rem;
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

/* Form */
.contact-form {
  display: grid;
  gap: 1.1rem;
  max-width: 34rem;
  margin-top: 1.5rem;
}
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; }
.field input,
.field textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid #8a9790;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 9rem; resize: vertical; }
.hint { font-size: 0.95rem; color: var(--muted); }

.contact-details { margin-top: 2rem; }
.contact-details p { margin-bottom: 0.4rem; }

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--clay);
  font-weight: 600;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Inner pages */
.page-intro { padding: 3.5rem 0 2rem; }
.page-intro .lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 36rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 0;
}
.price-table th,
.price-table td {
  text-align: left;
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.price-table thead th { border-bottom: 2px solid var(--ink); }

.faq-list { margin-top: 1.5rem; }
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.faq-list details:first-child { border-top: 2px solid var(--ink); }
.faq-list summary {
  cursor: pointer;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}
.faq-list details p { margin: 0.75rem 0 0; color: var(--muted); }

@media (max-width: 520px) {
  .price-table thead { display: none; }
  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td { display: block; width: 100%; }
  .price-table tr { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .price-table td { border: 0; padding: 0.15rem 0; }
  .price-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--muted);
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Wider screens */
@media (min-width: 760px) {
  .services-list li {
    grid-template-columns: 14rem 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}

@media (max-width: 520px) {
  .area-list { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
