/* ==========================================================================
   Royal Roomvo Full Catalog
   Used for carpet page: hero + full catalog only.
   ========================================================================== */

.rhf-roomvo-full-catalog {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

.rhf-roomvo-full-catalog__iframe {
  display: block !important;
  width: 100% !important;
  min-height: 100vh !important;
  border: 0 !important;
  background: #ffffff url("https://www.roomvo.com/static/images/loader.gif") center center no-repeat;
}

@media (max-width: 767px) {
  .rhf-roomvo-full-catalog__iframe {
    min-height: 100vh !important;
  }
}

/* Locally hosted variable fonts. Licenses: /website/fonts/*-OFL.txt. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/website/fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/website/fonts/manrope-latin.woff2') format('woff2');
}

/* ==========================================================================
   Royal Custom Theme — Main Foundation
   Purpose: design tokens, reset, typography, layout primitives, buttons,
   forms, content pages, WordPress helpers. Header/footer/home are separate.
   ========================================================================== */

:root {
  color-scheme: light;

  --royal-white: #ffffff;
  --royal-black: #05070b;
  --royal-page: #f7f5ef;
  --royal-paper: #fffdf8;
  --royal-soft: #f0eee7;
  --royal-line: rgba(9, 24, 44, 0.12);

  --royal-ink: #162033;
  --royal-ink-soft: #2d384b;
  --royal-muted: #6d7482;

  --royal-navy-950: #04101f;
  --royal-navy-900: #07182f;
  --royal-navy: #0a2342;
  --royal-navy-700: #17385f;
  --royal-blue: #2d4373;

  --royal-gold-100: #fff1bf;
  --royal-gold-200: #f6dfa0;
  --royal-gold: #d4af37;
  --royal-gold-700: #ad8425;
  --royal-copper: #9b5f35;
  --royal-burgundy: #5e1746;

  --gradient-navy: linear-gradient(145deg, #04101f 0%, #07182f 44%, #0a2342 100%);
  --gradient-gold: linear-gradient(180deg, #fff0bf 0%, #d4af37 58%, #aa8428 100%);
  --gradient-soft: linear-gradient(180deg, #fffdf8 0%, #f7f5ef 100%);

  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --type-body-size: clamp(1rem, 0.94rem + 0.22vw, 1.125rem);
  --type-body-line: 1.68;
  --type-body-track: -0.008em;
  --type-small-size: 0.9rem;
  --type-small-line: 1.45;
  --type-eyebrow-size: clamp(0.72rem, 0.68rem + 0.1vw, 0.78rem);
  --type-eyebrow-track: 0.18em;
  --type-h1: clamp(3.15rem, 7.3vw, 7rem);
  --type-h2: clamp(2rem, 4.2vw, 4.4rem);
  --type-h3: clamp(1.35rem, 2.4vw, 2rem);

  --container: 1280px;
  --container-wide: 1480px;
  --content: 820px;
  --gutter: clamp(1rem, 3vw, 2.25rem);
  --section-space: clamp(4.25rem, 8vw, 8rem);

  --radius-sm: 0.625rem;
  --radius-md: 1rem;
  --radius-lg: 1.35rem;
  --radius-xl: 1.75rem;
  --radius-2xl: 2.5rem;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 48px rgba(7, 24, 47, 0.12);
  --shadow-strong: 0 28px 90px rgba(7, 24, 47, 0.28);
  --focus: 0 0 0 4px rgba(212, 175, 55, 0.35);

  --duration-fast: 180ms;
  --duration: 260ms;
  --duration-slow: 700ms;
  --ease-standard: cubic-bezier(0.2, 0.72, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--royal-navy-950);
}

body {
  margin: 0;
  background: var(--royal-page);
  color: var(--royal-ink);
  font-family: var(--font-body);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  letter-spacing: var(--type-body-track);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.site-menu-open {
  overflow: hidden;
}

img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: var(--royal-blue);
  text-underline-offset: 0.2em;
  transition: color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), background var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--royal-burgundy);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

::selection {
  background: var(--royal-gold);
  color: var(--royal-navy-950);
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10000;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--royal-gold);
  color: var(--royal-navy-950);
  font-weight: 900;
  text-decoration: none;
}

.container,
.rhf-container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.container--wide,
.rhf-container--wide {
  width: min(100% - (var(--gutter) * 2), var(--container-wide));
  margin-inline: auto;
}

.container--content,
.rhf-container--content {
  width: min(100% - (var(--gutter) * 2), var(--content));
  margin-inline: auto;
}

.site-main {
  min-height: 52vh;
  background: var(--royal-page);
}

.has-cinematic-home .site-main {
  background: var(--royal-navy-950);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

h1 { font-size: var(--type-h1); }
h2 { font-size: var(--type-h2); }
h3 { font-size: var(--type-h3); }

p {
  text-wrap: pretty;
}

.royal-kicker,
.rhf-eyebrow,
.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--royal-gold-200);
  font-family: var(--font-body);
  font-size: var(--type-eyebrow-size);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: var(--type-eyebrow-track);
  text-transform: uppercase;
}

.button,
.rhf-button,
input[type="submit"],
button[type="submit"],
.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), background var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}

.button:hover,
.rhf-button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.search-submit:hover {
  transform: translateY(-1px);
}

.button--gold,
.rhf-button--gold {
  color: var(--royal-navy-950);
  border-color: rgba(255, 238, 184, 0.72);
  background: var(--gradient-gold);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 16px 34px rgba(212, 175, 55, 0.22);
}

.button--gold:hover,
.rhf-button--gold:hover {
  color: var(--royal-navy-950);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 20px 46px rgba(212, 175, 55, 0.3);
}

.button--dark,
.rhf-button--dark {
  color: var(--royal-white);
  background: var(--royal-navy-950);
  box-shadow: 0 16px 34px rgba(7, 24, 47, 0.24);
}

.button--dark:hover,
.rhf-button--dark:hover {
  color: var(--royal-white);
  background: var(--royal-navy);
}

.button--outline-light,
.rhf-button--ghost-light,
.button--outline,
.rhf-button--outline {
  color: var(--royal-white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.button--outline-light:hover,
.rhf-button--ghost-light:hover,
.button--outline:hover,
.rhf-button--outline:hover {
  color: var(--royal-white);
  border-color: rgba(246, 223, 160, 0.68);
  background: rgba(255, 255, 255, 0.14);
}

.button--outline-dark,
.rhf-button--outline-dark {
  color: var(--royal-navy);
  border-color: rgba(10, 35, 66, 0.22);
  background: rgba(255, 255, 255, 0.68);
}

.button--outline-dark:hover,
.rhf-button--outline-dark:hover {
  color: var(--royal-white);
  border-color: var(--royal-navy);
  background: var(--royal-navy);
}

.search-form {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.search-field,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
textarea,
select {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(10, 35, 66, 0.16);
  border-radius: var(--radius-md);
  background: var(--royal-white);
  color: var(--royal-ink);
  padding: 0.9rem 1rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 7rem);
  color: var(--royal-white);
  background:
    radial-gradient(circle at 85% 10%, rgba(212, 175, 55, 0.15), transparent 24rem),
    radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.08), transparent 22rem),
    var(--gradient-navy);
}

.page-hero h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.archive-description,
.entry-meta,
.page-hero p {
  color: rgba(255,255,255,0.78);
}

.content-section,
.rhf-section {
  padding: var(--section-space) 0;
  background: var(--royal-page);
}

.page-content,
.entry-content {
  width: min(100% - (var(--gutter) * 2), var(--content));
  margin-inline: auto;
  color: var(--royal-ink-soft);
}

.page-content > *:first-child,
.entry-content > *:first-child { margin-top: 0; }
.page-content > *:last-child,
.entry-content > *:last-child { margin-bottom: 0; }

.page-content h2,
.page-content h3,
.page-content h4,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 2.2em 0 0.7em;
  color: var(--royal-navy);
}

.page-content h2,
.entry-content h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.page-content h3,
.entry-content h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); }

.page-content img,
.entry-content img,
.entry-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.page-content blockquote,
.entry-content blockquote {
  margin: 2rem 0;
  padding: 1.35rem 1.5rem;
  border-left: 4px solid var(--royal-gold);
  border-radius: var(--radius-md);
  background: var(--royal-paper);
  box-shadow: var(--shadow-soft);
}

.post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.content-card,
.empty-state {
  overflow: hidden;
  border: 1px solid rgba(10, 35, 66, 0.08);
  border-radius: var(--radius-lg);
  background: var(--royal-paper);
  box-shadow: var(--shadow-soft);
}

.content-card__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.content-card__body,
.empty-state {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.content-card__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.content-card__title a {
  color: var(--royal-navy);
  text-decoration: none;
}

.empty-state {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.alignwide {
  width: min(100%, var(--container));
  max-width: var(--container);
  margin-inline: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.wp-caption { max-width: 100%; }
.wp-caption-text,
.gallery-caption { color: var(--royal-muted); font-size: 0.92rem; }
.sticky,
.bypostauthor { scroll-margin-top: 8rem; }

@media (max-width: 980px) {
  .post-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    line-height: 1.6;
  }

  .search-form {
    flex-direction: column;
  }

  .button,
  .rhf-button,
  .search-submit {
    width: 100%;
  }

  .post-list {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: 6.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 0.875rem;
  }
}

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

/* ==========================================================================
   Royal Custom Theme — Cinematic Header
   Transparent luxury overlay header + responsive off-canvas navigation drawer.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Header shell
   -------------------------------------------------------------------------- */

.site-header {
  --header-height: clamp(5.15rem, 6vw, 6.7rem);
  --header-bg-solid: rgba(4, 16, 31, 0.94);
  --header-bg-glass: rgba(4, 16, 31, 0.88);
  --header-border: rgba(255, 255, 255, 0.16);
  --header-text: var(--royal-white, #ffffff);
  --header-gold: var(--royal-gold-200, #f3d77b);
  --header-navy: var(--royal-navy-950, #04101f);
  --header-ease: var(--ease-standard, cubic-bezier(0.22, 1, 0.36, 1));
  --header-duration: var(--duration, 360ms);
  --header-radius: var(--radius-pill, 999px);

  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--header-text);
  background: var(--header-bg-solid);
  box-shadow: 0 14px 40px rgba(4, 16, 31, 0.24);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.has-overlay-header .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.has-overlay-header .site-header.is-scrolled {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-menu-open .site-header {
  background: var(--header-bg-glass);
  box-shadow: 0 16px 46px rgba(4, 16, 31, 0.32);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.admin-bar .site-header {
  top: 32px;
}

/* --------------------------------------------------------------------------
   Header layout
   -------------------------------------------------------------------------- */

.site-header__bar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: var(--header-height);
  padding-inline:
    max(var(--gutter, 1.25rem), env(safe-area-inset-left))
    max(var(--gutter, 1.25rem), env(safe-area-inset-right));
}

.site-header__side {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-header__side--left {
  justify-content: flex-start;
}

.site-header__side--right {
  justify-content: flex-end;
  gap: clamp(0.65rem, 1.5vw, 1rem);
}

.site-header__rule {
  height: 1px;
  margin-inline:
    max(var(--gutter, 1.25rem), env(safe-area-inset-left))
    max(var(--gutter, 1.25rem), env(safe-area-inset-right));
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.38),
    transparent
  );
  opacity: 0.75;
}

.has-overlay-header .site-header:not(.is-scrolled) .site-header__rule {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.42),
    transparent
  );
}

/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */

.site-header__logo,
.site-logo,
.footer-logo,
.royal-drawer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--header-text);
  text-decoration: none;
}

.site-header__logo {
  justify-self: center;
  width: clamp(245px, 24vw, 365px);
  max-width: 100%;
}

.site-header__logo img,
.site-header__logo .custom-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.site-logo img,
.site-logo .custom-logo,
.royal-drawer__logo img,
.footer-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Menu button
   -------------------------------------------------------------------------- */

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-height: 2.85rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--header-text);
  cursor: pointer;
  appearance: none;
}

.nav-toggle__mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--header-radius);
  background: rgba(255, 255, 255, 0.04);
  transition:
    border-color var(--header-duration) var(--header-ease),
    background var(--header-duration) var(--header-ease),
    transform var(--header-duration) var(--header-ease);
}

.nav-toggle__line {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 1.18rem;
  height: 2px;
  border-radius: var(--header-radius);
  background: var(--royal-gold);
  opacity: 1;
  transition:
    transform var(--header-duration) var(--header-ease),
    opacity var(--header-duration) var(--header-ease);
}

.nav-toggle__line:nth-child(1) {
  transform: translate(-50%, -50%) translateY(-6px);
}

.nav-toggle__line:nth-child(2) {
  transform: translate(-50%, -50%);
}

.nav-toggle__line:nth-child(3) {
  transform: translate(-50%, -50%) translateY(6px);
}

.nav-toggle__text {
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-toggle:hover .nav-toggle__mark,
.nav-toggle:focus-visible .nav-toggle__mark {
  border-color: rgba(246, 223, 160, 0.64);
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translate(-50%, -50%) rotate(42deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-42deg);
}

/* --------------------------------------------------------------------------
   Header phone + CTA
   -------------------------------------------------------------------------- */

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--header-radius);
  color: var(--header-text);
  background: rgba(255, 255, 255, 0.045);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color var(--header-duration) var(--header-ease),
    background var(--header-duration) var(--header-ease),
    color var(--header-duration) var(--header-ease),
    transform var(--header-duration) var(--header-ease);
}

.header-phone__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #ffd700;
  line-height: 1;
}

.header-phone__icon svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

.header-phone__text {
  color: #ffd700;
  font-size: clamp(0.82rem, 0.78rem + 0.14vw, 0.92rem);
  font-weight: 850;
  letter-spacing: -0.01em;
}

.header-phone:hover,
.header-phone:focus-visible {
  border-color: rgba(246, 223, 160, 0.58);
  background: rgba(255, 255, 255, 0.1);
  color: var(--header-text);
  transform: translateY(-1px);
}

.header-phone:hover .header-phone__icon,
.header-phone:focus-visible .header-phone__icon {
  color: #ffd700;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.78rem 1.1rem;
  border: 1px solid rgba(255, 238, 184, 0.56);
  border-radius: var(--header-radius);
  color: var(--header-navy);
  background: var(--gradient-gold, linear-gradient(135deg, #f8e6a0, #d4af37));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 14px 30px rgba(212, 175, 55, 0.22);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform var(--header-duration) var(--header-ease),
    box-shadow var(--header-duration) var(--header-ease);
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--header-navy);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 18px 42px rgba(212, 175, 55, 0.28);
}

/* --------------------------------------------------------------------------
   Backdrop
   -------------------------------------------------------------------------- */

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(15, 20, 33, 0.62);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity var(--header-duration) var(--header-ease);
}

.menu-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   Drawer
   -------------------------------------------------------------------------- */

.royal-drawer {
  --drawer-bg: #364052;
  --drawer-bg-deep: #202737;
  --drawer-text: rgba(255, 255, 255, 0.9);
  --drawer-muted: rgba(255, 255, 255, 0.72);
  --drawer-line: rgba(255, 255, 255, 0.16);
  --drawer-line-soft: rgba(255, 255, 255, 0.09);
  --drawer-gold: #f1d57c;
  --drawer-gold-soft: rgba(241, 213, 124, 0.12);

  position: fixed;
  inset: 0 0 0 auto;
  z-index: 1002;
  width: min(92vw, 430px);
  max-width: 100vw;
  color: var(--drawer-text);
  background:
    radial-gradient(920px 430px at 8% 0%, rgba(255, 255, 255, 0.1), transparent 58%),
    radial-gradient(780px 360px at 96% 18%, rgba(241, 213, 124, 0.07), transparent 56%),
    linear-gradient(135deg, var(--drawer-bg) 0%, var(--drawer-bg-deep) 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: -34px 0 86px rgba(9, 13, 28, 0.38);
  transform: translate3d(100%, 0, 0);
  transition: transform var(--duration-slow, 520ms) var(--header-ease);
  will-change: transform;
}

.royal-drawer.is-open {
  transform: translate3d(0, 0, 0);
}

.royal-drawer__inner {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100vh;
  height: 100svh;
  max-height: 100vh;
  max-height: 100svh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.royal-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  min-height: clamp(4.35rem, 8vw, 4.9rem);
  padding: clamp(0.85rem, 2vw, 1.05rem) clamp(1rem, 2.4vw, 1.35rem);
  border-bottom: 1px solid var(--drawer-line);
}

.royal-drawer__logo {
  width: min(220px, 62vw);
}

.royal-drawer__logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.royal-drawer__close {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--header-radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--drawer-text);
  cursor: pointer;
  appearance: none;
  transition:
    border-color var(--header-duration) var(--header-ease),
    background var(--header-duration) var(--header-ease),
    color var(--header-duration) var(--header-ease);
}

.royal-drawer__close span[aria-hidden="true"]::before,
.royal-drawer__close span[aria-hidden="true"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.05rem;
  height: 1.5px;
  border-radius: var(--header-radius);
  background: currentColor;
}

.royal-drawer__close span[aria-hidden="true"]::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.royal-drawer__close span[aria-hidden="true"]::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.royal-drawer__close:hover,
.royal-drawer__close:focus-visible {
  border-color: rgba(241, 213, 124, 0.56);
  background: rgba(255, 255, 255, 0.11);
  color: var(--drawer-gold);
}

.royal-drawer__content {
  display: grid;
  align-content: start;
  gap: clamp(0.95rem, 2.1vw, 1.35rem);
  padding: clamp(1rem, 2.4vw, 1.4rem) clamp(1rem, 2.5vw, 1.5rem) clamp(1.15rem, 3vw, 1.8rem);
}

.royal-drawer__intro {
  max-width: 31ch;
  padding-bottom: 0.2rem;
}

.royal-drawer__intro .royal-kicker {
  margin: 0 0 0.38rem;
  color: var(--drawer-gold);
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.royal-drawer__intro p:last-child {
  margin: 0;
  color: var(--drawer-muted);
  font-size: clamp(0.88rem, 0.84rem + 0.12vw, 0.96rem);
  line-height: 1.58;
}

/* --------------------------------------------------------------------------
   Drawer menu
   -------------------------------------------------------------------------- */

.drawer-menu,
.royal-drawer .primary-menu,
.drawer-menu .sub-menu,
.royal-drawer .primary-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-menu,
.royal-drawer .primary-menu {
  display: grid;
  gap: 0.12rem;
}

.drawer-menu a,
.royal-drawer .primary-menu a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.7rem;
  padding: 0.62rem 0.72rem;
  border: 1px solid transparent;
  border-radius: 18px;
  box-shadow: inset 0 -1px 0 var(--drawer-line-soft);
  color: var(--drawer-text);
  font-family: var(--font-body, inherit);
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.12rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.012em;
  text-decoration: none;
  transition:
    color var(--header-duration) var(--header-ease),
    background var(--header-duration) var(--header-ease),
    border-color var(--header-duration) var(--header-ease),
    box-shadow var(--header-duration) var(--header-ease);
}

.drawer-menu a::after,
.royal-drawer .primary-menu a::after {
  content: "›";
  flex: 0 0 auto;
  color: rgba(241, 213, 124, 0.68);
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;
  opacity: 0.48;
  transform: translateX(-0.1rem);
  transition:
    opacity var(--header-duration) var(--header-ease),
    transform var(--header-duration) var(--header-ease),
    color var(--header-duration) var(--header-ease);
}

.drawer-menu a:hover,
.drawer-menu a:focus-visible,
.royal-drawer .primary-menu a:hover,
.royal-drawer .primary-menu a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(241, 213, 124, 0.18);
  box-shadow:
    inset 3px 0 0 rgba(241, 213, 124, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.drawer-menu a:hover::after,
.drawer-menu a:focus-visible::after,
.royal-drawer .primary-menu a:hover::after,
.royal-drawer .primary-menu a:focus-visible::after {
  color: var(--drawer-gold);
  opacity: 1;
  transform: translateX(0.16rem);
}

.drawer-menu .sub-menu,
.royal-drawer .primary-menu .sub-menu {
  display: grid;
  gap: 0.14rem;
  margin: 0.3rem 0 0.5rem 0.7rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(241, 213, 124, 0.22);
}

.drawer-menu .sub-menu a,
.royal-drawer .primary-menu .sub-menu a {
  min-height: 2.25rem;
  padding: 0.45rem 0.55rem;
  border-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-body, inherit);
  font-size: 0.92rem;
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: -0.006em;
}

.royal-drawer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 0.1rem;
  padding-top: 0.3rem;
}

.royal-drawer__actions .button,
.royal-drawer__actions .button--gold {
  width: 100%;
  min-height: 2.82rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .header-cta {
    display: none;
  }

  .site-header__logo {
    width: clamp(230px, 25vw, 320px);
  }
}

@media (max-width: 980px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .site-header {
    --header-height: 4.9rem;
  }

  .site-header__bar {
    min-height: var(--header-height);
  }

  .site-header__logo {
    width: min(260px, 44vw);
  }
  .header-phone {
    width: 2.85rem;
    height: 2.85rem;
    padding: 0;
  }

  .header-phone__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  .site-header {
    --header-height: 4.7rem;
  }

  .site-header__bar {
    grid-template-columns: 3rem minmax(0, 1fr) 3rem;
    min-height: var(--header-height);
    padding-inline: 0.85rem;
  }

  .site-header__rule {
    margin-inline: 0.85rem;
  }

  .site-header__side--right {
    gap: 0;
  }

  .site-header__logo {
    width: min(245px, 62vw);
  }

  .nav-toggle__mark,
  .header-phone {
    width: 2.65rem;
    height: 2.65rem;
  }

  .nav-toggle__text {
    display: none;
  }

  .royal-drawer {
    width: min(100vw, 400px);
  }

  .royal-drawer__top {
    min-height: 4.35rem;
    padding: 0.8rem 1rem;
  }

  .royal-drawer__logo {
    width: min(205px, 62vw);
  }

  .royal-drawer__content {
    gap: 1rem;
    padding: 1rem 1rem 1.35rem;
  }

  .royal-drawer__actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .site-header {
    --header-height: 4.55rem;
  }

  .site-header__bar {
    grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
    padding-inline: 0.75rem;
  }

  .site-header__logo {
    width: min(220px, 61vw);
  }

  .nav-toggle__mark,
  .header-phone {
    width: 2.55rem;
    height: 2.55rem;
  }
}

@media (max-width: 380px) {
  .site-header__logo {
    width: min(198px, 58vw);
  }

  .royal-drawer__logo {
    width: min(190px, 62vw);
  }
}

@media (max-width: 340px) {
  .site-header__logo {
    width: min(180px, 56vw);
  }
}

/* --------------------------------------------------------------------------
   Accessibility / reduced motion
   -------------------------------------------------------------------------- */

.nav-toggle:focus-visible,
.header-phone:focus-visible,
.header-cta:focus-visible,
.royal-drawer__close:focus-visible,
.drawer-menu a:focus-visible,
.royal-drawer .primary-menu a:focus-visible {
  outline: 2px solid rgba(246, 223, 160, 0.85);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .nav-toggle__mark,
  .nav-toggle__line,
  .header-cta,
  .menu-backdrop,
  .royal-drawer,
  .drawer-menu a::after,
  .royal-drawer .primary-menu a::after {
    transition: none !important;
  }
}
/* Header hamburger: guaranteed 3 yellow dashes */
.nav-toggle__mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 1.18rem;
  height: 2px;
  border-radius: var(--header-radius);
  background: var(--royal-gold);
  transform: translate(-50%, -50%);
  transition: opacity var(--header-duration) var(--header-ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__mark::before {
  opacity: 0;
}


/* ==========================================================================
   Royal cinematic header state
   Transparent over hero, smoky glass after hero.
   ========================================================================== */

.has-overlay-header .site-header:not(.is-past-hero):not(.is-menu-open),
.has-overlay-header .site-header.is-scrolled:not(.is-past-hero):not(.is-menu-open) {
  background: transparent;
  box-shadow: none;
}

.has-overlay-header .site-header.is-past-hero,
.has-overlay-header.site-menu-open .site-header,
.site-menu-open .site-header {
  background:
    linear-gradient(
      135deg,
      rgba(29, 30, 34, 0.94),
      rgba(57, 63, 77, 0.92) 48%,
      rgba(73, 77, 95, 0.90)
    );
  border-bottom: 1px solid rgba(254, 218, 106, 0.16);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.has-overlay-header .site-header.is-past-hero .site-header__rule {
  opacity: 1;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(254, 218, 106, 0.32),
    transparent
  );
}

/* Header estimate CTA — white text with Royal yellow calendar icon */
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  min-height: 2.85rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--header-radius, 999px);
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff !important;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  box-shadow: none;
  transition:
    border-color var(--header-duration, 360ms) var(--header-ease, ease),
    background var(--header-duration, 360ms) var(--header-ease, ease),
    transform var(--header-duration, 360ms) var(--header-ease, ease);
}

.header-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  line-height: 1;
  flex: 0 0 auto;
}

.header-cta__icon svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

.header-cta__text {
  color: #ffffff;
  font-size: clamp(0.78rem, 0.75rem + 0.12vw, 0.9rem);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: rgba(246, 223, 160, 0.62);
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.header-cta:hover .header-cta__icon,
.header-cta:focus-visible .header-cta__icon {
  color: #ffd700;
}

@media (max-width: 1180px) {
  .header-cta {
    display: none !important;
  }
}


/* Header CTA — bigger, clearer, stronger */
.header-cta {
  min-height: 3.25rem !important;
  padding: 0.9rem 1.28rem !important;
  gap: 0.65rem !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  background: rgba(4, 16, 31, 0.42) !important;
  color: #ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 34px rgba(0, 0, 0, 0.16) !important;
  backdrop-filter: blur(10px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(120%) !important;
}

.header-cta__icon {
  color: #ffd700 !important;
}

.header-cta__icon svg {
  width: 1.22rem !important;
  height: 1.22rem !important;
}

.header-cta__text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: clamp(0.9rem, 0.84rem + 0.18vw, 1.02rem) !important;
  font-weight: 950 !important;
  letter-spacing: -0.005em !important;
  text-transform: none !important;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.32) !important;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: rgba(255, 215, 0, 0.72) !important;
  background: rgba(4, 16, 31, 0.58) !important;
  transform: translateY(-1px) !important;
}

.header-cta:hover .header-cta__text,
.header-cta:focus-visible .header-cta__text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.header-cta:hover .header-cta__icon,
.header-cta:focus-visible .header-cta__icon {
  color: #ffd700 !important;
}


/* ==========================================================================
   RHF universal header behavior
   Transparent at top on every page. Filled background as soon as user scrolls.
   This intentionally overrides older "past hero" timing rules.
   ========================================================================== */

/* Top of page: transparent overlay header */
body.has-overlay-header:not(.site-menu-open) .site-header:not(.is-scrolled) {
  position: fixed;
  inset: 0 0 auto 0;
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.has-overlay-header:not(.site-menu-open) .site-header:not(.is-scrolled) .site-header__bar {
  background: transparent !important;
  box-shadow: none !important;
}

body.has-overlay-header:not(.site-menu-open) .site-header:not(.is-scrolled) .site-header__rule {
  opacity: 0.72;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.42),
    transparent
  );
}

/* Any scroll: immediately show smoky/dark header */
body.has-overlay-header .site-header.is-scrolled,
body.has-overlay-header .site-header.is-past-hero,
body.has-overlay-header.site-menu-open .site-header,
body.site-menu-open .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  background:
    linear-gradient(
      135deg,
      rgba(29, 30, 34, 0.94),
      rgba(57, 63, 77, 0.92) 48%,
      rgba(73, 77, 95, 0.90)
    ) !important;
  border-bottom: 1px solid rgba(254, 218, 106, 0.16) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}

body.has-overlay-header .site-header.is-scrolled .site-header__bar,
body.has-overlay-header .site-header.is-past-hero .site-header__bar,
body.site-menu-open .site-header .site-header__bar {
  background: transparent !important;
  box-shadow: none !important;
}

body.has-overlay-header .site-header.is-scrolled .site-header__rule,
body.has-overlay-header .site-header.is-past-hero .site-header__rule {
  opacity: 1;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(254, 218, 106, 0.32),
    transparent
  );
}



/* ==========================================================================
   RHF mobile header CTA second row
   Keeps row 1 as Menu / Logo / Phone and shows Schedule Free Estimate on row 2.
   ========================================================================== */

.header-cta--mobile-row {
  display: none !important;
}

@media (max-width: 720px) {
  .site-header {
    --header-height: 7.55rem !important;
  }

  .site-header__bar {
    display: grid !important;
    grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem !important;
    grid-template-areas:
      "menu logo phone"
      "cta cta cta" !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    row-gap: 0.56rem !important;
    min-height: var(--header-height) !important;
    padding: 0.68rem 0.82rem 0.78rem !important;
  }

  .site-header__side--left {
    grid-area: menu !important;
    justify-self: start !important;
  }

  .site-header__logo {
    grid-area: logo !important;
    justify-self: center !important;
    width: min(220px, 58vw) !important;
  }

  .site-header__side--right {
    grid-area: phone !important;
    justify-self: end !important;
    justify-content: flex-end !important;
  }

  .site-header__side--right > .header-cta:not(.header-cta--mobile-row) {
    display: none !important;
  }

  .site-header__bar > .header-cta--mobile-row {
    grid-area: cta !important;
    display: inline-flex !important;
    width: 100% !important;
    min-height: 2.92rem !important;
    padding: 0.78rem 1rem !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 215, 0, 0.46) !important;
    background: rgba(4, 16, 31, 0.66) !important;
    color: #ffffff !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 14px 34px rgba(0, 0, 0, 0.22) !important;
    backdrop-filter: blur(10px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(120%) !important;
  }

  .site-header__bar > .header-cta--mobile-row .header-cta__icon {
    color: #ffd700 !important;
  }

  .site-header__bar > .header-cta--mobile-row .header-cta__text {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 950 !important;
    letter-spacing: -0.005em !important;
    text-transform: none !important;
  }

  body.has-overlay-header:not(.site-menu-open) .site-header:not(.is-scrolled) .header-cta--mobile-row {
    background: rgba(4, 16, 31, 0.44) !important;
  }

  .site-header__rule {
    margin-inline: 0.82rem !important;
  }
}

@media (max-width: 480px) {
  .site-header {
    --header-height: 7.35rem !important;
  }

  .site-header__bar {
    grid-template-columns: 2.55rem minmax(0, 1fr) 2.55rem !important;
    padding-inline: 0.72rem !important;
  }

  .site-header__logo {
    width: min(205px, 56vw) !important;
  }

  .site-header__bar > .header-cta--mobile-row {
    min-height: 2.82rem !important;
  }
}

@media (max-width: 360px) {
  .site-header__logo {
    width: min(188px, 54vw) !important;
  }

  .site-header__bar > .header-cta--mobile-row .header-cta__text {
    font-size: 0.88rem !important;
  }
}

/*
 * Royal Home Flooring — Clean Footer CSS
 * Purpose: clean replacement for royal-footer.css after adding the Commercial Flooring column.
 * Do not append this under the old footer CSS. Replace the old footer CSS with this file.
 */

.site-footer.royal-footer,
.site-footer.royal-footer * {
  box-sizing: border-box;
}

.site-footer.royal-footer {
  --rf-page: #f3f4f6;
  --rf-page-soft: #e7e9ee;
  --rf-page-line: #d9dee6;
  --rf-ink: #1f2638;
  --rf-ink-strong: #0a2342;
  --rf-muted: #687182;
  --rf-muted-strong: #4e5565;
  --rf-gold: #feda6a;
  --rf-gold-deep: #9b7422;
  --rf-card-dark: #1f2638;
  --rf-card-dark-2: #252d3f;
  --rf-radius-lg: 28px;
  --rf-radius-md: 22px;
  --rf-focus: rgba(254, 218, 106, 0.66);

  position: relative;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(215, 181, 92, 0.14), transparent 34%),
    linear-gradient(180deg, var(--rf-page) 0%, var(--rf-page-soft) 100%) !important;
  color: var(--rf-ink) !important;
  font-family: var(--font-body, Inter, Manrope, "Helvetica Neue", Arial, sans-serif);
}

.site-footer.royal-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer.royal-footer a:focus-visible {
  outline: 3px solid var(--rf-focus);
  outline-offset: 4px;
  border-radius: 8px;
}

.royal-footer__wrap {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}

.royal-footer__eyebrow,
.royal-footer-reviews__eyebrow,
.royal-footer-brands__eyebrow,
.royal-footer-brand__kicker {
  margin: 0 0 0.8rem;
  color: var(--rf-gold-deep) !important;
  -webkit-text-fill-color: var(--rf-gold-deep) !important;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-transform: uppercase;
}

/* ==========================================================
   Reviews
   ========================================================== */

.royal-footer-reviews {
  padding: clamp(48px, 5vw, 78px) 0;
  background: transparent !important;
  color: var(--rf-ink) !important;
  border-top: 1px solid var(--rf-page-line);
  border-bottom: 1px solid var(--rf-page-line);
}

.royal-footer-reviews__inner {
  display: block !important;
}

.royal-footer-reviews__heading {
  max-width: 860px;
  margin: 0 auto clamp(26px, 3vw, 42px);
  text-align: center;
}

.royal-footer-reviews__heading h2 {
  max-width: none;
  margin: 0;
  color: var(--rf-ink-strong) !important;
  -webkit-text-fill-color: var(--rf-ink-strong) !important;
  font-family: var(--font-heading, Manrope, Inter, "Helvetica Neue", Arial, sans-serif);
  font-size: clamp(3rem, 6vw, 6.4rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.royal-footer-reviews__heading p:not(.royal-footer__eyebrow) {
  max-width: 720px;
  margin: 16px auto 0;
  color: #172033 !important;
  -webkit-text-fill-color: #172033 !important;
  font-size: clamp(1rem, 1.08vw, 1.12rem);
  font-weight: 450;
  line-height: 1.65;
  letter-spacing: -0.018em;
}

.royal-footer-reviews__grid {
  width: min(100%, 1120px);
  margin-inline: auto;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

.royal-footer-review-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(22px, 2.2vw, 30px);
  border: 1px solid var(--rf-card-dark-2);
  border-radius: var(--rf-radius-md);
  background: var(--rf-card-dark) !important;
  color: #fff !important;
  box-shadow: none;
}

.royal-footer-review-card__stars {
  margin: 0 0 14px;
  color: var(--rf-gold) !important;
  -webkit-text-fill-color: var(--rf-gold) !important;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
}

.royal-footer-review-card p {
  margin: 0;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.62;
  letter-spacing: -0.012em;
}

.royal-footer-review-card__meta {
  margin-top: auto;
  padding-top: 20px;
}

.royal-footer-review-card__meta strong {
  display: block;
  color: #fff !important;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
}

.royal-footer-review-card__meta span {
  display: block;
  margin-top: 4px;
  color: #d9dee6 !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.royal-footer-reviews__actions {
  width: min(100%, 1120px);
  margin: clamp(22px, 2.5vw, 34px) auto 0;
  display: flex;
  justify-content: center;
}

.royal-footer-text-link,
.royal-footer-reviews__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid #d7b55c;
  border-radius: 999px;
  background: var(--rf-gold);
  color: #1d1e22 !important;
  -webkit-text-fill-color: #1d1e22 !important;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.royal-footer-text-link:hover,
.royal-footer-text-link:focus-visible,
.royal-footer-reviews__button:hover,
.royal-footer-reviews__button:focus-visible {
  background: #d7b55c;
  color: #1d1e22 !important;
}

/* ==========================================================
   Main footer area
   ========================================================== */

.royal-footer-main {
  padding: clamp(2.6rem, 5vw, 5rem) 0 clamp(2.2rem, 4vw, 4rem);
  background: transparent !important;
}

.royal-footer-main__grid {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.42fr) !important;
  gap: clamp(2.2rem, 4vw, 4.8rem) !important;
  align-items: start !important;
}

.royal-footer-brand {
  min-width: 0;
}

.royal-footer-brand__logo {
  display: inline-flex;
  max-width: 280px;
  margin-bottom: 1rem;
}

.royal-footer-brand__logo img {
  display: block;
  width: min(260px, 100%);
  height: auto;
}

.royal-footer-brand__description {
  max-width: 32rem;
  margin: 0;
  color: var(--rf-muted-strong) !important;
  font-size: 1rem;
  font-weight: 460;
  letter-spacing: -0.012em;
  line-height: 1.68;
}

.royal-footer-brand__contact {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.royal-footer-brand__address {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  color: var(--rf-muted) !important;
  font-style: normal;
  font-size: 0.94rem;
  line-height: 1.45;
}

.royal-footer-brand__phone {
  display: inline-flex;
  width: max-content;
  color: var(--rf-ink) !important;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

/* Six footer columns: 3 across / 2 rows on desktop */
.royal-footer-navgrid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(170px, 1fr)) !important;
  gap: clamp(2rem, 3vw, 3.4rem) clamp(1.55rem, 2.6vw, 3rem) !important;
  align-items: start !important;
  width: 100% !important;
}

.royal-footer-column {
  min-width: 0;
}

.royal-footer-column__title {
  margin: 0 0 0.9rem !important;
  color: var(--rf-gold-deep) !important;
  -webkit-text-fill-color: var(--rf-gold-deep) !important;
  font-family: var(--font-heading, Manrope, Inter, "Helvetica Neue", Arial, sans-serif);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  line-height: 1.15;
  text-transform: uppercase;
}

.royal-footer-column__menu {
  display: grid;
  gap: 0.48rem;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.royal-footer-column__menu li {
  margin: 0;
  padding: 0;
}

.royal-footer-column__menu a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  color: var(--rf-ink) !important;
  -webkit-text-fill-color: var(--rf-ink) !important;
  font-size: 0.92rem;
  font-weight: 520;
  letter-spacing: -0.012em;
  line-height: 1.35;
}

.royal-footer-column__menu a::after {
  content: "";
  width: 0;
  height: 1px;
  margin-left: 0.45rem;
  background: var(--rf-gold-deep);
  transition: width 180ms ease;
}

.royal-footer-column__menu a:hover,
.royal-footer-column__menu a:focus-visible {
  color: var(--rf-gold-deep) !important;
  -webkit-text-fill-color: var(--rf-gold-deep) !important;
}

.royal-footer-column__menu a:hover::after,
.royal-footer-column__menu a:focus-visible::after {
  width: 18px;
}

/* ==========================================================
   Brands strip
   ========================================================== */

.royal-footer-brands {
  padding: 1.35rem 0;
  border-top: 1px solid var(--rf-page-line);
  border-bottom: 1px solid var(--rf-page-line);
  background: rgba(255, 255, 255, 0.34) !important;
}

.royal-footer-brands__inner {
  display: grid;
  gap: 0.35rem;
  align-items: center;
}

.royal-footer-brands h2 {
  margin: 0;
  color: var(--rf-ink) !important;
  -webkit-text-fill-color: var(--rf-ink) !important;
  font-family: var(--font-heading, Manrope, Inter, "Helvetica Neue", Arial, sans-serif);
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

/* ==========================================================
   Bottom legal bar
   ========================================================== */

.royal-footer-bottom {
  background: rgba(231, 233, 238, 0.86) !important;
}

.royal-footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 76px;
  padding: 1rem 0;
}

.royal-footer-bottom p {
  margin: 0;
  color: var(--rf-muted) !important;
  font-size: 0.86rem;
  font-weight: 450;
  line-height: 1.42;
}

.royal-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.82rem 1rem;
}

.royal-footer-legal a {
  color: var(--rf-ink) !important;
  font-size: 0.86rem;
  font-weight: 560;
  line-height: 1.35;
}

.royal-footer-legal a:hover,
.royal-footer-legal a:focus-visible {
  color: var(--rf-gold-deep) !important;
}

/* Screen-reader helper */
.royal-footer .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

@media (max-width: 1180px) {
  .royal-footer-main__grid {
    grid-template-columns: 1fr !important;
    gap: clamp(2rem, 5vw, 3.5rem) !important;
  }

  .royal-footer-navgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .royal-footer-reviews__grid {
    grid-template-columns: 1fr !important;
    max-width: 620px;
  }

  .royal-footer-navgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .royal-footer-bottom__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
  }

  .royal-footer-legal {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .royal-footer__wrap {
    width: min(100% - 30px, 1240px);
  }

  .royal-footer-reviews {
    padding: 42px 0;
  }

  .royal-footer-reviews__heading {
    text-align: left;
    margin-inline: 0;
  }

  .royal-footer-reviews__heading h2 {
    font-size: clamp(2.65rem, 14vw, 4.4rem);
    letter-spacing: -0.055em;
  }

  .royal-footer-reviews__heading p:not(.royal-footer__eyebrow) {
    margin-left: 0;
    margin-right: 0;
  }

  .royal-footer-reviews__actions {
    justify-content: flex-start;
  }

  .royal-footer-navgrid {
    grid-template-columns: 1fr !important;
    gap: 1.7rem !important;
  }

  .royal-footer-brand__phone {
    width: 100%;
  }
}

/* Restore dark centered footer brand/contact card */
.site-footer.royal-footer .royal-footer-brand.royal-footer-brand--contact {
  position: relative !important;
  display: grid !important;
  justify-items: center !important;
  align-content: start !important;
  text-align: center !important;
  padding: clamp(2rem, 3vw, 2.65rem) clamp(1.35rem, 2.4vw, 2rem) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: clamp(26px, 3vw, 36px) !important;
  background:
    radial-gradient(620px 300px at 12% 0%, rgba(254, 218, 106, 0.12), transparent 58%),
    radial-gradient(540px 280px at 100% 18%, rgba(255, 255, 255, 0.08), transparent 56%),
    linear-gradient(145deg, #252d3f 0%, #141923 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 28px 90px rgba(31, 38, 56, 0.20) !important;
  overflow: hidden !important;
}

.site-footer.royal-footer .royal-footer-brand.royal-footer-brand--contact::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 0 auto !important;
  height: clamp(4rem, 8vw, 7rem) !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.10), transparent) !important;
}

.site-footer.royal-footer .royal-footer-brand.royal-footer-brand--contact > * {
  position: relative !important;
  z-index: 1 !important;
}

.site-footer.royal-footer .royal-footer-brand--contact .royal-footer-brand__logo {
  justify-content: center !important;
  margin: 0 auto 1.15rem !important;
}

.site-footer.royal-footer .royal-footer-brand--contact .royal-footer-brand__logo img {
  margin-inline: auto !important;
}

.site-footer.royal-footer .royal-footer-brand--contact .royal-footer-brand__kicker {
  margin: 0 0 0.7rem !important;
  color: #feda6a !important;
  -webkit-text-fill-color: #feda6a !important;
  text-align: center !important;
}

.site-footer.royal-footer .royal-footer-brand--contact .royal-footer-brand__description {
  max-width: 26rem !important;
  margin: 0 auto !important;
  color: rgba(255, 255, 255, 0.82) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.82) !important;
  text-align: center !important;
}

.site-footer.royal-footer .royal-footer-brand--contact .royal-footer-brand__contact {
  display: grid !important;
  justify-items: center !important;
  gap: 1rem !important;
  margin-top: 1.35rem !important;
  text-align: center !important;
}

.site-footer.royal-footer .royal-footer-brand--contact .royal-footer-brand__address,
.site-footer.royal-footer .royal-footer-brand--contact .royal-footer-brand__address span {
  display: block !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.78) !important;
  text-align: center !important;
  font-style: normal !important;
}

.site-footer.royal-footer .royal-footer-brand--contact .royal-footer-brand__phone {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: max-content !important;
  margin: 0 auto !important;
  padding: 0.72rem 1.15rem !important;
  border: 1px solid rgba(254, 218, 106, 0.52) !important;
  border-radius: 999px !important;
  background: rgba(254, 218, 106, 0.10) !important;
  color: #feda6a !important;
  -webkit-text-fill-color: #feda6a !important;
  font-size: 1.08rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
  text-align: center !important;
}

.site-footer.royal-footer .royal-footer-brand--contact .royal-footer-brand__phone:hover,
.site-footer.royal-footer .royal-footer-brand--contact .royal-footer-brand__phone:focus-visible {
  background: #feda6a !important;
  color: #141923 !important;
  -webkit-text-fill-color: #141923 !important;
}

@media (max-width: 640px) {
  .site-footer.royal-footer .royal-footer-brand.royal-footer-brand--contact {
    padding: 2rem 1.25rem !important;
  }

  .site-footer.royal-footer .royal-footer-brand--contact .royal-footer-brand__phone {
    width: auto !important;
  }
}


/* Restore softer blue-violet footer menu link color */
.site-footer.royal-footer .royal-footer-column__menu a {
  color: #4d5c73 !important;
  -webkit-text-fill-color: #4d5c73 !important;
}

.site-footer.royal-footer .royal-footer-column__menu a:hover,
.site-footer.royal-footer .royal-footer-column__menu a:focus-visible {
  color: #0a2342 !important;
  -webkit-text-fill-color: #0a2342 !important;
}

.site-footer.royal-footer .royal-footer-column__menu a::after {
  background: #d7b55c !important;
}


/* Footer menu links — lighter blue/slate tone */
.site-footer.royal-footer .royal-footer-column__menu a {
  color: #6b7c98 !important;
  -webkit-text-fill-color: #6b7c98 !important;
}

.site-footer.royal-footer .royal-footer-column__menu a:hover,
.site-footer.royal-footer .royal-footer-column__menu a:focus-visible {
  color: #4d5c73 !important;
  -webkit-text-fill-color: #4d5c73 !important;
}

.site-footer.royal-footer .royal-footer-column__menu a::after {
  background: #d7b55c !important;
}


/* Footer menu links — soft blue-violet tone */
.site-footer.royal-footer .royal-footer-column__menu a {
  color: #6A5ACD !important;
  -webkit-text-fill-color: #6A5ACD !important;
}

.site-footer.royal-footer .royal-footer-column__menu a:hover,
.site-footer.royal-footer .royal-footer-column__menu a:focus-visible {
  color: #4F46A6 !important;
  -webkit-text-fill-color: #4F46A6 !important;
}

.site-footer.royal-footer .royal-footer-column__menu a::after {
  background: #D7B55C !important;
}


/* Footer column titles — Royal yellow */
.site-footer.royal-footer .royal-footer-column__title {
  color: #FFCE1B !important;
  -webkit-text-fill-color: #FFCE1B !important;
}


/* Footer column titles — Royal gold */
.site-footer.royal-footer .royal-footer-column__title {
  color: #FFB921 !important;
  -webkit-text-fill-color: #FFB921 !important;
}


/* Footer category eyebrow / pill titles */
.site-footer.royal-footer .royal-footer-column__title {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  margin: 0 0 1rem 0 !important;
  padding: 0.48rem 0.9rem !important;
  border-radius: 999px !important;
  background: linear-gradient(145deg, #252d3f 0%, #141923 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: #FFB921 !important;
  -webkit-text-fill-color: #FFB921 !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12) !important;
}

.site-footer.royal-footer .royal-footer-column {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}


/* Center footer category pills and menu links */
.site-footer.royal-footer .royal-footer-navgrid {
  align-items: start !important;
}

.site-footer.royal-footer .royal-footer-column {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.site-footer.royal-footer .royal-footer-column__title {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.site-footer.royal-footer .royal-footer-column__menu {
  justify-items: center !important;
  text-align: center !important;
  width: 100% !important;
}

.site-footer.royal-footer .royal-footer-column__menu li {
  text-align: center !important;
}

.site-footer.royal-footer .royal-footer-column__menu a {
  justify-content: center !important;
  text-align: center !important;
}

.site-footer.royal-footer .royal-footer-column__menu a::after {
  display: none !important;
}


/* Footer menu links — dark navy blue */
.site-footer.royal-footer .royal-footer-column__menu a {
  color: #0A2342 !important;
  -webkit-text-fill-color: #0A2342 !important;
}

.site-footer.royal-footer .royal-footer-column__menu a:hover,
.site-footer.royal-footer .royal-footer-column__menu a:focus-visible {
  color: #13233E !important;
  -webkit-text-fill-color: #13233E !important;
}


/* Footer menu links — hover state */
.site-footer.royal-footer .royal-footer-column__menu a {
  color: #0A2342 !important;
  -webkit-text-fill-color: #0A2342 !important;
  transition: color 180ms ease, transform 180ms ease !important;
}

.site-footer.royal-footer .royal-footer-column__menu a:hover,
.site-footer.royal-footer .royal-footer-column__menu a:focus-visible {
  color: #FFB921 !important;
  -webkit-text-fill-color: #FFB921 !important;
  transform: translateY(-1px) !important;
}

/* ===========================================================================
   Royal Page Framework
   Shared layout for all rebuilt page modules. Page-specific files only define
   small variables/overrides so the site stays fast and organized.
   =========================================================================== */

.rhf-page {
  --rhf-page-accent: var(--royal-gold);
  --rhf-page-dark: var(--royal-navy-950);
  --rhf-page-cream: var(--royal-page);
  background: var(--royal-page);
  color: var(--royal-ink);
  overflow: clip;
}

.rhf-page a { text-decoration-thickness: 1px; }

.rhf-page-hero {
  position: relative;
  min-height: clamp(560px, 82vh, 860px);
  display: grid;
  align-items: end;
  overflow: clip;
  background:
    radial-gradient(circle at 18% 18%, rgba(212,175,55,.22), transparent 28%),
    linear-gradient(140deg, #04101f 0%, #07182f 56%, #0f2744 100%);
  color: var(--royal-white);
  isolation: isolate;
}

body:not(.has-overlay-header) .rhf-page-hero { padding-top: clamp(5.5rem, 9vw, 7.5rem); }

.rhf-page-hero__media,
.rhf-page-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.rhf-page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,16,31,.92), rgba(4,16,31,.54) 48%, rgba(4,16,31,.18));
}

.rhf-page-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.05);
}

.rhf-page-hero__shade {
  z-index: -1;
  background: var(--rhf-central-hero-shade) !important;
}

.rhf-page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 980px);
  gap: 0;
  align-items: end;
  justify-content: start;
  padding-block: clamp(7rem, 13vw, 10rem) clamp(4rem, 8vw, 7rem);
}

.rhf-page-hero__copy { max-width: 900px; }

.rhf-page-kicker,
.rhf-section-kicker {
  margin: 0 0 1rem;
  color: var(--rhf-page-accent);
  font-size: var(--type-eyebrow-size);
  font-weight: 900;
  letter-spacing: var(--type-eyebrow-track);
  line-height: 1.2;
  text-transform: uppercase;
}

.rhf-page-hero h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(3rem, 6.8vw, 6.9rem);
  line-height: .94;
  letter-spacing: -.075em;
}

.rhf-page-hero__lede {
  max-width: 720px;
  margin: 1.35rem 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.65;
}

.rhf-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: clamp(1.6rem, 3vw, 2.5rem);
}

.rhf-intent-card {
  padding: clamp(1.3rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.08);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
}

.rhf-intent-card span {
  display: block;
  color: rgba(255,255,255,.58);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.rhf-intent-card strong {
  display: block;
  margin-top: .55rem;
  color: var(--royal-white);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.rhf-intent-card p { margin: .8rem 0 0; color: rgba(255,255,255,.72); font-size: .98rem; line-height: 1.55; }

.rhf-page-section { padding-block: var(--section-space); }

.rhf-page-section--intro { background: linear-gradient(180deg, var(--royal-page), #fffdf8); }

.rhf-split {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.rhf-split--reverse { grid-template-columns: minmax(320px, 1fr) minmax(0, .82fr); }

.rhf-split h2,
.rhf-section-heading h2,
.rhf-final-cta h2 {
  margin: 0;
  color: var(--royal-navy-950);
  font-size: clamp(2.15rem, 4.4vw, 4.7rem);
  line-height: .98;
  letter-spacing: -.065em;
}

.rhf-split p,
.rhf-section-heading p,
.rhf-final-cta p {
  color: var(--royal-muted);
  line-height: 1.72;
}

.rhf-section-heading {
  max-width: 820px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.rhf-section-heading--center { margin-inline: auto; text-align: center; }

.rhf-proof-grid,
.rhf-trust-grid,
.rhf-related-grid {
  display: grid;
  gap: 1rem;
}

.rhf-proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.rhf-proof-card,
.rhf-trust-card,
.rhf-related-card,
.rhf-integration-card,
.rhf-form-panel,
.rhf-guide-panel,
.rhf-local-panel,
.rhf-simple-card {
  border: 1px solid var(--royal-line);
  border-radius: var(--radius-xl);
  background: rgba(255,253,248,.86);
  box-shadow: var(--shadow-soft);
}

.rhf-proof-card { padding: clamp(1.1rem, 2vw, 1.4rem); }
.rhf-proof-card span,
.rhf-trust-card span,
.rhf-related-card span,
.rhf-integration-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  color: var(--royal-gold-700);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.rhf-proof-card strong,
.rhf-related-card strong {
  display: block;
  margin-top: .55rem;
  color: var(--royal-navy-950);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.15;
  letter-spacing: -.045em;
}

.rhf-proof-card p,
.rhf-related-card p { margin: .65rem 0 0; color: var(--royal-muted); font-size: .98rem; line-height: 1.55; }

.rhf-media-story { background: var(--royal-navy-950); color: var(--royal-white); }
.rhf-media-story .rhf-section-kicker { color: var(--royal-gold-200); }
.rhf-media-story h2 { color: var(--royal-white); }
.rhf-media-story p { color: rgba(255,255,255,.72); }

.rhf-media-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.rhf-media-story__video {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-2xl);
  background: #000;
  box-shadow: 0 28px 90px rgba(0,0,0,.35);
}

.rhf-media-story__video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.rhf-check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .75rem; }
.rhf-check-list li { position: relative; padding-left: 1.65rem; color: inherit; }
.rhf-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .62rem;
  height: .62rem;
  border-radius: 50%;
  background: var(--rhf-page-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--rhf-page-accent) 20%, transparent);
}

.rhf-filter-shell {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border: 1px solid var(--royal-line);
  border-radius: var(--radius-2xl);
  background: var(--royal-paper);
  box-shadow: var(--shadow-soft);
}

.rhf-filter-group {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  align-items: start;
}

.rhf-filter-group__label {
  padding-top: .45rem;
  color: var(--royal-navy-950);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rhf-filter-chips { display: flex; flex-wrap: wrap; gap: .55rem; }

.rhf-filter-chip {
  cursor: pointer;
  padding: .62rem .85rem;
  border: 1px solid rgba(10,35,66,.14);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--royal-ink-soft);
  font-size: .9rem;
  font-weight: 750;
}

.rhf-filter-chip.is-active,
.rhf-filter-chip:hover {
  border-color: color-mix(in srgb, var(--rhf-page-accent) 65%, var(--royal-navy));
  background: var(--royal-navy-950);
  color: var(--royal-white);
}

.rhf-catalog-page,
.rhf-catalog-preview { background: linear-gradient(180deg, #fffdf8, var(--royal-page)); }

.rhf-catalog-mount { margin-top: clamp(1.2rem, 3vw, 2rem); }

.rhf-integration-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  min-height: 220px;
  display: grid;
  align-content: center;
}

.rhf-integration-card--large { min-height: 420px; }
.rhf-integration-card h3 { margin: .5rem 0 0; color: var(--royal-navy-950); font-size: clamp(1.6rem, 3vw, 2.6rem); }
.rhf-integration-card p { margin: .75rem 0 0; color: var(--royal-muted); }

.rhf-step-list {
  counter-reset: steps;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.rhf-step-list li {
  padding: clamp(1.2rem, 2vw, 1.5rem);
  border: 1px solid var(--royal-line);
  border-radius: var(--radius-xl);
  background: var(--royal-paper);
  box-shadow: var(--shadow-soft);
}

.rhf-step-list span {
  display: block;
  color: var(--royal-gold-700);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.rhf-step-list strong { display: block; margin-top: .8rem; font-family: var(--font-heading); font-size: 1.15rem; line-height: 1.15; color: var(--royal-navy-950); }
.rhf-step-list p { margin: .55rem 0 0; color: var(--royal-muted); font-size: .95rem; line-height: 1.55; }
.rhf-step-list--compact { grid-template-columns: 1fr; }

.rhf-trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rhf-trust-card { padding: clamp(1.4rem, 3vw, 2rem); }
.rhf-trust-card h2 { margin: .6rem 0 0; font-size: clamp(1.55rem, 2.5vw, 2.2rem); }
.rhf-trust-card p { color: var(--royal-muted); }

.rhf-related-links { background: var(--royal-paper); }
.rhf-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rhf-related-card {
  position: relative;
  min-height: 230px;
  padding: 1.35rem;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}
.rhf-related-card::before {
  content: "";
  position: absolute;
  inset: auto 1.1rem 1.1rem auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--rhf-page-accent) 16%, transparent);
}
.rhf-related-card em { position: absolute; right: 1.4rem; bottom: 1.25rem; font-style: normal; color: var(--royal-gold-700); font-weight: 900; }
.rhf-related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-strong); color: inherit; }

.rhf-conversion-page .rhf-form-panel { padding: clamp(1.4rem, 3vw, 2rem); min-height: 420px; }
.rhf-guide-panel,
.rhf-local-panel,
.rhf-simple-card { padding: clamp(1.4rem, 3vw, 2rem); }
.rhf-simple-card { background: var(--royal-paper); }
.rhf-simple-card > *:first-child { margin-top: 0; }
.rhf-simple-card > *:last-child { margin-bottom: 0; }

.rhf-final-cta {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--royal-navy-950);
  color: var(--royal-white);
}

.rhf-final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  padding: clamp(1.5rem, 4vw, 2.8rem);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: 0 28px 90px rgba(0,0,0,.32);
}

.rhf-final-cta h2 { color: var(--royal-white); }
.rhf-final-cta p { max-width: 720px; color: rgba(255,255,255,.72); }

[data-rhf-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-standard), transform 700ms var(--ease-standard);
}
[data-rhf-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .rhf-page-hero__inner,
  .rhf-split,
  .rhf-split--reverse,
  .rhf-media-story__grid,
  .rhf-final-cta__inner { grid-template-columns: 1fr; }
  .rhf-proof-grid,
  .rhf-trust-grid { grid-template-columns: 1fr; }
  .rhf-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rhf-step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rhf-intent-card { max-width: 520px; }
}

@media (max-width: 720px) {
  .rhf-page-hero { min-height: 680px; }
  .rhf-page-hero__inner { padding-block: 8rem 3rem; }
  .rhf-page-hero h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .rhf-page-hero__actions { flex-direction: column; align-items: stretch; }
  .rhf-filter-group { grid-template-columns: 1fr; gap: .55rem; }
  .rhf-related-grid,
  .rhf-step-list { grid-template-columns: 1fr; }
  .rhf-page-section { padding-block: clamp(3.2rem, 14vw, 5rem); }
}

@media (prefers-reduced-motion: reduce) {
  [data-rhf-reveal] { opacity: 1; transform: none; transition: none; }
  .rhf-page-hero__video { display: none; }
}

/* === Royal shared cinematic hero variables === */
.rhf-page {
  --rhf-hero-video-filter: none;

  --rhf-hero-media-overlay:
    linear-gradient(
      90deg,
      rgba(4, 16, 31, 0.42) 0%,
      rgba(4, 16, 31, 0.18) 42%,
      rgba(4, 16, 31, 0.04) 100%
    );

  --rhf-hero-shade:
    radial-gradient(circle at 78% 16%, rgba(233, 230, 231, 0.12), transparent 24rem),
    linear-gradient(
      180deg,
      rgba(4, 16, 31, 0.12) 0%,
      rgba(4, 16, 31, 0.03) 45%,
      rgba(4, 16, 31, 0.32) 100%
    );

  --rhf-hero-mobile-shade:
    radial-gradient(circle at 80% 12%, rgba(233, 230, 231, 0.12), transparent 18rem),
    linear-gradient(
      180deg,
      rgba(4, 16, 31, 0.18) 0%,
      rgba(4, 16, 31, 0.24) 46%,
      rgba(4, 16, 31, 0.58) 100%
    );
}

.rhf-page-hero__media::after {
  background: var(--rhf-hero-media-overlay);
}

.rhf-page-hero__video {
  filter: var(--rhf-hero-video-filter);
}

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

@media (max-width: 900px) {
  .rhf-page-hero__shade {
    background: var(--rhf-central-hero-shade) !important;
  }
}
/* === End Royal shared cinematic hero variables === */

/* ==========================================================================
   Carpet Warranty — Royal 2026 page
   ========================================================================== */

.rhf-page--carpet-warranty {
  --rhf-page-accent: #feda6a;
  --rhf-cw-overall-bg: linear-gradient(135deg, #43394a 0%, #221f26 100%);
  --rhf-cw-cool-bg: linear-gradient(135deg, #27444a 0%, #1d1e22 100%);
  --rhf-cw-accent-bg: linear-gradient(135deg, #503b4a 0%, #25212a 100%);
  --rhf-cw-platinum: #d8dbe0;
  --rhf-cw-platinum-soft: #f1f2f3;
  --rhf-cw-ink: #1d1e22;

  background: #221f26;
  color: rgba(255, 255, 255, 0.9);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.rhf-page--carpet-warranty .rhf-cw-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-warranty .rhf-cw-hero .rhf-page-hero__copy {
  display: grid;
  justify-items: start;
  max-width: 1040px;
}

.rhf-page--carpet-warranty .rhf-page-kicker,
.rhf-page--carpet-warranty .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-warranty .rhf-cw-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-warranty .rhf-cw-hero h1 {
  max-width: 11ch;
  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-cw-hero__lede {
  max-width: 690px;
  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;
}

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

.rhf-page--carpet-warranty .rhf-cw-hero .rhf-page-hero__shade {
  background: var(--rhf-central-hero-shade) !important;
}

/* Shared sections */
.rhf-cw-intro,
.rhf-cw-certificate-section,
.rhf-cw-story,
.rhf-cw-manufacturer,
.rhf-cw-coverage,
.rhf-cw-limits,
.rhf-cw-care,
.rhf-cw-close {
  position: relative;
  overflow: clip;
  padding: clamp(4.75rem, 9vw, 9rem) 0;
}

.rhf-cw-intro,
.rhf-cw-story--2,
.rhf-cw-coverage,
.rhf-cw-close {
  background: var(--rhf-cw-overall-bg);
}

.rhf-cw-story--1,
.rhf-cw-story--3,
.rhf-cw-manufacturer,
.rhf-cw-care {
  background: var(--rhf-cw-cool-bg);
}

.rhf-cw-certificate-section,
.rhf-cw-limits {
  background: var(--rhf-cw-accent-bg);
}

.rhf-cw-intro > .rhf-container,
.rhf-cw-certificate-section > .rhf-container,
.rhf-cw-story > .rhf-container,
.rhf-cw-manufacturer > .rhf-container,
.rhf-cw-coverage > .rhf-container,
.rhf-cw-limits > .rhf-container,
.rhf-cw-care > .rhf-container,
.rhf-cw-close > .rhf-container {
  position: relative;
  z-index: 1;
}

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

.rhf-cw-heading h2,
.rhf-cw-certificate-copy h2,
.rhf-cw-story__copy h2,
.rhf-cw-coverage__copy h2,
.rhf-cw-care__copy h2,
.rhf-cw-faq__intro h2,
.rhf-cw-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-cw-heading h2,
.rhf-cw-certificate-copy h2 {
  max-width: 960px;
  font-size: clamp(2.4rem, 5.7vw, 6.2rem);
}

.rhf-cw-heading > p:last-child,
.rhf-cw-certificate-copy > p,
.rhf-cw-story__copy > p,
.rhf-cw-coverage__copy > p,
.rhf-cw-care__copy > p,
.rhf-cw-faq__intro p,
.rhf-cw-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-cw-icon {
  display: block;
  width: 2.15rem;
  height: 2.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Two warranty types */
.rhf-cw-type-grid,
.rhf-cw-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.3rem, 3vw, 2.2rem);
}

.rhf-cw-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.rhf-cw-type .rhf-cw-icon,
.rhf-cw-feature .rhf-cw-icon,
.rhf-cw-coverage-item .rhf-cw-icon,
.rhf-cw-limit-list .rhf-cw-icon {
  color: var(--rhf-page-accent);
}

.rhf-cw-type h3,
.rhf-cw-feature h3,
.rhf-cw-coverage-item h3 {
  margin: 1rem 0 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.rhf-cw-type p,
.rhf-cw-feature p,
.rhf-cw-coverage-item p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: clamp(0.96rem, 1.03vw, 1.05rem);
  font-weight: 500;
  line-height: 1.62;
}

/* Certificate */
.rhf-cw-certificate-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(520px, 1.25fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.rhf-cw-certificate {
  position: relative;
  min-height: clamp(520px, 48vw, 690px);
  margin: 0;
  padding: clamp(1.4rem, 3vw, 2.6rem);
  border-radius: clamp(1.1rem, 2vw, 1.6rem);
  overflow: hidden;
  color: #1d1e22;
  background:
    radial-gradient(900px 380px at 20% 0%, rgba(255, 255, 255, 0.95), transparent 58%),
    radial-gradient(720px 360px at 100% 0%, rgba(216, 219, 224, 0.84), transparent 56%),
    linear-gradient(135deg, #fbfbf9 0%, #f1f2f3 45%, #d8dbe0 100%);
  box-shadow:
    0 44px 110px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.rhf-cw-certificate::before {
  content: "";
  position: absolute;
  inset: clamp(0.65rem, 1.2vw, 1rem);
  border: 1px solid rgba(29, 30, 34, 0.24);
  border-radius: clamp(0.85rem, 1.7vw, 1.25rem);
  pointer-events: none;
}

.rhf-cw-certificate::after {
  content: "";
  position: absolute;
  inset: clamp(1rem, 1.8vw, 1.55rem);
  border: 1px solid rgba(254, 218, 106, 0.42);
  border-radius: clamp(0.65rem, 1.4vw, 1rem);
  pointer-events: none;
}

.rhf-cw-certificate__watermark {
  position: absolute;
  right: -0.15em;
  bottom: -0.23em;
  color: rgba(29, 30, 34, 0.045);
  font-family: var(--font-heading);
  font-size: clamp(9rem, 18vw, 18rem);
  font-weight: 950;
  line-height: 0.8;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.rhf-cw-certificate__top,
.rhf-cw-certificate__meta,
.rhf-cw-certificate__signature {
  position: relative;
  z-index: 2;
}

.rhf-cw-certificate__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.rhf-cw-certificate__brand,
.rhf-cw-certificate__id {
  margin: 0;
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rhf-cw-certificate__id {
  color: rgba(29, 30, 34, 0.58);
  -webkit-text-fill-color: rgba(29, 30, 34, 0.58);
  text-align: right;
}

.rhf-cw-certificate__body {
  position: relative;
  z-index: 2;
  max-width: 730px;
  margin-top: clamp(4rem, 8vw, 7rem);
}

.rhf-cw-certificate__eyebrow {
  margin: 0 0 0.75rem;
  color: #ad8425;
  -webkit-text-fill-color: #ad8425;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rhf-cw-certificate__body h3 {
  max-width: 10ch;
  margin: 0;
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6.4vw, 6.7rem);
  font-weight: 850;
  line-height: 0.86;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.rhf-cw-certificate__body p {
  max-width: 520px;
  margin: 1.15rem 0 0;
  color: rgba(29, 30, 34, 0.74);
  -webkit-text-fill-color: rgba(29, 30, 34, 0.74);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  font-weight: 550;
  line-height: 1.6;
}

.rhf-cw-seal {
  position: absolute;
  right: clamp(1.5rem, 4vw, 3rem);
  top: clamp(11rem, 17vw, 16rem);
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(7rem, 12vw, 10.5rem);
  height: clamp(7rem, 12vw, 10.5rem);
  border-radius: 50%;
  color: #1d1e22;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.92), transparent 28%),
    radial-gradient(circle at 50% 50%, #f8f8f6 0%, #d8dbe0 55%, #b8bdc6 100%);
  border: 2px solid rgba(173, 132, 37, 0.55);
  box-shadow:
    0 22px 54px rgba(29, 30, 34, 0.24),
    inset 0 0 0 7px rgba(255, 255, 255, 0.45),
    inset 0 0 0 10px rgba(173, 132, 37, 0.23);
  text-align: center;
}

.rhf-cw-seal span,
.rhf-cw-seal strong {
  display: block;
  margin: 0;
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  line-height: 1;
}

.rhf-cw-seal span {
  font-size: clamp(0.56rem, 0.8vw, 0.72rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rhf-cw-seal strong {
  color: #ad8425;
  -webkit-text-fill-color: #ad8425;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.85vw, 1.55rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.rhf-cw-certificate__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.2rem, 5vw, 5rem);
}

.rhf-cw-certificate__meta div {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(29, 30, 34, 0.22);
}

.rhf-cw-certificate__meta span,
.rhf-cw-certificate__signature strong,
.rhf-cw-certificate__signature p {
  color: rgba(29, 30, 34, 0.58);
  -webkit-text-fill-color: rgba(29, 30, 34, 0.58);
}

.rhf-cw-certificate__meta span {
  display: block;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rhf-cw-certificate__meta strong {
  display: block;
  margin-top: 0.35rem;
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  font-size: clamp(0.96rem, 1.1vw, 1.08rem);
  font-weight: 850;
  line-height: 1.2;
}

.rhf-cw-certificate__signature {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: end;
  margin-top: clamp(1.8rem, 4vw, 3.8rem);
}

.rhf-cw-certificate__script {
  display: block;
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1;
  transform: rotate(-2deg);
}

.rhf-cw-certificate__line {
  display: block;
  height: 1px;
  margin: 0.35rem 0 0.45rem;
  background: rgba(29, 30, 34, 0.34);
}

.rhf-cw-certificate__signature strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rhf-cw-certificate__signature p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 550;
  line-height: 1.52;
}

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

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

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

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

.rhf-cw-story__copy h2,
.rhf-cw-care__copy h2,
.rhf-cw-coverage__copy h2 {
  max-width: 820px;
  font-size: clamp(2.2rem, 5.2vw, 5.8rem);
}

.rhf-cw-story__copy ul {
  display: grid;
  gap: 0.7rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

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

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

.rhf-cw-story__media,
.rhf-cw-care__media {
  margin: 0;
}

.rhf-cw-picture,
.rhf-cw-picture img {
  display: block;
  width: 100%;
}

.rhf-cw-picture img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: clamp(1rem, 1.6vw, 1.5rem);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* Installation coverage */
.rhf-cw-coverage__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.rhf-cw-coverage__items {
  display: grid;
  gap: clamp(1.1rem, 2vw, 1.6rem);
}

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

/* Limit columns */
.rhf-cw-limit-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.rhf-cw-limit-column {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(254, 218, 106, 0.25);
}

.rhf-cw-limit-column h3 {
  margin: 0 0 clamp(1.3rem, 2.5vw, 2rem);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.rhf-cw-limit-list {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.rhf-cw-limit-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1rem;
  align-items: start;
}

.rhf-cw-limit-list .rhf-cw-icon {
  margin-top: 0.1rem;
}

.rhf-cw-limit-list h4 {
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-weight: 830;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.rhf-cw-limit-list p {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.62;
}

/* Care link */
.rhf-cw-care__copy .rhf-page-hero__actions {
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

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

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

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

.rhf-cw-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-cw-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-cw-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: #1d1e22;
  color: #feda6a;
}

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

.rhf-cw-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-cw-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-cw-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-cw-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-cw-faq__items details {
  border-bottom: 1px solid rgba(29, 30, 34, 0.13);
}

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

.rhf-cw-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-cw-faq__items summary::-webkit-details-marker {
  display: none;
}

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

.rhf-cw-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-cw-faq__items details[open] summary::after {
  content: "–";
}

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

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

/* Responsive */
@media (max-width: 1120px) {
  .rhf-cw-certificate-grid,
  .rhf-cw-story__grid,
  .rhf-cw-story__grid--reverse,
  .rhf-cw-care__grid,
  .rhf-cw-coverage__grid,
  .rhf-cw-limit-columns,
  .rhf-cw-faq {
    grid-template-columns: 1fr;
  }

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

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

  .rhf-cw-certificate {
    min-height: 600px;
  }

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

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

  .rhf-page--carpet-warranty .rhf-cw-hero .rhf-page-hero__inner {
    padding-block: 7.5rem 4.75rem;
  }

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

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

  .rhf-cw-intro,
  .rhf-cw-certificate-section,
  .rhf-cw-story,
  .rhf-cw-manufacturer,
  .rhf-cw-coverage,
  .rhf-cw-limits,
  .rhf-cw-care,
  .rhf-cw-close {
    padding-block: 3.75rem;
  }

  .rhf-cw-heading h2,
  .rhf-cw-certificate-copy h2,
  .rhf-cw-story__copy h2,
  .rhf-cw-coverage__copy h2,
  .rhf-cw-care__copy h2,
  .rhf-cw-faq__intro h2,
  .rhf-cw-final h2 {
    font-size: clamp(2.15rem, 12vw, 3.7rem);
    line-height: 1;
    letter-spacing: -0.045em;
  }

  .rhf-cw-type-grid,
  .rhf-cw-feature-grid,
  .rhf-cw-certificate__meta,
  .rhf-cw-certificate__signature {
    grid-template-columns: 1fr;
  }

  .rhf-cw-certificate {
    min-height: 0;
    padding: 1.25rem;
  }

  .rhf-cw-certificate__top {
    display: grid;
  }

  .rhf-cw-certificate__id {
    text-align: left;
  }

  .rhf-cw-certificate__body {
    margin-top: 3.2rem;
  }

  .rhf-cw-certificate__body h3 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .rhf-cw-seal {
    position: relative;
    top: auto;
    right: auto;
    margin: 2rem 0 0;
  }

  .rhf-cw-picture img {
    aspect-ratio: 3 / 4;
  }

  .rhf-cw-limit-list article {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

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

  .rhf-cw-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-cw-faq__items details p::before {
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   Carpet Warranty — Alignment + Certificate Rebuild Override
   Fixes certificate layout, content alignment, and removes overlapping seal.
   ========================================================================== */

.rhf-page--carpet-warranty .rhf-cw-certificate-section {
  background:
    radial-gradient(900px 420px at 14% 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, #503b4a 0%, #25212a 100%) !important;
}

/* Use fluid columns, not a fixed 520px min column. */
.rhf-page--carpet-warranty .rhf-cw-certificate-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.rhf-page--carpet-warranty .rhf-cw-certificate-copy {
  max-width: 720px;
}

.rhf-page--carpet-warranty .rhf-cw-certificate-copy h2 {
  max-width: 760px;
  font-size: clamp(2.35rem, 5.2vw, 5.8rem);
}

/* Reset old certificate positioning and rebuild as a stable flowing layout. */
.rhf-page--carpet-warranty .rhf-cw-certificate {
  position: relative !important;
  justify-self: end;
  width: min(100%, 920px);
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #1d1e22 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.rhf-page--carpet-warranty .rhf-cw-certificate::before,
.rhf-page--carpet-warranty .rhf-cw-certificate::after {
  display: none !important;
}

.rhf-page--carpet-warranty .rhf-cw-cert-frame {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: clamp(1.35rem, 2.4vw, 2.1rem);
  padding: clamp(1.2rem, 2.5vw, 2.15rem);
  border-radius: clamp(1rem, 1.7vw, 1.45rem);
  background:
    radial-gradient(900px 360px at 10% 0%, rgba(255, 255, 255, 0.98), transparent 58%),
    radial-gradient(720px 330px at 100% 0%, rgba(216, 219, 224, 0.90), transparent 58%),
    linear-gradient(135deg, #fbfbf9 0%, #f1f2f3 46%, #d8dbe0 100%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    0 44px 110px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.rhf-page--carpet-warranty .rhf-cw-cert-frame::before {
  content: "";
  position: absolute;
  inset: clamp(0.55rem, 1vw, 0.9rem);
  border: 1px solid rgba(29, 30, 34, 0.24);
  border-radius: clamp(0.75rem, 1.35vw, 1.1rem);
  pointer-events: none;
}

.rhf-page--carpet-warranty .rhf-cw-cert-frame::after {
  content: "";
  position: absolute;
  inset: clamp(0.95rem, 1.6vw, 1.35rem);
  border: 1px solid rgba(173, 132, 37, 0.44);
  border-radius: clamp(0.55rem, 1.15vw, 0.9rem);
  pointer-events: none;
}

.rhf-page--carpet-warranty .rhf-cw-cert-watermark {
  position: absolute;
  right: -0.12em;
  bottom: -0.18em;
  color: rgba(29, 30, 34, 0.045);
  font-family: var(--font-heading);
  font-size: clamp(8rem, 17vw, 16rem);
  font-weight: 950;
  line-height: 0.8;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.rhf-page--carpet-warranty .rhf-cw-cert-top,
.rhf-page--carpet-warranty .rhf-cw-cert-main,
.rhf-page--carpet-warranty .rhf-cw-cert-details,
.rhf-page--carpet-warranty .rhf-cw-cert-signature {
  position: relative;
  z-index: 2;
}

.rhf-page--carpet-warranty .rhf-cw-cert-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(0.8rem, 1.6vw, 1.25rem);
  align-items: center;
}

.rhf-page--carpet-warranty .rhf-cw-cert-mark {
  display: grid;
  place-items: center;
  width: clamp(3rem, 4.6vw, 4.2rem);
  height: clamp(3rem, 4.6vw, 4.2rem);
  border-radius: 0.8rem;
  background: #1d1e22;
  color: #feda6a;
  -webkit-text-fill-color: #feda6a;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  box-shadow: 0 12px 28px rgba(29, 30, 34, 0.22);
}

.rhf-page--carpet-warranty .rhf-cw-cert-brand span,
.rhf-page--carpet-warranty .rhf-cw-cert-number span,
.rhf-page--carpet-warranty .rhf-cw-cert-details span {
  display: block;
  color: rgba(29, 30, 34, 0.56);
  -webkit-text-fill-color: rgba(29, 30, 34, 0.56);
  font-size: clamp(0.66rem, 0.82vw, 0.76rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rhf-page--carpet-warranty .rhf-cw-cert-brand strong,
.rhf-page--carpet-warranty .rhf-cw-cert-number strong,
.rhf-page--carpet-warranty .rhf-cw-cert-details strong {
  display: block;
  margin-top: 0.35rem;
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  font-family: var(--font-heading);
  font-size: clamp(0.94rem, 1.08vw, 1.06rem);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.rhf-page--carpet-warranty .rhf-cw-cert-number {
  text-align: right;
}

.rhf-page--carpet-warranty .rhf-cw-cert-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2.25rem);
  align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.7rem);
}

.rhf-page--carpet-warranty .rhf-cw-cert-title {
  min-width: 0;
}

.rhf-page--carpet-warranty .rhf-cw-cert-title p {
  margin: 0 0 0.75rem;
  color: #ad8425;
  -webkit-text-fill-color: #ad8425;
  font-size: clamp(0.72rem, 0.9vw, 0.82rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rhf-page--carpet-warranty .rhf-cw-cert-title h3 {
  max-width: 12ch;
  margin: 0;
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  font-family: var(--font-heading);
  font-size: clamp(2.65rem, 5.2vw, 5.6rem);
  font-weight: 850;
  line-height: 0.88;
  letter-spacing: -0.072em;
  text-wrap: balance;
}

.rhf-page--carpet-warranty .rhf-cw-cert-title span {
  display: block;
  max-width: 520px;
  margin-top: 1rem;
  color: rgba(29, 30, 34, 0.74);
  -webkit-text-fill-color: rgba(29, 30, 34, 0.74);
  font-size: clamp(0.98rem, 1.08vw, 1.08rem);
  font-weight: 560;
  line-height: 1.55;
}

.rhf-page--carpet-warranty .rhf-cw-cert-seal {
  display: grid;
  place-items: center;
  width: clamp(7.4rem, 11vw, 9.6rem);
  height: clamp(7.4rem, 11vw, 9.6rem);
  border-radius: 50%;
  text-align: center;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.96), transparent 28%),
    radial-gradient(circle at 50% 50%, #f8f8f6 0%, #d8dbe0 56%, #b8bdc6 100%);
  border: 2px solid rgba(173, 132, 37, 0.58);
  box-shadow:
    0 22px 54px rgba(29, 30, 34, 0.24),
    inset 0 0 0 7px rgba(255, 255, 255, 0.46),
    inset 0 0 0 10px rgba(173, 132, 37, 0.22);
}

.rhf-page--carpet-warranty .rhf-cw-cert-seal span,
.rhf-page--carpet-warranty .rhf-cw-cert-seal strong {
  display: block;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
}

.rhf-page--carpet-warranty .rhf-cw-cert-seal span {
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  font-size: clamp(0.54rem, 0.72vw, 0.68rem);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.rhf-page--carpet-warranty .rhf-cw-cert-seal strong {
  color: #ad8425;
  -webkit-text-fill-color: #ad8425;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.55vw, 1.38rem);
  font-weight: 950;
  letter-spacing: -0.045em;
}

.rhf-page--carpet-warranty .rhf-cw-cert-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.5vw, 1.15rem);
}

.rhf-page--carpet-warranty .rhf-cw-cert-details div {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(29, 30, 34, 0.20);
}

.rhf-page--carpet-warranty .rhf-cw-cert-signature {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: end;
  padding-top: clamp(0.8rem, 1.5vw, 1.2rem);
}

.rhf-page--carpet-warranty .rhf-cw-cert-script {
  display: block;
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  line-height: 1;
  transform: rotate(-2deg);
}

.rhf-page--carpet-warranty .rhf-cw-cert-line {
  display: block;
  height: 1px;
  margin: 0.35rem 0 0.45rem;
  background: rgba(29, 30, 34, 0.34);
}

.rhf-page--carpet-warranty .rhf-cw-cert-signature strong {
  display: block;
  color: rgba(29, 30, 34, 0.60);
  -webkit-text-fill-color: rgba(29, 30, 34, 0.60);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rhf-page--carpet-warranty .rhf-cw-cert-signature p {
  margin: 0;
  color: rgba(29, 30, 34, 0.62);
  -webkit-text-fill-color: rgba(29, 30, 34, 0.62);
  font-size: clamp(0.78rem, 0.9vw, 0.86rem);
  font-weight: 550;
  line-height: 1.48;
}

/* Align story and lower content consistently. */
.rhf-page--carpet-warranty .rhf-cw-story__copy,
.rhf-page--carpet-warranty .rhf-cw-care__copy,
.rhf-page--carpet-warranty .rhf-cw-coverage__copy {
  min-width: 0;
}

.rhf-page--carpet-warranty .rhf-cw-story__media,
.rhf-page--carpet-warranty .rhf-cw-care__media {
  min-width: 0;
}

.rhf-page--carpet-warranty .rhf-cw-story__grid,
.rhf-page--carpet-warranty .rhf-cw-care__grid,
.rhf-page--carpet-warranty .rhf-cw-coverage__grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr);
}

.rhf-page--carpet-warranty .rhf-cw-story__grid--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
}

@media (max-width: 1120px) {
  .rhf-page--carpet-warranty .rhf-cw-certificate-layout,
  .rhf-page--carpet-warranty .rhf-cw-story__grid,
  .rhf-page--carpet-warranty .rhf-cw-story__grid--reverse,
  .rhf-page--carpet-warranty .rhf-cw-care__grid,
  .rhf-page--carpet-warranty .rhf-cw-coverage__grid {
    grid-template-columns: 1fr !important;
  }

  .rhf-page--carpet-warranty .rhf-cw-certificate {
    justify-self: stretch;
  }

  .rhf-page--carpet-warranty .rhf-cw-story__grid--reverse .rhf-cw-story__copy,
  .rhf-page--carpet-warranty .rhf-cw-story__grid--reverse .rhf-cw-story__media {
    order: initial;
  }
}

@media (max-width: 760px) {
  .rhf-page--carpet-warranty .rhf-cw-cert-frame {
    padding: 1rem;
    gap: 1.2rem;
  }

  .rhf-page--carpet-warranty .rhf-cw-cert-top,
  .rhf-page--carpet-warranty .rhf-cw-cert-main,
  .rhf-page--carpet-warranty .rhf-cw-cert-details,
  .rhf-page--carpet-warranty .rhf-cw-cert-signature {
    grid-template-columns: 1fr;
  }

  .rhf-page--carpet-warranty .rhf-cw-cert-number {
    text-align: left;
  }

  .rhf-page--carpet-warranty .rhf-cw-cert-title h3 {
    font-size: clamp(2.4rem, 12vw, 3.75rem);
  }

  .rhf-page--carpet-warranty .rhf-cw-cert-seal {
    width: 7rem;
    height: 7rem;
  }
}

/* ==========================================================================
   Carpet Warranty — Clean Warranty Limits Section
   Replaces the messy icon/title/paragraph grid with clean editorial columns.
   ========================================================================== */

.rhf-page--carpet-warranty .rhf-cw-limit-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.rhf-page--carpet-warranty .rhf-cw-limit-panel {
  min-width: 0;
  padding-top: clamp(1.2rem, 2vw, 1.55rem);
  border-top: 1px solid rgba(254, 218, 106, 0.28);
}

.rhf-page--carpet-warranty .rhf-cw-limit-panel__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(0.9rem, 1.7vw, 1.25rem);
  align-items: start;
  margin-bottom: clamp(1.45rem, 3vw, 2.4rem);
}

.rhf-page--carpet-warranty .rhf-cw-limit-panel__icon {
  display: grid;
  place-items: center;
  width: clamp(3.65rem, 5vw, 4.45rem);
  height: clamp(3.65rem, 5vw, 4.45rem);
  border-radius: 1.1rem;
  color: #feda6a;
  background: rgba(254, 218, 106, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.rhf-page--carpet-warranty .rhf-cw-limit-panel__icon .rhf-cw-icon {
  width: 2.35rem;
  height: 2.35rem;
}

.rhf-page--carpet-warranty .rhf-cw-limit-panel__head h3 {
  max-width: 12ch;
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2.05rem, 4vw, 4.35rem);
  font-weight: 850;
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.rhf-page--carpet-warranty .rhf-cw-limit-panel__head p:not(.rhf-section-kicker) {
  max-width: 33rem;
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.98rem, 1.05vw, 1.06rem);
  font-weight: 500;
  line-height: 1.62;
}

.rhf-page--carpet-warranty .rhf-cw-limit-list {
  display: grid !important;
  gap: clamp(1rem, 2vw, 1.35rem) !important;
}

.rhf-page--carpet-warranty .rhf-cw-limit-item,
.rhf-page--carpet-warranty .rhf-cw-limit-list article.rhf-cw-limit-item {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: 1rem !important;
  align-items: start !important;
  padding: 0 0 clamp(1rem, 2vw, 1.35rem) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.rhf-page--carpet-warranty .rhf-cw-limit-item:last-child {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.rhf-page--carpet-warranty .rhf-cw-limit-item__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: 0.1rem;
  color: #feda6a;
}

.rhf-page--carpet-warranty .rhf-cw-limit-item__icon .rhf-cw-icon {
  width: 2.45rem;
  height: 2.45rem;
  stroke-width: 2.55;
}

.rhf-page--carpet-warranty .rhf-cw-limit-item__copy {
  min-width: 0;
}

.rhf-page--carpet-warranty .rhf-cw-limit-item__copy h4 {
  margin: 0 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(1.14rem, 1.45vw, 1.42rem) !important;
  font-weight: 830 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
}

.rhf-page--carpet-warranty .rhf-cw-limit-item__copy p {
  max-width: 38rem;
  margin: 0.5rem 0 0 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.96rem !important;
  font-weight: 500 !important;
  line-height: 1.62 !important;
}

/* Neutralize old direct-child article rules if any remain in cascade. */
.rhf-page--carpet-warranty .rhf-cw-limit-list article:not(.rhf-cw-limit-item) p {
  grid-column: 2 !important;
}

@media (max-width: 1120px) {
  .rhf-page--carpet-warranty .rhf-cw-limit-board {
    grid-template-columns: 1fr;
    gap: clamp(2.4rem, 6vw, 4rem);
  }
}

@media (max-width: 760px) {
  .rhf-page--carpet-warranty .rhf-cw-limit-panel__head {
    grid-template-columns: 1fr;
  }

  .rhf-page--carpet-warranty .rhf-cw-limit-panel__head h3 {
    max-width: 13ch;
    font-size: clamp(2.1rem, 11vw, 3.45rem);
  }

  .rhf-page--carpet-warranty .rhf-cw-limit-item,
  .rhf-page--carpet-warranty .rhf-cw-limit-list article.rhf-cw-limit-item {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }

  .rhf-page--carpet-warranty .rhf-cw-limit-item__icon {
    width: 2.55rem;
    height: 2.55rem;
  }
}

/*
 * Placeholder stylesheet.
 * This file exists to satisfy an old enqueue path.
 * Move or remove the enqueue later if this stylesheet is no longer used.
 */

/* ==========================================================================
   Carpet Warranty — Royal 2026 page
   ========================================================================== */

.rhf-page--carpet-warranty {
  --rhf-page-accent: #feda6a;
  --rhf-cw-overall-bg: linear-gradient(135deg, #43394a 0%, #221f26 100%);
  --rhf-cw-cool-bg: linear-gradient(135deg, #27444a 0%, #1d1e22 100%);
  --rhf-cw-accent-bg: linear-gradient(135deg, #503b4a 0%, #25212a 100%);
  --rhf-cw-platinum: #d8dbe0;
  --rhf-cw-platinum-soft: #f1f2f3;
  --rhf-cw-ink: #1d1e22;

  background: #221f26;
  color: rgba(255, 255, 255, 0.9);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.rhf-page--carpet-warranty .rhf-cw-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-warranty .rhf-cw-hero .rhf-page-hero__copy {
  display: grid;
  justify-items: start;
  max-width: 1040px;
}

.rhf-page--carpet-warranty .rhf-page-kicker,
.rhf-page--carpet-warranty .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-warranty .rhf-cw-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-warranty .rhf-cw-hero h1 {
  max-width: 11ch;
  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-cw-hero__lede {
  max-width: 690px;
  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;
}

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

.rhf-page--carpet-warranty .rhf-cw-hero .rhf-page-hero__shade {
  background: var(--rhf-central-hero-shade) !important;
}

/* Shared sections */
.rhf-cw-intro,
.rhf-cw-certificate-section,
.rhf-cw-story,
.rhf-cw-manufacturer,
.rhf-cw-coverage,
.rhf-cw-limits,
.rhf-cw-care,
.rhf-cw-close {
  position: relative;
  overflow: clip;
  padding: clamp(4.75rem, 9vw, 9rem) 0;
}

.rhf-cw-intro,
.rhf-cw-story--2,
.rhf-cw-coverage,
.rhf-cw-close {
  background: var(--rhf-cw-overall-bg);
}

.rhf-cw-story--1,
.rhf-cw-story--3,
.rhf-cw-manufacturer,
.rhf-cw-care {
  background: var(--rhf-cw-cool-bg);
}

.rhf-cw-certificate-section,
.rhf-cw-limits {
  background: var(--rhf-cw-accent-bg);
}

.rhf-cw-intro > .rhf-container,
.rhf-cw-certificate-section > .rhf-container,
.rhf-cw-story > .rhf-container,
.rhf-cw-manufacturer > .rhf-container,
.rhf-cw-coverage > .rhf-container,
.rhf-cw-limits > .rhf-container,
.rhf-cw-care > .rhf-container,
.rhf-cw-close > .rhf-container {
  position: relative;
  z-index: 1;
}

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

.rhf-cw-heading h2,
.rhf-cw-certificate-copy h2,
.rhf-cw-story__copy h2,
.rhf-cw-coverage__copy h2,
.rhf-cw-care__copy h2,
.rhf-cw-faq__intro h2,
.rhf-cw-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-cw-heading h2,
.rhf-cw-certificate-copy h2 {
  max-width: 960px;
  font-size: clamp(2.4rem, 5.7vw, 6.2rem);
}

.rhf-cw-heading > p:last-child,
.rhf-cw-certificate-copy > p,
.rhf-cw-story__copy > p,
.rhf-cw-coverage__copy > p,
.rhf-cw-care__copy > p,
.rhf-cw-faq__intro p,
.rhf-cw-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-cw-icon {
  display: block;
  width: 2.15rem;
  height: 2.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Two warranty types */
.rhf-cw-type-grid,
.rhf-cw-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.3rem, 3vw, 2.2rem);
}

.rhf-cw-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.rhf-cw-type .rhf-cw-icon,
.rhf-cw-feature .rhf-cw-icon,
.rhf-cw-coverage-item .rhf-cw-icon,
.rhf-cw-limit-list .rhf-cw-icon {
  color: var(--rhf-page-accent);
}

.rhf-cw-type h3,
.rhf-cw-feature h3,
.rhf-cw-coverage-item h3 {
  margin: 1rem 0 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.rhf-cw-type p,
.rhf-cw-feature p,
.rhf-cw-coverage-item p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: clamp(0.96rem, 1.03vw, 1.05rem);
  font-weight: 500;
  line-height: 1.62;
}

/* Certificate */
.rhf-cw-certificate-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(520px, 1.25fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.rhf-cw-certificate {
  position: relative;
  min-height: clamp(520px, 48vw, 690px);
  margin: 0;
  padding: clamp(1.4rem, 3vw, 2.6rem);
  border-radius: clamp(1.1rem, 2vw, 1.6rem);
  overflow: hidden;
  color: #1d1e22;
  background:
    radial-gradient(900px 380px at 20% 0%, rgba(255, 255, 255, 0.95), transparent 58%),
    radial-gradient(720px 360px at 100% 0%, rgba(216, 219, 224, 0.84), transparent 56%),
    linear-gradient(135deg, #fbfbf9 0%, #f1f2f3 45%, #d8dbe0 100%);
  box-shadow:
    0 44px 110px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.rhf-cw-certificate::before {
  content: "";
  position: absolute;
  inset: clamp(0.65rem, 1.2vw, 1rem);
  border: 1px solid rgba(29, 30, 34, 0.24);
  border-radius: clamp(0.85rem, 1.7vw, 1.25rem);
  pointer-events: none;
}

.rhf-cw-certificate::after {
  content: "";
  position: absolute;
  inset: clamp(1rem, 1.8vw, 1.55rem);
  border: 1px solid rgba(254, 218, 106, 0.42);
  border-radius: clamp(0.65rem, 1.4vw, 1rem);
  pointer-events: none;
}

.rhf-cw-certificate__watermark {
  position: absolute;
  right: -0.15em;
  bottom: -0.23em;
  color: rgba(29, 30, 34, 0.045);
  font-family: var(--font-heading);
  font-size: clamp(9rem, 18vw, 18rem);
  font-weight: 950;
  line-height: 0.8;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.rhf-cw-certificate__top,
.rhf-cw-certificate__meta,
.rhf-cw-certificate__signature {
  position: relative;
  z-index: 2;
}

.rhf-cw-certificate__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.rhf-cw-certificate__brand,
.rhf-cw-certificate__id {
  margin: 0;
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rhf-cw-certificate__id {
  color: rgba(29, 30, 34, 0.58);
  -webkit-text-fill-color: rgba(29, 30, 34, 0.58);
  text-align: right;
}

.rhf-cw-certificate__body {
  position: relative;
  z-index: 2;
  max-width: 730px;
  margin-top: clamp(4rem, 8vw, 7rem);
}

.rhf-cw-certificate__eyebrow {
  margin: 0 0 0.75rem;
  color: #ad8425;
  -webkit-text-fill-color: #ad8425;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rhf-cw-certificate__body h3 {
  max-width: 10ch;
  margin: 0;
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6.4vw, 6.7rem);
  font-weight: 850;
  line-height: 0.86;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.rhf-cw-certificate__body p {
  max-width: 520px;
  margin: 1.15rem 0 0;
  color: rgba(29, 30, 34, 0.74);
  -webkit-text-fill-color: rgba(29, 30, 34, 0.74);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  font-weight: 550;
  line-height: 1.6;
}

.rhf-cw-seal {
  position: absolute;
  right: clamp(1.5rem, 4vw, 3rem);
  top: clamp(11rem, 17vw, 16rem);
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(7rem, 12vw, 10.5rem);
  height: clamp(7rem, 12vw, 10.5rem);
  border-radius: 50%;
  color: #1d1e22;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.92), transparent 28%),
    radial-gradient(circle at 50% 50%, #f8f8f6 0%, #d8dbe0 55%, #b8bdc6 100%);
  border: 2px solid rgba(173, 132, 37, 0.55);
  box-shadow:
    0 22px 54px rgba(29, 30, 34, 0.24),
    inset 0 0 0 7px rgba(255, 255, 255, 0.45),
    inset 0 0 0 10px rgba(173, 132, 37, 0.23);
  text-align: center;
}

.rhf-cw-seal span,
.rhf-cw-seal strong {
  display: block;
  margin: 0;
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  line-height: 1;
}

.rhf-cw-seal span {
  font-size: clamp(0.56rem, 0.8vw, 0.72rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rhf-cw-seal strong {
  color: #ad8425;
  -webkit-text-fill-color: #ad8425;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.85vw, 1.55rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.rhf-cw-certificate__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.2rem, 5vw, 5rem);
}

.rhf-cw-certificate__meta div {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(29, 30, 34, 0.22);
}

.rhf-cw-certificate__meta span,
.rhf-cw-certificate__signature strong,
.rhf-cw-certificate__signature p {
  color: rgba(29, 30, 34, 0.58);
  -webkit-text-fill-color: rgba(29, 30, 34, 0.58);
}

.rhf-cw-certificate__meta span {
  display: block;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rhf-cw-certificate__meta strong {
  display: block;
  margin-top: 0.35rem;
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  font-size: clamp(0.96rem, 1.1vw, 1.08rem);
  font-weight: 850;
  line-height: 1.2;
}

.rhf-cw-certificate__signature {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: end;
  margin-top: clamp(1.8rem, 4vw, 3.8rem);
}

.rhf-cw-certificate__script {
  display: block;
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1;
  transform: rotate(-2deg);
}

.rhf-cw-certificate__line {
  display: block;
  height: 1px;
  margin: 0.35rem 0 0.45rem;
  background: rgba(29, 30, 34, 0.34);
}

.rhf-cw-certificate__signature strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rhf-cw-certificate__signature p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 550;
  line-height: 1.52;
}

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

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

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

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

.rhf-cw-story__copy h2,
.rhf-cw-care__copy h2,
.rhf-cw-coverage__copy h2 {
  max-width: 820px;
  font-size: clamp(2.2rem, 5.2vw, 5.8rem);
}

.rhf-cw-story__copy ul {
  display: grid;
  gap: 0.7rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

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

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

.rhf-cw-story__media,
.rhf-cw-care__media {
  margin: 0;
}

.rhf-cw-picture,
.rhf-cw-picture img {
  display: block;
  width: 100%;
}

.rhf-cw-picture img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: clamp(1rem, 1.6vw, 1.5rem);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* Installation coverage */
.rhf-cw-coverage__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.rhf-cw-coverage__items {
  display: grid;
  gap: clamp(1.1rem, 2vw, 1.6rem);
}

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

/* Limit columns */
.rhf-cw-limit-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.rhf-cw-limit-column {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(254, 218, 106, 0.25);
}

.rhf-cw-limit-column h3 {
  margin: 0 0 clamp(1.3rem, 2.5vw, 2rem);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.rhf-cw-limit-list {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.rhf-cw-limit-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1rem;
  align-items: start;
}

.rhf-cw-limit-list .rhf-cw-icon {
  margin-top: 0.1rem;
}

.rhf-cw-limit-list h4 {
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-weight: 830;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.rhf-cw-limit-list p {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.62;
}

/* Care link */
.rhf-cw-care__copy .rhf-page-hero__actions {
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

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

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

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

.rhf-cw-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-cw-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-cw-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: #1d1e22;
  color: #feda6a;
}

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

.rhf-cw-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-cw-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-cw-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-cw-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-cw-faq__items details {
  border-bottom: 1px solid rgba(29, 30, 34, 0.13);
}

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

.rhf-cw-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-cw-faq__items summary::-webkit-details-marker {
  display: none;
}

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

.rhf-cw-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-cw-faq__items details[open] summary::after {
  content: "–";
}

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

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

/* Responsive */
@media (max-width: 1120px) {
  .rhf-cw-certificate-grid,
  .rhf-cw-story__grid,
  .rhf-cw-story__grid--reverse,
  .rhf-cw-care__grid,
  .rhf-cw-coverage__grid,
  .rhf-cw-limit-columns,
  .rhf-cw-faq {
    grid-template-columns: 1fr;
  }

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

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

  .rhf-cw-certificate {
    min-height: 600px;
  }

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

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

  .rhf-page--carpet-warranty .rhf-cw-hero .rhf-page-hero__inner {
    padding-block: 7.5rem 4.75rem;
  }

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

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

  .rhf-cw-intro,
  .rhf-cw-certificate-section,
  .rhf-cw-story,
  .rhf-cw-manufacturer,
  .rhf-cw-coverage,
  .rhf-cw-limits,
  .rhf-cw-care,
  .rhf-cw-close {
    padding-block: 3.75rem;
  }

  .rhf-cw-heading h2,
  .rhf-cw-certificate-copy h2,
  .rhf-cw-story__copy h2,
  .rhf-cw-coverage__copy h2,
  .rhf-cw-care__copy h2,
  .rhf-cw-faq__intro h2,
  .rhf-cw-final h2 {
    font-size: clamp(2.15rem, 12vw, 3.7rem);
    line-height: 1;
    letter-spacing: -0.045em;
  }

  .rhf-cw-type-grid,
  .rhf-cw-feature-grid,
  .rhf-cw-certificate__meta,
  .rhf-cw-certificate__signature {
    grid-template-columns: 1fr;
  }

  .rhf-cw-certificate {
    min-height: 0;
    padding: 1.25rem;
  }

  .rhf-cw-certificate__top {
    display: grid;
  }

  .rhf-cw-certificate__id {
    text-align: left;
  }

  .rhf-cw-certificate__body {
    margin-top: 3.2rem;
  }

  .rhf-cw-certificate__body h3 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .rhf-cw-seal {
    position: relative;
    top: auto;
    right: auto;
    margin: 2rem 0 0;
  }

  .rhf-cw-picture img {
    aspect-ratio: 3 / 4;
  }

  .rhf-cw-limit-list article {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

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

  .rhf-cw-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-cw-faq__items details p::before {
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   Carpet Warranty — Alignment + Certificate Rebuild Override
   Fixes certificate layout, content alignment, and removes overlapping seal.
   ========================================================================== */

.rhf-page--carpet-warranty .rhf-cw-certificate-section {
  background:
    radial-gradient(900px 420px at 14% 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, #503b4a 0%, #25212a 100%) !important;
}

/* Use fluid columns, not a fixed 520px min column. */
.rhf-page--carpet-warranty .rhf-cw-certificate-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.rhf-page--carpet-warranty .rhf-cw-certificate-copy {
  max-width: 720px;
}

.rhf-page--carpet-warranty .rhf-cw-certificate-copy h2 {
  max-width: 760px;
  font-size: clamp(2.35rem, 5.2vw, 5.8rem);
}

/* Reset old certificate positioning and rebuild as a stable flowing layout. */
.rhf-page--carpet-warranty .rhf-cw-certificate {
  position: relative !important;
  justify-self: end;
  width: min(100%, 920px);
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #1d1e22 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.rhf-page--carpet-warranty .rhf-cw-certificate::before,
.rhf-page--carpet-warranty .rhf-cw-certificate::after {
  display: none !important;
}

.rhf-page--carpet-warranty .rhf-cw-cert-frame {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: clamp(1.35rem, 2.4vw, 2.1rem);
  padding: clamp(1.2rem, 2.5vw, 2.15rem);
  border-radius: clamp(1rem, 1.7vw, 1.45rem);
  background:
    radial-gradient(900px 360px at 10% 0%, rgba(255, 255, 255, 0.98), transparent 58%),
    radial-gradient(720px 330px at 100% 0%, rgba(216, 219, 224, 0.90), transparent 58%),
    linear-gradient(135deg, #fbfbf9 0%, #f1f2f3 46%, #d8dbe0 100%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    0 44px 110px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.rhf-page--carpet-warranty .rhf-cw-cert-frame::before {
  content: "";
  position: absolute;
  inset: clamp(0.55rem, 1vw, 0.9rem);
  border: 1px solid rgba(29, 30, 34, 0.24);
  border-radius: clamp(0.75rem, 1.35vw, 1.1rem);
  pointer-events: none;
}

.rhf-page--carpet-warranty .rhf-cw-cert-frame::after {
  content: "";
  position: absolute;
  inset: clamp(0.95rem, 1.6vw, 1.35rem);
  border: 1px solid rgba(173, 132, 37, 0.44);
  border-radius: clamp(0.55rem, 1.15vw, 0.9rem);
  pointer-events: none;
}

.rhf-page--carpet-warranty .rhf-cw-cert-watermark {
  position: absolute;
  right: -0.12em;
  bottom: -0.18em;
  color: rgba(29, 30, 34, 0.045);
  font-family: var(--font-heading);
  font-size: clamp(8rem, 17vw, 16rem);
  font-weight: 950;
  line-height: 0.8;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.rhf-page--carpet-warranty .rhf-cw-cert-top,
.rhf-page--carpet-warranty .rhf-cw-cert-main,
.rhf-page--carpet-warranty .rhf-cw-cert-details,
.rhf-page--carpet-warranty .rhf-cw-cert-signature {
  position: relative;
  z-index: 2;
}

.rhf-page--carpet-warranty .rhf-cw-cert-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(0.8rem, 1.6vw, 1.25rem);
  align-items: center;
}

.rhf-page--carpet-warranty .rhf-cw-cert-mark {
  display: grid;
  place-items: center;
  width: clamp(3rem, 4.6vw, 4.2rem);
  height: clamp(3rem, 4.6vw, 4.2rem);
  border-radius: 0.8rem;
  background: #1d1e22;
  color: #feda6a;
  -webkit-text-fill-color: #feda6a;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  box-shadow: 0 12px 28px rgba(29, 30, 34, 0.22);
}

.rhf-page--carpet-warranty .rhf-cw-cert-brand span,
.rhf-page--carpet-warranty .rhf-cw-cert-number span,
.rhf-page--carpet-warranty .rhf-cw-cert-details span {
  display: block;
  color: rgba(29, 30, 34, 0.56);
  -webkit-text-fill-color: rgba(29, 30, 34, 0.56);
  font-size: clamp(0.66rem, 0.82vw, 0.76rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rhf-page--carpet-warranty .rhf-cw-cert-brand strong,
.rhf-page--carpet-warranty .rhf-cw-cert-number strong,
.rhf-page--carpet-warranty .rhf-cw-cert-details strong {
  display: block;
  margin-top: 0.35rem;
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  font-family: var(--font-heading);
  font-size: clamp(0.94rem, 1.08vw, 1.06rem);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.rhf-page--carpet-warranty .rhf-cw-cert-number {
  text-align: right;
}

.rhf-page--carpet-warranty .rhf-cw-cert-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2.25rem);
  align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.7rem);
}

.rhf-page--carpet-warranty .rhf-cw-cert-title {
  min-width: 0;
}

.rhf-page--carpet-warranty .rhf-cw-cert-title p {
  margin: 0 0 0.75rem;
  color: #ad8425;
  -webkit-text-fill-color: #ad8425;
  font-size: clamp(0.72rem, 0.9vw, 0.82rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rhf-page--carpet-warranty .rhf-cw-cert-title h3 {
  max-width: 12ch;
  margin: 0;
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  font-family: var(--font-heading);
  font-size: clamp(2.65rem, 5.2vw, 5.6rem);
  font-weight: 850;
  line-height: 0.88;
  letter-spacing: -0.072em;
  text-wrap: balance;
}

.rhf-page--carpet-warranty .rhf-cw-cert-title span {
  display: block;
  max-width: 520px;
  margin-top: 1rem;
  color: rgba(29, 30, 34, 0.74);
  -webkit-text-fill-color: rgba(29, 30, 34, 0.74);
  font-size: clamp(0.98rem, 1.08vw, 1.08rem);
  font-weight: 560;
  line-height: 1.55;
}

.rhf-page--carpet-warranty .rhf-cw-cert-seal {
  display: grid;
  place-items: center;
  width: clamp(7.4rem, 11vw, 9.6rem);
  height: clamp(7.4rem, 11vw, 9.6rem);
  border-radius: 50%;
  text-align: center;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.96), transparent 28%),
    radial-gradient(circle at 50% 50%, #f8f8f6 0%, #d8dbe0 56%, #b8bdc6 100%);
  border: 2px solid rgba(173, 132, 37, 0.58);
  box-shadow:
    0 22px 54px rgba(29, 30, 34, 0.24),
    inset 0 0 0 7px rgba(255, 255, 255, 0.46),
    inset 0 0 0 10px rgba(173, 132, 37, 0.22);
}

.rhf-page--carpet-warranty .rhf-cw-cert-seal span,
.rhf-page--carpet-warranty .rhf-cw-cert-seal strong {
  display: block;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
}

.rhf-page--carpet-warranty .rhf-cw-cert-seal span {
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  font-size: clamp(0.54rem, 0.72vw, 0.68rem);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.rhf-page--carpet-warranty .rhf-cw-cert-seal strong {
  color: #ad8425;
  -webkit-text-fill-color: #ad8425;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.55vw, 1.38rem);
  font-weight: 950;
  letter-spacing: -0.045em;
}

.rhf-page--carpet-warranty .rhf-cw-cert-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.5vw, 1.15rem);
}

.rhf-page--carpet-warranty .rhf-cw-cert-details div {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(29, 30, 34, 0.20);
}

.rhf-page--carpet-warranty .rhf-cw-cert-signature {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: end;
  padding-top: clamp(0.8rem, 1.5vw, 1.2rem);
}

.rhf-page--carpet-warranty .rhf-cw-cert-script {
  display: block;
  color: #1d1e22;
  -webkit-text-fill-color: #1d1e22;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  line-height: 1;
  transform: rotate(-2deg);
}

.rhf-page--carpet-warranty .rhf-cw-cert-line {
  display: block;
  height: 1px;
  margin: 0.35rem 0 0.45rem;
  background: rgba(29, 30, 34, 0.34);
}

.rhf-page--carpet-warranty .rhf-cw-cert-signature strong {
  display: block;
  color: rgba(29, 30, 34, 0.60);
  -webkit-text-fill-color: rgba(29, 30, 34, 0.60);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rhf-page--carpet-warranty .rhf-cw-cert-signature p {
  margin: 0;
  color: rgba(29, 30, 34, 0.62);
  -webkit-text-fill-color: rgba(29, 30, 34, 0.62);
  font-size: clamp(0.78rem, 0.9vw, 0.86rem);
  font-weight: 550;
  line-height: 1.48;
}

/* Align story and lower content consistently. */
.rhf-page--carpet-warranty .rhf-cw-story__copy,
.rhf-page--carpet-warranty .rhf-cw-care__copy,
.rhf-page--carpet-warranty .rhf-cw-coverage__copy {
  min-width: 0;
}

.rhf-page--carpet-warranty .rhf-cw-story__media,
.rhf-page--carpet-warranty .rhf-cw-care__media {
  min-width: 0;
}

.rhf-page--carpet-warranty .rhf-cw-story__grid,
.rhf-page--carpet-warranty .rhf-cw-care__grid,
.rhf-page--carpet-warranty .rhf-cw-coverage__grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr);
}

.rhf-page--carpet-warranty .rhf-cw-story__grid--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
}

@media (max-width: 1120px) {
  .rhf-page--carpet-warranty .rhf-cw-certificate-layout,
  .rhf-page--carpet-warranty .rhf-cw-story__grid,
  .rhf-page--carpet-warranty .rhf-cw-story__grid--reverse,
  .rhf-page--carpet-warranty .rhf-cw-care__grid,
  .rhf-page--carpet-warranty .rhf-cw-coverage__grid {
    grid-template-columns: 1fr !important;
  }

  .rhf-page--carpet-warranty .rhf-cw-certificate {
    justify-self: stretch;
  }

  .rhf-page--carpet-warranty .rhf-cw-story__grid--reverse .rhf-cw-story__copy,
  .rhf-page--carpet-warranty .rhf-cw-story__grid--reverse .rhf-cw-story__media {
    order: initial;
  }
}

@media (max-width: 760px) {
  .rhf-page--carpet-warranty .rhf-cw-cert-frame {
    padding: 1rem;
    gap: 1.2rem;
  }

  .rhf-page--carpet-warranty .rhf-cw-cert-top,
  .rhf-page--carpet-warranty .rhf-cw-cert-main,
  .rhf-page--carpet-warranty .rhf-cw-cert-details,
  .rhf-page--carpet-warranty .rhf-cw-cert-signature {
    grid-template-columns: 1fr;
  }

  .rhf-page--carpet-warranty .rhf-cw-cert-number {
    text-align: left;
  }

  .rhf-page--carpet-warranty .rhf-cw-cert-title h3 {
    font-size: clamp(2.4rem, 12vw, 3.75rem);
  }

  .rhf-page--carpet-warranty .rhf-cw-cert-seal {
    width: 7rem;
    height: 7rem;
  }
}

/* ==========================================================================
   Carpet Warranty — Clean Warranty Limits Section
   Replaces the messy icon/title/paragraph grid with clean editorial columns.
   ========================================================================== */

.rhf-page--carpet-warranty .rhf-cw-limit-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.rhf-page--carpet-warranty .rhf-cw-limit-panel {
  min-width: 0;
  padding-top: clamp(1.2rem, 2vw, 1.55rem);
  border-top: 1px solid rgba(254, 218, 106, 0.28);
}

.rhf-page--carpet-warranty .rhf-cw-limit-panel__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(0.9rem, 1.7vw, 1.25rem);
  align-items: start;
  margin-bottom: clamp(1.45rem, 3vw, 2.4rem);
}

.rhf-page--carpet-warranty .rhf-cw-limit-panel__icon {
  display: grid;
  place-items: center;
  width: clamp(3.65rem, 5vw, 4.45rem);
  height: clamp(3.65rem, 5vw, 4.45rem);
  border-radius: 1.1rem;
  color: #feda6a;
  background: rgba(254, 218, 106, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.rhf-page--carpet-warranty .rhf-cw-limit-panel__icon .rhf-cw-icon {
  width: 2.35rem;
  height: 2.35rem;
}

.rhf-page--carpet-warranty .rhf-cw-limit-panel__head h3 {
  max-width: 12ch;
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2.05rem, 4vw, 4.35rem);
  font-weight: 850;
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.rhf-page--carpet-warranty .rhf-cw-limit-panel__head p:not(.rhf-section-kicker) {
  max-width: 33rem;
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.98rem, 1.05vw, 1.06rem);
  font-weight: 500;
  line-height: 1.62;
}

.rhf-page--carpet-warranty .rhf-cw-limit-list {
  display: grid !important;
  gap: clamp(1rem, 2vw, 1.35rem) !important;
}

.rhf-page--carpet-warranty .rhf-cw-limit-item,
.rhf-page--carpet-warranty .rhf-cw-limit-list article.rhf-cw-limit-item {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: 1rem !important;
  align-items: start !important;
  padding: 0 0 clamp(1rem, 2vw, 1.35rem) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.rhf-page--carpet-warranty .rhf-cw-limit-item:last-child {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.rhf-page--carpet-warranty .rhf-cw-limit-item__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: 0.1rem;
  color: #feda6a;
}

.rhf-page--carpet-warranty .rhf-cw-limit-item__icon .rhf-cw-icon {
  width: 2.45rem;
  height: 2.45rem;
  stroke-width: 2.55;
}

.rhf-page--carpet-warranty .rhf-cw-limit-item__copy {
  min-width: 0;
}

.rhf-page--carpet-warranty .rhf-cw-limit-item__copy h4 {
  margin: 0 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(1.14rem, 1.45vw, 1.42rem) !important;
  font-weight: 830 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
}

.rhf-page--carpet-warranty .rhf-cw-limit-item__copy p {
  max-width: 38rem;
  margin: 0.5rem 0 0 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.96rem !important;
  font-weight: 500 !important;
  line-height: 1.62 !important;
}

/* Neutralize old direct-child article rules if any remain in cascade. */
.rhf-page--carpet-warranty .rhf-cw-limit-list article:not(.rhf-cw-limit-item) p {
  grid-column: 2 !important;
}

@media (max-width: 1120px) {
  .rhf-page--carpet-warranty .rhf-cw-limit-board {
    grid-template-columns: 1fr;
    gap: clamp(2.4rem, 6vw, 4rem);
  }
}

@media (max-width: 760px) {
  .rhf-page--carpet-warranty .rhf-cw-limit-panel__head {
    grid-template-columns: 1fr;
  }

  .rhf-page--carpet-warranty .rhf-cw-limit-panel__head h3 {
    max-width: 13ch;
    font-size: clamp(2.1rem, 11vw, 3.45rem);
  }

  .rhf-page--carpet-warranty .rhf-cw-limit-item,
  .rhf-page--carpet-warranty .rhf-cw-limit-list article.rhf-cw-limit-item {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }

  .rhf-page--carpet-warranty .rhf-cw-limit-item__icon {
    width: 2.55rem;
    height: 2.55rem;
  }
}

/* ==========================================================================
   Royal Category Navigation — shared after-hero product family menu
   ========================================================================== */

.rhf-category-nav {
  --rhf-catnav-gold: #feda6a;
  --rhf-catnav-text: #ffffff;
  --rhf-catnav-soft: rgba(255, 255, 255, 0.82);
  --rhf-catnav-muted: rgba(255, 255, 255, 0.66);
  --rhf-catnav-line: rgba(255, 255, 255, 0.14);
  --rhf-catnav-card: rgba(255, 255, 255, 0.06);
  --rhf-catnav-card-strong: rgba(255, 255, 255, 0.10);
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(3.2rem, 6vw, 5.5rem) 0;
  color: var(--rhf-catnav-text);
  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(180deg, #494d5f 0%, #393f4d 46%, #1d1e22 100%);
}

.rhf-category-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.10), transparent 34%, rgba(0, 0, 0, 0.16));
}

.rhf-category-nav > .rhf-container {
  position: relative;
  z-index: 1;
}

.rhf-category-nav__header {
  max-width: 980px;
  margin-bottom: clamp(1.6rem, 3vw, 2.5rem);
}

.rhf-category-nav__header .rhf-section-kicker {
  margin: 0 0 0.85rem;
  color: var(--rhf-catnav-gold);
  -webkit-text-fill-color: var(--rhf-catnav-gold);
  font-size: clamp(0.72rem, 0.66rem + 0.22vw, 0.86rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rhf-category-nav__header h2 {
  max-width: 900px;
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 5vw, 5.3rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.rhf-category-nav__header p:not(.rhf-section-kicker) {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--rhf-catnav-soft);
  font-size: clamp(1rem, 1.14vw, 1.12rem);
  font-weight: 500;
  line-height: 1.68;
}

.rhf-category-nav__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.15rem);
}

.rhf-category-nav__item {
  position: relative;
  min-height: 138px;
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: clamp(1.05rem, 1.8vw, 1.35rem);
  border: 1px solid var(--rhf-catnav-line);
  border-radius: 1.25rem;
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(254, 218, 106, 0.09), transparent 62%),
    linear-gradient(180deg, var(--rhf-catnav-card-strong), var(--rhf-catnav-card));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.rhf-category-nav__item::after {
  content: "→";
  position: absolute;
  right: 1.05rem;
  bottom: 0.92rem;
  color: var(--rhf-catnav-gold);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.92;
}

.rhf-category-nav__item span {
  display: block;
  max-width: calc(100% - 1.25rem);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.026em;
}

.rhf-category-nav__item em {
  display: block;
  max-width: 22rem;
  color: var(--rhf-catnav-muted);
  -webkit-text-fill-color: var(--rhf-catnav-muted);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 550;
  line-height: 1.5;
}

.rhf-category-nav__item:hover,
.rhf-category-nav__item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(254, 218, 106, 0.52);
  background:
    radial-gradient(440px 220px at 100% 0%, rgba(254, 218, 106, 0.15), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.07));
  outline: none;
}

.rhf-category-nav__item.is-active,
.rhf-category-nav__item[aria-current="page"] {
  border-color: rgba(254, 218, 106, 0.72);
  background:
    radial-gradient(480px 240px at 100% 0%, rgba(254, 218, 106, 0.20), transparent 62%),
    linear-gradient(180deg, rgba(254, 218, 106, 0.16), rgba(255, 255, 255, 0.08));
}

.rhf-category-nav__item.is-active::before,
.rhf-category-nav__item[aria-current="page"]::before {
  content: "Current";
  position: absolute;
  top: 0.82rem;
  right: 0.9rem;
  color: #1d1e22;
  background: var(--rhf-catnav-gold);
  border-radius: 999px;
  padding: 0.26rem 0.55rem;
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .rhf-category-nav__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .rhf-category-nav__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rhf-category-nav__item { min-height: 126px; }
}

@media (max-width: 580px) {
  .rhf-category-nav { padding-block: 3rem; }
  .rhf-category-nav__grid { grid-template-columns: 1fr; }
  .rhf-category-nav__item { min-height: auto; padding-right: 3rem; }
  .rhf-category-nav__item.is-active::before,
  .rhf-category-nav__item[aria-current="page"]::before {
    position: relative;
    top: auto;
    right: auto;
    justify-self: start;
    order: -1;
    margin-bottom: 0.2rem;
  }
}

/* ==========================================================================
   Royal Central Hero Video Shades
   Edit this file to control hero video shade strength across the site.
   ========================================================================== */

:root {
  /*
   Main hero shade.
   This is intentionally lighter than many old page-level shades because several
   source videos are already dark.
  */
  --rhf-central-hero-shade:
    radial-gradient(900px 460px at 78% 16%, rgba(254, 218, 106, 0.10), transparent 58%),
    linear-gradient(90deg, rgba(13, 14, 18, 0.38) 0%, rgba(13, 14, 18, 0.18) 46%, rgba(13, 14, 18, 0.04) 100%),
    linear-gradient(180deg, rgba(13, 14, 18, 0.04) 0%, rgba(13, 14, 18, 0.28) 100%);

  /*
   Mobile needs slightly stronger shade so white text stays readable.
  */
  --rhf-central-hero-mobile-shade:
    radial-gradient(700px 320px at 78% 10%, rgba(254, 218, 106, 0.10), transparent 58%),
    linear-gradient(180deg, rgba(13, 14, 18, 0.42) 0%, rgba(13, 14, 18, 0.54) 56%, rgba(13, 14, 18, 0.72) 100%);

  /*
   Keep the video itself clean. Change this only if a video is too bright.
   Example: brightness(0.95) contrast(1.04)
  */
  --rhf-central-hero-video-filter: none;

  /*
   Optional media overlay. Default transparent so we do not double-darken videos.
  */
  --rhf-central-hero-media-overlay: transparent;
}

/* Map old shared variables to the new central controls. */
.rhf-page {
  --rhf-hero-video-filter: var(--rhf-central-hero-video-filter);
  --rhf-hero-media-overlay: var(--rhf-central-hero-media-overlay);
  --rhf-hero-shade: var(--rhf-central-hero-shade);
  --rhf-hero-mobile-shade: var(--rhf-central-hero-mobile-shade);
}

/* Standard page hero system. */
.rhf-page .rhf-page-hero__media::after {
  background: var(--rhf-central-hero-media-overlay) !important;
}

.rhf-page .rhf-page-hero__video {
  filter: var(--rhf-central-hero-video-filter) !important;
}

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

/* Newer custom hero systems. */
.rhf-page--all-inclusive-pricing .rhf-aip-hero__overlay,
.rhf-page--all-inclusive-pricing .rhf-info-hero__overlay {
  background: var(--rhf-central-hero-shade) !important;
}

.rhf-page--all-inclusive-pricing .rhf-aip-hero__video,
.rhf-page--all-inclusive-pricing .rhf-info-hero__video {
  filter: var(--rhf-central-hero-video-filter) !important;
}

/* Homepage cinema hero system. */
.royal-cinema__shade {
  background: var(--rhf-central-hero-shade) !important;
}

.royal-cinema__video {
  filter: var(--rhf-central-hero-video-filter) !important;
}

@media (max-width: 760px) {
  .rhf-page .rhf-page-hero__shade,
  .rhf-page--all-inclusive-pricing .rhf-aip-hero__overlay,
  .rhf-page--all-inclusive-pricing .rhf-info-hero__overlay,
  .royal-cinema__shade {
    background: var(--rhf-central-hero-mobile-shade) !important;
  }
}

/* ==========================================================================
   Royal Central Hero Shades — Global Enforcement Layer
   This forces every page hero shade/overlay to use the same central variables.
   ========================================================================== */

html body .rhf-page .rhf-page-hero__shade,
html body .rhf-page-hero__shade,
html body .rhf-page [class*="hero__overlay"],
html body .rhf-info-page [class*="hero__overlay"],
html body .rhf-aip-hero__overlay,
html body .rhf-info-hero__overlay,
html body .royal-cinema__shade {
  background: var(--rhf-central-hero-shade) !important;
}

html body .rhf-page .rhf-page-hero__media::after,
html body .rhf-page-hero__media::after,
html body .rhf-info-hero__media::after,
html body .rhf-aip-hero__media::after,
html body .royal-cinema__media::after {
  background: var(--rhf-central-hero-media-overlay) !important;
}

html body .rhf-page .rhf-page-hero__video,
html body .rhf-page-hero__video,
html body .rhf-info-hero__video,
html body .rhf-aip-hero__video,
html body .royal-cinema__video {
  filter: var(--rhf-central-hero-video-filter) !important;
}

@media (max-width: 760px) {
  html body .rhf-page .rhf-page-hero__shade,
  html body .rhf-page-hero__shade,
  html body .rhf-page [class*="hero__overlay"],
  html body .rhf-info-page [class*="hero__overlay"],
  html body .rhf-aip-hero__overlay,
  html body .rhf-info-hero__overlay,
  html body .royal-cinema__shade {
    background: var(--rhf-central-hero-mobile-shade) !important;
  }
}
