/* ============================================================================
   Hardwood Refinishing Process — Royal 2026 page
   Short service/process page with dark slate + gold section system.
   ============================================================================ */

.rhf-page--hardwood-refinishing-process {
  --rhf-page-accent: #feda6a;

  --rhf-hrp-dark-a: #3c3640;
  --rhf-hrp-dark-b: #221f26;
  --rhf-hrp-slate-a: #494d5f;
  --rhf-hrp-slate-b: #1d1e22;
  --rhf-hrp-warm-a: #2c242b;
  --rhf-hrp-warm-b: #1c141a;

  --rhf-hrp-ink: #1d1e22;
  --rhf-hrp-muted-white: rgba(255, 255, 255, 0.84);
  --rhf-hrp-soft-white: rgba(255, 255, 255, 0.9);
  --rhf-hrp-border: rgba(255, 255, 255, 0.16);
  --rhf-hrp-card: rgba(255, 255, 255, 0.06);
  --rhf-hrp-radius-xl: clamp(1.2rem, 2vw, 2rem);
  --rhf-hrp-radius-lg: 1.35rem;
  --rhf-hrp-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);

  background: var(--rhf-hrp-dark-b);
  color: var(--rhf-hrp-soft-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ============================================================================
   Hero
   ============================================================================ */

.rhf-page--hardwood-refinishing-process .rhf-hrp-hero {
  min-height: clamp(680px, 92vh, 940px);
  isolation: isolate;
}

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

.rhf-page--hardwood-refinishing-process .rhf-hrp-hero .rhf-page-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.rhf-page--hardwood-refinishing-process .rhf-hrp-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-refinishing-process .rhf-hrp-hero .rhf-page-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 980px);
  align-items: end;
  justify-content: start;
  min-height: inherit;
  padding-block: clamp(8rem, 13vw, 11.5rem) clamp(5.5rem, 10vw, 8rem);
}

.rhf-page--hardwood-refinishing-process .rhf-hrp-hero .rhf-page-hero__copy {
  display: grid;
  justify-items: start;
  max-width: 980px;
}

.rhf-page--hardwood-refinishing-process .rhf-page-kicker,
.rhf-page--hardwood-refinishing-process .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.15;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: none;
  opacity: 1;
}

.rhf-page--hardwood-refinishing-process .rhf-hrp-hero h1 {
  max-width: 12ch;
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7.5vw, 7.6rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.rhf-hrp-hero__lede {
  max-width: 760px;
  margin: clamp(1.15rem, 2vw, 1.5rem) 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.24vw, 1.18rem);
  font-weight: 500;
  line-height: 1.72;
}

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

/* ============================================================================
   Section color system — matches the dark slate/gold reference page
   ============================================================================ */

.rhf-hrp-intro,
.rhf-hrp-story,
.rhf-hrp-timeline,
.rhf-hrp-fit,
.rhf-hrp-faq-close {
  position: relative;
  overflow: clip;
  padding: clamp(4.75rem, 9vw, 9rem) 0;
}

.rhf-hrp-intro > .rhf-container,
.rhf-hrp-story > .rhf-container,
.rhf-hrp-timeline > .rhf-container,
.rhf-hrp-fit > .rhf-container,
.rhf-hrp-faq-close > .rhf-container {
  position: relative;
  z-index: 1;
}

.rhf-hrp-intro,
.rhf-hrp-story--2,
.rhf-hrp-fit {
  color: var(--rhf-hrp-soft-white);
  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-hrp-dark-a) 0%, var(--rhf-hrp-dark-b) 100%);
}

.rhf-hrp-story--1,
.rhf-hrp-story--3,
.rhf-hrp-timeline {
  color: var(--rhf-hrp-soft-white);
  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-hrp-slate-a) 0%, var(--rhf-hrp-slate-b) 100%);
}

.rhf-hrp-faq-close {
  color: var(--rhf-hrp-soft-white);
  background:
    radial-gradient(860px 420px at 10% 0%, rgba(254, 218, 106, 0.10), transparent 58%),
    radial-gradient(740px 360px at 96% 18%, rgba(255, 255, 255, 0.07), transparent 56%),
    linear-gradient(135deg, var(--rhf-hrp-warm-a) 0%, var(--rhf-hrp-warm-b) 100%);
}

.rhf-hrp-intro::before,
.rhf-hrp-story::before,
.rhf-hrp-timeline::before,
.rhf-hrp-fit::before,
.rhf-hrp-faq-close::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(4rem, 9vw, 8rem);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.08), transparent);
}

/* ============================================================================
   Typography
   ============================================================================ */

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

.rhf-hrp-opener h2,
.rhf-hrp-story__copy h2,
.rhf-hrp-section-heading h2,
.rhf-hrp-fit__copy h2,
.rhf-hrp-faq__intro h2,
.rhf-hrp-final h2 {
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.2vw, 5.8rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.052em;
  text-shadow: none;
  text-rendering: geometricPrecision;
  text-wrap: balance;
}

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

.rhf-hrp-opener p:last-child,
.rhf-hrp-section-heading p,
.rhf-hrp-fit__copy p,
.rhf-hrp-final > p {
  max-width: 790px;
  margin: 1.2rem 0 0;
  color: var(--rhf-hrp-muted-white);
  font-size: clamp(1.04rem, 1.2vw, 1.15rem);
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: 0.005em;
}

/* ============================================================================
   Intro proof cards
   ============================================================================ */

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

.rhf-hrp-proof {
  min-height: 220px;
  padding: clamp(1.25rem, 2vw, 1.7rem);
  border: 1px solid var(--rhf-hrp-border);
  border-radius: var(--rhf-hrp-radius-lg);
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(254, 218, 106, 0.10), transparent 60%),
    linear-gradient(135deg, rgba(34, 31, 38, 0.72), rgba(29, 30, 34, 0.82));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.20);
}

.rhf-hrp-proof span {
  display: inline-flex;
  color: var(--rhf-page-accent);
  -webkit-text-fill-color: var(--rhf-page-accent);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.04em;
}

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

.rhf-hrp-proof p {
  margin: 0.7rem 0 0;
  color: var(--rhf-hrp-muted-white);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ============================================================================
   Process video stories
   ============================================================================ */

.rhf-hrp-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.98fr);
  gap: clamp(1.75rem, 5vw, 5rem);
  align-items: center;
}

.rhf-hrp-story__grid--reverse {
  grid-template-columns: minmax(320px, 0.98fr) minmax(0, 0.92fr);
}

.rhf-hrp-story__grid--reverse .rhf-hrp-story__copy {
  order: 2;
}

.rhf-hrp-story__grid--reverse .rhf-hrp-story__media {
  order: 1;
}

.rhf-hrp-story__copy > p:not(.rhf-section-kicker) {
  max-width: 720px;
  margin: 1.15rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.16vw, 1.12rem);
  font-weight: 500;
  line-height: 1.72;
}

.rhf-hrp-story__copy ul {
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.rhf-hrp-story__copy li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--rhf-page-accent);
  -webkit-text-fill-color: var(--rhf-page-accent);
  font-size: clamp(1rem, 1.08vw, 1.08rem);
  font-weight: 700;
  line-height: 1.62;
  letter-spacing: 0.006em;
}

.rhf-hrp-story__copy 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);
}

.rhf-hrp-story__media {
  margin: 0;
}

.rhf-hrp-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 0;
  border-radius: var(--rhf-hrp-radius-xl);
  background: #111;
  box-shadow:
    var(--rhf-hrp-shadow),
    0 1px 0 rgba(255, 255, 255, 0.14) inset;
  overflow: hidden;
}

/* ============================================================================
   Timeline
   ============================================================================ */

.rhf-hrp-timeline__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.1rem, 2vw, 1.6rem);
}

.rhf-hrp-timeline-card {
  min-height: 240px;
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
  border-top: 1px solid rgba(254, 218, 106, 0.24);
}

.rhf-hrp-timeline-card span {
  display: inline-flex;
  color: var(--rhf-page-accent);
  -webkit-text-fill-color: var(--rhf-page-accent);
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 2.25rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.04em;
}

.rhf-hrp-timeline-card h3 {
  margin: 1rem 0 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-size: clamp(1.2rem, 1.9vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.rhf-hrp-timeline-card p {
  margin: 0.75rem 0 0;
  color: var(--rhf-hrp-muted-white);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ============================================================================
   Refinish or replace fit section
   ============================================================================ */

.rhf-hrp-fit__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(1.75rem, 5vw, 5rem);
  align-items: start;
}

.rhf-hrp-fit__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}

.rhf-hrp-fit-card {
  min-height: 280px;
  padding: clamp(1.25rem, 2.5vw, 1.9rem);
  border: 1px solid var(--rhf-hrp-border);
  border-radius: var(--rhf-hrp-radius-lg);
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(254, 218, 106, 0.12), transparent 60%),
    linear-gradient(135deg, rgba(34, 31, 38, 0.96), rgba(29, 30, 34, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.rhf-hrp-fit-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-hrp-fit-card h3 {
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.rhf-hrp-fit-card p {
  margin: 0.8rem 0 0;
  color: var(--rhf-hrp-muted-white);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ============================================================================
   FAQ + final CTA
   ============================================================================ */

.rhf-hrp-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}

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

.rhf-hrp-faq__intro p:last-child {
  max-width: 540px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.68;
}

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

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

.rhf-hrp-faq summary {
  cursor: pointer;
  padding: 1.05rem 0;
  color: #ffffff;
  -webkit-text-fill-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;
  list-style: none;
}

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

.rhf-hrp-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;
}

.rhf-hrp-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-hrp-final h2 {
  max-width: 900px;
  font-size: clamp(2.3rem, 5.2vw, 5.7rem);
}

.rhf-hrp-final > p {
  max-width: 720px;
}

.rhf-hrp-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-refinishing-process .button {
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.rhf-page--hardwood-refinishing-process .button--gold {
  box-shadow: 0 18px 45px rgba(254, 218, 106, 0.18);
}

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

.rhf-page--hardwood-refinishing-process .button--outline-light:hover,
.rhf-page--hardwood-refinishing-process .button--outline-light:focus-visible {
  color: #1d1e22;
  border-color: var(--rhf-page-accent);
  background: var(--rhf-page-accent);
}

/* ============================================================================
   Responsive
   ============================================================================ */

@media (max-width: 1120px) {
  .rhf-hrp-proof-grid,
  .rhf-hrp-timeline__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rhf-hrp-story__grid,
  .rhf-hrp-story__grid--reverse,
  .rhf-hrp-fit__grid,
  .rhf-hrp-faq {
    grid-template-columns: 1fr;
  }

  .rhf-hrp-story__grid--reverse .rhf-hrp-story__copy,
  .rhf-hrp-story__grid--reverse .rhf-hrp-story__media {
    order: initial;
  }
}

@media (max-width: 820px) {
  .rhf-hrp-fit__cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .rhf-page--hardwood-refinishing-process .rhf-hrp-hero {
    min-height: 740px;
  }

  .rhf-page--hardwood-refinishing-process .rhf-hrp-hero .rhf-page-hero__inner {
    padding-block: 7.5rem 4.75rem;
  }

  .rhf-page--hardwood-refinishing-process .rhf-hrp-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.45rem, 11vw, 4.5rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
  }

  .rhf-page--hardwood-refinishing-process .rhf-page-hero__actions,
  .rhf-hrp-final .rhf-page-hero__actions {
    width: 100%;
  }

  .rhf-page--hardwood-refinishing-process .rhf-hrp-hero .button,
  .rhf-hrp-final .button {
    width: 100%;
  }

  .rhf-hrp-intro,
  .rhf-hrp-story,
  .rhf-hrp-timeline,
  .rhf-hrp-fit,
  .rhf-hrp-faq-close {
    padding-block: 3.75rem;
  }

  .rhf-hrp-opener,
  .rhf-hrp-section-heading {
    margin-bottom: 2rem;
  }

  .rhf-hrp-opener h2,
  .rhf-hrp-story__copy h2,
  .rhf-hrp-section-heading h2,
  .rhf-hrp-fit__copy h2,
  .rhf-hrp-faq__intro h2,
  .rhf-hrp-final h2 {
    font-size: clamp(2.15rem, 12vw, 3.7rem);
    line-height: 1.03;
    letter-spacing: -0.045em;
  }

  .rhf-hrp-proof-grid,
  .rhf-hrp-timeline__grid {
    grid-template-columns: 1fr;
  }

  .rhf-hrp-proof,
  .rhf-hrp-timeline-card,
  .rhf-hrp-fit-card {
    min-height: auto;
  }

  .rhf-hrp-video {
    aspect-ratio: 3 / 4;
    border-radius: 1.15rem;
  }
}

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