/**
 * Home page — WeHouse-inspired layout
 * Brand colors unchanged (uses CSS variables)
 */

/* ----- Shared section heads ----- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 24px;
}

.section-head .badge {
  display: inline-block;
  margin-bottom: 8px;
}

.section-head .heading-medium {
  margin: 0 0 6px;
  line-height: 1.2;
}

.section-head p {
  color: #666;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  text-align: left;
  max-width: none;
  margin-bottom: 16px;
}

.section-head--row > div:first-child {
  max-width: 640px;
}

.section-head--light h2,
.section-head--light p {
  color: #fff;
}

.section-head--light .badge {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ----- Hero split — light cream glow (WeHouse-style) ----- */
.banner.banner--split {
  height: 100vh;
  min-height: 640px;
  max-height: 100vh;
  padding-top: 80px;
  padding-bottom: 0;
  margin-top: 0 !important;
  color: var(--dark-text);
  background: transparent;
  overflow: hidden;
}

/* Keep banner bg clearly visible — position top so it doesn't sink */
.banner.banner--split .banner-slider {
  opacity: 1;
  filter: brightness(1.08) saturate(1.02);
}

.banner.banner--split .slide {
  background-position: center center;
  background-size: cover;
  transform: none;
}

.banner.banner--split .slide.active {
  transform: none;
}

.banner.banner--split .banner-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 70% 55% at 32% 25%, rgba(255, 252, 247, 0.28) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255, 249, 242, 0.15) 0%, transparent 40%, rgba(242, 232, 217, 0.12) 100%);
  pointer-events: none;
}

.banner.banner--split .banner-inner {
  position: relative;
  align-items: stretch;
  height: calc(100vh - 80px);
  min-height: 560px;
  max-height: calc(100vh - 80px);
  padding-bottom: 0;
  overflow: hidden;
}

/*
  WeHouse-style stack:
  bg → people (center hero) → left copy + form on top
  Grid must NOT cover people (no z-index on grid wrapper).
*/
.banner-split-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 0.8fr);
  grid-template-areas:
    "copy form"
    "stats form";
  gap: 12px 56px;
  align-items: start;
  width: 100%;
  padding-top: 28px;
  padding-bottom: 0;
  min-height: 0;
  height: 100%;
  position: relative;
  z-index: auto;
  pointer-events: none;
}

.banner-split-grid > * {
  pointer-events: auto;
}

/*
  Desktop: stage is the form column only (static so people
  absolute-position against .banner-inner).
  Keep stage BELOW left copy (z-index) so people never hide text/buttons.
*/
.banner-form-stage {
  grid-area: form;
  position: static;
  justify-self: end;
  width: 100%;
  max-width: 360px;
  z-index: 2;
}

.banner-heading-break {
  display: none;
}

/* People — centered like before (content stays above via z-index) */
.banner-people {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-48%);
  width: min(72vw, 900px);
  height: min(82vh, 760px);
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.banner-person {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: auto;
  height: 100%;
  max-width: none;
  transform: translateX(-50%) scale(1.035);
  object-fit: contain;
  object-position: bottom center;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 16px 36px rgba(61, 43, 31, 0.2));
  will-change: opacity, transform;
}

.banner-person.active {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Hero first-paint entrance — JS adds .hero-animate then .hero-ready */
@media (prefers-reduced-motion: no-preference) {
  .banner--split.hero-animate:not(.hero-ready) .banner-pill,
  .banner--split.hero-animate:not(.hero-ready) .banner-heading,
  .banner--split.hero-animate:not(.hero-ready) .banner-sub,
  .banner--split.hero-animate:not(.hero-ready) .banner-actions,
  .banner--split.hero-animate:not(.hero-ready) .banner-stats,
  .banner--split.hero-animate:not(.hero-ready) .banner-form-card,
  .banner--split.hero-animate:not(.hero-ready) .banner-people {
    opacity: 0;
    transform: translateY(22px);
  }

  .banner--split.hero-animate:not(.hero-ready) .banner-people {
    transform: translateX(-48%) translateY(28px);
  }

  .banner--split.hero-animate:not(.hero-ready) .banner-form-card {
    transform: translateY(28px) scale(0.98);
  }

  .banner--split.hero-animate .banner-pill,
  .banner--split.hero-animate .banner-heading,
  .banner--split.hero-animate .banner-sub,
  .banner--split.hero-animate .banner-actions,
  .banner--split.hero-animate .banner-stats,
  .banner--split.hero-animate .banner-form-card,
  .banner--split.hero-animate .banner-people {
    transition:
      opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  .banner--split.hero-ready .banner-pill,
  .banner--split.hero-ready .banner-heading,
  .banner--split.hero-ready .banner-sub,
  .banner--split.hero-ready .banner-actions,
  .banner--split.hero-ready .banner-stats,
  .banner--split.hero-ready .banner-form-card,
  .banner--split.hero-ready .banner-people {
    opacity: 1;
    transform: none;
  }

  .banner--split.hero-ready .banner-people {
    transform: translateX(-48%);
  }

  .banner--split.hero-ready .banner-pill { transition-delay: 0.05s; }
  .banner--split.hero-ready .banner-heading { transition-delay: 0.14s; }
  .banner--split.hero-ready .banner-sub { transition-delay: 0.24s; }
  .banner--split.hero-ready .banner-actions { transition-delay: 0.34s; }
  .banner--split.hero-ready .banner-stats { transition-delay: 0.42s; }
  .banner--split.hero-ready .banner-people { transition-delay: 0.28s; }
  .banner--split.hero-ready .banner-form-card { transition-delay: 0.48s; }
}

/* Left copy — always above people image */
.banner--split .banner-content {
  grid-area: copy;
  max-width: 460px;
  width: 100%;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 8px 8px 8px 4px;
  margin: 0;
  justify-self: start;
  align-self: start;
  margin-top: 0;
  position: relative;
  z-index: 5;
  text-align: left;
  isolation: isolate;
}

.banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  background: #fff;
  border: 1px solid rgba(42, 26, 14, 0.1);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #3d2b1f;
  letter-spacing: 0.15px;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(61, 43, 31, 0.05);
}

.banner-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary-color);
  flex-shrink: 0;
}

.banner-heading {
  margin: 0 0 18px;
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.6px;
  color: #1a120c;
  white-space: nowrap;
}

.banner-heading-accent {
  display: inline;
  color: var(--secondary-color);
  background: none;
  -webkit-text-fill-color: var(--secondary-color);
  position: relative;
  padding-bottom: 4px;
  margin-left: 0.2em;
  white-space: nowrap;
}

.banner-heading-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
  opacity: 0.9;
  clip-path: polygon(0 45%, 12% 80%, 28% 30%, 45% 85%, 62% 25%, 78% 70%, 92% 40%, 100% 60%, 100% 100%, 0 100%);
}

.banner-sub {
  max-width: 420px;
  margin: 0 0 26px;
  padding: 0 0 0 16px;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: #1a120c;
  font-style: normal;
  border: none;
  border-left: 3px solid var(--secondary-color);
  border-radius: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 252, 247, 0.78) 0%,
    rgba(255, 252, 247, 0.35) 55%,
    rgba(255, 252, 247, 0) 100%
  );
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  text-shadow: 0 1px 10px rgba(255, 252, 247, 0.85);
  position: relative;
  z-index: 5;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}

.banner-btn-primary {
  padding: 12px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  background: var(--secondary-color) !important;
  box-shadow: 0 6px 18px rgba(191, 99, 50, 0.32);
}

.banner-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(191, 99, 50, 0.4);
  filter: brightness(1.06);
}

.banner-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: #fff;
  border: 1.5px solid var(--secondary-color);
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
}

.banner-btn-secondary:hover {
  background: var(--secondary-color);
  color: #fff;
}

.banner-btn-secondary svg {
  flex-shrink: 0;
}

.banner-btn-secondary:hover svg {
  color: #fff;
}

.banner-stats {
  grid-area: stats;
  display: inline-flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(42, 26, 14, 0.08);
  border-radius: 12px;
  padding: 16px 10px;
  box-shadow: 0 8px 24px rgba(61, 43, 31, 0.07);
  max-width: 100%;
  overflow-x: auto;
  position: relative;
  z-index: 5;
  margin-top: 0;
  justify-self: start;
  align-self: start;
}

.banner-stat {
  flex: 0 0 auto;
  min-width: 88px;
  padding: 2px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  border-right: 1px solid rgba(42, 26, 14, 0.1);
}

.banner-stat:last-child {
  border-right: none;
}

.banner-stat-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a120c;
  background: none;
  -webkit-text-fill-color: #1a120c;
  line-height: 1.2;
}

.banner-stat-val .counter {
  font-weight: 800;
}

.banner-stat-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #777;
  opacity: 1;
  white-space: nowrap;
}

/* Hero form — upper right, sits over people like WeHouse */
.banner-form-card {
  margin-top: 4px;
  margin-bottom: 0;
  width: 100%;
  background: #fff;
  color: var(--dark-text);
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 20px 50px rgba(61, 43, 31, 0.12);
  border: 1px solid rgba(212, 184, 150, 0.45);
  position: relative;
  z-index: 4;
}

/* legacy outline class if used elsewhere on home */
.btn-outline-light {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline-light:hover {
  background: var(--secondary-color);
  color: #fff;
}

/* Home: light hero → dark nav links from start */
body.home .navbar:not(.scrolled) .nav-links > li > a {
  color: var(--primary-color);
}

body.home .navbar:not(.scrolled) .nav-links .sub-menu a {
  color: var(--primary-color);
}

body.home .navbar:not(.scrolled) .nav-hamburger span {
  background: var(--primary-color);
}

body.home .navbar:not(.scrolled) .nav-cta {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

body.home .navbar:not(.scrolled) .nav-cta:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.banner-form-card h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  color: var(--primary-color);
}

.banner-form-sub {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: #666;
}

.hero-lead-form .form-group {
  margin-bottom: 14px;
}

.hero-lead-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.hero-lead-form input,
.hero-lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  background: #faf7f2;
  color: var(--dark-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-lead-form input:focus,
.hero-lead-form textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(191, 99, 50, 0.15);
}

.btn-block {
  width: 100%;
  text-align: center;
  margin-top: 4px;
}

.form-privacy {
  margin: 12px 0 0;
  font-size: 0.75rem;
  color: #888;
  text-align: center;
}

.banner-form-success {
  text-align: center;
  padding: 24px 8px;
}

.banner-form-success h3 {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.banner-form-success p {
  color: #555;
  margin-bottom: 20px;
}

/* CF7 inside hero card */
.banner-form-card .wpcf7 input,
.banner-form-card .wpcf7 textarea {
  width: 100%;
}

/* ----- Compare: Building 360 vs typical contractor ----- */
.home-compare {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(191, 99, 50, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, #f7efe4 0%, var(--light-gray) 45%, #ebe3d6 100%);
  padding-top: 64px;
  padding-bottom: 64px;
  overflow: hidden;
}

.home-compare-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -120px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(191, 99, 50, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.home-compare-head {
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.home-compare-head .badge {
  background: rgba(191, 99, 50, 0.12);
  color: var(--secondary-color);
}

.home-compare-accent {
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.compare-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 12px;
  position: relative;
  z-index: 1;
}

.compare-table {
  display: flex;
  flex-direction: column;
  min-width: 760px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(42, 26, 14, 0.12),
    0 2px 0 rgba(255, 255, 255, 0.7) inset;
  border: 1px solid rgba(212, 184, 150, 0.55);
  backdrop-filter: blur(6px);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr 1.25fr;
  align-items: stretch;
  transition: background 0.25s ease;
}

.compare-row:not(.compare-row--head):hover .compare-cell--us {
  background: rgba(191, 99, 50, 0.06);
}

.compare-row:not(.compare-row--head):nth-child(even) .compare-cell--us {
  background: #fff8f2;
}

.compare-row:not(.compare-row--head):nth-child(even) .compare-cell--them {
  background: #f5f2ee;
}

.compare-row:not(.compare-row--head):nth-child(even) .compare-cell--factor {
  background: #e8e0d4;
}

.compare-cell {
  padding: 20px 22px;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--dark-text);
  border-bottom: 1px solid rgba(42, 26, 14, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
}

.compare-row:last-child .compare-cell {
  border-bottom: none;
}

.compare-row--head .compare-cell {
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  justify-content: center;
  text-align: center;
  padding: 22px 16px 18px;
  border-bottom: none;
}

.compare-head-label {
  display: block;
}

.compare-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.compare-cell--brand {
  background: linear-gradient(135deg, #bf6332 0%, #d47845 55%, #a85228 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(191, 99, 50, 0.28);
  position: relative;
}

.compare-cell--brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
}

.compare-cell--factor {
  background: linear-gradient(180deg, #3d2b1f 0%, #2a1a0e 100%);
  color: #fff;
  font-weight: 700;
  justify-content: center;
  text-align: center;
}

.compare-row:not(.compare-row--head) .compare-cell--factor {
  background: #efe8de;
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  justify-content: center;
}

.compare-factor-chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(61, 43, 31, 0.12);
  box-shadow: 0 4px 10px rgba(42, 26, 14, 0.05);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.compare-cell--other {
  background: linear-gradient(135deg, #8f8680 0%, #6f675f 100%);
  color: #fff;
}

.compare-cell--us {
  background: #fff;
  border-left: 3px solid var(--secondary-color);
  font-weight: 600;
}

.compare-cell--them {
  background: #faf8f5;
  color: #6a625a;
}

.compare-text {
  flex: 1;
}

.compare-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(42, 26, 14, 0.08);
}

.compare-icon--yes {
  background: linear-gradient(145deg, #e8f7ee, #d4efde);
  color: #1f8a4c;
}

.compare-icon--no {
  background: linear-gradient(145deg, #fdeceb, #f8d7d4);
  color: #c0392b;
}

.home-compare-cta {
  box-shadow: 0 12px 28px rgba(191, 99, 50, 0.28);
  padding-left: 28px;
  padding-right: 28px;
}

.home-compare .section-cta {
  position: relative;
  z-index: 1;
  margin-top: 28px;
}

/* ----- Home services ----- */
.home-services {
  background: #fff;
  padding-top: 48px;
  padding-bottom: 48px;
}

.home-services .section-head {
  margin-bottom: 28px;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.home-trust-grid .home-svc-body h3 {
  font-size: 1.15rem;
}

.home-trust-grid .home-svc-body p {
  font-size: 0.92rem;
}

.home-svc-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(42, 26, 14, 0.12);
}

.home-svc-media {
  position: relative;
  overflow: hidden;
}

.home-svc-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(255, 255, 255, 0.12) 100%);
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.home-svc-img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.home-svc-card:hover .home-svc-img {
  transform: scale(1.05);
}

.home-svc-body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 3px solid transparent;
}

.home-svc-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-svc-body h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--primary-color);
}

.home-svc-body p {
  margin: 0;
  font-size: 0.88rem;
  color: #666;
  line-height: 1.55;
  flex: 1;
}

.home-svc-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary-color);
}

/* Mixed color trust cards */
.home-svc-card--money {
  border-color: rgba(31, 138, 76, 0.28);
  background: linear-gradient(180deg, #fff 0%, #f3fbf6 100%);
}

.home-svc-card--money .home-svc-body {
  border-top-color: #1f8a4c;
}

.home-svc-card--money .home-svc-tag {
  background: rgba(31, 138, 76, 0.12);
  color: #1f8a4c;
}

.home-svc-card--money .home-svc-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(145deg, rgba(31, 138, 76, 0.28), transparent 55%);
  pointer-events: none;
}

.home-svc-card--money:hover {
  border-color: #1f8a4c;
  box-shadow: 0 18px 40px rgba(31, 138, 76, 0.18);
}

.home-svc-card--time {
  border-color: rgba(47, 109, 180, 0.28);
  background: linear-gradient(180deg, #fff 0%, #f2f7fd 100%);
}

.home-svc-card--time .home-svc-body {
  border-top-color: #2f6db4;
}

.home-svc-card--time .home-svc-tag {
  background: rgba(47, 109, 180, 0.12);
  color: #2f6db4;
}

.home-svc-card--time .home-svc-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(145deg, rgba(47, 109, 180, 0.3), transparent 55%);
  pointer-events: none;
}

.home-svc-card--time:hover {
  border-color: #2f6db4;
  box-shadow: 0 18px 40px rgba(47, 109, 180, 0.18);
}

.home-svc-card--control {
  border-color: rgba(191, 99, 50, 0.3);
  background: linear-gradient(180deg, #fff 0%, #fff6f0 100%);
}

.home-svc-card--control .home-svc-body {
  border-top-color: var(--secondary-color);
}

.home-svc-card--control .home-svc-tag {
  background: rgba(191, 99, 50, 0.12);
  color: var(--secondary-color);
}

.home-svc-card--control .home-svc-media {
  background: linear-gradient(165deg, #3d2b1f 0%, #1a120c 55%, #bf6332 140%);
}

.home-svc-card--control .home-svc-img {
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
}

.home-svc-card--control .home-svc-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(191, 99, 50, 0.18), transparent 45%);
  pointer-events: none;
}

.home-svc-card--control:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 18px 40px rgba(191, 99, 50, 0.2);
}

/* ----- About ----- */
.home-about {
  background: var(--light-gray);
}

/* ----- Portfolio carousel ----- */
.home-portfolio {
  background: #fff;
  overflow: hidden;
  padding-top: 48px;
  padding-bottom: 48px;
}

.home-portfolio-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 20px;
}

.home-portfolio-head .badge {
  display: inline-block;
  margin-bottom: 8px;
}

.home-portfolio-head .heading-medium {
  margin: 0 0 6px;
  line-height: 1.2;
}

.home-portfolio-head p {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.portfolio-carousel-wrap {
  overflow: hidden;
  padding: 0 0 8px;
}

.portfolio-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: none;
  scroll-behavior: auto;
  padding: 8px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.portfolio-carousel:active {
  cursor: grabbing;
}

.portfolio-carousel::-webkit-scrollbar {
  display: none;
}

.portfolio-slide {
  flex: 0 0 min(280px, 68vw);
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.portfolio-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-slide:hover .portfolio-slide-img {
  transform: scale(1.06);
}

.portfolio-slide-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 14px 14px;
  background: linear-gradient(transparent, rgba(42, 26, 14, 0.92));
  color: #fff;
}

.portfolio-slide-info h3 {
  margin: 0 0 2px;
  font-size: 0.95rem;
  color: #fff;
}

.portfolio-slide-info p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--secondary-color);
  font-weight: 600;
}

/* ----- Why us — WeHouse-style 3×3 panel ----- */
.home-why {
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(191, 99, 50, 0.08) 0%, transparent 65%),
    var(--light-gray);
  padding-top: 56px;
  padding-bottom: 64px;
}

.home-why .section-head .heading-medium {
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  margin-bottom: 10px;
}

.home-why .section-head p {
  font-size: 1.05rem;
}

.home-why .why-title-accent {
  color: var(--secondary-color);
  display: inline-block;
  white-space: nowrap;
}

.why-panel {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  overflow: visible;
  max-width: 1100px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: transparent;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 40px 32px;
  border-right: 1px solid rgba(42, 26, 14, 0.1);
  border-bottom: 1px solid rgba(42, 26, 14, 0.1);
  background: transparent;
  transition: background 0.25s ease;
  min-height: 120px;
}

.why-item:nth-child(3n) {
  border-right: none;
}

.why-item:nth-child(n + 7) {
  border-bottom: none;
}

.why-item:hover {
  background: rgba(255, 255, 255, 0.45);
}

.why-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.why-icon svg {
  width: 32px;
  height: 32px;
}

.why-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.why-text strong {
  display: block;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.why-text span {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.35;
}

/* ----- What We Do — glowing wave horizontal timeline ----- */
.home-wwd {
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(191, 99, 50, 0.06) 0%, transparent 65%),
    #fff;
  padding-top: 64px;
  padding-bottom: 72px;
  overflow: hidden;
}

.wwd-intro {
  max-width: 560px;
  margin: 0 auto 36px;
  text-align: center;
}

.wwd-intro .heading-medium {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  line-height: 1.15;
}

.wwd-accent {
  color: var(--secondary-color);
}

.wwd-intro p {
  margin: 0;
  color: #666;
  font-size: 1.02rem;
  line-height: 1.6;
}

.wwd-timeline {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 8px 8px;
}

.wwd-path {
  position: absolute;
  left: 2%;
  right: 2%;
  top: 58px;
  width: 96%;
  height: 120px;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.wwd-path-shine {
  animation: wwdShineTravel 4.5s linear infinite;
}

@keyframes wwdShineTravel {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -448; }
}

.wwd-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px 10px;
  align-items: start;
}

.wwd-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 4px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.wwd-step--up {
  padding-top: 0;
  padding-bottom: 36px;
}

.wwd-step--down {
  padding-top: 52px;
  padding-bottom: 0;
}

.wwd-step:hover {
  transform: translateY(-4px);
}

.wwd-num {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--secondary-color);
  background: linear-gradient(160deg, #fff 0%, #fff8f2 100%);
  color: var(--secondary-color);
  font-size: 0.92rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  z-index: 2;
  box-shadow:
    0 0 0 6px rgba(191, 99, 50, 0.1),
    0 8px 22px rgba(191, 99, 50, 0.22);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.wwd-num-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(191, 99, 50, 0.28);
  animation: wwdPulse 2.8s ease-out infinite;
  pointer-events: none;
}

.wwd-step:nth-child(2) .wwd-num-ring { animation-delay: 0.35s; }
.wwd-step:nth-child(3) .wwd-num-ring { animation-delay: 0.7s; }
.wwd-step:nth-child(4) .wwd-num-ring { animation-delay: 1.05s; }
.wwd-step:nth-child(5) .wwd-num-ring { animation-delay: 1.4s; }
.wwd-step:nth-child(6) .wwd-num-ring { animation-delay: 1.75s; }

@keyframes wwdPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.wwd-step:hover .wwd-num {
  background: linear-gradient(160deg, var(--secondary-color), #d4783f);
  color: #fff;
  transform: scale(1.06);
  box-shadow:
    0 0 0 8px rgba(191, 99, 50, 0.14),
    0 12px 28px rgba(191, 99, 50, 0.4);
}

.wwd-body {
  max-width: 170px;
}

.wwd-body h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.25px;
  line-height: 1.3;
}

.wwd-body p {
  margin: 0;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
}

.wwd-foot {
  text-align: center;
  margin-top: 36px;
}

@media (prefers-reduced-motion: reduce) {
  .wwd-path-shine,
  .wwd-num-ring {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .wwd-body {
    max-width: 150px;
  }

  .wwd-body h3 {
    font-size: 0.9rem;
  }

  .wwd-body p {
    font-size: 0.76rem;
  }
}

@media (max-width: 900px) {
  .wwd-timeline {
    padding: 8px 0 4px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .wwd-path {
    width: 980px;
    left: 0;
    right: auto;
    top: 48px;
  }

  .wwd-steps {
    width: 980px;
    gap: 10px;
    padding: 0 12px 8px;
  }

  .wwd-step {
    scroll-snap-align: center;
  }

  .wwd-step--up {
    padding-bottom: 28px;
  }

  .wwd-step--down {
    padding-top: 44px;
  }

  .wwd-num {
    width: 48px;
    height: 48px;
    font-size: 0.84rem;
  }

  .wwd-body {
    max-width: 140px;
  }
}

@media (max-width: 600px) {
  .home-wwd {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .wwd-intro {
    margin-bottom: 24px;
  }

  .wwd-path {
    width: 860px;
    height: 100px;
    top: 42px;
  }

  .wwd-steps {
    width: 860px;
  }

  .wwd-body h3 {
    font-size: 0.86rem;
  }

  .wwd-body p {
    font-size: 0.74rem;
  }
}

/* ----- Achievements ----- */
.home-achievements {
  background: var(--primary-color);
  padding: 80px 20px;
  color: #fff;
}

.achieve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.achieve-val {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1.1;
  margin-bottom: 8px;
}

.achieve-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* ----- FAQ ----- */
.home-faq {
  background: #fff;
  padding-top: 56px;
  padding-bottom: 56px;
}

.home-faq-head {
  margin-bottom: 32px;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--light-gray);
  border: 1px solid rgba(212, 184, 150, 0.55);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.faq-item.is-open {
  border-color: rgba(191, 99, 50, 0.45);
  box-shadow: 0 10px 28px rgba(42, 26, 14, 0.08);
  background: #fff;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.35;
}

.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(191, 99, 50, 0.45);
  position: relative;
  background: rgba(191, 99, 50, 0.08);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--secondary-color);
  transform: translate(-50%, -50%);
}

.faq-toggle::before {
  width: 12px;
  height: 2px;
}

.faq-toggle::after {
  width: 2px;
  height: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.faq-item.is-open .faq-toggle {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.faq-item.is-open .faq-toggle::before,
.faq-item.is-open .faq-toggle::after {
  background: #fff;
}

.faq-item.is-open .faq-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 20px;
}

.faq-item.is-open .faq-answer {
  max-height: 280px;
  padding: 0 20px 18px;
}

.faq-answer p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid rgba(42, 26, 14, 0.08);
  padding-top: 14px;
}

/* ----- Testimonials (home) ----- */
.home-testi {
  background: var(--light-gray);
}

.home-testi .testi-card {
  background: #fff;
  border-top: 4px solid var(--secondary-color);
}

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .home-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .why-item {
    border-right: 1px solid rgba(42, 26, 14, 0.08);
    border-bottom: 1px solid rgba(42, 26, 14, 0.08);
  }

  .why-item:nth-child(3n) {
    border-right: 1px solid rgba(42, 26, 14, 0.08);
  }

  .why-item:nth-child(2n) {
    border-right: none;
  }

  .why-item:nth-child(n + 7) {
    border-bottom: 1px solid rgba(42, 26, 14, 0.08);
  }

  .why-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 1100px) and (min-width: 993px) {
  .banner-split-grid {
    grid-template-columns: minmax(240px, 1fr) minmax(260px, 0.85fr);
    gap: 12px 28px;
  }

  .banner-people {
    left: 50%;
    width: min(70vw, 680px);
    height: min(75vh, 680px);
    transform: translateX(-50%);
  }

  .banner-form-stage {
    max-width: 340px;
  }
}

@media (max-width: 992px) {
  .banner.banner--split {
    height: auto;
    max-height: none;
    min-height: 0;
    margin-top: 0 !important;
    padding-top: 72px;
    padding-bottom: 24px;
    overflow: visible;
  }

  .banner.banner--split .banner-inner {
    position: relative;
    height: auto;
    max-height: none;
    min-height: 0;
    display: block;
    overflow: visible;
    padding: 0;
  }

  .banner-split-grid {
    display: flex;
    flex-direction: column;
    height: auto;
    padding-top: 8px;
    padding-bottom: 0;
    gap: 14px;
    position: relative;
  }

  .banner--split .banner-content {
    max-width: none;
    width: 100%;
    padding: 8px 2px 0;
    text-align: center;
    z-index: 3;
  }

  /* Keep heading on one line on mobile */
  .banner-heading-break {
    display: none !important;
  }

  .banner-heading {
    white-space: nowrap !important;
    font-size: clamp(1.12rem, 5.6vw, 1.55rem);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
  }

  .banner-heading-accent {
    display: inline !important;
    margin-left: 0.12em;
  }

  .banner-heading-accent::after {
    height: 3px;
  }

  .banner-sub {
    max-width: 28em;
    margin: 0 auto 14px;
    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 5;
    color: #1a120c;
    text-align: left;
    border: none;
    border-left: 3px solid var(--secondary-color);
    border-radius: 0;
    padding: 0 0 0 14px;
    background: linear-gradient(
      90deg,
      rgba(255, 252, 247, 0.82) 0%,
      rgba(255, 252, 247, 0.4) 60%,
      rgba(255, 252, 247, 0) 100%
    );
    box-shadow: none;
    text-shadow: 0 1px 10px rgba(255, 252, 247, 0.9);
  }

  .banner-pill {
    margin-bottom: 12px;
    font-size: 0.7rem;
  }

  .banner-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;
    position: relative;
    z-index: 3;
  }

  .banner-actions .btn,
  .banner-actions .banner-btn-secondary {
    width: auto;
    flex: 1 1 auto;
    min-width: 140px;
    max-width: 220px;
    text-align: center;
    justify-content: center;
  }

  /* Stats — all 4 in one row, above people */
  .banner-stats {
    width: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    padding: 10px 6px;
    z-index: 3;
  }

  .banner-stat {
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
    text-align: center;
    padding: 4px 3px;
    border-right: 1px solid rgba(42, 26, 14, 0.1);
    border-bottom: none;
  }

  .banner-stat:last-child {
    border-right: none;
  }

  .banner-stat-val {
    font-size: 0.92rem;
  }

  .banner-stat-label {
    white-space: normal;
    font-size: 0.56rem;
    line-height: 1.2;
  }

  /*
    Mobile stack (desktop unchanged):
    1) Copy + CTAs + stats (clean, no people overlay)
    2) Face band — human faces clearly visible
    3) Form CTA directly under faces
  */
  .banner-form-stage {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: 0;
    display: block;
    /* Face band height above the form */
    padding: clamp(220px, 56vw, 280px) 8px 12px;
    margin: 4px 0 0;
    overflow: visible;
    z-index: 1;
  }

  .banner-people {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: auto;
    transform: translateX(-50%);
    width: min(100vw, 420px);
    height: clamp(220px, 56vw, 280px);
    margin: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
  }

  .banner-person {
    transform: translateX(-50%) scale(1);
    object-fit: cover;
    object-position: center 12%;
  }

  .banner-person.active {
    transform: translateX(-50%) scale(1);
  }

  @media (prefers-reduced-motion: no-preference) {
    .banner--split.hero-animate:not(.hero-ready) .banner-people {
      transform: translateX(-50%) translateY(18px);
    }

    .banner--split.hero-ready .banner-people {
      transform: translateX(-50%);
    }
  }

  .banner-form-card {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 18px 16px;
    box-shadow: 0 16px 40px rgba(61, 43, 31, 0.18);
  }

  .home-faq {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .faq-question {
    font-size: 0.98rem;
    padding: 16px 16px;
  }

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

  .section-head--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-compare {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .home-compare-head h2 {
    font-size: 1.45rem;
    line-height: 1.3;
  }

  .compare-scroll {
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .compare-table {
    min-width: 680px;
  }

  .compare-cell {
    padding: 16px 14px;
    font-size: 0.84rem;
  }

  .compare-row--head .compare-cell {
    font-size: 0.68rem;
    padding: 16px 10px 14px;
  }

  .compare-factor-chip {
    font-size: 0.7rem;
    padding: 5px 10px;
  }
}

@media (max-width: 600px) {
  .banner.banner--split {
    padding-top: 68px;
    padding-bottom: 16px;
  }

  .banner-heading {
    white-space: nowrap !important;
    font-size: clamp(1.05rem, 5.8vw, 1.35rem);
  }

  .banner-sub {
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 12px;
    padding: 0 0 0 12px;
    color: #1a120c;
  }

  .banner-form-stage {
    min-height: 0;
    padding: clamp(200px, 58vw, 250px) 6px 10px;
  }

  .banner-people {
    top: 0;
    bottom: auto;
    height: clamp(200px, 58vw, 250px);
    width: min(100vw, 380px);
  }

  .banner-person,
  .banner-person.active {
    object-position: center 10%;
  }

  .banner-actions .btn,
  .banner-actions .banner-btn-secondary {
    min-width: 0;
    max-width: none;
    flex: 1 1 calc(50% - 6px);
    font-size: 0.86rem;
    padding-left: 12px;
    padding-right: 12px;
  }

  .banner-stat-val {
    font-size: 0.85rem;
  }

  .banner-stat-label {
    font-size: 0.5rem;
  }

  .banner-form-card {
    padding: 16px 14px;
    border-radius: 10px;
  }

  .banner-form-card h3 {
    font-size: 1.15rem;
  }

  .hero-lead-form .form-group {
    margin-bottom: 11px;
  }

  .hero-lead-form input,
  .hero-lead-form textarea {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  /* Compare → stacked cards on small phones */
  .compare-scroll {
    overflow: visible;
    padding: 0;
    margin: 0;
  }

  .compare-table {
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    gap: 12px;
  }

  .compare-row--head {
    display: none;
  }

  .compare-row:not(.compare-row--head) {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(212, 184, 150, 0.5);
    box-shadow: 0 10px 28px rgba(42, 26, 14, 0.08);
  }

  .compare-row:not(.compare-row--head) .compare-cell {
    border-bottom: 1px solid rgba(42, 26, 14, 0.06);
    padding: 14px 14px;
  }

  .compare-row:not(.compare-row--head) .compare-cell:last-child {
    border-bottom: none;
  }

  .compare-row:not(.compare-row--head) .compare-cell--factor {
    order: -1;
    background: var(--primary-color);
    justify-content: flex-start;
    padding: 12px 14px;
  }

  .compare-row:not(.compare-row--head) .compare-factor-chip {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #fff;
    padding: 0;
    font-size: 0.78rem;
  }

  .compare-cell--us,
  .compare-cell--them {
    border-left: none !important;
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: start;
    column-gap: 10px;
    row-gap: 6px;
  }

  .compare-cell--us {
    background: #fff8f2 !important;
  }

  .compare-cell--us::before,
  .compare-cell--them::before {
    content: attr(data-label);
    grid-column: 1 / -1;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--secondary-color);
  }

  .compare-cell--them::before {
    color: #8a8178;
  }

  .home-services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-item,
  .why-item:nth-child(2n),
  .why-item:nth-child(3n),
  .why-item:nth-child(n + 7) {
    border-right: none;
    border-bottom: 1px solid rgba(42, 26, 14, 0.08);
  }

  .why-item:last-child {
    border-bottom: none;
  }

  .why-item {
    padding: 28px 22px;
    min-height: 0;
    gap: 14px;
  }

  .why-text strong {
    font-size: 1.2rem;
  }

  .why-text span {
    font-size: 0.95rem;
  }

  .faq-question {
    font-size: 0.92rem;
  }

  .faq-answer p {
    font-size: 0.88rem;
  }

  .achieve-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }
}

/* ----- Home scroll motion: letter headings + per-section rises ----- */
@media (prefers-reduced-motion: no-preference) {
  .heading-medium.chars-ready {
    overflow: visible;
  }

  /* Keep each word intact so letters never wrap mid-word (e.g. "360" → "36"/"0") */
  .heading-medium.chars-ready .word {
    display: inline-block;
    white-space: nowrap;
  }

  .heading-medium.chars-ready .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(1.15em);
    transition:
      opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  .heading-medium.chars-ready .char-space {
    display: inline-block;
    width: 0.28em;
  }

  .heading-medium.chars-ready.is-visible .char {
    opacity: 1;
    transform: translateY(0);
  }

  .home-head-badge,
  .home-head-copy {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .home-head-badge.is-visible,
  .home-head-copy.is-visible {
    opacity: 1;
    transform: none;
  }

  .home-head-badge.is-visible {
    transition-delay: 0.04s;
  }

  .home-head-copy.is-visible {
    transition-delay: 0.18s;
  }

  /* Distinct “from below” styles per section content */
  .reveal-rise {
    transform: translateY(56px);
  }

  .reveal-rise-far {
    transform: translateY(80px);
  }

  .reveal-pop {
    transform: translateY(48px) scale(0.92);
  }

  .reveal-soft {
    transform: translateY(36px);
    filter: blur(4px);
  }

  .reveal-tilt {
    transform: translateY(50px) rotate(-1.2deg);
  }

  .reveal-skew {
    transform: translateY(44px) skewY(1.5deg);
  }

  .reveal.is-visible.reveal-rise,
  .reveal.is-visible.reveal-rise-far,
  .reveal.is-visible.reveal-pop,
  .reveal.is-visible.reveal-soft,
  .reveal.is-visible.reveal-tilt,
  .reveal.is-visible.reveal-skew {
    transform: none;
    filter: none;
  }

  .reveal.reveal-soft {
    transition:
      opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal.reveal-rise-far {
    transition:
      opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .heading-medium.chars-ready .char,
  .home-head-badge,
  .home-head-copy {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    filter: none !important;
  }
}

/* ----- Landing page — focused nav + compact footer ----- */

/* Phone FAB: bottom-left on landing only (site-wide stays bottom-right) */
.landing-page .floating-call-btn {
  left: 30px;
  right: auto;
}

@media (max-width: 600px) {
  .landing-page .floating-call-btn {
    left: 20px;
    right: auto;
  }
}

.landing-page .navbar--landing .nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-page .navbar--landing .nav-cta--call {
  background: transparent;
  border: 1.5px solid var(--secondary-color);
  color: var(--secondary-color);
  box-shadow: none;
}

.landing-page .navbar--landing.scrolled .nav-cta--call,
body.landing-page .navbar--landing .nav-cta--call {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  background: #fff;
}

.landing-page .navbar--landing.scrolled .nav-cta--call:hover,
body.landing-page .navbar--landing .nav-cta--call:hover {
  background: var(--secondary-color);
  color: #fff;
}

.footer--landing {
  padding-top: 48px;
  padding-bottom: 28px;
}

.footer-landing-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-landing-logo {
  height: 44px;
  width: auto;
  margin-bottom: 10px;
  display: block;
}

.footer-landing-brand p {
  margin: 0;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-landing-actions {
  text-align: right;
}

.footer-landing-actions .btn {
  margin-bottom: 12px;
}

.footer-landing-actions p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.footer-landing-actions a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-landing-actions a:hover {
  color: #fff;
}

.footer-landing-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  color: #888;
  font-size: 0.85rem;
}

.footer-landing-legal {
  display: flex;
  gap: 20px;
}

.footer-landing-legal a {
  color: #888;
  text-decoration: none;
  font-size: 0.85em;
}

.footer-landing-legal a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .landing-page .navbar--landing .nav-cta--call {
    display: none;
  }

  .footer-landing-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-landing-actions {
    text-align: left;
    width: 100%;
  }
}
