/*
Theme Name: DFWCurbClear
Theme URI: https://dfwcurbclear.com/
Author: DFWCurbClear
Author URI: https://dfwcurbclear.com/
Description: Custom local-service landing page theme for DFWCurbClear curbside junk removal.
Version: 1.0.19
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dfwcurbclear
*/
:root {
  --ink: #111111;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f5f5f5;
  --white: #ffffff;
  --green: #16a34a;
  --green-soft: #eaf8ef;
  --beige: #f3eee7;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.1);
  --radius: 8px;
  --container: min(100% - 40px, 1220px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(22, 163, 74, 0.38);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(64px, 8vw, 112px);
}

.alt-section {
  background: var(--soft);
}

/* Sticky marketplace-style navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.92);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: var(--container);
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  color: var(--white);
  background: var(--ink);
  font-size: 0.95rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link,
.menu-trigger,
.login-link {
  border: 0;
  background: transparent;
  color: #363636;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 650;
  cursor: pointer;
}

.nav-link,
.menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  border-radius: var(--radius);
}

.nav-link:hover,
.menu-trigger:hover,
.login-link:hover {
  color: var(--ink);
  background: var(--soft);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 180ms ease;
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 650;
}

.dropdown a:hover {
  color: var(--ink);
  background: var(--soft);
}

.has-menu:hover .dropdown,
.has-menu:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-cta {
  display: none;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.16);
}

.btn-dark {
  color: var(--white);
  background: var(--ink);
}

.btn-dark:hover {
  background: #2a2a2a;
}

.btn-light {
  color: var(--ink);
  background: var(--white);
}

.btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

/* Hero and trust-building first viewport */
.hero-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(245, 245, 245, 0.8), rgba(255, 255, 255, 1) 42%),
    var(--white);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(30px, 4vw, 54px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.3vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.8vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.65;
}

.price-line {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 850;
}

.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.text-link {
  color: var(--ink);
  font-weight: 800;
}

.text-link:hover {
  color: var(--green);
}

.microcopy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-media {
  position: relative;
}

.hero-media img {
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: scale(1);
  transition: transform 500ms ease;
}

.hero-media:hover img {
  transform: scale(1.025);
}

.floating-card {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: min(245px, calc(100% - 40px));
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.15);
  backdrop-filter: blur(14px);
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.status-dot {
  position: relative;
  margin-top: 10px;
  padding-left: 18px;
  color: var(--ink) !important;
  font-weight: 750;
}

.status-dot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.proof-section {
  padding-bottom: 18px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.05);
  overflow: hidden;
}

.proof-strip div {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  color: #2e2e2e;
  font-size: 0.92rem;
  font-weight: 750;
  text-align: center;
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip span,
.check-list li::before,
.item-grid span::first-letter {
  color: var(--green);
  font-weight: 900;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p,
.split-copy p,
.comparison-copy p,
.advantage-card p,
.faq-copy p,
.cta-inner p,
.hoa-card p {
  color: var(--muted);
  font-size: 1.04rem;
}

.steps-grid,
.service-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card,
.service-card,
.review-card,
.area-card,
.advantage-card,
.summary-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(17, 17, 17, 0.04);
}

.step-card {
  min-height: 238px;
  padding: 28px;
}

.number-badge {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 28px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 50%;
  font-weight: 850;
}

.step-card p,
.service-card p,
.review-card p {
  color: var(--muted);
}

.split-grid,
.comparison-grid,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.split-copy {
  max-width: 570px;
}

.summary-card {
  padding: clamp(24px, 4vw, 36px);
}

.summary-top,
.summary-total,
.summary-rows div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.summary-top {
  margin-bottom: 28px;
}

.card-kicker {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.green-pill {
  padding: 7px 10px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.summary-rows {
  border-block: 1px solid var(--line);
}

.summary-rows div {
  padding: 16px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.summary-rows div:last-child {
  border-bottom: 0;
}

.summary-rows strong {
  color: var(--ink);
}

.summary-rows .discount strong {
  color: var(--green);
}

.summary-total {
  padding-top: 22px;
  font-weight: 850;
}

.summary-total strong {
  font-size: 2.2rem;
  line-height: 1;
}

.summary-note {
  margin: 14px 0 0;
  color: var(--green);
  font-size: 0.94rem;
  font-weight: 750;
}

.booking-section {
  background: var(--white);
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
}

.booking-copy {
  position: sticky;
  top: 108px;
}

.booking-copy code {
  padding: 2px 5px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 0.92em;
}

.booking-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row.two-col {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.booking-form label {
  color: #2f2f2f;
  font-size: 0.9rem;
  font-weight: 800;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.booking-form textarea {
  resize: vertical;
}

.booking-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 0;
  border-color: rgba(22, 163, 74, 0.58);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

.booking-form .btn {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-size: 0.94rem;
  font-weight: 800;
}

.calculator-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.calculator-search input {
  background: var(--white);
}

.calculator-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 2px;
  -webkit-overflow-scrolling: touch;
}

.item-pick-card {
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 14px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.item-pick-card:hover,
.item-pick-card.is-selected {
  background: var(--green-soft);
  border-color: rgba(22, 163, 74, 0.7);
}

.item-pick-card:hover {
  transform: translateY(-2px);
}

.item-pick-card strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.item-pick-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.item-pick-card em {
  color: var(--ink);
  font-size: 1rem;
  font-style: normal;
  font-weight: 850;
}

.selected-items {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.selected-items p {
  margin: 0;
  color: var(--muted);
}

.selected-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.selected-item-row strong,
.selected-item-row span {
  display: block;
}

.selected-item-row span {
  color: var(--muted);
  font-size: 0.84rem;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.quantity-control button {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 50%;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.quantity-control button:hover {
  background: var(--soft);
}

.quantity-control b {
  min-width: 18px;
  text-align: center;
}

.calculator-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 850;
}

.calculator-total strong {
  font-size: 2rem;
  line-height: 1;
}

.calculator-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.service-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.step-card:hover,
.review-card:hover {
  transform: translateY(-4px);
  border-color: #d2d6dc;
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.08);
}

.price-stack {
  margin-top: auto;
  padding-top: 18px;
}

.price-stack strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
}

.price-stack span {
  color: var(--muted);
  font-size: 0.92rem;
}

.service-card a {
  margin-top: 18px;
  color: var(--ink);
  font-weight: 850;
}

.service-card a:hover {
  color: var(--green);
}

.comparison-grid {
  align-items: stretch;
}

.comparison-copy,
.advantage-card {
  align-self: center;
}

.advantage-card {
  padding: clamp(26px, 4vw, 42px);
}

.plain-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 28px;
  color: #363636;
  font-weight: 700;
}

.problem-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 2px;
  background: #9ca3af;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
}

.table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

/* Desktop table becomes stacked comparison cards on small screens. */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.comparison-table th {
  color: var(--muted);
  background: #fafafa;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table td:first-child {
  font-weight: 850;
}

.featured-row td {
  background: var(--green-soft);
}

.featured-row td:first-child {
  color: var(--green);
}

.item-grid,
.tag-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.item-grid span,
.tag-grid span {
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 750;
}

.tag-grid .tag-more {
  color: var(--green);
  background: var(--green-soft);
  border-color: rgba(22, 163, 74, 0.22);
}

.section-note {
  margin: 22px 0 0;
  color: var(--muted);
}

.review-card {
  padding: 24px;
}

.stars {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 0.94rem;
  letter-spacing: 0.04em;
}

.review-card p {
  min-height: 70px;
  color: #2a2a2a;
  font-size: 1.08rem;
  font-weight: 700;
}

.review-meta {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
  align-items: center;
}

.review-meta span {
  grid-row: span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  font-size: 0.82rem;
  font-weight: 850;
}

.review-meta small {
  color: var(--muted);
}

.final-cta {
  color: var(--white);
  background: var(--ink);
}

.cta-inner {
  max-width: 790px;
  text-align: center;
}

.cta-inner h2 {
  color: var(--white);
}

.cta-inner p {
  max-width: 560px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.72);
}

.cta-actions {
  justify-content: center;
  margin-top: 28px;
}

.hoa-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: clamp(24px, 4vw, 34px);
  background: #fbf8f2;
  border: 1px solid #eadfcd;
  border-radius: var(--radius);
}

.hoa-card h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.hoa-card p {
  margin-bottom: 0;
}

.alert-badge {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #8a5a00;
  background: #fff1d6;
  border: 1px solid #eed39d;
  border-radius: 50%;
  font-weight: 900;
}

.area-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.area-card {
  padding: 26px;
}

.area-card h3 {
  margin-bottom: 18px;
}

.tag-grid {
  grid-template-columns: repeat(3, 1fr);
}

.zip-grid {
  grid-template-columns: repeat(2, 1fr);
}

.faq-layout {
  align-items: start;
}

.faq-copy {
  position: sticky;
  top: 108px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

summary {
  position: relative;
  padding: 20px 54px 20px 20px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 1.35rem;
}

details[open] summary::after {
  content: "\2212";
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  overflow: hidden;
  transition: max-height 180ms ease;
}

.site-footer {
  padding-top: 64px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 34px;
}

.footer-brand .brand-mark {
  color: var(--ink);
  background: var(--white);
}

.footer-grid p {
  max-width: 340px;
  margin-top: 18px;
}

.footer-grid h3 {
  color: var(--white);
  font-size: 0.9rem;
}

.footer-grid a {
  display: block;
  margin-bottom: 10px;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 44px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.92rem;
}

/* Shared scroll reveal state. Content stays visible if JavaScript is blocked. */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .nav-shell {
    min-height: 66px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: 66px 0 auto 0;
    display: grid;
    align-content: start;
    gap: 8px;
    height: calc(100vh - 66px);
    padding: 18px 20px 28px;
    background: var(--white);
    border-top: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 240ms ease;
  }

  .primary-nav.is-open {
    transform: translateX(0);
  }

  .nav-link,
  .menu-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    margin: 4px 0 10px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .has-menu.is-open .dropdown {
    display: block;
  }

  .login-link {
    display: none;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .hero-grid,
  .split-grid,
  .booking-grid,
  .comparison-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    aspect-ratio: 16 / 11;
  }

  .proof-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .proof-strip div {
    border-bottom: 1px solid var(--line);
  }

  .steps-grid,
  .service-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .item-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .faq-copy {
    position: static;
  }

  .booking-copy {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 40px, 1220px);
  }

  .section-pad {
    padding-block: 58px;
  }

  .nav-cta {
    display: none;
  }

  .mobile-menu-cta {
    display: inline-flex;
    margin-top: 10px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.15rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.8rem);
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .hoa-card .btn,
  .split-copy .btn {
    width: 100%;
  }

  .floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
  }

  .proof-strip,
  .steps-grid,
  .service-grid,
  .review-grid,
  .area-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    justify-content: flex-start;
    border-right: 0;
  }

  .item-grid,
  .tag-grid,
  .zip-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  .hoa-card {
    grid-template-columns: 1fr;
  }

  .table-wrap {
    border: 0;
    background: transparent;
  }

  .comparison-table,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block;
  }

  .comparison-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .comparison-table tr {
    margin-bottom: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .comparison-table td {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 14px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
  }

  .comparison-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
  }

  .featured-row td {
    background: var(--green-soft);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .brand span:last-child {
    display: none;
  }

  .item-grid,
  .tag-grid,
  .zip-grid {
    grid-template-columns: 1fr;
  }

  .summary-top,
  .summary-total,
  .summary-rows div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .comparison-table td {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Mobile and tablet responsiveness hardening. Desktop styles above remain unchanged. */
@media (max-width: 1024px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container,
  .nav-shell {
    width: min(100% - 40px, 1220px);
  }

  .primary-nav {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-cta {
    white-space: nowrap;
  }

  .hero-grid,
  .split-grid,
  .booking-grid,
  .comparison-grid,
  .faq-layout {
    gap: 40px;
  }

  .hero-copy,
  .split-copy,
  .booking-copy,
  .comparison-copy,
  .faq-copy {
    max-width: 760px;
  }

  .hero-media,
  .hero-media img,
  .summary-card,
  .booking-form,
  .advantage-card,
  .hoa-card {
    max-width: 100%;
  }

  .service-card,
  .step-card,
  .review-card,
  .area-card {
    min-width: 0;
  }

  .item-grid,
  .tag-grid,
  .zip-grid {
    min-width: 0;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .section-pad {
    padding-block: 72px;
  }

  h1 {
    font-size: clamp(3.6rem, 8vw, 5.1rem);
  }

  h2 {
    font-size: clamp(2.25rem, 5vw, 3.2rem);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

  .proof-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-grid,
  .steps-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .item-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .area-grid {
    grid-template-columns: 1fr;
  }

  .tag-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --container: min(100% - 40px, 1220px);
  }

  .site-header {
    width: 100%;
  }

  .nav-shell {
    min-height: 64px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .primary-nav {
    inset: 64px 0 auto 0;
    height: calc(100dvh - 64px);
    padding: 22px 20px 34px;
  }

  .primary-nav .btn {
    width: 100%;
  }

  .menu-toggle {
    flex: 0 0 46px;
  }

  .nav-cta {
    display: none;
  }

  .mobile-menu-cta {
    display: inline-flex;
    margin-top: 10px;
  }

  .section-pad {
    padding-block: 52px;
  }

  .breadcrumb {
    margin-bottom: 28px;
    flex-wrap: wrap;
  }

  .hero-section {
    padding-top: 46px;
  }

  .hero-grid {
    gap: 32px;
  }

  h1 {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: clamp(2.45rem, 12vw, 3.65rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(1.82rem, 8vw, 2.55rem);
    line-height: 1.06;
  }

  h3 {
    font-size: 1.12rem;
  }

  .hero-lede,
  .section-heading p,
  .split-copy p,
  .booking-copy p,
  .comparison-copy p,
  .advantage-card p,
  .faq-copy p,
  .cta-inner p,
  .hoa-card p {
    font-size: 1rem;
    line-height: 1.58;
  }

  .price-line {
    font-size: 1rem;
  }

  .hero-actions,
  .cta-actions {
    gap: 12px;
  }

  .btn {
    min-height: 48px;
    padding-inline: 16px;
  }

  .hero-media img {
    aspect-ratio: 4 / 3;
    max-height: 520px;
  }

  .floating-card {
    padding: 16px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    min-height: 56px;
    padding: 13px 16px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .step-card,
  .service-card,
  .review-card,
  .area-card,
  .advantage-card,
  .summary-card,
  .booking-form {
    padding: 22px;
  }

  .step-card,
  .service-card {
    min-height: auto;
  }

  .number-badge {
    margin-bottom: 18px;
  }

  .summary-top,
  .summary-total,
  .summary-rows div {
    gap: 8px;
  }

  .summary-total strong {
    font-size: 2rem;
  }

  .booking-grid {
    gap: 28px;
  }

  .booking-form {
    gap: 16px;
  }

  .booking-form input,
  .booking-form select,
  .booking-form textarea {
    font-size: 16px;
  }

  .calculator-items {
    grid-template-columns: 1fr;
    max-height: 420px;
  }

  .selected-item-row {
    grid-template-columns: 1fr;
  }

  .item-grid,
  .tag-grid,
  .zip-grid {
    gap: 10px;
  }

  .item-grid span,
  .tag-grid span {
    padding: 12px 13px;
    overflow-wrap: anywhere;
  }

  .review-card p {
    min-height: 0;
  }

  .hoa-card {
    gap: 16px;
  }

  .footer-grid {
    gap: 24px;
  }
}

@media (max-width: 380px) {
  :root {
    --container: min(100% - 32px, 1220px);
  }

  .nav-shell {
    width: min(100% - 32px, 1220px);
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  h1 {
    font-size: clamp(2.18rem, 11vw, 2.7rem);
  }

  h2 {
    font-size: clamp(1.62rem, 8vw, 2.15rem);
  }

  .section-pad {
    padding-block: 44px;
  }

  .step-card,
  .service-card,
  .review-card,
  .area-card,
  .advantage-card,
  .summary-card,
  .booking-form {
    padding: 18px;
  }

  .hero-media img {
    aspect-ratio: 1 / 1;
  }

  .floating-card {
    padding: 14px;
  }

  .comparison-table td {
    padding: 12px 14px;
  }
}
/* Mobile header layout to match the compact logo + CTA + hamburger setup. */
@media (max-width: 768px) {
  .nav-shell {
    width: min(100% - 32px, 1220px);
    min-height: 76px;
    gap: 12px;
  }

  .brand {
    flex: 1 1 auto;
    gap: 9px;
    min-width: 0;
    font-size: clamp(0.9rem, 4vw, 1rem);
  }

  .brand span:last-child {
    display: inline;
    overflow: hidden;
    max-width: 132px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }

  .nav-actions {
    flex: 0 0 auto;
    gap: 10px;
    margin-left: 0;
  }

  .login-link {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
    min-height: 44px;
    padding: 12px 18px;
    font-size: 0;
    border-radius: 10px;
    white-space: nowrap;
  }

  .nav-cta::after {
    content: "Get Your Price";
    font-size: 0.96rem;
    line-height: 1;
  }

  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 0;
    background: transparent;
  }

  .menu-toggle span {
    width: 26px;
    height: 3px;
    margin: 3px auto;
    border-radius: 999px;
  }

  .primary-nav {
    inset: 76px 0 auto 0;
    height: calc(100dvh - 76px);
  }
}

@media (max-width: 380px) {
  .nav-shell {
    width: min(100% - 24px, 1220px);
    gap: 8px;
  }

  .brand span:last-child {
    max-width: 108px;
  }

  .nav-cta {
    min-height: 42px;
    padding: 11px 14px;
  }

  .nav-cta::after {
    font-size: 0.88rem;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}
