/* PHX Door & Trim design flow refresh - 2026-05-15 */
:root {
  --phx-ink: #141619;
  --phx-wood: #8f4a23;
  --phx-copper: #bf6a2b;
  --phx-brass: #e5b66a;
  --phx-paper: #fffaf4;
  --phx-mist: #f4efe8;
  --phx-line: rgba(20, 22, 25, 0.12);
  --phx-shadow: 0 24px 70px rgba(20, 22, 25, 0.14);
}

html {
  scroll-padding-top: 92px;
}

body {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(244, 239, 232, 0.98)),
    var(--phx-paper) !important;
  color: var(--phx-ink) !important;
  overflow-x: hidden;
}

header {
  background: rgba(255, 250, 244, 0.9) !important;
  border-bottom: 1px solid rgba(20, 22, 25, 0.08) !important;
}

.brand,
.logo,
.logo a {
  letter-spacing: 0 !important;
}

.nav-links a,
.header-call,
.phone-link,
.nav-book {
  min-height: 42px;
  align-items: center;
}

.phx-home .nav-links a[href="/blog"],
.phx-home .nav-links a[href="#faq"],
.phx-home .nav-links a[href="#areas"],
.phx-home .nav-links a[href="#projects"],
.phx-home .nav-links a[href="/contact"],
.phx-home .nav-links a[href="/about"],
.phx-home .nav-links a[href="/gallery"],
.phx-home .nav-links a[href="#process"],
.phx-home .nav-book {
  display: none !important;
}

.phx-home .nav-links {
  gap: 0.4rem !important;
}

.phx-home .nav-links a {
  padding-inline: 0.72rem !important;
}

.header-call {
  white-space: nowrap;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 0.74rem 1rem !important;
  border-radius: 999px !important;
}

.header-call,
.nav-book,
.phone-link,
.btn-primary,
.submit-button,
.btn-submit-quote {
  background: linear-gradient(135deg, #c97532, #f1b35f) !important;
  color: #171717 !important;
  border: 0 !important;
  box-shadow: 0 12px 28px rgba(143, 74, 35, 0.22) !important;
}

.btn-secondary {
  border-color: rgba(20, 22, 25, 0.2) !important;
  background: rgba(255, 255, 255, 0.82) !important;
}

.floating-cta,
.floating-phone {
  border-radius: 999px !important;
  box-shadow: 0 18px 40px rgba(20, 22, 25, 0.22) !important;
}

body:has(.hero-grid) .floating-cta {
  display: none !important;
}

.sticky-cta {
  position: static !important;
  display: flex !important;
  max-width: 1120px;
  margin: 2rem auto !important;
  border-radius: 8px;
}

/* Homepage */
body:has(.hero-grid) .hero {
  min-height: auto;
  display: grid;
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(1.4rem, 3vw, 2.4rem) !important;
  background:
    linear-gradient(90deg, rgba(20, 22, 25, 0.82), rgba(20, 22, 25, 0.56) 42%, rgba(20, 22, 25, 0.1)),
    url("/assets/images/interior-doors-phoenix-showroom-warehouse-arizona.jpg") center/cover no-repeat !important;
  color: #fff !important;
}

body:has(.hero-grid) .hero h1,
body:has(.hero-grid) .hero p,
body:has(.hero-grid) .hero li,
body:has(.hero-grid) .hero .hero-tagline {
  color: #fff !important;
}

body:has(.hero-grid) .hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr) !important;
  align-items: center !important;
}

body:has(.hero-grid) .hero h1 {
  max-width: 720px;
  font-size: clamp(2.45rem, 5.5vw, 4.2rem) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  margin-bottom: 1.1rem !important;
}

.hero-lead {
  max-width: 680px !important;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem) !important;
  line-height: 1.6 !important;
}

.hero-tagline,
.overline,
.section-kicker {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  width: fit-content;
  color: var(--phx-copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-cta-row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.85rem !important;
  margin: 1.7rem 0 1rem !important;
}

.hero-note {
  color: rgba(255, 255, 255, 0.78) !important;
}

.hero-stats {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem !important;
  max-width: 760px;
}

body:has(.hero-grid) .hero-stats {
  display: none !important;
}

.hero-stat,
.proof-card,
.service-card,
.process-step,
.testimonial,
.detail-box,
.area-card,
.project-card,
.contact-form,
.contact-info,
.quote-form-content {
  border: 1px solid var(--phx-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 34px rgba(20, 22, 25, 0.08) !important;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  backdrop-filter: blur(14px);
}

.hero-stat strong {
  color: var(--phx-brass) !important;
}

.hero-media {
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: var(--phx-shadow) !important;
}

.hero-media video,
.hero-media img {
  border-radius: 0 !important;
  min-height: 460px;
  object-fit: cover;
}

.hero-media-card,
.hero-badge {
  border-radius: 8px !important;
}

body:has(.hero-grid) .hero .hero-stat {
  background: rgba(20, 22, 25, 0.58) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

body:has(.hero-grid) .hero li {
  background: rgba(20, 22, 25, 0.48) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(10px);
}

body:has(.hero-grid) .hero ul {
  display: none !important;
}

body:has(.hero-grid) .hero .hero-media-card {
  left: 1rem !important;
  top: 1rem !important;
  max-width: 280px !important;
}

body:has(.hero-grid) .hero .hero-badge {
  right: 1rem !important;
  bottom: 1rem !important;
  max-width: min(380px, calc(100% - 2rem));
  background: rgba(20, 22, 25, 0.78) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(12px);
}

body:has(.hero-grid) .hero .hero-badge strong {
  color: var(--phx-brass) !important;
}

.phx-hero-app {
  display: grid;
  gap: 0.85rem;
  padding: clamp(0.85rem, 2vw, 1rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(20, 22, 25, 0.62);
  box-shadow: var(--phx-shadow);
  backdrop-filter: blur(16px);
}

.phx-hero-app-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.phx-hero-app-head span,
.phx-hero-app-head small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.phx-hero-app-head strong {
  display: block;
  max-width: 330px;
  margin-top: 0.2rem;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.25;
}

.phx-hero-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  grid-auto-rows: 145px;
  gap: 0.65rem;
}

.phx-hero-product {
  position: relative;
  display: block;
  min-height: 145px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f2eee8);
  color: #fff;
  cursor: pointer;
}

.phx-hero-product.is-featured {
  grid-row: span 2;
}

.phx-hero-product-image,
.phx-product-image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.22s ease;
}

.phx-hero-product:hover .phx-hero-product-image,
.phx-product-image-button:hover .phx-product-image {
  transform: scale(1.035);
}

.phx-hero-product::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 25, 0) 40%, rgba(20, 22, 25, 0.84));
}

.phx-hero-product-copy {
  position: absolute;
  z-index: 1;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.75rem;
}

.phx-hero-product-copy small,
.phx-hero-product-copy strong {
  display: block;
  color: #fff;
}

.phx-hero-product-copy small {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.phx-hero-product-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.98rem;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.phx-hero-product.is-featured .phx-hero-product-copy strong {
  font-size: 1.22rem;
}

.phx-hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.phx-hero-actions a,
.phx-hero-actions button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.phx-hero-cart {
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--phx-ink);
}

.phx-hero-cart span {
  display: block;
  color: rgba(20, 22, 25, 0.58);
  font-size: 0.78rem;
}

.phx-hero-cart strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.2;
}

.phx-quote-app-section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: linear-gradient(180deg, #fffaf4, #f5eee6);
}

.phx-builder-section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: #fffaf4;
}

.phx-door-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
  margin-top: 1.5rem;
}

.phx-builder-panel,
.phx-builder-preview {
  border: 1px solid var(--phx-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 22, 25, 0.08);
}

.phx-builder-panel {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.phx-builder-field {
  display: grid;
  gap: 0.45rem;
}

.phx-builder-field label {
  color: var(--phx-ink);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.phx-builder-field input,
.phx-builder-field select {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(20, 22, 25, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--phx-ink);
  font: inherit;
}

.phx-builder-field input:disabled,
.phx-builder-field select:disabled {
  background: #f4f2ee;
  color: rgba(20, 22, 25, 0.42);
}

.phx-builder-product-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 0.65rem;
  margin-top: 0.9rem;
  max-height: 520px;
  overflow: auto;
  padding-right: 0.25rem;
}

.phx-builder-product-choice {
  display: grid;
  grid-template-rows: 96px auto;
  gap: 0.5rem;
  min-height: 178px;
  padding: 0.5rem;
  border: 1px solid rgba(20, 22, 25, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--phx-ink);
  text-align: left;
  cursor: pointer;
}

.phx-builder-product-choice.is-active {
  border-color: var(--phx-copper);
  box-shadow: 0 0 0 2px rgba(191, 106, 43, 0.18);
}

.phx-builder-choice-image,
.phx-builder-preview-image {
  display: block;
  background-color: #f3f0ea;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.phx-builder-choice-image {
  width: 100%;
  min-height: 96px;
  border-radius: 6px;
}

.phx-builder-product-choice strong,
.phx-builder-product-choice small {
  display: block;
}

.phx-builder-product-choice strong {
  display: -webkit-box;
  min-height: 40px;
  overflow: hidden;
  color: var(--phx-ink);
  font-size: 0.84rem;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.phx-builder-product-choice small {
  color: rgba(20, 22, 25, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
}

.phx-builder-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding: 0.4rem;
  border: 1px solid rgba(20, 22, 25, 0.1);
  border-radius: 8px;
  background: #fffaf4;
}

.phx-builder-toggle button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(20, 22, 25, 0.68);
  cursor: pointer;
  font-weight: 900;
}

.phx-builder-toggle button.is-active {
  background: linear-gradient(135deg, #c97532, #f1b35f);
  color: #171717;
}

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

.phx-builder-row.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.phx-builder-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.phx-builder-checks label {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  min-height: 58px;
  gap: 0.58rem;
  align-items: center;
  padding: 0.68rem;
  border: 1px solid rgba(20, 22, 25, 0.1);
  border-radius: 8px;
  background: #fff;
  color: var(--phx-ink);
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.phx-builder-checks input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.phx-check-ui {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20, 22, 25, 0.2);
  border-radius: 6px;
  background: #fffaf4;
}

.phx-check-ui::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #171717;
  border-bottom: 2px solid #171717;
  opacity: 0;
  transform: rotate(-45deg) translateY(-1px);
}

.phx-builder-checks strong,
.phx-builder-checks small {
  display: block;
}

.phx-builder-checks strong {
  font-size: 0.85rem;
  line-height: 1.15;
}

.phx-builder-checks small {
  margin-top: 0.14rem;
  color: rgba(20, 22, 25, 0.58);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.2;
}

.phx-builder-checks label:has(input:checked) {
  border-color: rgba(201, 117, 50, 0.7);
  background: #fff7ed;
  box-shadow: 0 0 0 2px rgba(201, 117, 50, 0.14);
}

.phx-builder-checks input:checked + .phx-check-ui {
  border-color: #c97532;
  background: linear-gradient(135deg, #c97532, #f1b35f);
}

.phx-builder-checks input:checked + .phx-check-ui::after {
  opacity: 1;
}

.phx-builder-preview {
  position: sticky;
  top: 94px;
  padding: clamp(1rem, 2vw, 1.6rem);
}

.phx-builder-preview-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(20, 22, 25, 0.1);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.phx-builder-preview h3 {
  margin: 0.3rem 0 0.55rem;
  color: var(--phx-ink);
  font-size: 1.5rem;
  line-height: 1.12;
}

.phx-builder-preview p {
  color: rgba(20, 22, 25, 0.68);
}

.phx-builder-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 1rem 0;
}

.phx-builder-stats span {
  padding: 0.75rem;
  border: 1px solid rgba(20, 22, 25, 0.1);
  border-radius: 8px;
  background: #fffaf4;
  color: rgba(20, 22, 25, 0.58);
  font-size: 0.82rem;
}

.phx-builder-stats strong {
  display: block;
  color: var(--phx-ink);
  font-size: 0.95rem;
}

.phx-builder-add {
  width: 100%;
}

.phx-app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}

.phx-product-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(190px, 260px);
  gap: 0.85rem;
  margin: 1.25rem 0 1rem;
  padding: 1rem;
  border: 1px solid var(--phx-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 22, 25, 0.06);
}

.phx-product-toolbar label {
  display: grid;
  gap: 0.4rem;
  color: var(--phx-ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.phx-product-toolbar input,
.phx-product-toolbar select {
  min-height: 46px;
  width: 100%;
  border: 1px solid rgba(20, 22, 25, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--phx-ink);
  font: inherit;
  padding: 0.65rem 0.75rem;
}

.phx-product-count {
  margin: 0 0 1rem;
  color: rgba(20, 22, 25, 0.62);
  font-weight: 800;
}

.phx-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.phx-product-card {
  display: grid;
  gap: 0.72rem;
  padding: 1rem;
  border: 1px solid var(--phx-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 22, 25, 0.07);
}

.phx-product-image-button {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(20, 22, 25, 0.08);
  border-radius: 8px;
  background: #f3f0ea;
  cursor: pointer;
}

.phx-product-family {
  color: var(--phx-wood);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.phx-product-card h3 {
  margin: 0;
  color: var(--phx-ink);
  font-size: 1.18rem;
  line-height: 1.18;
}

.phx-product-card p {
  margin: 0;
  color: rgba(20, 22, 25, 0.68);
  line-height: 1.5;
}

.phx-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.phx-product-meta span {
  border: 1px solid rgba(20, 22, 25, 0.09);
  border-radius: 999px;
  background: #fffaf4;
  color: rgba(20, 22, 25, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.3rem 0.55rem;
}

.phx-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: auto;
}

.phx-primary-button,
.phx-secondary-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font: inherit;
  font-weight: 850;
  line-height: 1.1;
  cursor: pointer;
  text-decoration: none;
}

.phx-primary-button {
  border: 0;
  background: linear-gradient(135deg, #c97532, #f1b35f);
  color: #171717;
}

.phx-secondary-button {
  border: 1px solid rgba(20, 22, 25, 0.14);
  background: #fff;
  color: var(--phx-ink);
}

.phx-quote-panel {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 0.82rem;
  padding: 0.92rem;
  border: 1px solid var(--phx-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 22, 25, 0.08);
  font-size: 0.9rem;
  max-height: calc(100vh - 112px);
  overflow: auto;
  overscroll-behavior: contain;
}

.phx-quote-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: start;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(20, 22, 25, 0.08);
}

.phx-quote-panel .section-kicker {
  margin-bottom: 0.25rem;
  font-size: 0.68rem;
}

.phx-quote-panel h3 {
  margin: 0;
  color: var(--phx-ink);
  font-size: 1.24rem;
  line-height: 1.14;
}

.phx-quote-panel-head p:not(.section-kicker) {
  margin: 0.38rem 0 0;
  color: rgba(20, 22, 25, 0.64);
  font-size: 0.84rem;
  line-height: 1.4;
}

.phx-quote-panel-head > span {
  display: grid;
  min-width: 74px;
  justify-items: center;
  padding: 0.58rem 0.62rem;
  border: 1px solid rgba(201, 117, 50, 0.24);
  border-radius: 8px;
  background: #fff7ed;
  color: rgba(20, 22, 25, 0.58);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.05;
  text-transform: uppercase;
}

.phx-quote-panel-head > span strong {
  color: var(--phx-ink);
  font-size: 1.45rem;
  line-height: 1;
}

.phx-quote-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.phx-quote-steps span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.45rem;
  border: 1px solid rgba(20, 22, 25, 0.08);
  border-radius: 8px;
  background: #fffaf4;
  color: rgba(20, 22, 25, 0.68);
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
}

.phx-quote-list {
  display: grid;
  gap: 0.45rem;
}

.phx-empty-list {
  margin: 0;
  padding: 0.78rem;
  border: 1px dashed rgba(201, 117, 50, 0.34);
  border-radius: 8px;
  background: #fffaf4;
  color: rgba(20, 22, 25, 0.64);
  font-size: 0.86rem;
  line-height: 1.4;
}

.phx-quote-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0.6rem;
  border: 1px solid rgba(20, 22, 25, 0.09);
  border-left: 3px solid rgba(201, 117, 50, 0.55);
  border-radius: 8px;
  background: #fff;
}

.phx-quote-item strong,
.phx-quote-item small,
.phx-quote-item span {
  display: block;
}

.phx-quote-item small,
.phx-quote-item span {
  color: rgba(20, 22, 25, 0.58);
  font-size: 0.76rem;
  line-height: 1.28;
}

.phx-quote-item strong {
  color: var(--phx-ink);
  font-size: 0.9rem;
  line-height: 1.18;
}

.phx-qty-control {
  display: grid;
  grid-template-columns: 50px minmax(54px, auto) auto;
  gap: 0.3rem;
  align-items: center;
}

.phx-qty-control input {
  width: 50px;
  min-height: 30px;
  border: 1px solid rgba(20, 22, 25, 0.14);
  border-radius: 6px;
  padding: 0.22rem 0.35rem;
  font-size: 0.84rem;
}

.phx-qty-control input:disabled {
  opacity: 0.65;
}

.phx-qty-control span {
  color: rgba(20, 22, 25, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
}

.phx-qty-control button {
  border: 0;
  background: transparent;
  color: var(--phx-wood);
  cursor: pointer;
  font-weight: 850;
  font-size: 0.74rem;
  padding: 0;
}

.phx-questionnaire {
  display: grid;
  gap: 0.68rem;
  max-height: 310px;
  overflow: auto;
  padding-right: 0.15rem;
}

.phx-questionnaire fieldset {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding: 0.68rem;
  border: 1px solid rgba(20, 22, 25, 0.1);
  border-radius: 8px;
  background: #fffaf4;
}

.phx-questionnaire legend {
  padding: 0 0.3rem;
  color: var(--phx-ink);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.phx-questionnaire fieldset label {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.42rem;
  align-items: center;
  min-height: 38px;
  padding: 0.42rem 0.5rem;
  border: 1px solid rgba(20, 22, 25, 0.08);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  color: rgba(20, 22, 25, 0.74);
  font-size: 0.84rem;
  font-weight: 780;
  line-height: 1.25;
}

.phx-questionnaire fieldset label:has(input[type="radio"]:checked) {
  border-color: rgba(201, 117, 50, 0.58);
  background: #fff7ed;
  box-shadow: 0 0 0 2px rgba(201, 117, 50, 0.12);
}

.phx-questionnaire > label {
  display: grid;
  gap: 0.42rem;
  color: var(--phx-ink);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.phx-questionnaire input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #c97532;
}

.phx-questionnaire textarea {
  min-height: 108px;
  width: 100%;
  resize: vertical;
  border: 1px solid rgba(20, 22, 25, 0.16);
  border-radius: 8px;
  padding: 0.65rem 0.7rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.35;
}

.phx-questionnaire textarea::placeholder {
  color: rgba(20, 22, 25, 0.54);
  font-weight: 600;
}

.phx-quote-summary {
  min-height: 0;
  max-height: 132px;
  overflow: auto;
  white-space: pre-wrap;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(20, 22, 25, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffaf4, #fff);
  color: rgba(20, 22, 25, 0.66);
  font-size: 0.8rem;
  line-height: 1.4;
}

.phx-quote-action-note {
  margin: -0.15rem 0 0;
  color: rgba(20, 22, 25, 0.56);
  font-size: 0.78rem;
  line-height: 1.35;
}

.phx-quote-panel-actions {
  position: sticky;
  bottom: -0.92rem;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(68px, auto);
  gap: 0.42rem;
  margin-inline: -0.15rem;
  padding: 0.55rem 0.15rem 0.92rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), #fff 34%);
}

.phx-quote-panel-actions .phx-primary-button,
.phx-quote-panel-actions .phx-secondary-button {
  min-height: 44px;
  padding-inline: 0.8rem;
  font-size: 0.86rem;
}

.phx-product-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.phx-product-modal.is-open {
  display: flex;
}

.phx-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 22, 25, 0.74);
  cursor: pointer;
}

.phx-modal-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1fr);
  width: min(980px, 96vw);
  max-height: min(760px, 92vh);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3);
}

.phx-modal-image {
  min-height: 430px;
  background-color: #f3f0ea;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.phx-modal-body {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.phx-modal-body h2 {
  margin: 0;
  color: var(--phx-ink);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1;
}

.phx-modal-body h3 {
  margin: 0;
  color: var(--phx-ink);
  font-size: 1rem;
}

.phx-modal-body p,
.phx-modal-body li {
  color: rgba(20, 22, 25, 0.68);
}

.phx-modal-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.phx-modal-specs div {
  padding: 0.8rem;
  border: 1px solid rgba(20, 22, 25, 0.1);
  border-radius: 8px;
  background: #fffaf4;
}

.phx-modal-specs span,
.phx-modal-family {
  display: block;
  color: var(--phx-wood);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.phx-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.phx-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--phx-ink);
  box-shadow: 0 12px 26px rgba(20, 22, 25, 0.16);
  cursor: pointer;
  font-size: 1.2rem;
}

body.phx-modal-open {
  overflow: hidden;
}

.price {
  display: none !important;
}

.proof-grid {
  margin-top: clamp(1.4rem, 3vw, 2.5rem) !important;
}

.proof-card span,
.stat-number {
  color: var(--phx-wood) !important;
}

#services,
#process,
#projects,
#areas,
#faq,
#contact {
  padding-top: clamp(3rem, 7vw, 5.5rem) !important;
  padding-bottom: clamp(3rem, 7vw, 5.5rem) !important;
}

#services h2,
#process h2,
#projects h2,
#areas h2,
#faq h2,
#contact h2,
.service-page-flow h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem) !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

.section-intro {
  max-width: 780px !important;
  font-size: 1.08rem !important;
  color: rgba(20, 22, 25, 0.72) !important;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.service-card {
  background: #fff !important;
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.service-card h3 {
  color: var(--phx-ink) !important;
}

.service-card p,
.service-card li {
  color: rgba(20, 22, 25, 0.72) !important;
}

.service-card::before {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--phx-copper), var(--phx-brass));
  border-radius: 999px;
}

.service-links {
  background: var(--phx-ink) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: clamp(1.25rem, 3vw, 2rem) !important;
  margin-top: 1.6rem !important;
}

.service-links a {
  color: #ffe3bd !important;
}

.wide-panel {
  background:
    linear-gradient(135deg, rgba(20, 22, 25, 0.93), rgba(57, 40, 28, 0.9)),
    url("/assets/images/trim-detail.png") center/cover no-repeat !important;
  color: #fff !important;
}

.wide-panel h2,
.wide-panel h3,
.wide-panel p {
  color: #fff !important;
}

.process-grid {
  counter-reset: step;
}

.process-step {
  position: relative;
  background: #fff !important;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--phx-ink);
  color: #fff;
  font-weight: 800;
}

.projects-grid {
  align-items: stretch;
}

.project-card {
  overflow: hidden;
  background: #fff !important;
}

.project-card img,
.project-card picture img {
  width: 100% !important;
  height: 230px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

.testimonial {
  background: #fff !important;
}

.testimonial p {
  color: rgba(20, 22, 25, 0.78) !important;
}

.testimonial cite {
  color: var(--phx-wood) !important;
}

.testimonial .verified {
  color: rgba(20, 22, 25, 0.58) !important;
}

.contact-card {
  background: linear-gradient(135deg, var(--phx-ink), #3a281e) !important;
  color: #fff !important;
  border-radius: 8px !important;
}

.contact-card h2,
.contact-card p,
.contact-card li,
.contact-card a {
  color: #fff !important;
}

.contact-card form {
  background: #fff !important;
  border-radius: 8px !important;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.contact-card input,
.contact-card textarea,
.contact-card select,
.quick-quote-form input,
.quick-quote-form textarea,
.quick-quote-form select,
.contact-form input,
.contact-form textarea,
.contact-form select {
  border-radius: 8px !important;
  border: 1px solid rgba(20, 22, 25, 0.18) !important;
  background: #fff !important;
  min-height: 48px;
}

.card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 0.6rem;
  color: var(--phx-wood) !important;
  font-weight: 800;
  text-decoration: none;
}

.card-link::after {
  content: " ->";
}

/* Contact page */
body:has(#contact-form) header a,
body:has(#contact-form) header nav a {
  color: var(--phx-ink) !important;
}

body:has(#contact-form) header nav a[href="/blog"] {
  display: none !important;
}

body:has(#contact-form) > .hero {
  min-height: min(620px, calc(100vh - 72px));
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(20, 22, 25, 0.9), rgba(20, 22, 25, 0.62) 56%, rgba(20, 22, 25, 0.22)),
    url("/assets/images/door-and-trim-4.jpg") center/cover no-repeat !important;
  color: #fff !important;
}

body:has(#contact-form) > .hero .container {
  max-width: 940px;
}

body:has(#contact-form) > .hero h1,
body:has(#contact-form) > .hero p,
body:has(#contact-form) > .hero .section-kicker {
  color: #fff !important;
}

body:has(#contact-form) > .hero h1 {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.5rem, 6vw, 4.55rem) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

body:has(#contact-form) > .hero p:not(.section-kicker) {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

body:has(#contact-form) .phone-hero {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 58px;
  padding: 0.95rem 1.45rem !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #c97532, #f1b35f) !important;
  color: #171717 !important;
  box-shadow: 0 18px 38px rgba(20, 22, 25, 0.28) !important;
}

.estimate-hero-note {
  margin-top: 1rem !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.98rem !important;
}

.estimate-section {
  padding-top: clamp(2rem, 5vw, 4rem) !important;
}

.estimate-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem 1.1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(191, 106, 43, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.88);
  box-shadow: 0 12px 30px rgba(20, 22, 25, 0.06);
}

.estimate-intro span,
.form-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  background: rgba(191, 106, 43, 0.12);
  color: var(--phx-wood);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 0.5rem 0.7rem;
  text-transform: uppercase;
}

.estimate-intro strong {
  color: var(--phx-ink);
  font-size: 1.02rem;
}

.estimate-intro p {
  margin: 0 !important;
  color: rgba(20, 22, 25, 0.66) !important;
  font-size: 0.95rem;
}

.contact-grid {
  align-items: start !important;
  gap: clamp(1.25rem, 3vw, 2.5rem) !important;
}

.contact-info,
.contact-form {
  background: #fff !important;
  padding: clamp(1.25rem, 3vw, 2rem) !important;
}

.contact-info::before {
  content: "Experienced local installers";
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(191, 106, 43, 0.12);
  color: var(--phx-wood);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info h3,
.contact-form h3 {
  color: var(--phx-ink) !important;
  letter-spacing: 0 !important;
}

.contact-form h3 {
  margin-top: 0.75rem;
  font-size: clamp(1.9rem, 3vw, 2.55rem) !important;
  line-height: 1.05;
}

.contact-info::before {
  content: none;
}

.estimate-muted,
.estimate-small {
  color: rgba(20, 22, 25, 0.66) !important;
}

.estimate-small {
  margin-top: 0.65rem !important;
  font-size: 0.95rem !important;
  line-height: 1.6;
}

.estimate-steps {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.estimate-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(20, 22, 25, 0.1);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.68);
}

.estimate-step span,
.estimate-trust-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--phx-ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.estimate-step strong {
  color: var(--phx-wood);
  font-size: 1rem;
}

.estimate-step p {
  margin: 0.25rem 0 0 !important;
  color: rgba(20, 22, 25, 0.68) !important;
  line-height: 1.55;
}

.estimate-checklist {
  margin: 1.25rem 0 1.5rem;
  padding: 1.1rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(20, 22, 25, 0.96), rgba(58, 40, 30, 0.93));
  color: #fff;
}

.estimate-checklist strong {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--phx-brass);
}

.estimate-checklist ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.estimate-checklist li {
  position: relative;
  padding-left: 1.25rem;
  color: rgba(255, 255, 255, 0.86);
}

.estimate-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--phx-brass);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  margin-bottom: 0.45rem;
  color: rgba(20, 22, 25, 0.86) !important;
  font-weight: 800 !important;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  color: var(--phx-ink) !important;
  font-size: 1rem !important;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(191, 106, 43, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(191, 106, 43, 0.12) !important;
  outline: none !important;
}

.form-privacy {
  margin-top: 1rem !important;
  color: rgba(20, 22, 25, 0.58) !important;
  font-size: 0.88rem !important;
  line-height: 1.55;
  text-align: center;
}

.estimate-areas {
  background: var(--phx-mist) !important;
}

.centered {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}

.estimate-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.estimate-trust-card {
  min-height: 100%;
  padding: 1.2rem;
  border: 1px solid var(--phx-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 22, 25, 0.07);
}

.estimate-trust-card span {
  margin-bottom: 1rem;
  background: rgba(191, 106, 43, 0.12);
  color: var(--phx-wood);
}

.estimate-trust-card h3 {
  margin-bottom: 0.45rem;
  color: var(--phx-ink) !important;
}

.estimate-trust-card p {
  margin: 0;
  color: rgba(20, 22, 25, 0.68) !important;
  line-height: 1.6;
}

/* Service pages */
body:has(.quick-quote-form) main {
  max-width: none !important;
  padding: 0 !important;
}

body:has(.quick-quote-form) article {
  max-width: none !important;
}

body:has(.quick-quote-form) article > section {
  max-width: 1120px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(1rem, 4vw, 2rem) !important;
  padding-right: clamp(1rem, 4vw, 2rem) !important;
}

body:has(.quick-quote-form) section.hero {
  max-width: none !important;
  margin: 0 0 2rem !important;
  padding: clamp(3rem, 7vw, 5.25rem) clamp(1rem, 4vw, 2rem) !important;
  border-radius: 0 !important;
  background:
    linear-gradient(90deg, rgba(20, 22, 25, 0.88), rgba(20, 22, 25, 0.58)),
    url("/assets/images/door-installation-1.jpg") center/cover no-repeat !important;
  color: #fff !important;
}

body:has(.quick-quote-form) section.hero h1,
body:has(.quick-quote-form) section.hero p {
  color: #fff !important;
  -webkit-text-fill-color: currentColor !important;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

body:has(.quick-quote-form) section.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem) !important;
  letter-spacing: 0 !important;
}

.urgency-badge {
  background: rgba(255, 255, 255, 0.13) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  backdrop-filter: blur(10px);
}

.service-overview,
.project-fit,
.stats-bar,
.quote-form-section,
.city-context,
.why-choose,
.service-types,
.benefits,
.faq-section,
.related-services,
.final-cta {
  background: #fff !important;
  border: 1px solid var(--phx-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 28px rgba(20, 22, 25, 0.07) !important;
  padding: clamp(1.25rem, 3vw, 2rem) !important;
}

.project-fit {
  background: var(--phx-mist) !important;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fit-card {
  background: #fff;
  border: 1px solid var(--phx-line);
  border-radius: 8px;
  padding: 1.1rem;
}

.fit-card strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--phx-wood);
}

.quote-form-section {
  background: linear-gradient(135deg, var(--phx-ink), #37271f) !important;
  color: #fff !important;
}

.quote-form-section h2,
.quote-form-section p {
  color: #fff !important;
}

.quick-quote-form {
  background: #fff !important;
  border-radius: 8px !important;
  padding: clamp(1rem, 3vw, 1.5rem) !important;
}

.why-choose h2,
.service-types h2,
.benefits h2 {
  white-space: normal;
}

.why-choose p,
.service-types p,
.benefits p,
.neighborhoods p {
  color: rgba(20, 22, 25, 0.74) !important;
  line-height: 1.7;
}

.why-choose ul,
.service-types ul,
.benefits ul,
.neighborhoods ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  margin-top: 1.25rem !important;
}

.why-choose li,
.service-types li,
.benefits li,
.neighborhoods li {
  min-height: 46px;
  border: 1px solid rgba(20, 22, 25, 0.1);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.7);
  color: rgba(20, 22, 25, 0.78) !important;
}

.why-choose li strong,
.service-types li strong,
.benefits li strong,
.neighborhoods li strong {
  color: var(--phx-wood);
}

/* Footer */
.site-footer {
  background: #111315 !important;
}

.footer-trust-signals .trust-badge {
  border-radius: 999px !important;
}

@media (max-width: 1040px) {
  .phx-home .hero-grid,
  .phx-door-builder-grid,
  .services-grid,
  .proof-grid,
  .projects-grid,
  .process-grid,
  .testimonial-grid,
  .contact-card,
  .contact-grid,
  .phx-app-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-stats {
    grid-template-columns: 1fr !important;
  }

  .fit-grid {
    grid-template-columns: 1fr !important;
  }

  .why-choose ul,
  .service-types ul,
  .benefits ul,
  .neighborhoods ul,
  .estimate-intro,
  .estimate-trust-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-media video,
  .hero-media img {
    min-height: 320px;
  }

  .phx-quote-panel {
    position: static;
  }

  .phx-builder-preview {
    position: static;
  }
}

@media (max-width: 680px) {
  html,
  body {
    overflow-x: clip;
    width: 100%;
  }

  body.phx-home section:not(.hero) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.phx-home .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 12px !important;
  }

  body.phx-home .grecaptcha-badge {
    transform: scale(0.72);
    transform-origin: bottom right;
  }

  html {
    scroll-padding-top: 74px;
  }

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

  .phx-home .hero {
    min-height: auto;
    padding: 1.45rem 0 1.75rem !important;
    overflow-x: clip;
  }

  .phx-home header .header-inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0.55rem !important;
  }

  .phx-home .brand-block {
    width: auto !important;
    min-width: 0;
  }

  .phx-home .brand {
    font-size: clamp(1.18rem, 6vw, 1.45rem) !important;
  }

  .phx-home .brand-meta {
    display: none !important;
  }

  .phx-home .header-controls {
    order: initial !important;
    width: auto !important;
    justify-content: flex-end !important;
  }

  .phx-home .nav-links {
    grid-column: 1 / -1;
  }

  body.phx-home:has(.hero-grid) .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .phx-home .hero-grid > * {
    min-width: 0;
  }

  .phx-home .hero h1,
  body:has(.quick-quote-form) section.hero h1 {
    font-size: clamp(2rem, 10vw, 2.65rem) !important;
    line-height: 1.03 !important;
  }

  .phx-home .hero-tagline {
    font-size: 0.7rem !important;
    line-height: 1.4 !important;
    max-width: 20rem;
  }

  .phx-home .hero-lead {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  .phx-home .header-call {
    display: none !important;
  }

  .menu-toggle {
    min-height: 44px !important;
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
  }

  .brand {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .phx-home .hero-media {
    margin-top: 1.2rem;
    width: 100% !important;
    max-width: 100% !important;
  }

  .phx-home .phx-hero-app {
    display: none !important;
  }

  .phx-home .hero-note {
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
  }

  .phx-hero-showcase {
    grid-template-columns: 1fr;
    grid-auto-rows: 150px;
  }

  .phx-hero-product.is-featured {
    grid-row: span 1;
  }

  .phx-hero-actions,
  .phx-product-toolbar,
  .phx-builder-product-strip,
  .phx-builder-row,
  .phx-builder-row.two,
  .phx-builder-checks,
  .phx-builder-stats,
  .phx-card-actions,
  .phx-quote-panel-actions,
  .phx-modal-card,
  .phx-modal-specs {
    grid-template-columns: 1fr;
  }

  .phx-modal-card {
    max-height: 90vh;
  }

  .phx-modal-image {
    min-height: 300px;
  }

  .phx-quote-item,
  .phx-qty-control {
    grid-template-columns: 1fr;
  }

  #phx-quote-builder .phx-quote-panel {
    order: -1;
    max-height: none;
    overflow: visible;
  }

  #phx-quote-builder .phx-quote-panel-actions {
    position: static;
    margin-inline: 0;
    padding: 0;
    background: transparent;
  }

  #phx-quote-builder .phx-questionnaire {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .phx-primary-button,
  .phx-secondary-button,
  .phx-quote-panel-actions .phx-primary-button,
  .phx-quote-panel-actions .phx-secondary-button,
  .card-link,
  .site-footer a,
  .footer-links a,
  .nap-link {
    min-width: 44px !important;
    min-height: 44px !important;
    align-items: center;
  }

  .card-link,
  .site-footer a,
  .footer-links a,
  .nap-link {
    display: inline-flex !important;
  }

  .phx-qty-control input,
  .phx-qty-control button {
    width: 100% !important;
    min-height: 44px !important;
  }

  .phx-qty-control button {
    border: 1px solid rgba(20, 22, 25, 0.12) !important;
    border-radius: 8px !important;
    background: #fffaf4 !important;
  }

  .phx-questionnaire fieldset label {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 0.36rem;
    min-height: 44px;
    align-items: center;
  }

  .phx-questionnaire input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-top: 0;
  }

  .service-links a,
  .city-context a,
  .related-services a,
  .neighborhoods a {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .hero-cta-row,
  .cta-buttons {
    flex-direction: column;
  }

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

  body:has(#contact-form) header .logo {
    white-space: nowrap;
  }

  body:has(#contact-form) header .header-content {
    flex-direction: column;
    gap: 0.65rem;
    align-items: center;
  }

  body:has(#contact-form) header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.8rem;
  }

  body:has(#contact-form) header nav a {
    margin: 0 !important;
    font-size: 0.86rem;
  }

  body:has(#contact-form) .contact-form {
    order: -1;
  }

  body:has(#contact-form) > .hero {
    min-height: auto;
    padding: 2.6rem 1rem 2.8rem !important;
  }

  body:has(#contact-form) > .hero h1 {
    font-size: clamp(2rem, 10.5vw, 2.9rem) !important;
    line-height: 1.06 !important;
  }

  body:has(#contact-form) > .hero p:not(.section-kicker) {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  body:has(#contact-form) .phone-hero {
    width: min(100%, 280px) !important;
    min-height: 52px;
    padding: 0.82rem 1rem !important;
    font-size: 1.08rem !important;
    line-height: 1.2 !important;
    white-space: normal;
  }

  body:has(#contact-form) .estimate-hero-note {
    font-size: 0.86rem !important;
    line-height: 1.45 !important;
  }

  body:has(#contact-form) .container {
    padding-inline: 12px !important;
  }

  body:has(#contact-form) .estimate-section,
  body:has(#contact-form) .estimate-areas,
  body:has(#contact-form) .estimate-trust,
  body:has(#contact-form) .seo-depth {
    padding-inline: 0 !important;
  }

  body:has(#contact-form) .contact-grid {
    width: 100%;
    min-width: 0;
    margin-top: 1rem;
  }

  body:has(#contact-form) .contact-info,
  body:has(#contact-form) .contact-form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 1rem !important;
  }

  body:has(#contact-form) .grecaptcha-badge {
    transform: scale(0.72);
    transform-origin: bottom right;
  }

  .estimate-intro {
    padding: 0.9rem;
  }

  .estimate-step {
    grid-template-columns: 34px 1fr;
    padding: 0.9rem;
  }

  .floating-cta,
  .floating-phone {
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    text-align: center !important;
  }
}
