/* ============ CleanX Carpet Cleaning — premium minimal theme ============ */
:root {
  --ink: #16181d;
  --ink-soft: #4a4f58;
  --paper: #faf9f6;
  --paper-2: #f1efe9;
  --accent: #1e4634;
  --accent-2: #2a5c46;
  --line: #e3e0d8;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(22, 24, 29, 0.10);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.section { padding: clamp(72px, 10vw, 120px) 0; }

.eyebrow {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 4.4vw, 46px); line-height: 1.15;
  margin-bottom: 22px; letter-spacing: -0.01em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30, 70, 52, 0.28); }
.btn--ghost { border: 1px solid currentColor; }
.btn--ghost:hover { transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 40px; font-size: 16px; }
.btn--select {
  padding: 8px 18px; font-size: 13px; border-radius: 999px;
  border: 1px solid var(--ink); transition: all 0.2s ease;
}
.btn--select:hover { background: var(--ink); color: #fff; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 249, 246, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo {
  display: inline-flex;
  align-items: center;
  height: 72px;
  gap: 8px;
  text-decoration: none;
}

.nav__logo-image {
  display: block;
  width: 42px;
  height: 50px;
  object-fit: contain;
}

.nav__logo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.nav__logo-copy strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav__logo-copy small {
  display: block;
  margin-top: 5px;
  font-family: var(--font-body);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__link { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); transition: color 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.nav__link:hover { color: var(--ink); }
.nav__cta {
  font-size: 14px; font-weight: 600; color: #fff; background: var(--accent);
  padding: 10px 22px; border-radius: 999px; transition: background 0.2s, transform 0.2s;
}
.nav__cta:hover { background: var(--accent-2); transform: translateY(-1px); }

.nav__dropdown { position: relative; }
.nav__dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transition: all 0.22s ease;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__dropdown-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--ink-soft); }
.nav__dropdown-menu a:hover { background: var(--paper-2); color: var(--ink); }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--ink); transition: all 0.25s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; background: url("assets/hero.jpg") center/cover no-repeat; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15, 18, 16, 0.82) 0%, rgba(15, 18, 16, 0.55) 45%, rgba(15, 18, 16, 0.15) 100%); }
.hero__content { position: relative; color: #fff; padding: 80px 0; }
.hero__eyebrow { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.85; margin-bottom: 20px; }
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 6.4vw, 72px); line-height: 1.06; letter-spacing: -0.015em;
  margin-bottom: 22px; max-width: 12ch;
}
.hero__sub { font-size: clamp(16px, 1.6vw, 19px); max-width: 46ch; opacity: 0.92; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn--ghost { color: #fff; }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__text p { color: var(--ink-soft); margin-bottom: 14px; max-width: 52ch; }
.about__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }

/* ---------- Services ---------- */
.services { background: var(--paper-2); }
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 44px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__title { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.card__desc { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 22px; }
.card__note { font-size: 13px; color: var(--ink-soft); margin-top: 16px; }
.card__note a { text-decoration: underline; }
.card--quote { justify-content: flex-start; background: var(--accent); color: #fff; border-color: transparent; }
.card--quote .card__desc { color: rgba(255, 255, 255, 0.78); }
.card__quote-msg { font-family: var(--font-display); font-size: 19px; margin: auto 0 26px; padding-top: 18px; }
.card--quote .btn--primary { background: #fff; color: var(--accent); }
.card--quote .btn--primary:hover { background: var(--paper-2); box-shadow: none; }

.price-list { list-style: none; }
.price-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.price-list li:last-child { border-bottom: none; }
.price-list .price { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(2, 260px); gap: 18px; margin-top: 44px; }
.gallery__item { border-radius: var(--radius); overflow: hidden; }
.gallery__item--tall { grid-row: 1 / 3; }
.gallery__item img { transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
.gallery__item:hover img { transform: scale(1.04); }

/* ---------- Business ---------- */
.business { background: var(--paper-2); }
.business__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.business p { color: var(--ink-soft); max-width: 48ch; }

/* ---------- Forms ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 14.5px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30, 70, 52, 0.12);
}
.form__success { margin-top: 14px; color: var(--accent); font-weight: 600; font-size: 14.5px; }

/* ---------- Contact ---------- */
.contact__inner { text-align: center; max-width: 620px; }
.service-area-map {
  width: 100%;
  height: 300px;
  margin: 0 auto 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: var(--paper-2);
}
.service-area-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.contact__list { list-style: none; margin: 30px 0 38px; }
.contact__list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.contact__list li span { display: block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px; }
.contact__list a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.75); padding: 56px 0 34px; }
.footer__inner { display: grid; gap: 26px; }
.footer__brand { font-family: var(--font-display); font-size: 20px; color: #fff; }
.footer__tag { font-size: 13px; opacity: 0.7; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; }
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: 12.5px; opacity: 0.55; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 22px; }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15, 17, 20, 0.55); backdrop-filter: blur(4px); }
.modal__panel {
  position: relative; width: min(560px, 100%); max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: 18px; padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow); animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 14px; right: 18px; font-size: 26px; line-height: 1; color: var(--ink-soft); }
.modal__close:hover { color: var(--ink); }
.modal__head h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin-bottom: 18px; }
.modal__label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.modal__note { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }

.steps { list-style: none; display: flex; gap: 6px; margin-bottom: 26px; }
.steps li {
  flex: 1; font-size: 11px; text-align: center; padding-top: 10px; position: relative;
  color: var(--ink-soft); letter-spacing: 0.02em;
}
.steps li::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 3px; background: var(--line); transition: background 0.25s;
}
.steps li.is-active { color: var(--accent); font-weight: 600; }
.steps li.is-active::before, .steps li.is-done::before { background: var(--accent); }

.modal__step { display: none; }
.modal__step.is-active { display: block; animation: stepIn 0.25s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }

.choice-grid { display: grid; gap: 10px; }
.choice {
  text-align: left; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px;
  font-weight: 500; font-size: 15px; transition: all 0.2s; display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.choice:hover { border-color: var(--accent); }
.choice.is-selected { border-color: var(--accent); background: rgba(30, 70, 52, 0.06); box-shadow: 0 0 0 1px var(--accent); }
.choice .choice__price { font-weight: 600; color: var(--accent); }

.order-summary {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; margin-bottom: 20px; font-size: 14.5px;
}
.order-summary strong { display: block; font-size: 16px; }
.order-summary .order-summary__total { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-weight: 600; }

.modal__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.modal__foot .btn--ghost { border-color: var(--line); color: var(--ink-soft); }
.modal__foot .btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.confirm { text-align: center; padding: 26px 0 10px; }
.confirm h4 { font-family: var(--font-display); font-size: 26px; margin-bottom: 10px; color: var(--accent); }
.confirm p { color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about__grid, .business__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, 220px); }
  .gallery__grid.gallery-expanded { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .gallery__item--tall { grid-row: auto; grid-column: 1 / 3; }
}

@media (max-width: 760px) {
  .nav__burger { display: flex; }
  .nav__menu {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 18px 5% 26px; gap: 4px;
    transform: translateY(-110%); transition: transform 0.3s ease; box-shadow: var(--shadow);
  }
  .nav__menu.is-open { transform: none; }
  .nav__link { padding: 12px 6px; font-size: 16px; }
  .nav__cta { text-align: center; margin-top: 10px; }
  .nav__dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; border-left: 2px solid var(--line); border-radius: 0;
    margin: 2px 0 6px 12px; padding: 0 0 0 12px; display: none;
  }
  .nav__dropdown.is-open .nav__dropdown-menu { display: block; }
  .form__row { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .steps li { font-size: 9.5px; }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--paper); }
.reviews__intro { color: var(--ink-soft); max-width: 58ch; margin-bottom: 28px; }
.reviews__tabs {
  display: inline-flex; gap: 4px; padding: 5px; margin: 6px 0 34px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px;
}
.reviews__tab {
  padding: 10px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: var(--ink-soft); transition: all .2s ease;
}
.reviews__tab:hover { color: var(--ink); }
.reviews__tab.is-active { background: var(--accent); color: #fff; box-shadow: 0 5px 14px rgba(30,70,52,.16); }
.reviews__panel[hidden] { display: none; }
.reviews__summary {
  display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center;
  padding: 28px; margin-bottom: 24px; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.reviews__summary p { color: var(--ink-soft); max-width: 58ch; }
.reviews__score { display: flex; flex-direction: column; gap: 3px; }
.reviews__number { font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--accent); }
.reviews__stars { color: var(--accent); letter-spacing: .12em; font-size: 15px; white-space: nowrap; }
.reviews__count { font-size: 12px; color: var(--ink-soft); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; min-height: 210px; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.review-card__top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.review-card__top > span:last-child { font-size: 11px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .12em; }
.review-card__text { color: var(--ink-soft); font-family: var(--font-display); font-size: 18px; line-height: 1.45; margin-bottom: 20px; }
.review-card strong { margin-top: auto; font-size: 13px; }
.review-form { max-width: 760px; }
.review-form select {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 14.5px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
}
.review-form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,70,52,.12); }
.review-rating { display: flex; gap: 4px; }
.rating-star { font-size: 28px; line-height: 1; color: var(--line); transition: color .15s, transform .15s; }
.rating-star:hover, .rating-star.is-selected { color: var(--accent); transform: translateY(-1px); }
@media (max-width: 760px) {
  .reviews__summary { grid-template-columns: 1fr; gap: 18px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__tabs { width: 100%; }
  .reviews__tab { flex: 1; padding-inline: 10px; }
}

/* ---------- Payment method selector ---------- */
.payment-methods { margin-top: 22px; }
.payment-methods__title { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 5px; }
.payment-methods__subtitle { color: var(--ink-soft); font-size: 12.5px; line-height: 1.45; margin-bottom: 14px; }
.payment-method {
  position: relative; width: 100%; display: flex; align-items: center; gap: 13px;
  padding: 13px 15px; margin-bottom: 10px; text-align: left; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}
.payment-method:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.payment-method.is-selected { border-color: #6d2bbf; box-shadow: 0 0 0 2px rgba(109,43,191,.10); background: #fcf9ff; }
.payment-method__brand { flex: 0 0 43px; width: 43px; height: 43px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 22px; }
.payment-method__brand--zelle { color: #fff; background: linear-gradient(135deg, #5d1bb1 0%, #8d3fd0 100%); box-shadow: 0 7px 16px rgba(93,27,177,.25); font-family: Arial, sans-serif; }
.payment-method__brand--cash { color: #216b35; background: #eaf6ed; }
.payment-method__copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.payment-method__copy strong { font-size: 14px; }
.payment-method__copy small { color: var(--ink-soft); font-size: 11.5px; line-height: 1.35; }
.payment-method__check { margin-left: auto; color: #6d2bbf; font-weight: 700; opacity: 0; }
.payment-method.is-selected .payment-method__check { opacity: 1; }
.payment-methods__note { min-height: 18px; margin: 3px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.4; }
@media (max-width: 520px) {
  .payment-method__copy small { font-size: 11px; }
}

/* ---------- Progressive gallery/reviews ---------- */
.content-load-more {
  display: block;
  margin: 18px auto 0;
}
.content-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.content-pagination button {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
.content-pagination button.is-active {
  border-color: currentColor;
  font-weight: 700;
}
.content-pagination button:disabled {
  opacity: .45;
  cursor: default;
}
.date-help {
  margin: 7px 0 0;
  font-size: .78rem;
  opacity: .68;
}
.date-contact-btn {
  margin-top: 9px;
}
.gallery__grid.gallery-expanded {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: none;
  grid-auto-rows: 260px;
}
.gallery__grid.gallery-expanded .gallery__item--tall {
  grid-row: auto;
}
.gallery__grid.gallery-page {
  animation: cleanxContentFade .18s ease;
}
.reviews__grid.reviews-page {
  animation: cleanxContentFade .18s ease;
}
@keyframes cleanxContentFade {
  from { opacity: .45; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Contact / booking refinements */
.nav__cta {
  border: 0;
  cursor: pointer;
  font: inherit;
}
.contact__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.service-choice-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.72;
}
.rug-size-help {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
}
.rug-size-help a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rug-size-help a:hover { color: var(--accent-2); }
.contact-modal__panel {
  max-width: 560px;
}
.contact-modal__intro {
  margin: 6px 0 0;
  opacity: 0.76;
  line-height: 1.6;
}
.contact-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.contact-modal__action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.contact-modal__action:hover {
  transform: translateY(-2px);
  border-color: rgba(0,0,0,.22);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.contact-modal__action span:last-child {
  display: grid;
  gap: 3px;
}
.contact-modal__action small {
  opacity: .68;
}
.contact-modal__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.06);
  font-size: 1.05rem;
}
.contact-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.08);
  font-size: .88rem;
  opacity: .85;
}
.service-card--highlight {
  animation: cleanxServiceHighlight 1.4s ease;
}
@keyframes cleanxServiceHighlight {
  0%,100% { transform: translateY(0); }
  35% { transform: translateY(-5px); }
  70% { transform: translateY(0); }
}
@media (max-width: 640px) {
  .contact-modal__actions {
    grid-template-columns: 1fr;
  }
  .contact-modal__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ---------- First three gallery photos: uniform preview ---------- */
/* This applies only while View More is collapsed; the expanded gallery is untouched. */
.gallery__grid:not(.gallery-expanded) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 300px;
  grid-auto-rows: 300px;
  gap: 18px;
}
.gallery__grid:not(.gallery-expanded) .gallery__item,
.gallery__grid:not(.gallery-expanded) .gallery__item--tall {
  grid-column: auto;
  grid-row: auto;
  min-width: 0;
  height: 300px;
}
.gallery__grid:not(.gallery-expanded) .gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .gallery__grid:not(.gallery-expanded) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 240px;
    grid-auto-rows: 240px;
  }
  .gallery__grid:not(.gallery-expanded) .gallery__item,
  .gallery__grid:not(.gallery-expanded) .gallery__item--tall {
    grid-column: auto;
    grid-row: auto;
    height: 240px;
  }
}

@media (max-width: 620px) {
  .gallery__grid:not(.gallery-expanded) {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 260px;
  }
  .gallery__grid:not(.gallery-expanded) .gallery__item,
  .gallery__grid:not(.gallery-expanded) .gallery__item--tall {
    height: 260px;
  }
}


/* ============================================================
   CleanX — Responsive mobile refinement
   Desktop styles above remain unchanged.
   These rules only affect tablet/phone widths.
   ============================================================ */

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

  .container {
    width: min(100% - 32px, 1140px);
  }

  /* Keep the same header design, but switch to a compact touch menu
     before the desktop navigation becomes cramped. */
  .nav__inner {
    min-height: 68px;
    height: 68px;
  }

  .nav__logo {
    height: 68px;
    min-width: 0;
  }

  .nav__logo-image {
    width: 38px;
    height: 46px;
  }

  .nav__logo-copy strong {
    font-size: 20px;
  }

  .nav__burger {
    display: flex;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
  }

  .nav__menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    align-items: stretch;
    background: rgba(250, 249, 246, 0.98);
    padding: 12px 16px calc(20px + env(safe-area-inset-bottom));
    gap: 2px;
    transform: translateY(-115%);
    transition: transform 0.28s ease;
    box-shadow: 0 18px 35px rgba(22, 24, 29, 0.12);
  }

  .nav__menu.is-open {
    transform: translateY(0);
  }

  .nav__link,
  .nav__dropdown-toggle {
    width: 100%;
    min-height: 48px;
    padding: 12px 10px;
    font-size: 15.5px;
    line-height: 1.2;
    justify-content: space-between;
    border-radius: 10px;
  }

  .nav__link:active,
  .nav__dropdown-toggle:active {
    background: var(--paper-2);
  }

  .nav__cta {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 12px 18px;
  }

  .nav__dropdown-menu {
    position: static;
    width: auto;
    min-width: 0;
    margin: 0 0 4px 10px;
    padding: 0 0 0 12px;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__dropdown-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 8px;
  }

  .section {
    padding: 64px 0;
  }

  .h2 {
    font-size: clamp(30px, 8vw, 40px);
    margin-bottom: 18px;
  }

  .hero {
    min-height: min(760px, 86svh);
  }

  .hero__content {
    padding: 72px 0;
  }

  .hero__eyebrow {
    font-size: 11px;
    letter-spacing: 0.20em;
    margin-bottom: 14px;
  }

  .hero__title {
    font-size: clamp(38px, 10vw, 58px);
    line-height: 1.03;
    letter-spacing: -0.025em;
  }

  .hero__sub {
    max-width: 34ch;
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 28px;
  }

  .hero__actions {
    gap: 10px;
  }

  .hero__actions .btn {
    min-height: 48px;
    padding-inline: 20px;
  }

  .about__grid,
  .business__grid {
    gap: 32px;
  }

  .about__media {
    aspect-ratio: 4 / 3;
  }

  /* Services: preserve the original card/pricing design on mobile. */
  .services__grid {
    gap: 24px;
    margin-top: 32px;
  }

  .services .card {
    padding: 30px 26px;
  }

  .services .card__title {
    font-size: 24px;
  }

  .services .price-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    padding: 13px 0;
  }

  .services .price-list li > span:first-child {
    min-width: 0;
  }

  .services .price-list .price {
    margin-left: 0;
    white-space: nowrap;
  }

  .services .btn--select {
    min-height: 40px;
    padding: 8px 18px;
    white-space: nowrap;
  }

  /* Preserve the site's gallery concept while avoiding oversized,
     cropped cards on narrow screens. */
  .gallery__grid:not(.gallery-expanded) {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: 12px;
  }

  .gallery__grid:not(.gallery-expanded) .gallery__item,
  .gallery__grid:not(.gallery-expanded) .gallery__item--tall {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .gallery__grid.gallery-expanded {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }

  .gallery__grid.gallery-expanded .gallery__item,
  .gallery__grid.gallery-expanded .gallery__item--tall {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .business__grid {
    gap: 28px;
  }

  .form {
    padding: 22px 18px;
  }

  .field input,
  .field textarea,
  .review-form select {
    font-size: 16px;
  }

  .contact__actions {
    width: 100%;
    gap: 10px;
  }

  .contact__actions .btn {
    flex: 1 1 220px;
    min-height: 48px;
  }

  .service-area-map {
    height: clamp(240px, 65vw, 300px);
    margin-bottom: 30px;
    border-radius: 14px;
  }

  .contact__list {
    margin: 24px 0 30px;
  }

  .contact__list li {
    font-size: 15px;
  }

  .footer {
    padding: 44px 0 28px;
  }

  .footer__links {
    gap: 14px 20px;
  }

  .modal {
    align-items: flex-end;
    padding: 10px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .modal__panel {
    width: 100%;
    max-width: 560px;
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
    padding: 24px 18px 18px;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .modal__close {
    top: 12px;
    right: 14px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    font-size: 28px;
  }

  .modal__head {
    padding-right: 36px;
  }

  .modal__head h3 {
    font-size: 23px;
    margin-bottom: 16px;
  }

  .steps {
    gap: 4px;
    margin-bottom: 22px;
  }

  .steps li {
    font-size: 10px;
    line-height: 1.2;
    padding-top: 9px;
  }

  .choice {
    min-height: 50px;
    padding: 14px;
  }

  .modal__foot {
    position: sticky;
    bottom: -18px;
    margin: 22px -18px -18px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    z-index: 2;
  }

  .modal__foot .btn {
    min-height: 46px;
  }

  .payment-method {
    min-height: 64px;
    padding: 12px;
  }

  .payment-method__brand {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .contact-modal__actions {
    gap: 10px;
  }

  .contact-modal__action {
    min-height: 62px;
    padding: 14px;
  }

  .contact-modal__footer {
    gap: 12px;
  }

  .contact-modal__footer .btn {
    width: 100%;
    min-height: 48px;
  }

  .reviews__tabs {
    display: flex;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    margin-bottom: 26px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .reviews__tabs::-webkit-scrollbar {
    display: none;
  }

  .reviews__tab {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .reviews__summary {
    padding: 22px 18px;
  }

  .review-card {
    min-height: 0;
    padding: 20px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .nav__logo-copy small {
    font-size: 6px;
    letter-spacing: 0.24em;
  }

  .hero__content {
    padding: 64px 0;
  }

  .hero__title {
    font-size: clamp(36px, 11vw, 50px);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 330px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .gallery__grid:not(.gallery-expanded),
  .gallery__grid.gallery-expanded {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery__grid:not(.gallery-expanded) .gallery__item,
  .gallery__grid:not(.gallery-expanded) .gallery__item--tall,
  .gallery__grid.gallery-expanded .gallery__item,
  .gallery__grid.gallery-expanded .gallery__item--tall {
    aspect-ratio: 1 / 1;
  }

  /* Keep service package rows in the compact 3-column layout shown in the
     reference: package name, price, then Select button. */
  .services .price-list li {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
  }

  .services .price-list li .btn--select {
    grid-column: auto;
    width: auto;
    margin-top: 0;
  }

  .contact__actions .btn {
    flex-basis: 100%;
  }

  .modal__panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .modal__foot {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .modal__foot .btn {
    flex: 1;
  }

  .service-area-map {
    height: 240px;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 24px, 1140px);
  }

  .nav__logo-copy strong {
    font-size: 18px;
  }

  .nav__logo-copy small {
    display: none;
  }

  .hero__title {
    font-size: 35px;
  }

  .hero__sub {
    font-size: 15px;
  }

  .steps li {
    font-size: 8.5px;
  }

  .choice {
    font-size: 14px;
  }

  .payment-method__copy small {
    font-size: 10.5px;
  }
}


/* Mobile header scroll behavior: hidden while scrolling down, visible on scroll up. */
@media (max-width: 760px) {
  .nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    transform: translate3d(0, 0, 0);
    transition: transform 0.22s ease;
    will-change: transform;
  }
  .nav.nav--hidden {
    transform: translate3d(0, -105%, 0);
  }

  /* Mobile Services: use a solid surface and explicit text colors so the
     submenu cannot disappear into the hero/background on iOS. */
  .nav__menu {
    z-index: 1001;
  }
  .nav__dropdown {
    position: relative;
    z-index: 1002;
  }
  .nav__dropdown-menu {
    color: var(--ink-soft) !important;
    background: #fff !important;
    min-height: 0;
    overflow: visible !important;
    border-left: 2px solid var(--line) !important;
    margin: 2px 0 6px 10px !important;
    padding: 0 0 0 12px !important;
    box-shadow: none !important;
  }
  .nav__dropdown.is-open .nav__dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .nav__dropdown-menu a {
    color: var(--ink-soft) !important;
    background: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    align-items: center;
    min-height: 44px;
    pointer-events: auto !important;
  }
  .nav__dropdown-menu a:hover,
  .nav__dropdown-menu a:active {
    background: var(--paper-2) !important;
    color: var(--ink) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__menu,
  .btn,
  .gallery__item img,
  .modal__panel {
    transition: none;
    animation: none;
  }
}

/* ---------- Gallery lightbox ---------- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 13, 0.86);
  backdrop-filter: blur(5px);
}
.gallery-lightbox__panel {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1400px);
  max-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox__image {
  display: block;
  max-width: 94vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
}
.gallery-lightbox__close {
  position: absolute;
  z-index: 2;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(20,22,26,.82);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.gallery__item { cursor: zoom-in; }
body.gallery-lightbox-open { overflow: hidden; }

@media (max-width: 760px) {
  .gallery-lightbox { padding: 14px; }
  .gallery-lightbox__image { max-width: 96vw; max-height: 88vh; border-radius: 7px; }
  .gallery-lightbox__close { top: -8px; right: -8px; }

  /* Keep the Services submenu in the open mobile menu above other content. */
  .nav__dropdown { position: relative; z-index: 3; }
  .nav__dropdown-menu { position: static !important; display: none; opacity: 1 !important; visibility: visible !important; }
  .nav__dropdown.is-open .nav__dropdown-menu { display: block !important; }
  .nav__dropdown-menu a { display: flex !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }
}


/* ============================================================
   Final mobile navigation fix
   - Header is fixed to the viewport so it can reliably reappear
     while scrolling upward on iOS Safari.
   - The mobile Services submenu is rendered as normal content,
     never as an empty white overlay.
   ============================================================ */
@media (max-width: 760px) {
  .nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 5000 !important;
    transform: translate3d(0, 0, 0) !important;
    transition: transform 0.22s ease !important;
    will-change: transform;
  }

  .nav.nav--hidden {
    transform: translate3d(0, -110%, 0) !important;
  }

  /* Reserve the header's space in the document while the header
     itself is fixed to the viewport. */
  body {
    padding-top: 68px !important;
  }

  .nav__menu {
    top: 68px !important;
    z-index: 5001 !important;
    background: rgba(250, 249, 246, 0.99) !important;
    max-height: calc(100dvh - 68px) !important;
  }

  .nav__menu.is-open {
    transform: translateY(0) !important;
  }

  .nav__dropdown {
    position: relative !important;
    z-index: 5002 !important;
  }

  .nav__dropdown-menu,
  .nav__dropdown.is-open .nav__dropdown-menu {
    position: static !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 4px 0 8px 12px !important;
    border: 0 !important;
    border-left: 2px solid var(--line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav__dropdown:not(.is-open) .nav__dropdown-menu {
    display: none !important;
  }

  .nav__dropdown.is-open .nav__dropdown-menu a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 46px !important;
    margin: 2px 0 !important;
    padding: 10px 14px !important;
    color: var(--ink-soft) !important;
    background: rgba(250, 249, 246, 0.99) !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 5003 !important;
  }

  .nav__dropdown.is-open .nav__dropdown-menu a:hover,
  .nav__dropdown.is-open .nav__dropdown-menu a:active {
    color: var(--ink) !important;
    background: var(--paper-2) !important;
  }
}
