:root {
  --site-bg-top: #ffffff;
  --site-bg-mid: #ffffff;
  --site-bg-bottom: #ffffff;
  --ink: #333333;
  --ink-soft: #4a4a4a;
  --brand: #0b3165;
  --brand-dark: #08274f;
  --teal: #2e88e8;
  --village-green: #1973d1;
  --village-green-contrast: #d6e9fb;
  --gold: #f7c51e;
  --gold-soft: #fff7df;
  --gold-ink: #6c5300;
  --line: rgba(31, 35, 40, 0.08);
  --line-strong: rgba(31, 35, 40, 0.16);
  --card-shadow: 0 20px 44px -34px rgba(31, 35, 40, 0.12);
  --card-shadow-strong: 0 28px 56px -36px rgba(31, 35, 40, 0.16);
  --form-field-bg: #ffffff;
  --form-field-text: #172b43;
  --form-field-border: #8da9c8;
  --form-field-border-hover: #5f84ad;
  --form-field-border-focus: #0b3165;
  --form-field-placeholder: #4f6074;
  --form-field-disabled-bg: #ecf2f9;
  --form-field-disabled-text: #5d6f84;
  --form-field-error: #b3261e;
  --form-field-success: #1f6f3a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 7rem;
}

body.site-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--site-bg-top) 0%, var(--site-bg-mid) 68%, var(--site-bg-bottom) 100%);
  color: var(--ink);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.site-shell::before {
  display: none;
}

main,
footer,
nav {
  position: relative;
  z-index: 1;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

a,
button,
summary,
input,
select,
textarea {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

input,
select,
textarea {
  font-size: 16px;
}

.site-nav {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px -22px rgba(31, 35, 40, 0.18);
  backdrop-filter: blur(10px);
}

.nav-link {
  position: relative;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  list-style: none;
  color: rgba(31, 35, 40, 0.7);
  transition: color 180ms ease;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "+";
  font-size: 0.9rem;
  line-height: 1;
}

.nav-dropdown[open] summary,
.nav-dropdown:hover summary {
  color: var(--brand);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.95rem);
  left: 0;
  z-index: 20;
  min-width: 16rem;
  display: grid;
  gap: 0.15rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  padding: 0.65rem;
  box-shadow: 0 16px 34px -26px rgba(31, 35, 40, 0.18);
  backdrop-filter: blur(14px);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.7rem 0.8rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.35;
}

.nav-dropdown-menu a:hover {
  color: var(--brand);
  background: rgba(46, 136, 232, 0.16);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.mobile-nav {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0 1.5rem 1rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mobile-nav::-webkit-scrollbar {
  display: none;
}

.mobile-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  background: #fff;
  padding: 0.65rem 1rem;
  min-height: 2.75rem;
  font-family: "Work Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  scroll-snap-align: start;
  color: var(--ink-soft);
  box-shadow: none;
}

.mobile-nav a.is-active {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-color: transparent;
}

.page-hero {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .page-hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.page-hero .media-frame img {
  height: clamp(19rem, 44vw, 27.5rem);
  width: 100%;
  object-fit: cover;
}

.page-hero::after {
  display: none;
}

.page-hero:not(.page-hero--form) {
  width: 100%;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

.page-hero:not(.page-hero--form) > .grid {
  position: relative;
  min-height: clamp(20rem, 48vw, 34rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.page-hero:not(.page-hero--form) > .grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.58));
}

.page-hero:not(.page-hero--form) > .grid > :first-child {
  position: relative;
  z-index: 2;
  width: min(72rem, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-hero:not(.page-hero--form) > .grid > :last-child {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero:not(.page-hero--form) > .grid > :last-child .media-frame {
  height: 100%;
  border-radius: 0;
}

.page-hero:not(.page-hero--form) > .grid > :last-child .media-frame img,
.page-hero:not(.page-hero--form) > .grid > :last-child img {
  height: 100% !important;
  width: 100%;
  object-fit: cover;
}

.page-hero:not(.page-hero--form) h1,
.page-hero:not(.page-hero--form) h2,
.page-hero:not(.page-hero--form) p,
.page-hero:not(.page-hero--form) li,
.page-hero:not(.page-hero--form) .text-on_surface,
.page-hero:not(.page-hero--form) .text-on_surface_variant {
  color: #fff !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.46);
}

.page-hero:not(.page-hero--form) .inline-flex.rounded-full {
  background: rgba(255, 255, 255, 0.9) !important;
  color: var(--brand) !important;
}

.page-hero:not(.page-hero--form) .grid.gap-2.sm\:grid-cols-3 > div {
  background: rgba(11, 49, 101, 0.82) !important;
  border-color: rgba(222, 234, 250, 0.92) !important;
  color: #f3f8ff !important;
  text-shadow: none !important;
}

.page-hero:not(.page-hero--form) a:not(.button-solid):not(.button-ghost) {
  color: #fff;
}

.media-frame {
  border: 0;
  box-shadow: none;
  overflow: hidden;
  border-radius: 0.75rem;
}

.media-frame img {
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) scale(var(--parallax-scale, 1));
  transition: transform 420ms ease;
}

.media-frame:hover img {
  --parallax-scale: 1.035;
}

.media-frame::after {
  display: none;
}

.floating-panel {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  box-shadow: 0 14px 28px -22px rgba(31, 35, 40, 0.16);
}

.trust-strip {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
}

.trust-pill {
  border-top: 1px solid var(--line-strong);
  padding: 1rem 0 0;
}

.trust-pill strong {
  display: block;
  font-family: "Work Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.trust-pill span {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.section-soft {
  position: relative;
  background: #fff;
  border-top: 1px solid rgba(31, 35, 40, 0.08);
  border-bottom: 1px solid rgba(31, 35, 40, 0.08);
}

.soft-card {
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
  transition: border-color 220ms ease, transform 220ms ease;
}

.soft-card:hover {
  border-color: rgba(46, 136, 232, 0.54);
  transform: translateY(-2px);
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-icon-image {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.quick-quote-panel {
  background: #ffffff !important;
  border: 1px solid #9db5d1 !important;
  box-shadow: 0 18px 36px -26px rgba(18, 41, 73, 0.55);
}

.quick-quote-panel h2 {
  color: #16355f;
}

.quick-quote-panel label {
  color: #17385f;
}

.quick-quote-panel input,
.quick-quote-panel select {
  color: var(--form-field-text);
  border: 1px solid var(--form-field-border) !important;
  background: var(--form-field-bg) !important;
}

.quick-quote-panel input::placeholder {
  color: var(--form-field-placeholder);
}

.quick-quote-panel input:hover,
.quick-quote-panel select:hover {
  border-color: var(--form-field-border-hover) !important;
}

.quick-quote-panel input:focus-visible,
.quick-quote-panel select:focus-visible {
  border-color: var(--form-field-border-focus) !important;
  box-shadow: 0 0 0 3px rgba(11, 49, 101, 0.2);
  outline: 2px solid transparent;
}

.quick-quote-panel input:disabled,
.quick-quote-panel select:disabled,
.quick-quote-panel textarea:disabled {
  color: var(--form-field-disabled-text) !important;
  border-color: #b8c9dc !important;
  background: var(--form-field-disabled-bg) !important;
}

.quick-quote-panel .quick-quote-meta {
  background: #e3eefc !important;
  color: #113a6d !important;
  border: 1px solid #c2d6f3;
}

.quick-quote-panel .quick-quote-review {
  color: #2f475f !important;
}

.page-hero:not(.page-hero--form) .quick-quote-panel,
.page-hero:not(.page-hero--form) .quick-quote-panel * {
  text-shadow: none !important;
}

.page-hero:not(.page-hero--form) .quick-quote-panel {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: #8ea9c8 !important;
  box-shadow: 0 20px 40px -28px rgba(7, 31, 65, 0.72);
}

.page-hero:not(.page-hero--form) .quick-quote-panel h2,
.page-hero:not(.page-hero--form) .quick-quote-panel p,
.page-hero:not(.page-hero--form) .quick-quote-panel label,
.page-hero:not(.page-hero--form) .quick-quote-panel span,
.page-hero:not(.page-hero--form) .quick-quote-panel .text-on_surface,
.page-hero:not(.page-hero--form) .quick-quote-panel .text-on_surface_variant {
  color: #17385f !important;
}

.page-hero:not(.page-hero--form) .quick-quote-panel a:not(.button-solid):not(.button-ghost) {
  color: #0b3165 !important;
}

.page-hero:not(.page-hero--form) .quick-quote-panel input,
.page-hero:not(.page-hero--form) .quick-quote-panel select {
  color: #152538 !important;
  border-color: #a9bfd9 !important;
  background: #ffffff !important;
}

.page-hero:not(.page-hero--form) .quick-quote-panel input::placeholder {
  color: #64758a !important;
}

.page-hero:not(.page-hero--form) .quick-quote-panel .quick-quote-meta {
  background: #e3eefc !important;
  color: #113a6d !important;
  border: 1px solid #c2d6f3 !important;
}

.page-hero:not(.page-hero--form) .quick-quote-panel button,
.page-hero:not(.page-hero--form) .quick-quote-panel .button-solid {
  color: #ffffff !important;
  background: #0b3165 !important;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 65%;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--teal);
}

.accent-card {
  background: var(--brand);
  border: 0;
  border-radius: 0.5rem !important;
  box-shadow: none;
}

.review-card {
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: border-color 220ms ease, transform 220ms ease;
}

.review-card:hover {
  border-color: rgba(46, 136, 232, 0.44);
  transform: translateY(-2px);
}

.editorial-section {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
}

.editorial-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: none;
  border-radius: 0.75rem;
}

.editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-content {
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

.stacked-list {
  display: grid;
  gap: 0;
  margin-top: 2rem;
}

.stacked-item {
  display: grid;
  gap: 0.45rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.stacked-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.stacked-item strong {
  font-family: "Work Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.stacked-item span {
  color: var(--ink-soft);
  line-height: 1.6;
}

.facts-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.fact-chip {
  border-left: 1px solid var(--line-strong);
  padding: 0.25rem 0 0.25rem 1rem;
}

.fact-chip strong {
  display: block;
  font-family: "Work Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
}

.fact-chip span {
  display: block;
  margin-top: 0.3rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.review-feature {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.featured-review {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.review-mini-stack {
  display: grid;
  gap: 1.25rem;
}

.quick-contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 2rem;
}

.quick-contact-item {
  border-bottom: 1px solid var(--line-strong);
  background: transparent !important;
  box-shadow: none !important;
}

.form-section {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.form-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.form-section-title {
  font-family: "Work Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.form-shell [data-quote-form] .form-section-title {
  color: #0f2f5f;
}

.form-shell [data-quote-form] input,
.form-shell [data-quote-form] select,
.form-shell [data-quote-form] textarea {
  background: var(--form-field-bg) !important;
  border: 1px solid var(--form-field-border) !important;
  color: var(--form-field-text) !important;
}

.form-shell [data-quote-form] input::placeholder,
.form-shell [data-quote-form] textarea::placeholder {
  color: var(--form-field-placeholder) !important;
}

.form-shell [data-quote-form] input:hover,
.form-shell [data-quote-form] select:hover,
.form-shell [data-quote-form] textarea:hover {
  border-color: var(--form-field-border-hover) !important;
}

.form-shell [data-quote-form] input:focus-visible,
.form-shell [data-quote-form] select:focus-visible,
.form-shell [data-quote-form] textarea:focus-visible {
  border-color: var(--form-field-border-focus) !important;
  box-shadow: 0 0 0 3px rgba(11, 49, 101, 0.2);
  outline: 2px solid transparent;
}

.form-shell [data-quote-form] input:disabled,
.form-shell [data-quote-form] select:disabled,
.form-shell [data-quote-form] textarea:disabled {
  color: var(--form-field-disabled-text) !important;
  border-color: #b8c9dc !important;
  background: var(--form-field-disabled-bg) !important;
}

.form-shell [data-quote-form].ahh-validated input:invalid,
.form-shell [data-quote-form].ahh-validated select:invalid,
.form-shell [data-quote-form].ahh-validated textarea:invalid,
.form-shell [data-quote-form] [aria-invalid=\"true\"] {
  border-color: var(--form-field-error) !important;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.16);
}

.form-shell [data-quote-form].ahh-validated input:valid:not(:placeholder-shown),
.form-shell [data-quote-form].ahh-validated textarea:valid:not(:placeholder-shown),
.form-shell [data-quote-form].ahh-validated select:valid {
  border-color: var(--form-field-success) !important;
}

.form-status.is-error {
  border-color: rgba(179, 38, 30, 0.44) !important;
  background: #fdecea !important;
  color: #7a1a15 !important;
}

.form-status.is-success {
  border-color: rgba(31, 111, 58, 0.38) !important;
  background: #eaf6ee !important;
  color: #1d5b31 !important;
}

.form-shell [data-quote-form] details.form-section {
  background: #dee8f6;
  border: 1px solid #98afcc;
}

.form-shell [data-quote-form] details.form-section .form-section-title {
  color: #0b3165 !important;
}

.form-shell [data-quote-form] details.form-section label {
  color: #22344b !important;
}

.form-shell [data-quote-form] details.form-section input,
.form-shell [data-quote-form] details.form-section select,
.form-shell [data-quote-form] details.form-section textarea {
  background: #ffffff !important;
  border: 1px solid #8ca5c3 !important;
  color: #1c2f45 !important;
}

.form-shell [data-quote-form] details.form-section input::placeholder,
.form-shell [data-quote-form] details.form-section textarea::placeholder {
  color: #5f7289 !important;
}

.faq-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: none;
  background: #fff;
  border-radius: 0.5rem !important;
}

.faq-item {
  border: 1px solid var(--line);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.faq-item[open] {
  background: rgba(46, 136, 232, 0.12);
  border-color: var(--line-strong);
}

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

.cta-band {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.micro-card {
  border-top: 1px solid var(--line);
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bg-primaryest {
  background: #ffffff;
}

.section-soft.bg-primary .soft-card,
.section-soft.bg-primary .review-card,
.section-soft.bg-primary .micro-card,
.section-soft.bg-primary .cta-band,
.form-shell.bg-primary .soft-card,
.form-shell.bg-primary .micro-card {
  background: #ffffff !important;
}

.section-soft.bg-primary .soft-card,
.section-soft.bg-primary .review-card,
.section-soft.bg-primary .micro-card,
.form-shell.bg-primary .soft-card,
.form-shell.bg-primary .micro-card {
  border-color: rgba(31, 63, 102, 0.24);
}

.section-soft.bg-primary .cta-band {
  border-color: rgba(31, 63, 102, 0.2);
}

.form-shell {
  border: 1px solid var(--line);
  border-radius: 0.5rem !important;
  box-shadow: none;
}

.button-solid {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  overflow: hidden;
  border-radius: 0.375rem !important;
  box-shadow: 0 10px 24px -18px rgba(22, 47, 77, 0.5);
  transition: background 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.button-solid::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    110px circle at var(--cursor-x, 50%) var(--cursor-y, 50%),
    rgba(46, 136, 232, 0.42) 0%,
    rgba(46, 136, 232, 0.18) 35%,
    transparent 72%
  );
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.button-solid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.22) 42%, transparent 62%);
  transform: translateX(-135%);
  transition: transform 520ms ease;
  pointer-events: none;
}

.button-solid:hover {
  transform: translateY(-2px);
  filter: none;
  box-shadow: 0 16px 28px -18px rgba(22, 47, 77, 0.6);
}

.button-solid:hover::before,
.button-solid:focus-visible::before {
  opacity: 1;
}

.button-solid:hover::after {
  transform: translateX(120%);
}

.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid rgba(26, 111, 58, 0.45);
  border-radius: 0.375rem !important;
  background: #ffffff;
  color: var(--village-green) !important;
  box-shadow: 0 8px 18px -18px rgba(26, 111, 58, 0.55);
  transition: border-color 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.button-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -20px rgba(26, 111, 58, 0.65);
  border-color: var(--village-green);
  background: var(--village-green);
  color: #ffffff !important;
}

.button-ghost:focus-visible {
  border-color: var(--village-green);
  color: var(--village-green) !important;
}

.button-link {
  position: relative;
}

.button-link::after {
  content: "";
  position: absolute;
  left: 0.15rem;
  bottom: 0.65rem;
  width: calc(100% - 0.15rem);
  height: 1px;
  background: currentColor;
  opacity: 0.25;
}

.site-footer {
  background: var(--brand) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.65;
}

.site-footer .text-sm {
  font-size: 1rem !important;
}

.site-footer .text-xs {
  font-size: 0.9rem !important;
}

.site-footer h3 {
  font-size: 0.95rem !important;
  line-height: 1.4;
}

.site-footer .text-on_surface {
  color: #ffffff !important;
}

.site-footer .text-on_surface_variant,
.site-footer p,
.site-footer li,
.site-footer div {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a,
.site-footer .text-primary {
  color: #ffffff !important;
}

.site-footer a:hover,
.site-footer .hover\:text-primary:hover,
.site-footer .hover\:text-secondary:hover {
  color: var(--village-green-contrast) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.footer-review-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.footer-review-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.footer-review-link:hover {
  transform: translateY(-1px);
  border-color: var(--village-green-contrast);
  background: rgba(155, 220, 181, 0.2);
}

.footer-review-link img {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.footer-review-link span {
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.footer-card {
  background: transparent !important;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

.social-pill {
  border: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.social-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -22px rgba(31, 63, 102, 0.5);
  border-color: rgba(31, 63, 102, 0.38);
}

.home-hero {
  padding-top: 0.5rem;
}

.home-hero-media {
  position: relative;
  overflow: hidden;
  height: clamp(20rem, 48vw, 34rem);
  min-height: clamp(20rem, 48vw, 34rem);
}

.home-hero-media img {
  display: block;
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) scale(var(--parallax-scale, 1));
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-front-hero-image {
  object-position: center 72%;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.62));
}

.home-hero-title {
  max-width: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08em;
  text-align: center;
  font-family: "Work Sans", sans-serif;
  font-size: clamp(1.45rem, 5.8vw, 5.15rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.home-hero-line {
  display: block;
  white-space: nowrap;
}

.contact-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-hero-copy p {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.contact-band {
  background: var(--site-bg-top) !important;
  border-top-color: var(--line-strong);
  border-bottom-color: var(--line-strong);
}

.contact-band .quick-contact-item {
  border-bottom-color: var(--line-strong);
}

.home-intro-grid {
  display: grid;
  gap: 1.5rem 3rem;
  grid-template-columns: minmax(0, 1fr) 18rem;
  align-items: start;
}

.home-intro-grid > :first-child {
  grid-column: 2;
  grid-row: 1;
}

.home-intro-grid > :nth-child(2) {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.home-intro-grid > :nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.home-intro-copy h2,
.home-feature-copy h2 {
  font-family: "Work Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.home-bullets {
  margin-top: 1rem;
  padding-left: 1.25rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.home-intro-note {
  margin-top: 1.5rem;
  color: var(--ink-soft);
}

.home-intro-referral {
  margin-top: 1rem;
  font-family: "Work Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.promo-stack {
  display: grid;
  gap: 1rem;
}

.promo-panel {
  display: block;
  border: 1px solid var(--line);
  padding: 1.5rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.promo-panel + .promo-panel {
  margin-top: 0.15rem;
}

.promo-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 136, 232, 0.5);
  box-shadow: 0 16px 26px -24px rgba(31, 63, 102, 0.42);
}

.promo-panel h3 {
  font-family: "Work Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.promo-panel p {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.promo-panel span {
  display: inline-block;
  margin-top: 1rem;
  font-family: "Work Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.feature-divider {
  max-width: 90rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.home-feature {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.home-feature-media {
  overflow: hidden;
  border-radius: 0.75rem;
}

.home-feature-media img {
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) scale(var(--parallax-scale, 1));
  width: 100%;
  height: auto;
  display: block;
  transition: transform 420ms ease;
}

.neighborhood-story-media {
  background: var(--surface-container-high, #f7fafe);
}

.neighborhood-story-image {
  width: 100%;
  height: clamp(15rem, 27vw, 22rem);
  object-fit: cover;
  display: block;
}

.neighborhood-services .mt-10.grid.gap-6.md\:grid-cols-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  margin-top: 3rem;
}

.neighborhood-services .mt-10.grid.gap-6.md\:grid-cols-3 > .soft-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
  border-top: 0 !important;
  padding: 0 !important;
}

.neighborhood-services .mt-10.grid.gap-6.md\:grid-cols-3 > .soft-card::before {
  content: "";
  display: block;
  width: 100%;
  height: clamp(15rem, 27vw, 22rem);
  border-radius: 0.75rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.neighborhood-services .mt-10.grid.gap-6.md\:grid-cols-3 > .soft-card:nth-child(1)::before {
  background-image: url("../images/recurring-cleaning-hero.jpg");
}

.neighborhood-services .mt-10.grid.gap-6.md\:grid-cols-3 > .soft-card:nth-child(2)::before {
  background-image: url("../images/deep-cleaning-dallas-hero.jpg");
}

.neighborhood-services .mt-10.grid.gap-6.md\:grid-cols-3 > .soft-card:nth-child(3)::before {
  background-image: url("../images/dallas-move-in-move-out-cleaning-hero.jpg");
}

.neighborhood-services .mt-10.grid.gap-6.md\:grid-cols-3 > .soft-card:nth-child(even)::before {
  order: 2;
}

.neighborhood-services .mt-10.grid.gap-6.md\:grid-cols-3 > .soft-card:nth-child(even) > * {
  order: 1;
}

.neighborhood-services .mt-10.grid.gap-6.md\:grid-cols-3 > .soft-card h3 {
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
  line-height: 1.12;
}

.neighborhood-services .mt-10.grid.gap-6.md\:grid-cols-3 > .soft-card p {
  margin-top: 0.75rem;
  line-height: 1.75;
}

.home-feature-media:hover img {
  --parallax-scale: 1.035;
}

.parallax-surface {
  --parallax-x: 0px;
  --parallax-y: 0px;
  --parallax-scale: 1;
  transform-style: preserve-3d;
}

.home-feature-copy {
  max-width: 40rem;
}

.home-feature-copy p {
  margin-top: 1rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.home-faq details {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
}

.home-faq summary {
  list-style: none;
  cursor: pointer;
  font-family: "Work Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

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

.home-faq p {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

img[loading="lazy"] {
  transition: opacity 280ms ease, filter 280ms ease, transform 420ms ease;
}

img[loading="lazy"]:not(.is-loaded) {
  opacity: 0.92;
  filter: saturate(0.94);
}

img[loading="lazy"].is-loaded {
  opacity: 1;
  filter: none;
}

@media (max-width: 767px) {
  :target {
    scroll-margin-top: 6rem;
  }

  .site-nav > div {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .site-nav .button-solid {
    min-height: 2.5rem;
    font-size: 0.78rem !important;
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
  }

  .mobile-nav {
    gap: 0.5rem;
    padding: 0 0.95rem 0.8rem;
  }

  .mobile-nav a {
    padding: 0.58rem 0.82rem;
    font-size: 0.76rem;
  }

  .home-hero-media {
    height: clamp(16rem, 74vw, 22rem);
    min-height: clamp(16rem, 74vw, 22rem);
  }

  .home-front-hero-image {
    object-position: center 78%;
  }

  .home-hero-overlay {
    padding: 1.2rem;
  }

  .home-hero-title {
    font-size: clamp(1.55rem, 9vw, 2.65rem);
    line-height: 1.02;
  }

  .home-hero-line {
    white-space: normal;
  }

  .page-hero:not(.page-hero--form) > .grid {
    min-height: clamp(16rem, 82vw, 23.5rem);
  }

  .page-hero:not(.page-hero--form) > .grid > :first-child {
    padding: clamp(1.1rem, 5.2vw, 1.9rem) 1rem;
  }

  .page-hero:not(.page-hero--form) h1 {
    font-size: clamp(1.85rem, 8.4vw, 2.5rem) !important;
    line-height: 1.08 !important;
  }

  .page-hero:not(.page-hero--form) p {
    font-size: clamp(0.98rem, 4vw, 1.08rem) !important;
    line-height: 1.58 !important;
  }

  .page-hero .button-solid,
  .page-hero .button-ghost,
  .cta-band .button-solid,
  .cta-band .button-ghost {
    width: 100%;
  }

  .footer-review-links {
    gap: 0.5rem;
  }

  .footer-review-link {
    min-height: 2.4rem;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .editorial-section,
  .review-feature,
  .quick-contact-grid,
  .facts-row,
  .home-feature,
  .home-intro-grid {
    grid-template-columns: 1fr;
  }

  .home-intro-grid > :first-child,
  .home-intro-grid > :nth-child(2),
  .home-intro-grid > :nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .neighborhood-story-image {
    height: clamp(12.5rem, 58vw, 17rem);
  }

  .home-feature .home-feature-media {
    order: -1;
  }

  .home-feature .home-feature-copy {
    order: 0;
  }

  .neighborhood-services .mt-10.grid.gap-6.md\:grid-cols-3 > .soft-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .neighborhood-services .mt-10.grid.gap-6.md\:grid-cols-3 > .soft-card::before,
  .neighborhood-services .mt-10.grid.gap-6.md\:grid-cols-3 > .soft-card:nth-child(even)::before {
    order: 0;
    height: clamp(12.5rem, 58vw, 17rem);
  }

  .neighborhood-services .mt-10.grid.gap-6.md\:grid-cols-3 > .soft-card:nth-child(even) > * {
    order: 0;
  }

  .soft-card,
  .review-card,
  .footer-card,
  .micro-card,
  .accent-card,
  .cta-band,
  .featured-review,
  .editorial-content,
  .editorial-media,
  .quick-contact-item,
  .fact-chip {
    border-radius: 0 !important;
  }
}

@media (hover: none) and (pointer: coarse) {
  .soft-card:hover,
  .review-card:hover,
  .promo-panel:hover,
  .button-solid:hover,
  .button-ghost:hover,
  .social-pill:hover,
  .footer-review-link:hover,
  .media-frame:hover img,
  .home-feature-media:hover img {
    transform: none !important;
    box-shadow: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-on-scroll.is-visible,
  .soft-card,
  .review-card,
  .button-solid,
  .button-ghost,
  .promo-panel,
  .social-pill,
  .media-frame img,
  .home-feature-media img,
  .home-hero-media img,
  .button-solid::before,
  .button-solid::after {
    transition: none !important;
    transform: none !important;
  }
}
