:root {
  color-scheme: light;
  --ink: #16211d;
  --muted: #68746f;
  --line: #dfe7e1;
  --paper: #f4f7f2;
  --soft: #e7f0ea;
  --white: #ffffff;
  --brand: #217a52;
  --brand-rgb: 33, 122, 82;
  --brand-dark: #123f2e;
  --brand-dark-rgb: 18, 63, 46;
  --brand-soft: #dcefe5;
  --brand-bright: #32a36f;
  --brand-hover: #1a6845;
  --accent: #f0bd4f;
  --accent-soft: #fff3cf;
  --accent-text: #ffe7a3;
  --accent-hover: #ffd168;
  --nav-text: #31413a;
  --body-text: #304038;
  --footer-text: #35443d;
  --contact-label: #34433c;
  --shadow-sm: 0 12px 34px rgba(22, 33, 29, 0.1);
  --shadow-md: 0 26px 70px rgba(22, 33, 29, 0.2);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  padding-bottom: 0;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select {
  font: inherit;
}

.top-call-bar {
  align-items: center;
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  font-size: 0.92rem;
  gap: 10px;
  height: 40px;
  justify-content: center;
  padding: 0 18px;
  position: sticky;
  top: 0;
  z-index: 40;
}

.top-call-bar a {
  color: var(--accent-text);
  font-weight: 850;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  display: flex;
  gap: 26px;
  justify-content: space-between;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 40px;
  z-index: 35;
  backdrop-filter: blur(18px);
}

.brand {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  min-width: 0;
}

.brand > span:not(.brand-mark) {
  max-width: clamp(175px, 18vw, 245px);
  min-width: 0;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-bright));
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(var(--brand-rgb), 0.28);
  color: var(--white);
  display: inline-flex;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.brand-mark.has-logo {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  padding: 0;
  height: 56px;
  width: 112px;
}

.brand-mark img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  display: -webkit-box;
  font-size: 0.98rem;
  line-height: 1.12;
  max-height: 2.24em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.menu-toggle {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  display: none;
  height: 42px;
  padding: 9px;
  width: 44px;
}

.menu-toggle span {
  background: var(--ink);
  border-radius: 999px;
  display: block;
  height: 2px;
  margin: 4px 0;
  width: 100%;
}

.main-nav a,
.nav-parent {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--nav-text);
  cursor: pointer;
  font: inherit;
  font-size: 0.93rem;
  font-weight: 760;
  padding: 9px 12px;
  white-space: nowrap;
}

.main-nav a:hover,
.nav-parent:hover {
  background: var(--soft);
}

.nav-menu {
  position: relative;
}

.nav-parent::after {
  content: "▾";
  font-size: 0.68rem;
  margin-left: 6px;
}

.dropdown {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: none;
  left: 0;
  min-width: 230px;
  padding: 12px 8px 8px;
  position: absolute;
  top: 100%;
}

.dropdown::before {
  content: "";
  height: 12px;
  left: 0;
  position: absolute;
  right: 0;
  top: -12px;
}

.dropdown a {
  border-radius: 6px;
  display: block;
  padding: 10px 12px;
}

.dropdown a:hover {
  background: var(--soft);
}

.nav-menu:hover .dropdown,
.nav-menu:focus-within .dropdown {
  display: block;
}

.site-header.tour-show-dropdowns {
  z-index: 70;
}

.site-header.tour-show-dropdowns .nav-menu .dropdown {
  display: block;
}

.site-header.tour-show-dropdowns .main-nav .nav-menu:first-of-type .dropdown {
  left: auto;
  right: 0;
}

.site-header.tour-show-dropdowns .main-nav .nav-menu:nth-of-type(2) .dropdown {
  left: 0;
  right: auto;
}

.header-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.header-call,
.header-cta,
.primary-button,
.secondary-button,
.lead-form button,
.bottom-call-bar a,
.tour-launch,
.tour-controls button {
  border-radius: var(--radius);
  font-weight: 850;
}

.header-call,
.header-cta,
.primary-button,
.lead-form button,
.tour-launch,
.tour-controls button[data-tour-next] {
  background: var(--brand);
  color: var(--white);
}

.header-call {
  background: var(--soft);
  color: var(--brand-dark);
  padding: 11px 14px;
}

.header-cta {
  box-shadow: 0 10px 22px rgba(var(--brand-rgb), 0.18);
  padding: 11px 16px;
}

.hero {
  min-height: calc(100vh - 116px);
  position: relative;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(3, 9, 7, 0.78), rgba(5, 15, 11, 0.62), rgba(5, 15, 11, 0.4)),
    linear-gradient(180deg, rgba(3, 9, 7, 0.34), rgba(3, 9, 7, 0.42)),
    var(--hero-image) center / cover;
  inset: 0;
  position: absolute;
}

.hero-media::after {
  background: rgba(3, 9, 7, 0.08);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-content {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 78px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 430px);
  margin: 0 auto;
  max-width: var(--container);
  min-height: calc(100vh - 116px);
  padding: clamp(56px, 8vw, 104px) 22px 120px;
  position: relative;
}

.hero-copy {
  color: var(--white);
  max-width: 740px;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.58);
}

.eyebrow {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 920;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.quote-band .eyebrow {
  color: var(--accent-text);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 5.55rem);
  line-height: 0.96;
  margin-bottom: 20px;
  max-width: 820px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.03;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-text {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.26rem);
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.primary-button {
  box-shadow: 0 14px 28px rgba(var(--brand-rgb), 0.24);
}

.primary-button:hover,
.header-cta:hover,
.lead-form button:hover,
.tour-launch:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-feature-band {
  background: var(--paper);
  margin-top: 0;
  padding: 22px 0 0;
  position: relative;
  z-index: 8;
}

.hero-feature-grid {
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--line) 92%, var(--white));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: var(--container);
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.hero-feature-grid > * {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
  display: grid;
  gap: 6px 12px;
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 96px;
  overflow: hidden;
  padding: 18px 20px;
  position: relative;
}

.hero-feature-grid > *:last-child {
  border-right: 0;
}

.hero-feature-grid article > span {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-dark);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  grid-row: 1 / span 2;
  margin-top: 1px;
  width: 30px;
}

.hero-feature-grid h3 {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.16;
  margin: 0;
}

.hero-feature-grid > span {
  display: block;
  font-size: 1.15rem;
  font-weight: 850;
  line-height: 1.16;
}

.hero-feature-grid p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
}

.lead-form {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-width: 620px;
  padding: clamp(22px, 4vw, 34px);
  width: 100%;
}

.lead-form h2 {
  font-size: 1.58rem;
  line-height: 1.05;
  margin-bottom: 8px;
}

.lead-form p {
  color: var(--muted);
}

.lead-form label {
  color: var(--body-text);
  display: grid;
  font-size: 0.88rem;
  font-weight: 820;
  gap: 7px;
  margin-top: 14px;
}

.lead-form input,
.lead-form select {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 48px;
  padding: 0 12px;
}

.lead-form select {
  appearance: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2316211d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
      right 14px center / 18px 18px no-repeat,
    var(--paper);
  padding-right: 44px;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.14);
  outline: 0;
}

.lead-form button {
  border: 0;
  cursor: pointer;
  margin-top: 18px;
  min-height: 52px;
  width: 100%;
}

.lead-form small {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  margin-top: 12px;
  text-align: center;
}

.content-section,
.quote-band {
  margin: 0 auto;
  max-width: var(--container);
  padding: 92px 22px;
}

#services {
  padding-top: 76px;
}

.subpage-hero {
  background:
    linear-gradient(135deg, rgba(var(--brand-dark-rgb), 0.96), rgba(var(--brand-rgb), 0.86)),
    var(--brand-dark);
  color: var(--white);
  padding: 100px max(22px, calc((100vw - var(--container)) / 2 + 22px));
}

.subpage-hero > div {
  max-width: 820px;
}

.subpage-hero h1 {
  max-width: 900px;
}

.subpage-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
  max-width: 720px;
}

.secondary-button.dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.subpage-content {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 360px;
  margin: 0 auto;
  max-width: var(--container);
  padding: 86px 22px;
}

.subpage-content article,
.subpage-sidebar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px;
}

.subpage-content article > p:not(.eyebrow),
.subpage-sidebar p {
  color: var(--muted);
}

.process-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.process-grid div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.process-grid strong {
  align-items: center;
  background: var(--brand);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  margin-bottom: 14px;
  width: 30px;
}

.process-grid p {
  color: var(--muted);
  font-size: 0.95rem;
}

.subpage-sidebar {
  position: sticky;
  top: 138px;
}

.subpage-sidebar .primary-button {
  margin-top: 12px;
  width: 100%;
}

.mini-link-list {
  display: grid;
  gap: 10px;
}

.mini-link-list a {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
  padding: 12px 14px;
}

.mini-link-list a:hover {
  border-color: rgba(var(--brand-rgb), 0.34);
  color: var(--brand);
}

.content-section {
  background: var(--paper);
}

.section-heading {
  margin: 0 auto 38px;
  max-width: 720px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid,
.gallery-grid,
.area-grid,
.review-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.review-card,
.gallery-grid figure,
.area-grid a {
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--line) 92%, var(--white));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.service-card {
  aspect-ratio: 4 / 3;
  background: var(--brand-dark);
  color: var(--white);
  overflow: hidden;
  position: relative;
  min-height: 260px;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.service-card::before {
  display: none;
}

.service-card img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 180ms ease;
  width: 100%;
}

.service-card > div {
  background: linear-gradient(180deg, rgba(3, 9, 7, 0.04), rgba(3, 9, 7, 0.76) 52%, rgba(3, 9, 7, 0.94));
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: flex-end;
  padding: 24px;
  position: absolute;
  z-index: 1;
}

.service-card:hover {
  border-color: rgba(var(--brand-rgb), 0.34);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card:hover img {
  transform: scale(1.04);
}

.service-card h3 {
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1.05;
  margin-bottom: 8px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.48);
}

.service-card p {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 16px;
  max-width: 94%;
}

.service-card a {
  color: var(--accent-text);
  font-weight: 850;
}

.muted-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent),
    var(--soft);
  max-width: none;
}

.muted-section > * {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--container);
}

.area-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 240px));
  justify-content: center;
}

.area-grid a {
  font-weight: 850;
  padding: 16px;
  text-align: center;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.area-grid a:hover {
  background: var(--brand-soft);
  border-color: rgba(var(--brand-rgb), 0.3);
  transform: translateY(-1px);
}

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
}

.gallery-grid img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review-card {
  padding: 26px;
}

.review-card {
  border-top: 4px solid var(--accent);
}

.review-card div {
  color: var(--accent);
  font-size: 1.02rem;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.review-card p {
  color: #43524b;
  font-size: 1.02rem;
}

.review-card strong {
  display: block;
}

.quote-band {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(var(--brand-dark-rgb), 0.98), rgba(var(--brand-rgb), 0.94)),
    var(--brand-dark);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  max-width: none;
  padding-left: max(22px, calc((100vw - var(--container)) / 2 + 22px));
  padding-right: max(22px, calc((100vw - var(--container)) / 2 + 22px));
}

.quote-band h2 {
  max-width: 720px;
}

.quote-band p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
}

.primary-button.light {
  background: var(--accent);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  color: var(--ink);
  flex: 0 0 auto;
}

.primary-button.light:hover {
  background: var(--accent-hover);
}

.site-footer {
  align-items: start;
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  gap: 34px;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  margin: 0 auto;
  max-width: none;
  padding: 56px max(22px, calc((100vw - var(--container)) / 2 + 22px)) 32px;
}

.site-footer .brand small {
  color: var(--muted);
}

.site-footer p {
  color: var(--muted);
  margin: 18px 0 0;
  max-width: 520px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--footer-text);
  font-weight: 780;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-menu {
  display: grid;
  gap: 6px;
}

.footer-menu > strong {
  color: var(--footer-text);
  font-size: 1rem;
  line-height: 1.2;
}

.footer-menu > div {
  display: grid;
  gap: 4px;
  padding-left: 10px;
}

.footer-menu a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 720;
}

.footer-contact {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.footer-contact a,
.footer-contact span {
  background: var(--paper);
  display: grid;
  padding: 16px;
}

.footer-contact strong {
  color: var(--contact-label);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.footer-contact span span,
.footer-contact a span {
  color: var(--muted);
  padding: 0;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 0.9rem;
  gap: 16px;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-top: 22px;
}

.bottom-call-bar {
  align-items: center;
  background: var(--brand-dark);
  bottom: 0;
  color: var(--white);
  display: none;
  gap: 12px;
  justify-content: center;
  left: 0;
  min-height: 66px;
  padding: 10px 14px;
  position: fixed;
  right: 0;
  z-index: 45;
}

.bottom-call-bar span {
  font-weight: 820;
}

.bottom-call-bar a {
  align-items: center;
  background: var(--brand);
  display: inline-flex;
  gap: 6px;
  justify-content: center;
  padding: 11px 14px;
  white-space: nowrap;
}

.bottom-call-bar a:last-child {
  background: var(--accent);
  color: var(--ink);
}

.tour-launch {
  border: 0;
  bottom: 18px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  padding: 13px 17px;
  position: fixed;
  right: 18px;
  z-index: 48;
}

.chat-launch {
  align-items: center;
  background: var(--brand);
  border: 0;
  border-radius: 999px;
  bottom: 18px;
  box-shadow: var(--shadow-md);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  height: 58px;
  justify-content: center;
  padding: 0;
  position: fixed;
  right: 146px;
  width: 58px;
  z-index: 48;
}

.chat-launch svg {
  fill: none;
  height: 30px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 30px;
}

.chat-widget {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  bottom: 88px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  padding: 0;
  position: fixed;
  right: 18px;
  width: min(360px, calc(100vw - 32px));
  z-index: 49;
}

.chat-header {
  align-items: center;
  background: var(--brand-dark);
  color: var(--white);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 14px;
}

.chat-header > span:not(.chat-avatar) {
  display: grid;
  flex: 1;
  gap: 1px;
  min-width: 0;
}

.chat-header strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.chat-header small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.chat-avatar {
  align-items: center;
  background: var(--brand);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.chat-widget [data-chat-close] {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  height: 32px;
  width: 32px;
}

.chat-body {
  display: grid;
  gap: 8px;
  max-height: 250px;
  overflow-y: auto;
  padding: 14px;
}

.chat-message {
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.38;
  max-width: 86%;
  padding: 10px 12px;
}

.chat-message.bot {
  background: var(--paper);
  color: var(--body-text);
  justify-self: start;
}

.chat-message.user {
  background: var(--brand);
  color: var(--white);
  justify-self: end;
}

.chat-input {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px 14px 14px;
}

.chat-input input {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 42px;
  padding: 0 14px;
}

.chat-input button {
  background: var(--brand);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-weight: 850;
  padding: 0 14px;
}

.chat-input input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.14);
  outline: 0;
}

.chat-input button:disabled {
  opacity: 0.6;
}

.chat-widget[hidden] {
  display: none;
}

.chat-input button {
  min-height: 40px;
}

.chat-input input,
.chat-input button {
  width: 100%;
}

.tour-backdrop {
  background: rgba(0, 0, 0, 0.46);
  inset: 0;
  pointer-events: auto;
  position: fixed;
  z-index: 50;
}

.tour-popover {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  padding: 22px;
  position: fixed;
  z-index: 140;
}

.tour-step {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.tour-popover h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.tour-popover p:not(.tour-step) {
  color: var(--muted);
}

.tour-controls {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

.tour-controls button {
  border: 1px solid var(--line);
  cursor: pointer;
  min-height: 40px;
  padding: 9px 13px;
}

.tour-controls button:first-child {
  background: var(--white);
  color: var(--ink);
}

.tour-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.tour-highlight {
  outline: 4px solid var(--accent);
  outline-offset: 7px;
  pointer-events: none;
  position: relative;
  z-index: 60;
}

.tour-show-dropdowns,
.tour-show-dropdowns *,
body.tour-chat-open .chat-widget,
body.tour-chat-open .chat-widget * {
  pointer-events: none;
}

.chat-widget.tour-highlight,
.chat-launch.tour-highlight {
  position: fixed;
  z-index: 75;
}

body.tour-chat-open .chat-widget.tour-highlight {
  z-index: 75;
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 22px;
  }

  .main-nav {
    flex-basis: 100%;
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-content,
  .site-footer,
  .subpage-content {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: auto;
    padding: 56px 22px 64px;
  }

  .lead-form {
    max-width: 620px;
  }

  .hero-feature-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .gallery-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-feature-grid {
    gap: 12px;
  }

  .hero-feature-band {
    padding-top: 22px;
  }

  #services {
    padding-top: 66px;
  }

  .area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .subpage-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 72px;
  }

  .top-call-bar {
    font-size: 0.84rem;
    height: 38px;
    padding: 0 12px;
  }

  .site-header {
    align-items: center;
    gap: 8px;
    min-height: auto;
    padding: 12px;
    top: 38px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand > span:not(.brand-mark) {
    max-width: min(42vw, 190px);
  }

  .brand-mark {
    flex: 0 0 auto;
    height: 40px;
    width: 40px;
  }

  .brand-mark.has-logo {
    height: 48px;
    width: 82px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    min-width: 44px;
    min-height: 40px;
    position: relative;
    z-index: 120;
  }

  .site-header.menu-open {
    z-index: 110;
  }

  .main-nav {
    align-content: center;
    align-items: center;
    background: var(--white);
    bottom: auto;
    flex-basis: auto;
    gap: 10px;
    height: calc(100dvh + 38px);
    justify-content: center;
    justify-items: center;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 104px 28px 44px;
    position: fixed;
    right: 0;
    top: -38px;
    width: 100%;
    z-index: 100;
  }

  .main-nav a,
  .nav-parent {
    align-items: center;
    background: transparent;
    border-radius: var(--radius);
    color: var(--ink);
    display: inline-flex;
    font-size: 1.5rem;
    font-weight: 850;
    justify-content: center;
    line-height: 1.1;
    min-height: 48px;
    padding: 6px 14px;
    text-align: center;
    width: min(280px, 100%);
  }

  .nav-menu {
    display: grid;
    justify-items: center;
    position: relative;
    width: min(280px, 100%);
  }

  .nav-menu .nav-parent {
    position: relative;
    width: 100%;
    z-index: 2;
  }

  .main-nav {
    display: none;
  }

  .site-header.menu-open .main-nav {
    display: grid;
  }

  .nav-parent::after {
    content: "⌄";
    display: inline-block;
    font-size: 1rem;
    line-height: 1;
    margin-left: 9px;
    transform: translateY(-1px);
    transition: transform 140ms ease;
  }

  .nav-menu.is-open .nav-parent::after {
    transform: translateY(-1px) rotate(180deg);
  }

  .dropdown {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: none;
    display: none;
    gap: 2px;
    left: auto;
    min-width: 0;
    margin-top: 4px;
    padding: 8px;
    position: static;
    width: 100%;
  }

  .nav-menu:not(.is-open) .dropdown {
    height: 0;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .nav-menu:not(.is-open) .dropdown a {
    pointer-events: none;
  }

  .dropdown::before {
    display: none;
  }

  .nav-menu.is-open .dropdown {
    display: grid;
    height: auto;
    pointer-events: auto;
    visibility: visible;
  }

  .site-header.tour-show-dropdowns .nav-menu.is-open .dropdown {
    display: grid;
  }

  .dropdown a {
    color: var(--muted);
    font-size: 0.98rem;
    font-weight: 760;
    min-height: 36px;
    padding: 7px 10px;
    width: 100%;
  }

  body.menu-open {
    overflow: hidden;
  }

  .site-header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .menu-toggle span {
    transition:
      opacity 140ms ease,
      transform 140ms ease;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    display: block;
  }

  .hero-content {
    gap: 16px;
    min-height: auto;
    padding: 18px 14px 104px;
  }

  .lead-form {
    box-shadow: var(--shadow-sm);
    padding: 16px;
    width: 100%;
  }

  .hero-copy {
    padding: 0;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.36);
  }

  .lead-form h2 {
    font-size: 1.2rem;
    margin-bottom: 4px;
  }

  .lead-form p,
  .lead-form small {
    display: none;
  }

  .lead-form label {
    margin-top: 10px;
  }

  .lead-form input,
  .lead-form select {
    min-height: 40px;
  }

  .lead-form button {
    margin-top: 12px;
    min-height: 44px;
  }

  h1 {
    font-size: clamp(1.95rem, 9vw, 2.2rem);
    line-height: 1.04;
    margin-bottom: 12px;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-feature-band {
    padding: 14px 16px 0;
  }

  .hero-feature-grid {
    border-radius: var(--radius);
    padding: 0;
  }

  .hero-feature-grid > * {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: auto;
    padding: 14px 16px;
  }

  .hero-feature-grid > *:last-child {
    border-bottom: 0;
  }

  .hero-feature-grid h3 {
    font-size: 1rem;
  }

  .hero-feature-grid p {
    font-size: 0.86rem;
  }

  .content-section,
  .quote-band,
  .subpage-content {
    padding: 58px 16px;
  }

  .section-heading {
    margin-bottom: 26px;
    text-align: left;
  }

  .area-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .gallery-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .review-card,
  .subpage-content article,
  .subpage-sidebar {
    padding: 22px;
  }

  .service-card {
    padding: 0;
  }

  .quote-band .primary-button.light {
    width: 100%;
  }

  .subpage-hero {
    padding: 58px 16px;
  }

  .site-footer {
    gap: 26px;
    padding: 44px 16px 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .bottom-call-bar {
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(22, 33, 29, 0.12);
    color: var(--ink);
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    min-height: 62px;
    padding: 9px 12px;
    transform: translateY(110%);
    transition: transform 180ms ease;
  }

  body.show-bottom-bar .bottom-call-bar {
    transform: translateY(0);
  }

  .bottom-call-bar > span {
    display: none;
  }

  .bottom-call-bar a {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 10px;
    text-align: center;
  }

  .bottom-call-bar a:first-of-type {
    color: var(--white);
  }

  .tour-launch {
    bottom: 74px;
    left: 12px;
    padding: 11px 13px;
    right: auto;
  }

  .chat-launch {
    bottom: 12px;
    height: 54px;
    right: 12px;
    width: 54px;
  }

  body.show-bottom-bar .chat-launch {
    bottom: 74px;
  }

  .chat-widget {
    bottom: 74px;
    right: 12px;
    width: calc(100vw - 24px);
  }

  body.show-bottom-bar .chat-widget {
    bottom: 132px;
  }

  body.tour-chat-open .chat-widget {
    bottom: auto;
    top: 76px;
  }

  .chat-body {
    max-height: 220px;
  }
}
