/* Home page 2026 mockup – scoped to body.home-2026 */
:root {
  --home-navy: #0c2745;
  --home-navy-deep: #081a2e;
  --home-tan: #c9ae82;
  --home-tan-hover: #b89a6a;
  --home-cream: #f5f0e8;
  --home-white: #ffffff;
  --home-footer: #0a1624;
}

body.home-2026 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  body.home-2026 {
    overflow-x: hidden;
  }
}

/* Match services page typography (Montserrat) — same footer/header stack as other 2026 pages */
body.page-home.home-2026 {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body.home-2026 .header__area.header-1 {
  display: none !important;
}

/* —— Header —— */
.home-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Light cream marble-style top bar (no image asset required) */
.home-header__top {
  position: relative;
  z-index: 6000;
  background-color: #ebe8e0;
  background-image:
    radial-gradient(ellipse 140% 90% at 15% 25%, rgba(255, 255, 255, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse 100% 70% at 85% 70%, rgba(160, 158, 150, 0.18) 0%, transparent 50%),
    linear-gradient(
      118deg,
      rgba(255, 255, 255, 0.25) 0%,
      transparent 35%,
      rgba(120, 118, 110, 0.06) 52%,
      transparent 70%,
      rgba(255, 255, 255, 0.15) 100%
    ),
    linear-gradient(180deg, #f7f4ee 0%, #ebe8e0 38%, #e3dfd5 100%);
  border-bottom: 1px solid rgba(12, 39, 69, 0.07);
}

.home-header__top-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.home-header__logo img {
  display: block;
  max-height: 72px;
  max-width: min(280px, 58vw);
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Mobile menu (dark panel): wordmark — ~2× default for readability */
.offcanvas__logo img.home-offcanvas-logo,
.home-offcanvas-logo {
  max-height: 96px;
  max-width: min(440px, 88vw);
  width: auto;
  height: auto;
  object-fit: contain;
}

.home-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-wrap: nowrap;
}

/* —— Header: site search (inline dropdown) —— */
.home-header__search {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.home-header__search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(520px, calc(100vw - 32px));
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(12, 39, 69, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  border-radius: 14px;
  overflow: hidden;
  z-index: 7000;
}

.home-header__search-row {
  display: grid;
  grid-template-columns: 18px 1fr 40px;
  gap: 10px;
  align-items: center;
  padding: 0;
  color: var(--home-navy);
  width: 380px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(12, 39, 69, 0.14);
  border-radius: 999px;
  padding: 8px 10px;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  pointer-events: none;
  transition: max-width 220ms ease, opacity 160ms ease, margin-left 220ms ease;
}

.home-header--search-open .home-header__search-row {
  max-width: 380px;
  opacity: 1;
  margin-left: 8px;
  pointer-events: auto;
}

.home-header__search-row i {
  font-size: 16px;
  opacity: 0.85;
}

.home-header__search-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-weight: 700;
  font-size: 14px;
  color: var(--home-navy);
}

.home-header__search-close {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: rgba(12, 39, 69, 0.08);
  color: var(--home-navy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-header__search-close:hover {
  background: rgba(12, 39, 69, 0.1);
}

.home-header__search-results {
  list-style: none;
  margin: 0;
  padding: 6px;
  border-top: 1px solid rgba(12, 39, 69, 0.08);
  max-height: min(52vh, 360px);
  overflow: auto;
}

.home-header__search-item a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--home-navy) !important;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.home-header__search-item.is-active a,
.home-header__search-item a:hover {
  background: rgba(201, 174, 130, 0.22);
}

.home-header__search-empty {
  padding: 10px 12px;
  color: rgba(12, 39, 69, 0.7);
  font-weight: 600;
}

/* Menu + search: navy icon on marble (no filled circle) */
.home-header__icon-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--home-navy);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.2s;
  text-decoration: none;
}

.home-header__icon-btn:hover {
  background: rgba(12, 39, 69, 0.08);
  color: var(--home-navy);
}

/* Phone: white glyph on solid navy circle (per comp) */
.home-header__phone-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--home-navy);
  color: var(--home-white) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(8, 26, 46, 0.25);
  transition: background 0.2s, box-shadow 0.2s;
}

.home-header__phone-circle:hover {
  background: var(--home-navy-deep);
  color: var(--home-white) !important;
  box-shadow: 0 3px 10px rgba(8, 26, 46, 0.3);
}

.home-header__top .bar-icon span {
  background-color: var(--home-navy) !important;
}

.home-header__top .bar-icon:hover span {
  background-color: var(--home-navy-deep) !important;
}

.home-btn--estimate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--home-navy);
  color: var(--home-white) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  transition: background 0.2s;
  white-space: nowrap;
}

/* Header only: sharp corners + subtle drop shadow */
.home-header__top .home-header__estimate-btn {
  border-radius: 0;
  box-shadow: 0 3px 10px rgba(8, 26, 46, 0.22);
}

.home-header__top .home-header__estimate-btn:hover {
  box-shadow: 0 4px 12px rgba(8, 26, 46, 0.28);
}

.home-btn--estimate:hover {
  background: var(--home-navy-deep);
  color: var(--home-white) !important;
}

.home-btn--tan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--home-tan);
  color: var(--home-navy) !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.home-btn--tan:hover {
  background: var(--home-tan-hover);
  color: var(--home-navy) !important;
}

/* Translucent navy over hero image (hero overlaps under this bar) */
.home-header__nav-bar {
  position: relative;
  z-index: 3;
  background: rgba(12, 39, 69, 0.46);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.home-header__nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.home-header__nav-inner a {
  color: var(--home-white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 16px 22px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.2s ease, font-weight 0.15s ease, color 0.15s ease;
}

.home-header__nav-inner a:last-child {
  border-right: none;
}

.home-header__nav-inner a::before {
  content: "›";
  margin-right: 0.4em;
  font-weight: 700;
  font-size: 1.05em;
  line-height: 1;
  opacity: 0.95;
  transform: translateY(-0.02em);
}

.home-header__nav-inner a:hover,
.home-header__nav-inner a:focus-visible {
  background: var(--home-navy);
  font-weight: 800;
  color: var(--home-white);
  text-decoration: none;
  outline: none;
}

.home-header__nav-inner a.active {
  text-decoration: none;
}

/* Current page: solid pill like hover (comp) */
body.page-home .home-header__nav-inner a[href="index.html"],
body.page-showroom .home-header__nav-inner a[href="showroom.html"],
body.page-projects .home-header__nav-inner a[href="protfolio.html"],
body.page-builder-services .home-header__nav-inner a[href="builder-services.html"],
body.page-services .home-header__nav-inner a[href="services.html"],
body.page-about .home-header__nav-inner a[href="about-us.html"],
body.page-contact .home-header__nav-inner a[href="contact-us.html"] {
  background: var(--home-navy);
  font-weight: 800;
  color: var(--home-white);
}

/* Offcanvas meanmenu: same label style as .home-header__nav-inner (uppercase + tracking) */
body.home-2026 .mobile-menu .mean-container .mean-nav ul li > a:not(.mean-expand) {
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  font-size: 13px;
}

body.home-2026 .mobile-menu .mean-container .mean-nav ul li > a:not(.mean-expand)::before {
  content: "›";
  margin-right: 0.4em;
  font-weight: 700;
  font-size: 1.05em;
  line-height: 1;
  opacity: 0.95;
  flex-shrink: 0;
}

body.home-2026 .mobile-menu .mean-container .mean-nav ul li > a.mean-expand {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
}

body.home-2026 .mobile-menu .mean-container .mean-nav ul li > a.mean-expand::before {
  content: none;
}

@media (max-width: 991px) {
  .home-header__nav-inner {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .home-header__nav-inner::-webkit-scrollbar {
    display: none;
  }

  /* No desktop nav overlap on small screens */
  body.home-2026 .home-hero {
    margin-top: 0;
    padding: 80px 20px 100px;
  }
}

/* —— Hero —— */
/* Pull background up under transparent nav so showroom photo reads through menu */
.home-hero {
  position: relative;
  z-index: 0;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: -48px;
  margin-bottom: 20px;
  padding: calc(48px + 80px) 20px 100px;
  background-color: var(--home-navy-deep);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Light neutral scrim — slight lift for text, photo still clear */
  background: linear-gradient(
    180deg,
    rgba(12, 14, 18, 0.14) 0%,
    rgba(6, 8, 11, 0.28) 100%
  );
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.home-hero__title {
  color: var(--home-white);
  font-size: clamp(2.35rem, 6vw, 6.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.home-hero__subtitle {
  color: rgba(255, 255, 255, 0.97);
  font-size: clamp(1.15rem, 2.35vw, 2rem);
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 1rem;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.home-hero__legend {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.8rem, 1.5vw, 1.2rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 3.5rem;
  line-height: 1.4;
  padding-top: 34px;
}

.home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

/* Hero phone + secondary CTA — match services/about/portfolio hero (.services-hero__*) */
.home-hero__phone-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--home-tan);
  color: var(--home-white) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
  transition: background 0.2s, transform 0.2s;
}

.home-hero__phone-btn:hover {
  background: var(--home-tan-hover);
  color: var(--home-navy) !important;
  transform: translateY(-2px);
}

.home-hero__phone-btn i {
  font-weight: 900;
  line-height: 1;
}

.home-hero__showroom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 28px;
  background: var(--home-tan);
  color: var(--home-white) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  border: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, transform 0.2s;
}

.home-hero__showroom-btn:hover {
  background: var(--home-tan-hover);
  color: var(--home-navy) !important;
  transform: translateY(-1px);
}

.home-hero__showroom-btn i {
  font-size: 14px;
  line-height: 1;
}

/* —— Showroom block —— */
/* One full-width photo; left column clear, right = translucent navy over same image */
.home-showroom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  background-color: var(--home-navy-deep);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.home-showroom__col--image {
  min-height: 380px;
  pointer-events: none;
}

.home-showroom__panel {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Stronger navy overlay (less background bleed-through) */
  background: rgba(12, 39, 69, 0.88);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.06);
}

.home-showroom__panel h2 {
  color: var(--home-white);
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.2;
}

.home-showroom__panel .home-showroom__eyebrow {
  color: var(--home-tan);
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 700;
  margin: 0 0 16px;
}

.home-showroom__body {
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.65;
  margin: 0 0 18px;
  font-size: 15px;
}

.home-showroom__visit-today {
  color: var(--home-white);
  font-size: 16px;
  margin: 0 0 14px;
  line-height: 1.4;
}

.home-showroom__visit-today strong {
  font-weight: 800;
}

.home-showroom__address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--home-white);
}

.home-showroom__address i {
  color: var(--home-white);
  margin-top: 3px;
  flex-shrink: 0;
}

.home-showroom__address a {
  color: var(--home-white) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-showroom__address a:hover {
  color: var(--home-tan) !important;
}

.home-showroom__hours {
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 28px;
}

.home-showroom__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
}

@media (max-width: 991px) {
  .home-showroom {
    grid-template-columns: 1fr;
  }

  .home-showroom__col--image {
    min-height: 220px;
    order: 1;
  }

  .home-showroom__panel {
    order: 2;
    box-shadow: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* —— Testimonials / Google reviews (comp layout) —— */
.home-reviews {
  background: #fdf5f0;
  padding: 68px 20px 76px;
}

.home-reviews__title {
  text-align: center;
  color: var(--home-navy);
  font-size: clamp(1.5rem, 3vw, 3.05rem);
  font-weight: 800;
  margin: 0 0 36px;
  letter-spacing: -0.02em;
}

.home-reviews__row {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 22px;
}

/* Circular badge: thin brown border, multicolor Google + Reviews + stars */
.home-reviews__google-badge {
  flex: 0 0 auto;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #b87565;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.home-reviews__google-word {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 3.65rem);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.04em;
}

.home-reviews__g-letter--1 {
  color: #4285f4;
}
.home-reviews__g-letter--2 {
  color: #ea4335;
}
.home-reviews__g-letter--3 {
  color: #fbbc05;
}
.home-reviews__g-letter--4 {
  color: #4285f4;
}
.home-reviews__g-letter--5 {
  color: #34a853;
}
.home-reviews__g-letter--6 {
  color: #ea4335;
}

.home-reviews__reviews-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
}

.home-reviews__reviews-text {
  font-size: 13px;
  font-weight: 500;
  color: #5f6368;
}

.home-reviews__badge-stars {
  color: #e8b923;
  font-size: 11px;
  letter-spacing: 0.5px;
  line-height: 1;
}

.home-reviews__badge-star {
  display: inline-block;
}

/* Four cards in one row (desktop) */
.home-reviews__cards {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.home-review-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 14px 14px 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.055);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.home-review-card__stars {
  display: flex;
  gap: 1px;
  color: #e8b923;
  font-size: 15px;
  margin-bottom: 10px;
  line-height: 1;
}

.home-review-card__stars span {
  display: inline-block;
}

.home-review-card__text {
  font-size: 13px;
  line-height: 1.55;
  color: #202124;
  margin: 0;
  padding-bottom: 10px;
  flex: 1 1 auto;
}

.home-review-card__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.home-review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.home-review-card__avatar--a {
  background: linear-gradient(145deg, #5c6bc0, #3949ab);
}
.home-review-card__avatar--b {
  background: linear-gradient(145deg, #43a047, #2e7d32);
}
.home-review-card__avatar--c {
  background: linear-gradient(145deg, #ec407a, #ad1457);
}
.home-review-card__avatar--d {
  background: linear-gradient(145deg, #ff7043, #d84315);
}

.home-review-card__who {
  flex: 1 1 auto;
  min-width: 0;
}

.home-review-card__name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #202124;
  line-height: 1.25;
}

.home-review-card__meta {
  display: block;
  font-size: 12px;
  color: #70757a;
  line-height: 1.35;
  margin-top: 2px;
}

.home-review-card__google-g {
  flex-shrink: 0;
  margin-left: auto;
  align-self: flex-end;
  opacity: 0.92;
}

@media (max-width: 1199px) {
  .home-reviews__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .home-reviews__row {
    flex-direction: column;
    align-items: center;
  }

  .home-reviews__google-badge {
    margin-bottom: 4px;
  }
}

@media (max-width: 575px) {
  .home-reviews__cards {
    grid-template-columns: 1fr;
  }

  /* Mobile: hide the full Google badge (keep only the review cards) */
  .home-reviews__google-badge {
    display: none;
  }
}

/* —— Projects carousel (comp: textured blue, white captions, gold nav, footer CTA row) —— */
.home-projects {
  position: relative;
  padding: 80px 20px 48px;
  background-color: #2b5a91;
  background-image:
    radial-gradient(ellipse 120% 80% at 15% 20%, rgba(255, 255, 255, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 88% 75%, rgba(0, 0, 0, 0.14) 0%, transparent 50%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 38px,
      rgba(255, 255, 255, 0.02) 38px,
      rgba(255, 255, 255, 0.02) 40px
    ),
    linear-gradient(165deg, #335f92 0%, #284f7d 45%, #24486f 100%);
  overflow: hidden;
  margin-bottom: 20px;
}

.home-projects::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 100% 60% at 50% 100%, rgba(0, 0, 0, 0.12) 0%, transparent 55%);
  opacity: 0.85;
}

.home-projects__title {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  font-size: clamp(1.55rem, 3.2vw, 3.05rem);
  font-weight: 800;
  margin: 0 0 44px;
  letter-spacing: -0.02em;
}

.home-projects__stage {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 8px;
}

.home-projects .swiper {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 0 48px 8px;
  max-width: 100%;
}

.home-project-card {
  position: relative;
  z-index: 1;
  background: transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.home-project-card__img {
  aspect-ratio: 4 / 3;
  max-height: 340px;
  width: 100%;
  background: rgba(0, 0, 0, 0.2) center / cover no-repeat;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.home-project-card__body {
  padding: 18px 8px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-project-card__body h3 {
  font-size: clamp(1rem, 1.5vw, 2.8rem);
  color: #ffffff;
  margin: 0 0 14px;
  font-weight: 700;
  width: 100%;
}

/* Tan button, white SEE MORE, square corners */
.home-project-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 11px 120px;
  min-width: 168px;
  background: var(--home-tan);
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  transition: background 0.2s, transform 0.15s;
}

.home-project-card__btn:hover {
  background: var(--home-tan-hover);
  color: #ffffff !important;
}

/* Gold chevrons — aligned with image row (not whole section) */
.home-projects__nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(168px, 46vw, 288px);
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2px;
  z-index: 3;
}

.home-projects__prev,
.home-projects__next {
  pointer-events: auto;
  width: auto;
  min-width: 40px;
  height: auto;
  padding: 8px 10px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--home-tan);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.65rem;
  line-height: 1;
  transition: color 0.2s, transform 0.15s;
}

.home-projects__prev:hover,
.home-projects__next:hover {
  color: #dfc89a;
  transform: scale(1.06);
}

/* Bottom row: italic lines + phone circle + FREE ESTIMATE */
.home-projects__footer-cta {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 8px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px 28px;
}

.home-projects__footer-left,
.home-projects__footer-right {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.45;
}

.home-projects__footer-left {
  text-align: left;
  justify-self: start;
}

.home-projects__footer-right {
  text-align: right;
  justify-self: end;
}

.home-projects__footer-strong {
  font-style: normal;
  font-weight: 800;
}

.home-projects__footer-center {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.home-projects__phone-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--home-tan);
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 2.1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.2s;
}

.home-projects__phone-circle:hover {
  background: var(--home-tan-hover);
  color: #ffffff !important;
}

.home-projects__estimate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  min-height: 54px;
  background: var(--home-tan);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.2s;
}

.home-projects__estimate-btn:hover {
  background: var(--home-tan-hover);
  color: #ffffff !important;
}

/* Ensure square buttons in this section (overrides theme / Bootstrap link rounding) */
.home-projects .home-project-card__btn,
.home-projects .home-projects__estimate-btn {
  border-radius: 0;
}

@media (max-width: 991px) {
  .home-projects__footer-cta {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }

  .home-projects__footer-left,
  .home-projects__footer-right {
    text-align: center;
    justify-self: center;
  }
}

@media (max-width: 767px) {
  .home-projects .swiper {
    padding: 0 12px 8px;
  }

  .home-projects__nav {
    display: none;
  }

  .home-project-card__img {
    max-height: 280px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .home-projects__nav {
    height: clamp(150px, 38vw, 260px);
  }
}

/* —— Estimate form (comp: kitchen bg, left copy + CTAs, rounded navy form, white fields) —— */
.home-estimate {
  position: relative;
  padding: 88px 20px 96px;
  background: var(--home-navy-deep) center / cover no-repeat;
}

.home-estimate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 14, 18, 0.14) 0%,
    rgba(8, 10, 13, 0.28) 100%
  );
}

.home-estimate__inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

@media (max-width: 991px) {
  .home-estimate__inner {
    grid-template-columns: 1fr;
  }
}

.home-estimate__intro {
  color: var(--home-white);
}

.home-estimate__heading-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  flex-wrap: wrap;
  margin: 0 0 14px;
}

.home-estimate__heading-logo {
  display: block;
  max-width: min(200px, 38vw);
  width: auto;
  height: auto;
  margin: 0;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

.home-estimate__heading-title,
.home-estimate__intro .home-estimate__heading-title {
  font-size: clamp(1.85rem, 3.8vw, 3.0rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.home-estimate__kicker {
  color: var(--home-tan);
  font-size: clamp(0.78rem, 1.35vw, 1.88rem);
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 0 0 20px;
  line-height: 1.45;
  max-width: 36rem;
}

.home-estimate__lead {
  margin: 0 0 20px;
  line-height: 1.65;
  font-size: clamp(15px, 1.55vw, 17px);
  color: rgba(255, 255, 255, 0.98);
  max-width: 34rem;
}

.home-estimate__license {
  margin: 0 0 28px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.98);
}

.home-estimate__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin: 0 0 22px;
}

.home-estimate__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.home-estimate__trust-text {
  color: rgba(255, 255, 255, 0.96);
  font-size: 13px;
  line-height: 1.3;
}

.home-estimate__trust-text em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
}

.home-estimate__trust-text strong {
  font-weight: 900;
  color: #ffffff;
}

.home-estimate__trust-roc {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
}

.home-estimate__trust-item--bbb .builder-hero__title-badge {
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.home-estimate__trust-item--bbb .builder-hero__title-badge--bbb {
  width: 142px;
  height: auto;
}

.home-estimate__trust-item--bbb .home-estimate__trust-text {
  margin-left: -6px;
  white-space: nowrap;
}

@media (max-width: 575px) {
  .home-estimate__trust {
    justify-content: center;
    text-align: center;
  }
}

.home-estimate__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
}

.home-estimate__form-wrap {
  background: var(--home-navy);
  padding: clamp(28px, 4vw, 40px) clamp(24px, 3.5vw, 38px);
  border-radius: 28px;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-estimate__hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

.home-estimate__form-title {
  color: var(--home-white);
  font-size: clamp(0.8rem, 1.4vw,1.5rem);
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0 0 24px;
  line-height: 1.35;
}

/* Two-column layout for company, contact, phone, email, city, ZIP — interests stay full width below */
.home-estimate__fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-bottom: 18px;
  min-width: 0;
}

.home-estimate__fields-grid .home-estimate__field {
  min-width: 0;
}

.home-estimate__fields-grid .home-estimate__field input {
  margin-bottom: 0;
}

@media (max-width: 575px) {
  .home-estimate__fields-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Mobile: tighter form spacing + shorter fields */
  .home-estimate__form-wrap {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .home-estimate__form-title {
    margin-bottom: 14px;
    letter-spacing: 0.07em;
  }

  .home-estimate__form label:not(.home-estimate__checkbox-label) {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .home-estimate__form input:not([type="checkbox"]),
  .home-estimate__form select,
  .home-estimate__interests-search {
    height: 40px;
    padding: 6px 10px;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 10px;
    border-radius: 9px;
  }

  .home-estimate__fields-grid {
    margin-bottom: 12px;
  }

  .home-estimate__interests {
    margin-bottom: 12px;
  }

  .home-estimate__interests-legend {
    margin-bottom: 8px;
  }

  .home-estimate__interest-widget {
    gap: 6px;
  }

  .home-estimate__checkbox-label {
    gap: 10px;
    font-size: 11px;
    line-height: 1.4;
  }

  .home-estimate__submit {
    padding: 12px 16px;
    margin-top: 14px;
  }
}

.home-estimate__form label:not(.home-estimate__checkbox-label) {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 8px;
}

.home-estimate__form input:not([type="checkbox"]) {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #ffffff;
  margin-bottom: 18px;
  font-size: 15px;
  color: var(--home-navy-deep);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.home-estimate__form input::placeholder {
  color: #6b7280;
}

.home-estimate__form select {
  width: 100%;
  padding: 13px 40px 13px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  margin-bottom: 18px;
  font-size: 15px;
  color: var(--home-navy-deep);
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239ca3af' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6L1.41 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  appearance: none;
  cursor: pointer;
}

.home-estimate__form select:invalid {
  color: #6b7280;
}

.home-estimate__interests {
  border: none;
  margin: 0 0 18px;
  padding: 0;
  min-width: 0;
}

.home-estimate__interests-legend {
  display: block;
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin: 0 0 12px;
  padding: 0;
}

/* Interest widget: search + dropdown + pills (native select is visually hidden for FormData) */
.home-estimate__interest-widget {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.home-estimate__interests-select--native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-estimate__interests-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 0;
}

.home-estimate__interest-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 10px 6px 12px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--home-navy);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(201, 174, 130, 0.65);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.home-estimate__interest-pill:hover {
  background: #ffffff;
  border-color: var(--home-tan);
}

.home-estimate__interest-pill__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-estimate__interest-pill__remove {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.75;
}

.home-estimate__interests-field {
  position: relative;
  min-width: 0;
}

.home-estimate__interests-search {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #0f172a;
  background-color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  box-sizing: border-box;
}

.home-estimate__interests-search::placeholder {
  color: #64748b;
}

.home-estimate__interests-search:focus {
  outline: 2px solid var(--home-tan);
  outline-offset: 2px;
}

.home-estimate__interests-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 40;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid rgba(12, 39, 69, 0.15);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.home-estimate__interests-dropdown__item {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  cursor: pointer;
  transition: background 0.12s;
}

.home-estimate__interests-dropdown__item:hover,
.home-estimate__interests-dropdown__item:focus {
  background: rgba(201, 174, 130, 0.2);
  outline: none;
}

.home-estimate__interests-hint {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.home-estimate__interests-hint kbd {
  display: inline-block;
  padding: 1px 6px;
  font-size: 11px;
  font-family: inherit;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.home-estimate__interests-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin-bottom: 6px;
}

@media (max-width: 575px) {
  .home-estimate__interests-grid {
    grid-template-columns: 1fr;
  }
}

.home-estimate__interest-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.98);
}

.home-estimate__interest-item input {
  margin: 2px 0 0;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  accent-color: var(--home-tan);
  cursor: pointer;
}

.home-estimate__interests-error {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #fecaca;
}

.home-estimate__interests--error .home-estimate__interests-grid {
  outline: 1px solid rgba(248, 113, 113, 0.85);
  outline-offset: 4px;
  border-radius: 8px;
  padding: 8px 8px 4px;
}

.home-estimate__interests--error .home-estimate__interests-field {
  outline: 2px solid rgba(248, 113, 113, 0.9);
  outline-offset: 3px;
  border-radius: 10px;
}

.home-estimate__row--cityzip {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 0 16px;
  margin-bottom: 0;
}

.home-estimate__row--cityzip .home-estimate__field {
  min-width: 0;
}

.home-estimate__row--cityzip input {
  margin-bottom: 18px;
}

@media (max-width: 575px) {
  .home-estimate__row--cityzip {
    grid-template-columns: 1fr;
  }
}

.home-estimate__checkbox-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 6px 0 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.95);
}

.home-estimate__checkbox-label input {
  margin: 3px 0 0;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  accent-color: var(--home-tan);
  cursor: pointer;
}

.home-estimate__checkbox-label a {
  color: var(--home-tan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-estimate__checkbox-label a:hover {
  color: #dfc89a;
}

.home-estimate__submit {
  width: 100%;
  padding: 15px 20px;
  margin-top: 22px;
  background: var(--home-tan);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, transform 0.15s;
}

.home-estimate__submit:hover {
  background: var(--home-tan-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* —— Brands (carousel) —— */
.home-brands {
  background: var(--home-cream);
  padding: 48px 20px 56px;
  text-align: center;
}

.home-brands h2 {
  color: var(--home-tan);
  font-size: clamp(1.2rem, 2.5vw, 3.05rem);
  font-weight: 800;
  margin: 0 0 24px;
}

.home-brands__stage {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  padding: 0 36px;
}

.home-brands__nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.home-brands__prev,
.home-brands__next {
  pointer-events: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(12, 39, 69, 0.14);
  background: rgba(255, 255, 255, 0.95);
  color: var(--home-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(12, 39, 69, 0.08);
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}

.home-brands__prev:hover,
.home-brands__next:hover {
  background: var(--home-navy);
  color: var(--home-white);
  border-color: var(--home-navy);
  transform: scale(1.05);
}

.home-brands__swiper {
  overflow: hidden;
}

.home-brands__swiper .swiper-slide {
  width: 148px;
  height: auto;
  display: flex;
}

@media (min-width: 480px) {
  .home-brands__swiper .swiper-slide {
    width: 168px;
  }
}

.home-brands__logo-cell {
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  border: 1px solid rgba(12, 39, 69, 0.07);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.home-brands__logo-cell img {
  display: block;
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: grayscale(0.04);
  opacity: 0.92;
  transition: opacity 0.2s;
}

.home-brands__logo-cell:hover img {
  opacity: 1;
}

/* Phones: wider slides = fewer logos visible at once (easier to tap arrows) */
@media (max-width: 767px) {
  .home-brands__swiper .swiper-slide {
    width: min(76vw, 280px);
  }
}

@media (max-width: 575px) {
  .home-brands__stage {
    padding: 0 28px;
  }
}

/* —— Footer —— */
/* Photo = real <img> (same src pattern as footer logo) so it always loads; scrim on top for text contrast. */
.home-footer {
  position: relative;
  background-color: var(--home-footer);
  color: rgba(255, 255, 255, 0.92);
  padding: 0;
  overflow: hidden;
}

.home-footer__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-footer__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  filter: blur(3px);
  transform: scale(1.07);
  transform-origin: center center;
  display: block;
}

.home-footer__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 14, 0.48) 0%,
    rgba(8, 10, 13, 0.62) 100%
  );
}

.home-footer__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 20px 26px;
}

.home-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(148px, auto) minmax(0, 1fr);
  gap: clamp(26px, 3.5vw, 48px);
  align-items: start;
  margin: 0 auto 32px;
}

.home-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 120px;
  text-align: left;
}

.home-footer__nav a {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 16px;
  color: #ffffff !important;
  text-decoration: none;
}

.home-footer__nav a:hover {
  color: var(--home-tan) !important;
  text-decoration: none;
}

.home-footer__social {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: #0a1624 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s, background 0.15s, color 0.15s;
}

.home-footer__social a:hover {
  transform: translateY(-2px);
  background: var(--home-tan);
  color: #ffffff !important;
  text-decoration: none !important;
}

.home-footer__license {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ROC seal beside license copy (footer loads on all pages; sizes scoped here) */
.home-footer__license .builder-hero__title-badge {
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.28));
}

.home-footer__license .builder-hero__title-badge--roc {
  width: 72px;
  height: 72px;
}

.home-footer__license-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 575px) {
  .home-footer__license .builder-hero__title-badge--roc {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 991px) {
  .home-footer__grid {
    grid-template-columns: 1fr;
  }

  .home-footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px 18px;
    padding: 8px 0 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .home-footer__nav a {
    font-size: 14px;
  }
}

.home-footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.home-footer a:hover {
  text-decoration: underline;
  font-weight: bold;
}

.home-footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.home-footer__seal {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.home-footer__title {
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 3.05rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.home-footer .home-footer__ready {
  margin: 0 0 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 16px;
  color: #ffffff;
}

.home-footer__cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}

.home-footer__phone-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--home-tan);
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, transform 0.15s;
}

.home-footer__phone-circle:hover {
  background: var(--home-tan-hover);
  transform: translateY(-1px);
  color: #ffffff !important;
}

.home-footer__estimate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  background: var(--home-tan);
  color: #ffffff !important;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 11px;
  border-radius: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, transform 0.15s;
}

.home-footer__estimate-btn:hover {
  background: var(--home-tan-hover);
  transform: translateY(-1px);
  color: #ffffff !important;
  text-decoration: none;
}

.home-footer__contacts {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.home-footer__contacts li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.95);
}

.home-footer__contacts li i {
  width: 18px;
  text-align: center;
  opacity: 0.92;
}

.home-footer__contacts li .home-footer__tel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
  opacity: 0.92;
}

.home-footer__contacts li .home-footer__tel-icon:hover {
  opacity: 1;
  color: var(--home-tan);
}

.home-footer__contacts li span {
  opacity: 0.92;
  font-weight: bold;
}

.home-footer .home-footer__hours {
  margin-top: 8px;
  color: #ffffff;
}

.home-footer .home-footer__hours-title {
  margin: 0 0 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 16px;
  color: #ffffff;
}

.home-footer .home-footer__hours p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
  font-weight: bold;
}

.home-footer .home-footer__visit-title {
  margin: 0 0 6px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 16px;
  text-align: left;
  color: #ffffff;
}

.home-footer__address {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.95);
}

.home-footer__address i {
  opacity: 0.95;
}

.home-footer__address a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-footer__address a:hover {
  color: #ffffff;
}

.home-footer__map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.home-footer__map iframe {
  display: block;
  width: 100%;
  height: min(330px, 52vw);
  min-height: 260px;
  border: 0;
}

.home-footer .home-footer__tagline {
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
  color: #ffffff;
  opacity: 0.92;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  max-width: none;
}

/* —— Showroom map modal (Google Maps popup) —— */
body.showroom-map-modal--open {
  overflow: hidden;
}

.showroom-map-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.showroom-map-modal.showroom-map-modal--visible {
  display: flex !important;
}

.showroom-map-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(8, 26, 46, 0.72);
  backdrop-filter: blur(2px);
}

.showroom-map-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
}

.showroom-map-modal__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 56px 18px 18px;
  background: var(--home-navy);
  color: #ffffff;
}

.showroom-map-modal__title {
  margin: 0;
  width: 100%;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  text-align: center;
}

.showroom-map-modal__close {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.showroom-map-modal__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.showroom-map-modal__frame-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 200px;
  background: #e8eaed;
}

.showroom-map-modal__iframe {
  display: block;
  width: 100%;
  height: min(52vh, 440px);
  min-height: 280px;
  border: 0;
}

.showroom-map-modal__external {
  margin: 0;
  padding: 12px 18px 16px;
  text-align: center;
  font-size: 14px;
  background: #f7f4ee;
  border-top: 1px solid rgba(12, 39, 69, 0.08);
}

.showroom-map-modal__external a {
  color: var(--home-navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.showroom-map-modal__external a:hover {
  color: var(--home-navy-deep);
}

/* —— Home page: estimate form AJAX (no redirect; success toast auto-hides after 5s) —— */
body.page-home.home-2026 .home-estimate-ajax-success {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 99990;
  max-width: min(420px, calc(100vw - 32px));
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.page-home.home-2026 .home-estimate-ajax-success[hidden],
body.page-home.home-2026 .home-estimate-ajax-error[hidden] {
  display: none !important;
}

body.page-home.home-2026 .home-estimate-ajax-success p {
  margin: 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(34, 139, 87, 0.95);
  border: 1px solid rgba(20, 100, 60, 0.45);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

body.page-home.home-2026 .home-estimate-ajax-error {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 20px 0;
}

body.page-home.home-2026 .home-estimate-ajax-error p {
  margin: 0;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(180, 40, 40, 0.1);
  border: 1px solid rgba(180, 40, 40, 0.35);
  color: #6b1d1d;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

body.page-home.home-2026 .home-estimate__form-wrap {
  position: relative;
}

body.page-home.home-2026 .home-estimate-ajax-loading {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 28px;
  background: rgba(8, 26, 46, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

body.page-home.home-2026 .home-estimate-ajax-loading[hidden] {
  display: none !important;
}

body.page-home.home-2026 .home-estimate-ajax-loading__spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--home-tan);
  border-radius: 50%;
  animation: home-estimate-ajax-spin 0.75s linear infinite;
}

body.page-home.home-2026 .home-estimate-ajax-loading__label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes home-estimate-ajax-spin {
  to {
    transform: rotate(360deg);
  }
}

body.page-home.home-2026 .home-estimate__form[aria-busy="true"] {
  pointer-events: none;
}

body.page-home.home-2026 .home-estimate__submit:disabled {
  opacity: 0.75;
  cursor: wait;
}

/* —— Global mobile refinements (2026 pages, phones & small tablets) —— */
@media (max-width: 767px) {
  .home-header__top-inner {
    padding: 10px 14px;
    gap: 10px;
  }

  .home-header__nav-inner a {
    padding: 14px 16px;
    font-size: 12px;
  }

  .home-projects {
    padding: 56px 14px 40px;
  }

  .home-projects__title {
    margin-bottom: 28px;
  }

  .home-project-card__btn {
    padding: 11px 24px;
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
  }

  .home-brands {
    padding: 40px 14px 48px;
  }

  .home-reviews {
    padding: 52px 14px 60px;
  }

  .home-footer__inner {
    padding: 48px 14px 22px;
  }

  .home-estimate {
    padding: 64px 14px 72px;
  }

  .home-showroom__panel {
    padding: clamp(24px, 5vw, 40px) 18px;
  }
}

@media (max-width: 575px) {
  .home-btn--estimate {
    padding: 9px 12px;
    font-size: 11px;
    letter-spacing: 0.05em;
  }

  .home-hero__title {
    font-size: clamp(2.6rem, 12.8vw, 4.1rem);
  }

  .home-hero__subtitle {
    font-size: clamp(1.2rem, 4.8vw, 1.6rem);
    line-height: 1.35;
  }

  .home-hero__legend {
    font-size: 1rem;
  }

  .home-project-card__body h3 {
    font-size: 1.25rem;
  }

  .home-estimate__kicker {
    font-size: 1.05rem;
  }

  .home-brands h2 {
    font-size: 1.65rem;
  }

  .home-hero__cta {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    /* Mobile only: nudge CTA down without changing hero height */
    position: relative;
    top: 18px;
  }

  .home-hero__phone-btn {
    align-self: center;
  }

  .home-hero__showroom-btn {
    width: auto;
    justify-content: center;
    padding: 12px 14px;
    font-size: 12px;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }
}

/* —— Promo: free grout & thin-set (INSTALLSAVE) — modal on home + services —— */
.installsave-offer-modal[hidden] {
  display: none !important;
}

.installsave-offer-modal {
  position: fixed;
  inset: 0;
  z-index: 10000200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  box-sizing: border-box;
}

.installsave-offer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.72);
  cursor: pointer;
}

.installsave-offer-modal__panel {
  position: relative;
  z-index: 1;
  max-width: min(560px, 100%);
  max-height: min(92vh, 920px);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  background: #f4f2ed;
}

.installsave-offer-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--home-navy, #0c2745);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, transform 0.2s, color 0.2s;
}

.installsave-offer-modal__close:hover {
  background: var(--home-navy, #0c2745);
  color: #fff;
  transform: scale(1.04);
}

.installsave-offer-modal__link {
  display: block;
  line-height: 0;
  outline: none;
}

.installsave-offer-modal__link:focus-visible {
  box-shadow: 0 0 0 3px rgba(224, 142, 58, 0.85);
  border-radius: 0 0 18px 18px;
}

.installsave-offer-modal__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.installsave-offer-modal__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.installsave-offer-modal--open,
html.installsave-offer-modal--open {
  overflow: hidden;
}
