/* ========================================================================== 
   Hardwood Floor Maintenance — Royal 2026 page
   Cleaning, care, warranty-friendly habits
   ========================================================================== */

.rhf-page--hardwood-floor-maintenance {
  --rhf-page-accent: #feda6a;
  --rhf-hm-dark-a: #494d5f;
  --rhf-hm-dark-b: #393f4d;
  --rhf-hm-dark-c: #1d1e22;
  --rhf-hm-plum-a: #3c3640;
  --rhf-hm-plum-b: #221f26;
  --rhf-hm-copy: rgba(255, 255, 255, 0.84);
  --rhf-hm-soft: rgba(255, 255, 255, 0.66);
  --rhf-hm-line: rgba(255, 255, 255, 0.16);
  --rhf-hm-card: rgba(255, 255, 255, 0.06);
  --rhf-hm-card-strong: rgba(255, 255, 255, 0.11);
  --rhf-hm-radius-xl: clamp(1.25rem, 2vw, 2rem);
  --rhf-hm-radius-lg: 1.35rem;
  --rhf-hm-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  background: var(--rhf-hm-dark-c);
  color: var(--rhf-hm-copy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Hero */
.rhf-page--hardwood-floor-maintenance .rhf-hm-hero {
  min-height: clamp(680px, 92vh, 940px);
  isolation: isolate;
}

.rhf-page--hardwood-floor-maintenance .rhf-hm-hero .rhf-page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #1d1e22, #393f4d);
}

.rhf-page--hardwood-floor-maintenance .rhf-hm-hero .rhf-page-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.rhf-page--hardwood-floor-maintenance .rhf-hm-hero .rhf-page-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--rhf-central-hero-shade) !important;
}

.rhf-page--hardwood-floor-maintenance .rhf-hm-hero .rhf-page-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1040px);
  align-items: end;
  justify-content: start;
  min-height: inherit;
  padding-block: clamp(8rem, 13vw, 11.5rem) clamp(5.5rem, 10vw, 8rem);
}

.rhf-page--hardwood-floor-maintenance .rhf-page-hero__copy {
  display: grid;
  justify-items: start;
  max-width: 1040px;
}

.rhf-page--hardwood-floor-maintenance .rhf-page-kicker,
.rhf-page--hardwood-floor-maintenance .rhf-section-kicker {
  margin: 0 0 1rem;
  color: var(--rhf-page-accent);
  -webkit-text-fill-color: var(--rhf-page-accent);
  font-size: clamp(0.72rem, 0.66rem + 0.22vw, 0.86rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: none;
  opacity: 1;
}

.rhf-page--hardwood-floor-maintenance .rhf-hm-hero h1 {
  max-width: 12ch;
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 7.4rem);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -0.056em;
  text-wrap: balance;
}

.rhf-hm-hero__lede {
  max-width: 780px;
  margin: clamp(1.1rem, 2vw, 1.45rem) 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.24vw, 1.18rem);
  font-weight: 500;
  line-height: 1.72;
}

.rhf-page--hardwood-floor-maintenance .rhf-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

/* Shared sections */
.rhf-hm-intro,
.rhf-hm-image-story,
.rhf-hm-dos,
.rhf-hm-video-section,
.rhf-hm-care,
.rhf-hm-faq,
.rhf-hm-final {
  position: relative;
  overflow: clip;
  padding: clamp(4.75rem, 9vw, 9rem) 0;
}

.rhf-hm-intro > .rhf-container,
.rhf-hm-image-story > .rhf-container,
.rhf-hm-dos > .rhf-container,
.rhf-hm-video-section > .rhf-container,
.rhf-hm-care > .rhf-container,
.rhf-hm-faq > .rhf-container,
.rhf-hm-final > .rhf-container {
  position: relative;
  z-index: 1;
}

.rhf-hm-intro,
.rhf-hm-dos,
.rhf-hm-care,
.rhf-hm-final {
  color: rgba(255, 255, 255, 0.9);
  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.09), transparent 54%),
    linear-gradient(135deg, var(--rhf-hm-dark-a) 0%, var(--rhf-hm-dark-b) 44%, var(--rhf-hm-dark-c) 100%);
}

.rhf-hm-image-story,
.rhf-hm-video-section,
.rhf-hm-faq {
  color: rgba(255, 255, 255, 0.9);
  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, #494d5f 0%, #1d1e22 100%);
}

.rhf-hm-final {
  background:
    radial-gradient(860px 420px at 10% 0%, rgba(254, 218, 106, 0.12), transparent 58%),
    radial-gradient(740px 360px at 96% 18%, rgba(255, 255, 255, 0.07), transparent 56%),
    linear-gradient(135deg, var(--rhf-hm-plum-a) 0%, var(--rhf-hm-plum-b) 100%);
}

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

.rhf-hm-opener h2,
.rhf-hm-section-heading h2,
.rhf-hm-image-story__copy h2,
.rhf-hm-video-copy h2,
.rhf-hm-final h2 {
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 5vw, 5.6rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.052em;
  text-rendering: geometricPrecision;
  text-wrap: balance;
}

.rhf-hm-opener p,
.rhf-hm-section-heading p,
.rhf-hm-image-story__copy p,
.rhf-hm-video-copy p,
.rhf-hm-final p {
  max-width: 790px;
  margin: 1.1rem 0 0;
  color: var(--rhf-hm-copy);
  font-size: clamp(1.02rem, 1.16vw, 1.14rem);
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: 0.005em;
}

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

.rhf-hm-proof,
.rhf-hm-card {
  position: relative;
  min-height: 210px;
  padding: clamp(1.25rem, 2vw, 1.7rem);
  border: 1px solid var(--rhf-hm-line);
  border-radius: var(--rhf-hm-radius-lg);
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(254, 218, 106, 0.10), transparent 60%),
    linear-gradient(180deg, var(--rhf-hm-card-strong), var(--rhf-hm-card));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.20);
}

.rhf-hm-proof span,
.rhf-hm-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--rhf-page-accent);
  -webkit-text-fill-color: var(--rhf-page-accent);
  font-size: 0.75rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rhf-hm-proof h3,
.rhf-hm-card h3,
.rhf-hm-check-list h3 {
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.rhf-hm-proof p,
.rhf-hm-card p {
  margin: 0.75rem 0 0;
  color: var(--rhf-hm-copy);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.65;
}

/* Image story */
.rhf-hm-image-story__grid,
.rhf-hm-video-grid,
.rhf-hm-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(1.75rem, 5vw, 5rem);
  align-items: center;
}

.rhf-hm-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}

.rhf-hm-image-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--rhf-hm-line);
  border-radius: var(--rhf-hm-radius-xl);
  background: rgba(0, 0, 0, 0.26);
  box-shadow: var(--rhf-hm-shadow);
}

.rhf-hm-image-card--offset {
  transform: translateY(clamp(1.2rem, 3vw, 2.5rem));
}

.rhf-hm-image-card picture,
.rhf-hm-image-card img {
  display: block;
  width: 100%;
}

.rhf-hm-image-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.rhf-hm-image-card figcaption,
.rhf-hm-video-card figcaption {
  padding: 1rem 1.15rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Do / avoid */
.rhf-hm-check-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(360px, 1fr));
  gap: clamp(1.25rem, 2.6vw, 2rem);
  align-items: stretch;
}

.rhf-hm-check-list {
  padding: clamp(1.45rem, 2.4vw, 2rem);
  border: 1px solid var(--rhf-hm-line);
  border-radius: var(--rhf-hm-radius-xl);
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(254, 218, 106, 0.10), transparent 60%),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.rhf-hm-check-list--warning {
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(254, 218, 106, 0.08), transparent 60%),
    rgba(0, 0, 0, 0.20);
}

.rhf-hm-check-list ul {
  display: grid;
  gap: 0.86rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.rhf-hm-check-list li {
  position: relative;
  padding-left: 1.55rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.98rem, 1.06vw, 1.08rem);
  font-weight: 500;
  line-height: 1.62;
}

.rhf-hm-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--rhf-page-accent);
  box-shadow: 0 0 0 4px rgba(254, 218, 106, 0.14);
}

/* Video */
.rhf-hm-video-copy .button {
  margin-top: 1.5rem;
}

.rhf-hm-video-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--rhf-hm-line);
  border-radius: var(--rhf-hm-radius-xl);
  background: rgba(0, 0, 0, 0.26);
  box-shadow: var(--rhf-hm-shadow);
}

.rhf-hm-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #111;
}

/* Care cards */
.rhf-hm-care-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* FAQ */
.rhf-hm-faq__grid {
  align-items: start;
}

.rhf-hm-faq__items {
  display: grid;
  gap: 0.2rem;
}

.rhf-hm-faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.rhf-hm-faq summary {
  cursor: pointer;
  padding: 1.05rem 0;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.02rem, 1.28vw, 1.18rem);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: 0.006em;
}

.rhf-hm-faq summary::-webkit-details-marker {
  display: none;
}

.rhf-hm-faq details p {
  margin: 0;
  padding: 0 0 1.15rem;
  color: var(--rhf-page-accent);
  -webkit-text-fill-color: var(--rhf-page-accent);
  font-size: clamp(0.98rem, 1.05vw, 1.05rem);
  font-weight: 600;
  line-height: 1.72;
  letter-spacing: 0.006em;
}

/* Final */
.rhf-hm-final__inner {
  max-width: 980px;
}

.rhf-hm-final .rhf-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

/* Button compatibility */
.rhf-page--hardwood-floor-maintenance .button {
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.rhf-page--hardwood-floor-maintenance .button--outline-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.06);
}

.rhf-page--hardwood-floor-maintenance .button--outline-light:hover,
.rhf-page--hardwood-floor-maintenance .button--outline-light:focus-visible {
  color: #1d1e22;
  border-color: #feda6a;
  background: #feda6a;
}

/* Responsive */
@media (max-width: 1180px) {
  .rhf-hm-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rhf-hm-care-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1020px) {
  .rhf-hm-image-story__grid,
  .rhf-hm-video-grid,
  .rhf-hm-faq__grid {
    grid-template-columns: 1fr;
  }

  .rhf-hm-check-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .rhf-page--hardwood-floor-maintenance .rhf-hm-hero {
    min-height: 720px;
  }

  .rhf-page--hardwood-floor-maintenance .rhf-hm-hero .rhf-page-hero__inner {
    padding-block: 7.2rem 4.5rem;
  }

  .rhf-page--hardwood-floor-maintenance .rhf-hm-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 11vw, 4.4rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
  }

  .rhf-page--hardwood-floor-maintenance .rhf-page-hero__actions,
  .rhf-hm-final .rhf-page-hero__actions {
    width: 100%;
  }

  .rhf-page--hardwood-floor-maintenance .button {
    width: 100%;
  }

  .rhf-hm-intro,
  .rhf-hm-image-story,
  .rhf-hm-dos,
  .rhf-hm-video-section,
  .rhf-hm-care,
  .rhf-hm-faq,
  .rhf-hm-final {
    padding-block: 3.75rem;
  }

  .rhf-hm-proof-grid,
  .rhf-hm-care-grid,
  .rhf-hm-image-pair {
    grid-template-columns: 1fr;
  }

  .rhf-hm-image-card--offset {
    transform: none;
  }

  .rhf-hm-image-card img,
  .rhf-hm-video-card video {
    aspect-ratio: 3 / 4;
  }

  .rhf-hm-opener h2,
  .rhf-hm-section-heading h2,
  .rhf-hm-image-story__copy h2,
  .rhf-hm-video-copy h2,
  .rhf-hm-final h2 {
    font-size: clamp(2.15rem, 12vw, 3.7rem);
    line-height: 1;
    letter-spacing: -0.045em;
  }

  .rhf-hm-proof,
  .rhf-hm-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rhf-page--hardwood-floor-maintenance *,
  .rhf-page--hardwood-floor-maintenance *::before,
  .rhf-page--hardwood-floor-maintenance *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
