:root {
  --bg: #f7f4ea;
  --surface: rgba(255, 252, 245, 0.82);
  --surface-strong: #fffdf7;
  --text: #1f2a22;
  --muted: #5d6b61;
  --line: rgba(31, 42, 34, 0.1);
  --brand: #234033;
  --brand-bright: #3d6a49;
  --accent: #d28b36;
  --shadow: 0 18px 50px rgba(31, 42, 34, 0.1);
  --radius: 24px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Source Sans 3", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(210, 139, 54, 0.14), transparent 28%),
    linear-gradient(180deg, #faf6ec 0%, #f4f0e6 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(250, 246, 236, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner,
.hero-grid,
.split-layout,
.service-area-layout,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.header-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 5rem;
}

.brand {
  display: inline-grid;
  justify-items: start;
  gap: 0.2rem;
}

.brand strong,
.hero h1,
.section h2,
.service-card h3,
.feature-list h3,
.faq-list summary {
  letter-spacing: -0.03em;
}

.header-phone {
  display: block;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--brand);
}

.brand small {
  display: block;
  color: var(--muted);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.9rem;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-bright));
  font-weight: 700;
}

.menu-toggle {
  justify-self: end;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
}

.site-nav {
  grid-column: 1 / -1;
  display: none;
  gap: 1rem;
  padding-bottom: 1rem;
}

.site-nav.is-open {
  display: grid;
}

.button,
.button-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.button-small {
  padding: 0.7rem 1rem;
}

.text-link {
  font-weight: 600;
  color: var(--brand);
}

.hero {
  padding: 4.5rem 0 2rem;
}

.hero-grid,
.contact-grid {
  align-items: start;
}

.hero-copy,
.hero-card,
.service-card,
.contact-card,
.faq-list details,
.feature-list article {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-copy {
  padding: 2rem;
}

.hero-visual {
  margin: 1.2rem 0 0;
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(31, 42, 34, 0.12);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--brand-bright);
  font-weight: 700;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Merriweather", Georgia, serif;
  line-height: 1;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 5.3rem);
  max-width: 11ch;
}

.lead,
.section-heading p,
.service-area-layout p,
.contact-grid p,
.feature-list p,
.service-card p,
.faq-list p {
  color: var(--muted);
}

.hero-actions,
.hero-points,
.trust-items,
.service-grid,
.feature-list,
.faq-list,
.area-tags {
  display: grid;
  gap: 1rem;
}

.hero-actions {
  margin: 1.8rem 0;
}

.hero-points {
  margin: 0;
  padding-left: 1.2rem;
}

.hero-card {
  padding: 1.6rem;
  background: #f5f2e8;
}

.hero-quote-banner {
  margin: 0 0 1rem;
}

.hero-quote-banner img {
  width: 100%;
  height: auto;
}

.hero-form-intro {
  margin: 0 0 1rem;
  color: var(--muted);
}

.hero-form {
  display: grid;
  gap: 0.65rem;
}

.hero-form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
}

.hero-form input,
.hero-form select,
.hero-form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.hero-form textarea {
  resize: vertical;
  min-height: 90px;
}

.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
  outline: none;
  border-color: var(--brand-bright);
  box-shadow: 0 0 0 3px rgba(61, 106, 73, 0.18);
}

.hero-form .button {
  width: 100%;
  margin-top: 0.4rem;
}

.card-label {
  margin-top: 0;
  font-weight: 700;
  color: var(--brand);
}

.hero-card ul {
  padding-left: 1.15rem;
  margin-bottom: 1.5rem;
}

.hero-card-footer {
  display: grid;
  gap: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.trust-bar {
  padding: 0.5rem 0 1.5rem;
}

.trust-items {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: center;
  padding: 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.72);
}

.trust-items p {
  margin: 0;
  font-weight: 600;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: rgba(255, 253, 247, 0.55);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading,
.section-heading.narrow {
  margin-bottom: 2rem;
}

.section h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.resources-grid {
  grid-template-columns: 1fr;
  max-width: 860px;
  margin: 0 auto;
  gap: 1.6rem;
  align-items: stretch;
}

.service-card,
.feature-list article,
.faq-list details,
.contact-card {
  padding: 1.4rem;
}

.service-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}

.service-card h3,
.feature-list h3 {
  margin-top: 0;
}

.split-layout,
.service-area-layout,
.contact-grid {
  grid-template-columns: 1fr;
}

.area-tags {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.area-tags span {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  text-align: center;
  font-weight: 600;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] {
  background: var(--surface-strong);
}

.section-image {
  margin: 1.2rem 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.section-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.contact-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding: 4rem 2rem 5rem;
  box-sizing: border-box;
  background: var(--surface-strong);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-inner {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-cta-copy {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  text-align: center;
}

.contact-cta-copy h2 {
  margin: 0;
  font-size: clamp(2.35rem, 5.5vw, 4.6rem);
  line-height: 1.03;
  max-width: 15ch;
  margin-left: auto;
  margin-right: auto;
}

.contact-cta-copy p {
  font-size: 1.12rem;
  max-width: 64ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

.contact-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
}

.contact-cta-card {
  background: linear-gradient(145deg, var(--brand), var(--brand-bright));
  color: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.7rem;
}

.contact-cta-card p {
  margin: 0;
}

.contact-cta-label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

@media (min-width: 760px) {
  .contact-cta-copy {
    padding: 2.6rem;
  }
}

.contact-card a:not(.button) {
  color: var(--brand);
  font-weight: 600;
}

/* ── Bottom contact form section ── */
.bottom-form-section {
  background: var(--brand);
  padding: 5rem 0 6rem;
  color: #fff;
}

.bottom-form-inner {
  display: grid;
  gap: 2.5rem;
}

.bottom-form-header {
  max-width: 520px;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.65);
}

.bottom-form-heading {
  margin: 0 0 0.7rem;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}

.bottom-form-sub {
  margin: 0 0 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.6;
}

.bottom-form-contact-hints {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.bottom-form-contact-hints a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bottom-form {
  display: grid;
  gap: 1.1rem;
  background: #e8ede9;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(35, 64, 51, 0.13);
}

.bottom-form-row {
  display: grid;
  gap: 1.1rem;
}

.bottom-form-group {
  display: grid;
  gap: 0.4rem;
}

.bottom-form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
}

.bottom-form-group input,
.bottom-form-group select,
.bottom-form-group textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.bottom-form-group input::placeholder,
.bottom-form-group textarea::placeholder {
  color: #a0aba3;
}

.bottom-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.bottom-form-group input:focus,
.bottom-form-group select:focus,
.bottom-form-group textarea:focus {
  outline: none;
  border-color: var(--brand-bright);
  box-shadow: 0 0 0 3px rgba(61, 106, 73, 0.18);
}

.bottom-form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
  background: var(--brand);
  margin-top: 0.3rem;
}

.bottom-form-submit:hover {
  background: var(--brand-bright);
}

@media (min-width: 640px) {
  .bottom-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .bottom-form-inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
}

/* ── Back to top button ── */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  background: var(--brand);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(31, 42, 34, 0.22);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.25s, transform 0.25s, background 0.15s;
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--brand-bright);
}

.footer-inner {
  grid-template-columns: 1fr;
  align-items: center;
  color: var(--muted);
}

.footer-inner p {
  margin: 0;
}

#footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1rem 0;
}

#footer-nav a {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  color: var(--muted);
}

#footer-nav a + a::before {
  content: "·";
  margin: 0 0.5rem;
  color: var(--muted);
  font-weight: 400;
}

@media (min-width: 760px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    grid-column: auto;
    display: flex;
    justify-self: end;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
    padding-bottom: 0;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  }

  .hero-copy {
    padding: 3rem;
  }

  .hero-actions {
    grid-auto-flow: column;
    justify-content: start;
    align-items: center;
  }

  .split-layout,
  .service-area-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }
}

/* ── Resources post pages ── */

.post-hero {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding: 3.5rem 2rem 4rem;
  box-sizing: border-box;
  background: linear-gradient(145deg, var(--brand), var(--brand-bright));
  color: #fff;
}

.post-hero .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.post-hero h1 {
  margin: 0.4rem 0 0.6rem;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 22ch;
}

.post-meta {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.post-body {
  max-width: 760px;
  margin: 0 auto;
}

.post-body h2 {
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: var(--brand);
  margin-top: 2.5rem;
}

.post-body h3 {
  font-size: 1.1rem;
  color: var(--brand);
  margin-top: 1.8rem;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.post-body th,
.post-body td {
  text-align: left;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line);
}

.post-body th {
  background: var(--surface-strong);
  font-weight: 700;
  color: var(--brand);
}

.post-body tr:nth-child(even) td {
  background: var(--surface);
}

.cta-box {
  background: var(--surface-strong);
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin-top: 3rem;
}

.cta-box h3 {
  color: var(--brand);
  margin-top: 0;
  font-size: 1.25rem;
}

.cta-box p {
  color: var(--muted);
}

.post-back-link {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}