/* Extras for the static /carpet page (popup that Nuxt rendered via Vue). */
.cx-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
.cx-popup {
  position: relative;
  width: 100%;
  max-width: 1200px;
  border-radius: 32px;
  margin: auto;
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}
.cx-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #dcdcdc;
  cursor: pointer;
}
.mySwiper .swiper-slide img { display: block; }

/* before/after slider (Safe for Your Family block) */
.cx-ba {
  position: relative;
  aspect-ratio: 1618 / 1080;
  overflow: hidden;
  flex-shrink: 0;
  align-self: center;
  user-select: none;
  touch-action: pan-y;
  background: #f1f1f1;
}
.cx-ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.cx-ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cx-ba-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, .25);
  pointer-events: none;
}
.cx-ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #2FDACA;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.cx-ba:hover .cx-ba-knob, .cx-ba.is-dragging .cx-ba-knob { transform: scale(1.08); }
.cx-ba-tag {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  background: rgba(255, 255, 255, .85);
  color: #1D1D1D;
  pointer-events: none;
}
.cx-ba-tag-l { left: 16px; }
.cx-ba-tag-r { right: 16px; background: #2FDACA; color: #fff; }
.cx-ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}
.cx-ba-range:focus-visible + * , .cx-ba:focus-within .cx-ba-knob { outline: 3px solid rgba(47, 218, 202, .5); outline-offset: 2px; }
@media (min-width: 768px) { .cx-ba-tag { top: 24px; } .cx-ba-tag-l { left: 24px; } .cx-ba-tag-r { right: 24px; } }

/* "Deep Cleaning for Every Fabric & Fiber" bento cards */
.cx-svc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}
.cx-svc {
  --rx: 0deg; --ry: 0deg; --ty: 0px; --mx: 50%; --my: 50%;
  position: relative;
  height: 460px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background: #0E0E0F;
  color: #fff;
  opacity: 0;
  transform: perspective(1100px) translateY(48px) scale(.97);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease;
  transition-delay: calc(var(--i) * 110ms);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
  will-change: transform;
}
.cx-svc--wide { grid-column: span 2; }
.cx-svc.is-in {
  opacity: 1;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty));
}
.cx-svc.is-in.is-live { transition-delay: 0s; transition-duration: .9s, .45s, .5s; }
.cx-svc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  clip-path: inset(100% 0 0 0 round 28px);
  transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1), transform 1.6s cubic-bezier(.2, .8, .2, 1);
  transition-delay: calc(var(--i) * 110ms + 150ms);
}
.cx-svc.is-in .cx-svc-img { clip-path: inset(0 0 0 0 round 28px); transform: scale(1.02); }
.cx-svc.is-live .cx-svc-img { transition-delay: 0s; }
.cx-svc:hover .cx-svc-img { transform: scale(1.09); }
.cx-svc-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 12, 14, .5) 0%, rgba(10, 12, 14, 0) 32%), linear-gradient(to top, rgba(10, 12, 14, .94) 0%, rgba(10, 12, 14, .6) 38%, rgba(10, 12, 14, .05) 72%);
  transition: background .5s;
  z-index: 1;
}
.cx-svc:hover .cx-svc-shade { background: linear-gradient(to top, rgba(10, 12, 14, .96) 0%, rgba(10, 12, 14, .75) 55%, rgba(10, 12, 14, .2) 100%); }
.cx-svc-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(47, 218, 202, .28), transparent 45%);
}
.cx-svc::after {
  /* light border that lights up teal under the cursor */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  background: radial-gradient(260px circle at var(--mx) var(--my), #2FDACA, rgba(255, 255, 255, .14) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .55;
  transition: opacity .4s;
}
.cx-svc:hover::after, .cx-svc:hover .cx-svc-glow { opacity: 1; }
.cx-svc-num {
  position: absolute;
  top: 18px;
  left: 26px;
  z-index: 3;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .9);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
  transition: color .4s, -webkit-text-stroke-color .4s, transform .6s cubic-bezier(.2, .8, .2, 1);
}
.cx-svc:hover .cx-svc-num { color: #2FDACA; -webkit-text-stroke-color: #2FDACA; transform: translateY(-4px); }
.cx-svc-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 28px;
  transform: translateZ(40px);
}
.cx-svc-title { font-size: 26px; font-weight: 700; line-height: 1.15; margin: 0; max-width: 460px; }
.cx-svc-text {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
  max-width: 520px;
  max-height: 0;
  opacity: 0;
  margin: 0;
  overflow: hidden;
  transform: translateY(12px);
  transition: max-height .55s cubic-bezier(.2, .8, .2, 1), opacity .45s, transform .55s cubic-bezier(.2, .8, .2, 1), margin .55s;
}
.cx-svc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #2FDACA;
  background: linear-gradient(31.94deg, #fff 42.72%, #cbf4f0 72.62%, #2fdaca 123.05%);
  color: #1D1D1D;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: max-height .5s, opacity .4s, margin .5s, padding .5s, filter .3s;
}
.cx-svc-cta::after { content: "→"; transition: transform .3s; }
.cx-svc-cta:hover::after { transform: translateX(4px); }
.cx-svc:hover .cx-svc-text, .cx-svc:focus-within .cx-svc-text { max-height: 160px; opacity: 1; transform: none; margin-top: 10px; }
.cx-svc:hover .cx-svc-cta, .cx-svc:focus-within .cx-svc-cta { max-height: 48px; opacity: 1; margin-top: 16px; padding: 11px 18px; }

/* touch screens: no hover, so show everything */
@media (hover: none) {
  .cx-svc-text { max-height: none; opacity: 1; transform: none; margin-top: 10px; }
  .cx-svc-cta { max-height: none; opacity: 1; margin-top: 16px; padding: 11px 18px; }
  .cx-svc-shade { background: linear-gradient(to top, rgba(10, 12, 14, .95) 0%, rgba(10, 12, 14, .7) 50%, rgba(10, 12, 14, .1) 85%); }
}
@media (max-width: 1100px) {
  .cx-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-svc { height: 420px; }
}
@media (max-width: 640px) {
  .cx-svc-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 18px;
    margin: 0 -12px;
    padding-left: 12px;
    scrollbar-width: none;
  }
  .cx-svc-grid::-webkit-scrollbar { display: none; }
  .cx-svc { height: 460px; scroll-snap-align: center; }
  .cx-svc--wide { grid-column: auto; }
  .cx-svc-num { font-size: 56px; }
  .cx-svc-title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-svc, .cx-svc-img { transition: none; opacity: 1; transform: none; clip-path: none; }
}

/* even vertical rhythm between blocks (overrides the mixed Tailwind paddings) */
:root { --sec: 56px; }
@media (min-width: 768px) { :root { --sec: 72px; } }
@media (min-width: 1280px) { :root { --sec: 96px; } }
.cx-sec { padding-top: var(--sec) !important; padding-bottom: var(--sec) !important; }
.cx-sec-top { padding-top: var(--sec) !important; }
.cx-sec-bottom { padding-bottom: var(--sec) !important; }
/* gallery / reviews headers carried their own top padding on top of the section's */
#gallery > div:first-child, #review > div > div:first-child { padding-top: 0 !important; }
#gallery > div:first-child { padding-bottom: 40px; }
@media (min-width: 768px) { #gallery > div:first-child, #review > div > div:first-child { padding-bottom: 56px !important; } }
/* swiper pagination sits inside the section padding; drop the extra bottom room */
#gallery .mySwiper, #review .reviewSwiper { margin-bottom: -16px; }
/* black text panel next to the before/after slider */
.cx-ba + div { padding: 40px 20px !important; }
@media (min-width: 768px) { .cx-ba + div { padding: 48px 40px !important; } }

/* "Carpet & Upholstery Packages" -> photo service cards */
.cx-pk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
/* line the cards up with the heading (header row uses md:px-10) */
@media (min-width: 768px) { .cx-pk-grid { padding: 0 40px; } }
.cx-pk {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E6E6E6;
  border-radius: 26px;
  padding: 10px;
  color: #1D1D1D;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease, border-color .45s ease;
  transition-delay: calc(var(--i) * 70ms);
}
.cx-pk.is-in { opacity: 1; transform: none; }
.cx-pk.is-live { transition-delay: 0s; }
.cx-pk.is-live:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -18px rgba(14, 14, 15, .22); }
.cx-pk--wide { grid-column: span 2; }

.cx-pk-media { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #EDEDED; }
.cx-pk-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.cx-pk:hover .cx-pk-img { transform: scale(1.07); }
.cx-pk-tag {
  position: absolute; top: 12px; left: 12px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #1D1D1D;
}
.cx-pk-body { display: flex; flex-direction: column; flex: 1; padding: 18px 10px 8px; }
.cx-pk-title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.2; }
.cx-pk-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 22px; padding: 0; list-style: none; }
.cx-pk-chips li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  background: #EAFBF9; color: #0E7D73; font-size: 13px; font-weight: 600;
}
.cx-pk-chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2FDACA; }
.cx-pk-cta {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; width: 100%;
  padding: 6px 6px 6px 18px; border-radius: 999px;
  background: #F3F3F3; color: #1D1D1D; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background .3s, color .3s;
}
.cx-pk-arrow {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: #1D1D1D; color: #fff; transition: background .3s, color .3s, transform .35s cubic-bezier(.2, .8, .2, 1);
}
.cx-pk:hover .cx-pk-cta { background: #1D1D1D; color: #fff; }
.cx-pk:hover .cx-pk-arrow { background: #2FDACA; color: #1D1D1D; transform: rotate(-45deg); }

/* dark full-bleed cards: emergency + business */
.cx-pk--dark { padding: 0; min-height: 440px; overflow: hidden; isolation: isolate; background: #0E0E0F; border-color: transparent; color: #fff; }
.cx-pk--dark .cx-pk-img { position: absolute; inset: 0; z-index: -2; }
.cx-pk-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 12, 14, .92) 0%, rgba(10, 12, 14, .55) 45%, rgba(10, 12, 14, .05) 80%); }
.cx-pk--dark .cx-pk-body { justify-content: flex-end; padding: 28px; }
.cx-pk--dark .cx-pk-title { font-size: 30px; max-width: 520px; }
.cx-pk--dark:not(.cx-pk--wide) .cx-pk-title { font-size: 24px; }
.cx-pk-sub { margin: 10px 0 0; font-size: 17px; color: rgba(255, 255, 255, .8); }
.cx-pk-kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #2FDACA; margin-bottom: 8px; }
.cx-pk--dark .cx-pk-cta { margin-top: 22px; width: auto; align-self: flex-start; background: #fff; color: #1D1D1D; }
.cx-pk--dark:hover .cx-pk-cta { background: #2FDACA; }
.cx-pk--dark:hover .cx-pk-arrow { background: #1D1D1D; color: #fff; }
.cx-pk-badge {
  position: absolute; top: 20px; left: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 600;
}
.cx-pk-badge--live { background: #2FDACA; border-color: #2FDACA; color: #0E0E0F; }
.cx-pk-badge--live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #0E0E0F; }
.cx-pk-badge--live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #0E0E0F; animation: cx-pk-ping 1.6s ease-out infinite; }
@keyframes cx-pk-ping { to { transform: scale(2.6); opacity: 0; } }

@media (max-width: 1279px) {
  .cx-pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .cx-pk-grid {
    display: flex; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -12px; padding: 4px 12px 16px;
    scrollbar-width: none;
  }
  .cx-pk-grid::-webkit-scrollbar { display: none; }
  .cx-pk { flex: 0 0 82%; scroll-snap-align: center; }
  .cx-pk--dark { min-height: 0; }
  .cx-pk--dark .cx-pk-title, .cx-pk--dark:not(.cx-pk--wide) .cx-pk-title { font-size: 24px; }
  .cx-pk--dark .cx-pk-body { padding: 22px; padding-top: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-pk, .cx-pk-img, .cx-pk-arrow { transition: none; opacity: 1; transform: none; }
  .cx-pk-badge--live i::after { animation: none; }
}
.cx-pk-img[src$="pk-couch.jpg"] { object-position: 50% 45%; }
.cx-pk-img[src$="pk-emergency.jpg"] { object-position: 30% 50%; }

/* service picker in the request form / popup */
.cx-service-wrap { position: relative; display: block; }
.cx-service-label { position: absolute; top: 7px; left: 13px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8a8a8a; pointer-events: none; }
.cx-service {
  width: 100%; height: 56px; padding: 20px 40px 6px 12px;
  border: 1px solid #dcdcdc; border-radius: 12px;
  font: inherit; font-size: 16px; font-weight: 500; color: #1D1D1D;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%231D1D1D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.cx-service:focus { outline: none; border-color: #2FDACA; box-shadow: 0 0 0 3px rgba(47, 218, 202, .25); }
.cx-service.is-picked { border-color: #2FDACA; background-color: #F2FCFB; }
.cx-pk-img[src$="pk-floor.jpg"] { object-position: 50% 78%; }

/* gallery arrows: clean round buttons instead of Swiper's icon font */
#gallery .mySwiper .swiper-button-prev,
#gallery .mySwiper .swiper-button-next {
  width: 48px; height: 48px; padding: 0; margin: 0;
  border-radius: 50%; border: 1px solid #DCDCDC;
  background: #fff; color: #1D1D1D;
  display: grid; place-items: center;
  transition: background .3s, border-color .3s, color .3s, transform .3s, opacity .3s;
}
#gallery .mySwiper .swiper-button-prev { left: calc(50% - 240px); }
#gallery .mySwiper .swiper-button-next { right: calc(50% - 240px); background: #1D1D1D; border-color: #1D1D1D; color: #fff; }
#gallery .mySwiper .swiper-button-prev::after,
#gallery .mySwiper .swiper-button-next::after {
  content: ""; font-family: none; width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M3 9h12M10 4l5 5-5 5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M3 9h12M10 4l5 5-5 5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
#gallery .mySwiper .swiper-button-prev::after { transform: scaleX(-1); }
#gallery .mySwiper .swiper-button-prev svg,
#gallery .mySwiper .swiper-button-next svg { display: none; }
#gallery .mySwiper .swiper-button-prev:hover,
#gallery .mySwiper .swiper-button-next:hover { background: #2FDACA; border-color: #2FDACA; color: #1D1D1D; transform: scale(1.06); }
#gallery .mySwiper .swiper-button-disabled { opacity: .35; pointer-events: none; }
#gallery .mySwiper .swiper-pagination { bottom: 18px !important; }
@media (max-width: 767px) {
  #gallery .mySwiper .swiper-button-prev { left: 12px; }
  #gallery .mySwiper .swiper-button-next { right: 12px; }
  #gallery .mySwiper .swiper-button-prev, #gallery .mySwiper .swiper-button-next { width: 44px; height: 44px; }
}

/* hero + intro: same patterned background Vue applies on the other pages (scoped rule needs hydration) */
section.hero-section { background: #F1F1F1 url(/_nuxt/heroBg.Bb0mXYt-.svg) 50% center / contain repeat !important; }
/* layout:start */
.flex.gap-4.py-3.w-full[data-v-019ab30a] { max-width: none; }
/* layout:end */
/* review-links:start */
.cx-review-link { display: inline-flex; transition: opacity .25s ease, transform .25s ease; }
.cx-review-link:hover { opacity: .75; transform: translateY(-2px); }
/* review-links:end */
