/* Photo cards for BaseSteps (generated by carpet-build/patch-steps.js from carpet/carpet.css) */
/* "Deep Cleaning for Every Fabric & Fiber" bento cards */
.cx-svc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}
.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; }
}


/* 4 steps: one row of equal cards */
@media (min-width: 1101px) { .cx-svc-grid--4 .cx-svc { height: 480px; } }
/* without JS (or before it runs) cards must stay visible */
html:not(.cx-js) .cx-svc { opacity: 1; transform: none; }
html:not(.cx-js) .cx-svc-img { clip-path: none; transform: none; }
/* ---- Services We Provide (patch-services.js) ---- */
/* "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%; }

html:not(.cx-js) .cx-pk { opacity: 1; transform: none; }
.cx-services.hero-bg { background-image: url(/_nuxt/heroBg.Bb0mXYt-.svg); background-size: contain; }
/* ---- home hero video (patch-home-video.js) ---- */
.cx-hero-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #0E0E0F url(/cx/video/cleonox-hero-poster.jpg) center / cover no-repeat; }
.cx-hero-video__media { width: 100%; height: 100%; object-fit: cover; display: block; }
/* keeps the logo, title and glass buttons readable over a bright frame */
.cx-hero-video__shade { position: absolute; inset: 0; background:
  radial-gradient(120% 80% at 50% 45%, rgba(10, 12, 14, .18) 0%, rgba(10, 12, 14, .55) 100%),
  linear-gradient(to bottom, rgba(10, 12, 14, .5) 0%, rgba(10, 12, 14, .1) 40%, rgba(10, 12, 14, .5) 100%); }
.cx-hero-video ~ * { position: relative; z-index: 1; }
.cx-hero-video ~ .absolute { position: absolute; }
@media (prefers-reduced-motion: reduce) { .cx-hero-video__media { display: none; } }
/* home-layout:start */
section.bg[data-v-5a0e8f3d] { align-items: stretch !important; justify-content: flex-start; min-height: 100vh; min-height: 100svh;
  padding: 28px 48px 44px !important; }
section.bg[data-v-5a0e8f3d] > .text-center { display: contents; }
section.bg[data-v-5a0e8f3d] .logo-wrapper, section.bg[data-v-5a0e8f3d] h1, section.bg[data-v-5a0e8f3d] h1 + p { position: relative; z-index: 2; }
section.bg[data-v-5a0e8f3d] .logo-wrapper { margin: 0 !important; align-self: flex-start; }
section.bg[data-v-5a0e8f3d] .bg-logo { display: none; }
section.bg[data-v-5a0e8f3d] .logo-wrapper img.relative { height: 104px !important; width: auto; }
section.bg[data-v-5a0e8f3d] > .absolute.rounded-full { display: none; }
section.bg[data-v-5a0e8f3d] h1 { margin-top: auto; text-align: left; max-width: none; white-space: pre-line; font-size: clamp(2.5rem, 4.8vw, 4.75rem) !important;
  line-height: 1.02; font-weight: 600; letter-spacing: -.025em; }
section.bg[data-v-5a0e8f3d] h1 + p { text-align: left; max-width: 46ch; margin-top: 18px; font-size: clamp(1rem, 1.25vw, 1.25rem) !important;
  line-height: 1.5; color: rgba(255,255,255,.82) !important; }
/* service buttons: solid white pills — index number, spaced caps label, black arrow disc */
section.bg[data-v-5a0e8f3d] > .grid { max-width: none !important; margin-top: 44px; gap: 14px !important; counter-reset: cxsvc; }
section.bg[data-v-5a0e8f3d] .glass-card { counter-increment: cxsvc; display: flex; align-items: center; min-height: 66px; padding: 8px 8px 8px 26px;
  border-radius: 9999px; background: #fff; border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 12px 34px rgba(0,0,0,.28); transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
section.bg[data-v-5a0e8f3d] .glass-card:hover { border: 1px solid #fff; transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.36); }
section.bg[data-v-5a0e8f3d] .glass-card::before { content: counter(cxsvc, decimal-leading-zero); flex: none; margin-right: 16px;
  font-size: 11px; font-weight: 500; letter-spacing: .12em; color: #a3a3a3; position: relative; z-index: 2; }
section.bg[data-v-5a0e8f3d] .glass-card::after { content: ""; flex: none; width: 46px; height: 46px; margin-left: 12px; border-radius: 50%;
  background: #0E0E0F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / 18px no-repeat; position: relative; z-index: 2;
  transition: background-color .35s, transform .45s cubic-bezier(.2,.7,.2,1); }
section.bg[data-v-5a0e8f3d] .glass-card:hover::after { background-color: #2FDACA; transform: rotate(45deg); }
section.bg[data-v-5a0e8f3d] .glass-card .content { flex: 1; justify-content: flex-start; background: none; padding: 0; border-radius: 0; }
section.bg[data-v-5a0e8f3d] .glass-card .content p { color: #0E0E0F !important; text-align: left !important; text-transform: uppercase;
  font-weight: 600; font-size: 12.5px !important; line-height: 1.35; letter-spacing: .14em !important; }
/* darker bottom-left so the headline reads over any frame */
section.bg[data-v-5a0e8f3d] .cx-hero-video__shade { background:
  linear-gradient(to top, rgba(8,10,12,.82) 0%, rgba(8,10,12,.35) 45%, rgba(8,10,12,.15) 70%, rgba(8,10,12,.45) 100%),
  linear-gradient(to right, rgba(8,10,12,.45) 0%, rgba(8,10,12,0) 60%); }
@media (max-width: 767px) {
  section.bg[data-v-5a0e8f3d] { padding: 20px 20px 28px !important; }
  section.bg[data-v-5a0e8f3d] .logo-wrapper img.relative { height: 72px !important; }
  section.bg[data-v-5a0e8f3d] > .grid { margin-top: 28px; gap: 10px !important; }
  section.bg[data-v-5a0e8f3d] .glass-card { min-height: 58px; padding: 6px 6px 6px 20px; }
  section.bg[data-v-5a0e8f3d] .glass-card::after { width: 42px; height: 42px; }
  section.bg[data-v-5a0e8f3d] .glass-card .content p { font-size: 12px !important; letter-spacing: .12em !important; }
}
/* home-layout:end */
