/* ==========================================================================
   Carpet Care and Cleaning — Royal 2026 page
   Cleaned to match the carpet page family.
   ========================================================================== */

.rhf-page--carpet-care-cleaning {
  --rhf-page-accent: #feda6a;
  --rhf-cc-dark-a: #3c3640;
  --rhf-cc-dark-b: #221f26;
  --rhf-cc-slate-a: #494d5f;
  --rhf-cc-slate-b: #1d1e22;
  --rhf-cc-ink: #1d1e22;

  background: var(--rhf-cc-dark-b);
  color: rgba(255, 255, 255, 0.9);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Hero */
.rhf-page--carpet-care-cleaning .rhf-cc-hero {
  min-height: clamp(680px, 92vh, 940px);
}

.rhf-page--carpet-care-cleaning .rhf-page-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rhf-page--carpet-care-cleaning .rhf-cc-hero .rhf-page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1040px);
  align-items: end;
  justify-content: start;
  padding-block: clamp(8rem, 13vw, 11.5rem) clamp(5.5rem, 10vw, 8rem);
}

.rhf-page--carpet-care-cleaning .rhf-cc-hero .rhf-page-hero__copy {
  display: grid;
  justify-items: start;
  max-width: 1040px;
}

.rhf-page--carpet-care-cleaning .rhf-page-kicker,
.rhf-page--carpet-care-cleaning .rhf-section-kicker {
  color: var(--rhf-page-accent);
  -webkit-text-fill-color: var(--rhf-page-accent);
  font-weight: 950;
  letter-spacing: 0.16em;
  text-shadow: none;
  opacity: 1;
}

.rhf-page--carpet-care-cleaning .rhf-cc-hero .rhf-page-kicker {
  margin: 0 0 1rem;
  font-size: clamp(0.72rem, 0.66rem + 0.22vw, 0.86rem);
  line-height: 1;
}

.rhf-page--carpet-care-cleaning .rhf-cc-hero h1 {
  max-width: 11.5ch;
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-size: clamp(3rem, 7.5vw, 7.6rem);
  font-weight: 850;
  line-height: 0.91;
  letter-spacing: -0.073em;
  text-wrap: balance;
}

.rhf-cc-hero__lede {
  max-width: 720px;
  margin: clamp(1.2rem, 2vw, 1.6rem) 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  font-weight: 550;
  line-height: 1.62;
}

.rhf-page--carpet-care-cleaning .rhf-cc-hero .rhf-page-hero__actions {
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

.rhf-page--carpet-care-cleaning .rhf-cc-hero .rhf-page-hero__shade {
  background: var(--rhf-central-hero-shade) !important;
}

/* Shared sections */
.rhf-cc-intro,
.rhf-cc-guide,
.rhf-cc-warranty,
.rhf-cc-fit,
.rhf-cc-close {
  position: relative;
  overflow: clip;
  padding: clamp(4.75rem, 9vw, 9rem) 0;
}

.rhf-cc-intro > .rhf-container,
.rhf-cc-guide > .rhf-container,
.rhf-cc-warranty > .rhf-container,
.rhf-cc-fit > .rhf-container,
.rhf-cc-close > .rhf-container {
  position: relative;
  z-index: 1;
}

.rhf-cc-intro,
.rhf-cc-warranty,
.rhf-cc-close {
  background:
    radial-gradient(900px 460px at 8% 0%, rgba(255, 255, 255, 0.08), transparent 58%),
    radial-gradient(760px 360px at 100% 20%, rgba(254, 218, 106, 0.08), transparent 54%),
    linear-gradient(135deg, var(--rhf-cc-dark-a) 0%, var(--rhf-cc-dark-b) 100%);
}

.rhf-cc-guide,
.rhf-cc-fit {
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.16), transparent 42%),
    radial-gradient(760px 360px at 100% 20%, rgba(254, 218, 106, 0.10), transparent 54%),
    linear-gradient(180deg, var(--rhf-cc-slate-a) 0%, var(--rhf-cc-slate-b) 100%);
}

.rhf-cc-heading {
  max-width: 1080px;
  margin-bottom: clamp(2.3rem, 5vw, 4.2rem);
}

.rhf-cc-heading h2,
.rhf-cc-warranty-card__copy h2,
.rhf-cc-faq__intro h2,
.rhf-cc-final h2 {
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.052em;
  text-shadow: none;
  text-rendering: geometricPrecision;
}

.rhf-cc-heading h2 {
  max-width: 960px;
  font-size: clamp(2.4rem, 5.7vw, 6.2rem);
}

.rhf-cc-heading > p:last-child,
.rhf-cc-warranty-card__copy > p,
.rhf-cc-faq__intro p,
.rhf-cc-final > p {
  max-width: 780px;
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.16vw, 1.14rem);
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: 0.005em;
}

/* Icons */
.rhf-cc-icon {
  display: block;
  width: 2.15rem;
  height: 2.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Intro proof */
.rhf-cc-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.1rem, 2vw, 1.6rem);
}

.rhf-cc-proof {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.rhf-cc-proof .rhf-cc-icon,
.rhf-cc-note .rhf-cc-icon {
  color: var(--rhf-page-accent);
}

.rhf-cc-proof h3,
.rhf-cc-note h3 {
  margin: 1rem 0 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.rhf-cc-proof p,
.rhf-cc-note p {
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.6;
}

/* Editorial guide rows */
.rhf-cc-guide-list {
  display: grid;
  gap: clamp(1rem, 2vw, 1.45rem);
}

.rhf-cc-guide-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.45rem);
  padding: clamp(1.2rem, 2.4vw, 2rem) 0 0;
  border-top: 1px solid rgba(254, 218, 106, 0.24);
}

.rhf-cc-guide-row__icon {
  display: grid;
  place-items: center;
  width: clamp(3.4rem, 5vw, 4.35rem);
  height: clamp(3.4rem, 5vw, 4.35rem);
  border-radius: 1.15rem;
  background: rgba(254, 218, 106, 0.10);
  color: #feda6a;
}

.rhf-cc-guide-row__copy h3 {
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-size: clamp(1.8rem, 3.8vw, 4.2rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.rhf-cc-guide-row__copy > p:not(.rhf-section-kicker) {
  max-width: 800px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.08vw, 1.08rem);
  font-weight: 500;
  line-height: 1.68;
}

.rhf-cc-guide-row ul {
  display: grid;
  gap: 0.62rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.rhf-cc-guide-row li {
  position: relative;
  padding-left: 1.28rem;
  color: #feda6a;
  -webkit-text-fill-color: #feda6a;
  font-size: clamp(0.98rem, 1.03vw, 1.06rem);
  font-weight: 620;
  line-height: 1.58;
}

.rhf-cc-guide-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: #feda6a;
}

/* Warranty */
.rhf-cc-warranty-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: start;
  padding: clamp(1.35rem, 3vw, 2.5rem);
  border-radius: clamp(1.25rem, 2vw, 1.9rem);
  background:
    radial-gradient(800px 340px at 100% 0%, rgba(254, 218, 106, 0.12), transparent 58%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.24);
}

.rhf-cc-warranty-card__icon {
  display: grid;
  place-items: center;
  width: clamp(4rem, 7vw, 5.5rem);
  height: clamp(4rem, 7vw, 5.5rem);
  border-radius: 1.3rem;
  background: #1d1e22;
  color: #feda6a;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.rhf-cc-warranty-card__copy h2 {
  max-width: 880px;
  font-size: clamp(2.2rem, 5.2vw, 5.5rem);
}

.rhf-cc-warranty-card__copy .rhf-page-hero__actions {
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

.rhf-cc-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.45rem);
  margin-top: clamp(1.3rem, 2.4vw, 2rem);
}

.rhf-cc-note {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.20);
}

/* Related links */
.rhf-cc-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.rhf-cc-related a {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(254, 218, 106, 0.28);
  color: #feda6a;
  -webkit-text-fill-color: #feda6a;
  text-decoration: none;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.05);
}

.rhf-cc-related a:hover {
  background: rgba(254, 218, 106, 0.12);
}

/* FAQ — match the newer Royal Q&A component */
.rhf-cc-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: stretch;
}

.rhf-cc-faq__intro {
  align-self: center;
}

.rhf-cc-faq__intro h2 {
  max-width: 640px;
  font-size: clamp(2rem, 4.2vw, 4.4rem);
}

.rhf-cc-faq__panel {
  position: relative;
  isolation: isolate;
  padding: clamp(1rem, 2vw, 1.35rem);
  border-radius: clamp(1.35rem, 2.2vw, 2rem);
  background:
    radial-gradient(780px 280px at 100% 0%, rgba(255, 255, 255, 0.12), transparent 58%),
    linear-gradient(145deg, #2b2d35 0%, #17181d 68%, #111216 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.rhf-cc-faq__panel-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(0.85rem, 1.5vw, 1.15rem);
  align-items: center;
  margin: 0 0 clamp(0.85rem, 1.6vw, 1.15rem);
  padding: clamp(1rem, 1.8vw, 1.25rem);
  border-radius: clamp(1rem, 1.7vw, 1.35rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.rhf-cc-faq__panel-icon {
  display: grid;
  place-items: center;
  width: clamp(3.35rem, 5vw, 4.25rem);
  height: clamp(3.35rem, 5vw, 4.25rem);
  border-radius: 1.15rem;
  background:
    linear-gradient(145deg, #1d1e22 0%, #101116 100%);
  border: 1px solid rgba(254, 218, 106, 0.26);
  color: #feda6a;
}

.rhf-cc-faq__panel-icon .rhf-cc-icon {
  width: 55%;
  height: 55%;
}

.rhf-cc-faq__panel-eyebrow {
  margin: 0 0 0.28rem;
  color: #feda6a;
  -webkit-text-fill-color: #feda6a;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rhf-cc-faq__panel-head h3 {
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 830;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.rhf-cc-faq__panel-head p:last-child {
  max-width: 42rem;
  margin: 0.48rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.92rem, 1vw, 1rem);
  font-weight: 470;
  line-height: 1.56;
}

.rhf-cc-faq__items {
  display: grid;
  gap: 0;
  padding: clamp(0.85rem, 1.7vw, 1.2rem);
  border-radius: clamp(1rem, 1.7vw, 1.35rem);
  background:
    linear-gradient(135deg, #fcfcfa 0%, #f3f4f5 48%, #d9dce1 100%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.rhf-cc-faq__items details {
  border-bottom: 1px solid rgba(29, 30, 34, 0.13);
}

.rhf-cc-faq__items details:last-child {
  border-bottom: 0;
}

.rhf-cc-faq__items summary {
  position: relative;
  list-style: none;
  padding: 1.05rem 3.1rem 1.05rem 0;
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.08vw, 1.13rem);
  font-weight: 570;
  line-height: 1.42;
  letter-spacing: 0.001em;
  cursor: pointer;
}

.rhf-cc-faq__items summary::-webkit-details-marker {
  display: none;
}

.rhf-cc-faq__items summary:hover,
.rhf-cc-faq__items summary:focus,
.rhf-cc-faq__items summary:active {
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  background: transparent;
  outline: none;
}

.rhf-cc-faq__items summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 1.62rem;
  height: 1.62rem;
  border-radius: 999px;
  background: #1d1e22;
  color: #feda6a;
  -webkit-text-fill-color: #feda6a;
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  box-shadow:
    0 8px 18px rgba(29, 30, 34, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.rhf-cc-faq__items details[open] summary::after {
  content: "–";
}

.rhf-cc-faq__items details p {
  position: relative;
  max-width: 850px;
  margin: 0 3.1rem 1.12rem 0;
  padding: 0.92rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 30, 34, 0.08);
  border-left: 4px solid #1d1e22;
  border-radius: 0.74rem;
  color: #32363d;
  -webkit-text-fill-color: #32363d;
  font-size: clamp(0.98rem, 1.02vw, 1.05rem);
  font-weight: 480;
  line-height: 1.68;
  letter-spacing: 0.002em;
  box-shadow:
    0 12px 28px rgba(29, 30, 34, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.rhf-cc-faq__items details p::before {
  content: "Answer";
  display: table;
  margin: 0 0 0.48rem;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  background: #1d1e22;
  color: #feda6a;
  -webkit-text-fill-color: #feda6a;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rhf-cc-final {
  max-width: 980px;
  margin-top: clamp(4.5rem, 9vw, 8rem);
  padding-top: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.rhf-cc-final h2 {
  max-width: 900px;
  font-size: clamp(2.3rem, 5.2vw, 5.7rem);
}

.rhf-cc-final .rhf-page-hero__actions {
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

/* Responsive */
@media (max-width: 1120px) {
  .rhf-cc-proof-grid,
  .rhf-cc-note-grid,
  .rhf-cc-faq {
    grid-template-columns: 1fr;
  }

  .rhf-cc-warranty-card {
    grid-template-columns: 1fr;
  }

  .rhf-cc-faq__panel {
    margin-top: 1rem;
  }
}

@media (max-width: 760px) {
  .rhf-page--carpet-care-cleaning .rhf-cc-hero {
    min-height: 740px;
  }

  .rhf-page--carpet-care-cleaning .rhf-cc-hero .rhf-page-hero__inner {
    padding-block: 7.5rem 4.75rem;
  }

  .rhf-page--carpet-care-cleaning .rhf-cc-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.45rem, 11vw, 4.5rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
  }

  .rhf-cc-hero__lede {
    font-size: 1rem;
  }

  .rhf-cc-intro,
  .rhf-cc-guide,
  .rhf-cc-warranty,
  .rhf-cc-fit,
  .rhf-cc-close {
    padding-block: 3.75rem;
  }

  .rhf-cc-heading h2,
  .rhf-cc-warranty-card__copy h2,
  .rhf-cc-faq__intro h2,
  .rhf-cc-final h2 {
    font-size: clamp(2.15rem, 12vw, 3.7rem);
    line-height: 1;
    letter-spacing: -0.045em;
  }

  .rhf-cc-guide-row {
    grid-template-columns: 1fr;
  }

  .rhf-cc-guide-row__copy h3 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .rhf-cc-faq__panel {
    padding: 0.9rem;
    border-radius: 1.3rem;
  }

  .rhf-cc-faq__panel-head {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }

  .rhf-cc-faq__panel-head h3 {
    font-size: clamp(1.8rem, 9vw, 2.55rem);
  }

  .rhf-cc-faq__items {
    padding: 0.85rem;
  }

  .rhf-cc-faq__items summary {
    padding: 0.98rem 2.55rem 0.98rem 0;
    font-size: 1rem;
    line-height: 1.38;
  }

  .rhf-cc-faq__items summary::after {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1rem;
  }

  .rhf-cc-faq__items details p {
    margin: 0 2.55rem 1rem 0;
    padding: 0.85rem 0.9rem 0.92rem;
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .rhf-cc-faq__items details p::before {
    font-size: 0.68rem;
  }
}

/* ROYAL CARE CLEANING HERO TEXT OVERLAY FIX START */
.rhf-page--carpet-care-cleaning .rhf-cc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.rhf-page--carpet-care-cleaning .rhf-cc-hero .rhf-page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rhf-page--carpet-care-cleaning .rhf-cc-hero .rhf-page-hero__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rhf-page--carpet-care-cleaning .rhf-cc-hero .rhf-page-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.rhf-page--carpet-care-cleaning .rhf-cc-hero .rhf-page-hero__inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
}

.rhf-page--carpet-care-cleaning .rhf-cc-hero .rhf-page-hero__copy,
.rhf-page--carpet-care-cleaning .rhf-cc-hero .rhf-cc-hero__copy {
  position: relative;
  z-index: 3;
}

.rhf-page--carpet-care-cleaning .rhf-cc-hero h1 {
  max-width: 11.5ch;
}

.rhf-page--carpet-care-cleaning .rhf-cc-hero__lede {
  max-width: 720px;
  margin: clamp(1.2rem, 2vw, 1.6rem) 0 0;
  color: rgba(255, 255, 255, 0.86);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  font-weight: 550;
  line-height: 1.62;
  text-shadow: none;
}

@media (max-width: 760px) {
  .rhf-page--carpet-care-cleaning .rhf-cc-hero__lede {
    max-width: 31rem;
    font-size: 1rem;
    line-height: 1.58;
  }
}
/* ROYAL CARE CLEANING HERO TEXT OVERLAY FIX END */
