:root {
  --ink: #18201c;
  --muted: #68706b;
  --line: #dde4dc;
  --surface: #f6f7f2;
  --white: #ffffff;
  --green: #254335;
  --green-2: #3f6f58;
  --blue: #315f88;
  --gold: #d89b3d;
  --clay: #b86442;
  --shadow: 0 24px 70px rgba(24, 32, 28, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(37, 67, 53, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(37, 67, 53, 0.04) 1px, transparent 1px),
    var(--surface);
  background-size: 34px 34px;
}
a { color: inherit; }
svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 36px rgba(24, 32, 28, 0.1);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}
.site-header.is-scrolled .brand-mark {
  border-color: rgba(37, 67, 53, 0.14);
  background: rgba(37, 67, 53, 0.06);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 0.98rem; line-height: 1.1; }
.brand small { margin-top: 2px; color: currentColor; font-size: 0.78rem; opacity: 0.72; }

nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
.site-header.is-scrolled nav {
  border-color: rgba(37, 67, 53, 0.12);
  background: rgba(37, 67, 53, 0.04);
}
nav a {
  padding: 9px 13px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
}
nav a:hover { background: rgba(255, 255, 255, 0.18); }
.site-header.is-scrolled nav a:hover { background: rgba(37, 67, 53, 0.08); }
.header-call {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 14px 30px rgba(49, 95, 136, 0.28);
}
.header-call svg, .button svg { width: 18px; height: 18px; flex: 0 0 auto; }

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(17, 27, 23, 0.88) 0%, rgba(17, 27, 23, 0.64) 36%, rgba(17, 27, 23, 0.12) 72%),
    linear-gradient(0deg, rgba(17, 27, 23, 0.72) 0%, transparent 40%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
  padding: 148px 0 34px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.hero .eyebrow { color: #f2c56c; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7.5vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}
.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.04rem, 1.8vw, 1.32rem);
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--blue); color: var(--white); box-shadow: 0 18px 34px rgba(49, 95, 136, 0.28); }
.button.secondary { border-color: rgba(255, 255, 255, 0.42); background: rgba(255, 255, 255, 0.12); color: var(--white); backdrop-filter: blur(12px); }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 980px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}
.hero-facts div { padding: 18px; background: rgba(17, 27, 23, 0.5); backdrop-filter: blur(18px); }
dt { color: var(--muted); font-size: 0.74rem; font-weight: 850; text-transform: uppercase; letter-spacing: 0; }
.hero-facts dt { color: rgba(255, 255, 255, 0.6); }
dd { margin: 5px 0 0; line-height: 1.35; font-weight: 760; }

.trust-strip, .section { width: min(1140px, calc(100% - 36px)); margin-inline: auto; }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: -18px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}
.trust-strip div { min-height: 164px; padding: 28px; background: var(--white); }
.tool-dot {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--green) 0 42%, transparent 42%),
    linear-gradient(90deg, rgba(37, 67, 53, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(37, 67, 53, 0.16) 1px, transparent 1px),
    #edf2ea;
  background-size: 100% 100%, 7px 7px, 7px 7px;
}
.trust-strip strong { display: block; margin-bottom: 8px; }
.trust-strip p, .section-heading p, .photo-copy p, .quote-copy p, .process-list p, .service-card p, .review-card p, footer p {
  color: var(--muted);
  line-height: 1.65;
}
.section { padding: clamp(64px, 9vw, 112px) 0 0; }
.section-heading {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: end;
  gap: clamp(28px, 6vw, 84px);
  margin-bottom: 34px;
}
h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: 0;
}
.section-heading p:not(.eyebrow), .photo-copy p, .quote-copy p { margin-bottom: 0; font-size: 1.02rem; }

.photo-section {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
}
.photo-copy h2 { margin-bottom: 18px; }
.photo-gallery { display: grid; grid-template-columns: 1fr 0.74fr; gap: 12px; }
.photo-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.photo-frame img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-frame.featured img { height: 100%; min-height: 470px; aspect-ratio: auto; }
.photo-frame figcaption { padding: 13px 16px 15px; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.service-card, .review-card {
  min-height: 285px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.service-card:hover, .review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(49, 95, 136, 0.26);
  box-shadow: 0 18px 42px rgba(24, 32, 28, 0.1);
}
.service-card svg { width: 36px; height: 36px; margin-bottom: 30px; color: var(--green-2); }
h3 { margin-bottom: 10px; font-size: 1.12rem; line-height: 1.2; }
.reviews-carousel { position: relative; }
.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 42px) / 4);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 0 22px;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track .review-card { scroll-snap-align: start; }
.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: -32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(24, 32, 28, 0.12);
  cursor: pointer;
}
.carousel-button svg { width: 20px; height: 20px; }
.carousel-prev { left: -21px; }
.carousel-next { right: -21px; }
.carousel-button:disabled { opacity: 0.38; cursor: default; transform: none; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; min-height: 10px; }
.carousel-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(24, 32, 28, 0.24);
  transition: width 160ms ease, background 160ms ease;
}
.carousel-dots span.is-active { width: 22px; background: var(--green-2); }
.stars { margin-bottom: 22px; color: var(--gold); font-size: 1rem; letter-spacing: 0; }
.review-card p { color: var(--ink); font-size: 1.06rem; font-weight: 760; }
.review-card span { color: var(--muted); font-size: 0.9rem; font-weight: 800; }

.quote-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(24px, 6vw, 76px);
  align-items: start;
  padding-bottom: clamp(64px, 8vw, 98px);
}
.quote-copy h2 { margin-bottom: 18px; }
address {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}
address strong { display: block; color: var(--ink); }
.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
label { display: grid; gap: 8px; color: var(--ink); font-weight: 800; }
.hidden-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
input, select, textarea {
  width: 100%;
  border: 1px solid #cfd9d3;
  border-radius: 8px;
  background: #fbfdfb;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}
input, select { min-height: 48px; padding: 0 13px; }
textarea { resize: vertical; padding: 13px; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(49, 95, 136, 0.24); border-color: var(--blue); }
.quote-form .button { width: 100%; margin-top: 4px; }
.form-status { min-height: 24px; margin: 0; color: var(--green-2); font-size: 0.94rem; font-weight: 800; line-height: 1.45; }
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--white);
}
footer p { margin: 0; font-size: 0.9rem; }
footer p:first-child { color: var(--ink); font-weight: 850; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.footer-links a, .footer-links button { border: 0; background: transparent; color: var(--blue); font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 0; }
.modal-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(17, 27, 23, 0.58); backdrop-filter: blur(8px); }
.legal-modal { position: fixed; inset: 50% auto auto 50%; z-index: 81; width: min(620px, calc(100% - 32px)); max-height: min(78vh, 720px); overflow: auto; transform: translate(-50%, -50%); border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 30px 80px rgba(17, 27, 23, 0.28); padding: clamp(26px, 5vw, 40px); }
.modal-backdrop[hidden], .legal-modal[hidden] { display: none; }
.legal-modal h2 { margin: 0 44px 16px 0; font-size: clamp(1.9rem, 5vw, 2.7rem); }
.legal-modal p { margin: 0 0 14px; color: var(--muted); line-height: 1.7; }
.modal-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #f7faf5; color: var(--ink); font: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.modal-open { overflow: hidden; }

@media (max-width: 920px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero-facts, .trust-strip, .section-heading, .photo-section, .photo-gallery, .service-grid, .quote-section { grid-template-columns: 1fr; }
  .reviews-track { grid-auto-columns: calc((100% - 14px) / 2); }
  .hero { min-height: 94svh; }
  .service-card, .review-card { min-height: 0; }
  .photo-frame.featured img { min-height: 0; aspect-ratio: 4 / 3; }
}

@media (max-width: 620px) {
  .site-header { gap: 10px; padding: 12px 14px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand strong { max-width: 172px; font-size: 0.88rem; }
  .brand small, .header-call span { display: none; }
  .header-call { min-width: 44px; padding: 0; justify-content: center; }
  .hero-content { width: min(100% - 28px, 1140px); padding-bottom: 22px; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(17, 27, 23, 0.88), rgba(17, 27, 23, 0.5)),
      linear-gradient(0deg, rgba(17, 27, 23, 0.78) 0%, transparent 44%);
  }
  h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .hero-actions, footer { flex-direction: column; }
  .button { width: 100%; }
  .trust-strip, .section { width: min(100% - 28px, 1140px); }
  .reviews-track { grid-auto-columns: 88%; }
  .carousel-button { display: none; }
  .trust-strip div, .service-card, .review-card, .quote-form { padding: 22px; }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
}
