/* =============================================================================
   Everything You Need Painting and Cleaning
   Pure CSS3 · Custom properties · Flexbox + Grid · Glassmorphism
   ============================================================================= */

/* ---------------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------------- */
:root {
  --navy: #0a1224;
  --navy-deep: #000412;
  --navy-muted: #1e293b;
  --gold: #c17a2e;
  --gold-bright: #d97706;
  --gold-soft: #f3e6d4;
  --cream: #f6f3ee;
  --cream-dark: #ece6db;
  --white: #ffffff;
  --charcoal: #1c1917;
  --body: #3f3a34;
  --muted: #6b645c;
  --border: #e4ddd3;
  --success: #0f766e;
  --error: #b42318;
  --glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.35);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", Inter, system-ui, sans-serif;

  --fs-display: clamp(2.75rem, 5.4vw, 4.75rem);
  --fs-h2: clamp(2rem, 3.4vw, 3rem);
  --fs-h3: 1.35rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.8125rem;
  --lh-body: 1.65;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-soft: 0 8px 30px rgba(10, 18, 36, 0.06);
  --shadow-lift: 0 24px 48px rgba(10, 18, 36, 0.12);
  --shadow-gold: 0 12px 28px rgba(193, 122, 46, 0.28);

  --header-h: 84px;
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 220ms;
}

/* ---------------------------------------------------------------------------
   2. Reset & base
   --------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  cursor: pointer;
}

a,
button,
input,
select,
.swatch,
.ba-range {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------------------------------------------------------------------------
   3. Layout helpers
   --------------------------------------------------------------------------- */
.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.section {
  padding: var(--space-9) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-7);
}

.section-header-left {
  text-align: left;
  margin-left: 0;
}

.section-lede {
  color: var(--muted);
  font-size: 1.0625rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.eyebrow-light {
  color: #e8c48a;
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

/* ---------------------------------------------------------------------------
   4. Buttons & links
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border: 0;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--duration) var(--ease), background var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: var(--gold-bright);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-muted);
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
  width: fit-content;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.text-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.text-link svg {
  width: 16px;
  height: 16px;
}

/* ---------------------------------------------------------------------------
   5. Header
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 18, 36, 0.06);
  transition: box-shadow var(--duration) var(--ease);
}

/* Inner pages load Tailwind CDN — keep header layout identical to homepage */
.site-header .container {
  width: min(100% - var(--gutter) * 2, var(--container));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.site-header .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border: 0;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--duration) var(--ease), background var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.site-header .btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.site-header .btn-gold:hover {
  background: var(--gold-bright);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(10, 18, 36, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark svg {
  width: 40px;
  height: 40px;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(0.58rem, 1.35vw, 0.82rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  max-width: min(18rem, 46vw);
}

.brand-on-dark .brand-name {
  max-width: 16rem;
}

.brand-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  position: relative;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.35rem 0;
  transition: color var(--duration) var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--navy);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.phone-link {
  display: none;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  min-height: 44px;
  white-space: nowrap;
}

.phone-link svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.header-actions .btn-gold {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
}

.menu-toggle .icon-close,
.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  position: absolute;
  inset: var(--header-h) 0 auto 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1rem var(--gutter) 1.5rem;
  box-shadow: var(--shadow-soft);
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: var(--container);
  margin: 0 auto;
}

.mobile-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  padding: 0.85rem 0;
  min-height: 44px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav .mobile-phone {
  color: var(--gold);
}

.mobile-nav .btn {
  margin-top: 0.75rem;
  border-bottom: 0;
}

.mobile-nav a.is-active,
.mobile-nav a[aria-current="page"] {
  color: var(--gold);
  font-weight: 700;
}

/* Inner pages: sticky header matches homepage; light main offset */
body.page-inner {
  padding-top: 0;
}

body.page-inner main {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

/* ---------------------------------------------------------------------------
   6. Hero
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: var(--space-7) 0 var(--space-8);
}

.hero--fluid {
  min-height: min(92vh, 920px);
  overflow: hidden;
  background: #0f1e36;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fluid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  pointer-events: auto;
  touch-action: none;
}

.hero-fluid-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 30, 54, 0.55) 0%, rgba(15, 30, 54, 0.18) 58%, rgba(15, 30, 54, 0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.hero-content a,
.hero-content button,
.hero-content input,
.hero-content select,
.hero-content form,
.hero-content .zip-field {
  pointer-events: auto;
}

.fluid-hint {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  margin: 0;
  pointer-events: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
}

.hero--fluid .hero-copy h1 {
  color: #f7f4ef;
}

.hero--fluid .lede,
.hero--fluid .zip-hint,
.hero--fluid .proof-copy p {
  color: rgba(247, 244, 239, 0.72);
}

.hero--fluid .proof-pill {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.visualizer-paint-stage {
  position: relative;
  isolation: isolate;
}

.visualizer-paint-stage #room-preview {
  z-index: 0;
  pointer-events: none;
}

.visualizer-paint-stage .fluid-canvas {
  z-index: 2;
  mix-blend-mode: normal;
  opacity: 1;
}

.visualizer-paint-stage .visualizer-paint-ui {
  z-index: 3;
  pointer-events: auto;
}

.visualizer-paint-stage .fluid-hint {
  color: rgba(15, 30, 54, 0.4);
}

.hero-grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

.hero-copy h1 {
  font-size: var(--fs-display);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--navy);
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.zip-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.zip-field {
  position: relative;
  flex: 1;
}

.zip-field svg {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.zip-field input {
  width: 100%;
  min-height: 56px;
  padding: 0.9rem 1.1rem 0.9rem 2.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--navy);
}

.zip-field input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(10, 18, 36, 0.08);
  outline: none;
}

.zip-hint {
  font-size: var(--fs-small);
  color: var(--muted);
  margin: 0.35rem 0 1.25rem;
}

.zip-result {
  min-height: 0;
}

.zip-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-full);
  background: #ecfdf5;
  color: var(--success);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid #99f6e4;
  animation: badge-in 480ms var(--ease);
}

.zip-badge.is-error {
  background: #fef3f2;
  color: var(--error);
  border-color: #fecdca;
}

.zip-badge svg {
  width: 18px;
  height: 18px;
}

@keyframes badge-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.proof-pill {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  max-width: 28rem;
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  margin-left: -10px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--gold);
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}

.proof-copy p {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0.2rem 0 0;
}

.hero-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 5;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--navy);
}

.hero-float-kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-float strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.hero-float span:last-child {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------------------------------------------------------------------------
   7. Bento services
   --------------------------------------------------------------------------- */
.bento-grid {
  display: grid;
  gap: 1.25rem;
}

.bento-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}

.bento-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lift);
}

.bento-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.bento-icon svg {
  width: 22px;
  height: 22px;
}

.bento-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}

.bento-card p {
  color: var(--muted);
}

.bento-lg {
  min-height: 380px;
  justify-content: space-between;
}

.bento-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 700ms var(--ease);
  opacity: 0.22;
}

.bento-lg:hover .bento-media {
  transform: scale(1.08);
}

.bento-body {
  position: relative;
  z-index: 1;
}

.bento-navy {
  background: var(--navy);
  color: #d6d3ce;
}

.bento-navy h3 {
  color: var(--white);
}

.bento-navy p {
  color: rgba(255, 255, 255, 0.72);
}

.bento-navy .bento-icon {
  background: rgba(193, 122, 46, 0.18);
  color: #e8c48a;
}

.bento-wide {
  display: grid;
  gap: 1.25rem;
}

.bento-wide-media {
  min-height: 180px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
}

/* ---------------------------------------------------------------------------
   8. Color visualizer
   --------------------------------------------------------------------------- */
.visualizer-section {
  position: relative;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(217, 119, 6, 0.08), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(15, 30, 54, 0.06), transparent 50%),
    var(--white);
  overflow: hidden;
}

.visualizer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 30, 54, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 30, 54, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 85%);
  pointer-events: none;
}

.viz-studio-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.viz-studio-intro__copy {
  max-width: 42rem;
}

.viz-studio-intro__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.viz-studio-stat {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(15, 30, 54, 0.1);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.viz-studio-stat--accent {
  border-color: rgba(217, 119, 6, 0.35);
  background: rgba(217, 119, 6, 0.1);
  color: #9a4f00;
}

.visualizer {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
}

.visualizer--studio {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: calc(var(--radius-xl) + 4px);
  background: linear-gradient(165deg, #0f1e36 0%, #0a1224 52%, #152845 100%);
  box-shadow:
    0 24px 60px rgba(10, 18, 36, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  overflow: hidden;
}

.visualizer--studio::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(217, 119, 6, 0.22), transparent 60%),
    radial-gradient(50% 40% at 10% 90%, rgba(193, 122, 46, 0.14), transparent 55%);
  pointer-events: none;
}

.viz-control-deck {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.viz-color-readout {
  text-align: right;
}

.viz-color-readout__label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.viz-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.room-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.28rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.room-btn {
  min-height: 44px;
  padding: 0.45rem 1.05rem;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
  font-size: 0.8rem;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.room-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.room-btn.is-active {
  background: linear-gradient(135deg, #d97706, #c17a2e);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.35);
}

.viz-label {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}

.viz-label span {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.viz-stage {
  position: relative;
  z-index: 1;
  padding: 0 1.25rem 1.25rem;
}

.viz-preview {
  position: relative;
  border-radius: calc(var(--radius-lg) + 2px);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0a1224;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.viz-stage__glow {
  position: absolute;
  inset: auto 8% 0;
  height: 38%;
  background: radial-gradient(ellipse at center bottom, rgba(217, 119, 6, 0.28), transparent 70%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.viz-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.viz-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-md);
}

.viz-badge--floating {
  top: auto;
  left: 1rem;
  bottom: 1rem;
  background: rgba(10, 18, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.viz-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #edeae0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
  transition: background-color 400ms var(--ease);
}

.viz-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
}

.viz-badge span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.62);
}

.viz-swatch-tray {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.viz-swatch-tray__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0;
  justify-content: flex-end;
  flex: 1;
}

.swatch {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: var(--swatch);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.swatch:hover {
  transform: scale(1.08);
}

.swatch.is-active {
  box-shadow: 0 0 0 3px #d97706, 0 8px 20px rgba(217, 119, 6, 0.35);
  transform: scale(1.1);
}

.visualizer-page {
  padding-top: 0;
}

.visualizer-page .viz-studio-intro h1,
.visualizer-page .viz-studio-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, var(--fs-h2));
  line-height: 1.1;
  color: var(--navy);
}

@media (max-width: 720px) {
  .viz-color-readout {
    width: 100%;
    text-align: left;
  }

  .viz-swatch-tray {
    flex-direction: column;
    align-items: flex-start;
  }

  .swatch-row {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ---------------------------------------------------------------------------
   9. Before / After slider
   --------------------------------------------------------------------------- */
.ba-compare {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-lift);
  user-select: none;
  touch-action: none;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before-pane {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid var(--white);
}

.ba-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

.ba-handle-grip svg {
  width: 22px;
  height: 22px;
}

.ba-chip {
  position: absolute;
  top: 1rem;
  z-index: 2;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.ba-chip-before {
  left: 1rem;
  background: rgba(10, 18, 36, 0.72);
  color: var(--white);
}

.ba-chip-after {
  right: 1rem;
  background: var(--gold);
  color: var(--white);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}

/* ---------------------------------------------------------------------------
   10. Process — orbital timeline
   --------------------------------------------------------------------------- */
@property --border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes border-spin {
  to {
    --border-angle: 360deg;
  }
}

@keyframes orbit-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes orbit-float1 {
  50% {
    transform: translate(-6%, 8%) scale(1.12);
  }
}

@keyframes orbit-float2 {
  50% {
    transform: translate(8%, -6%) scale(1.15);
  }
}

.ic {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  flex: none;
  fill: none;
  vertical-align: middle;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.process {
  --orbit-navy-900: #0a1224;
  --orbit-navy-800: #0f1e36;
  --orbit-navy-700: #14294a;
  --orbit-navy-500: #1e293b;
  --orbit-gold: #c17a2e;
  --orbit-gold-2: #dcb877;
  --orbit-gold-3: #d97706;
  --orbit-gold-ink: #2f1500;
  --orbit-cream: #f7f4ef;
  --orbit-glass-dark: linear-gradient(160deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03));
  --orbit-glass-spec: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.02));
  --orbit-glow-border: conic-gradient(
    from var(--border-angle),
    var(--orbit-gold-2),
    #e8c878 12%,
    var(--orbit-gold-3) 28%,
    var(--orbit-gold) 42%,
    var(--orbit-navy-500) 58%,
    var(--orbit-gold) 72%,
    var(--orbit-gold-3) 88%,
    var(--orbit-gold-2)
  );
  --orbit-sh-gold: 0 12px 34px -10px rgba(193, 122, 46, 0.55);
  --orbit-sh-diffuse: 0 30px 60px -30px rgba(10, 18, 36, 0.5), 0 8px 20px -12px rgba(10, 18, 36, 0.35);
  --orbit-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 50% -20%, var(--orbit-navy-700), var(--orbit-navy-900) 60%);
  color: var(--orbit-cream);
}

.process .mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.process .mesh::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(40% 50% at 78% 8%, rgba(193, 122, 46, 0.28), transparent 60%),
    radial-gradient(45% 55% at 12% 22%, rgba(217, 119, 6, 0.24), transparent 60%),
    radial-gradient(60% 60% at 60% 100%, rgba(30, 41, 59, 0.45), transparent 65%);
}

.process .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  will-change: transform;
}

.process .orb--navy {
  background: radial-gradient(circle, var(--orbit-navy-500), transparent 65%);
}

.process .orb--green {
  background: radial-gradient(circle, var(--orbit-gold-3), transparent 65%);
}

.process .orb-a {
  width: 44vw;
  height: 44vw;
  top: -14%;
  right: -8%;
  animation: orbit-float1 18s ease-in-out infinite;
}

.process .orb-b {
  width: 40vw;
  height: 40vw;
  bottom: -18%;
  left: -10%;
  animation: orbit-float2 22s ease-in-out infinite;
}

.process .sec-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  z-index: 2;
}

.process .sec-head--center {
  margin-inline: auto;
  text-align: center;
}

.process .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orbit-gold);
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 1.25rem;
}

.process .kicker .ic {
  color: var(--orbit-gold-2);
  width: 1.05em;
  height: 1.05em;
}

.process .kicker--light {
  color: var(--orbit-gold-2);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.process .kicker--light .ic {
  color: var(--orbit-gold);
}

.process .sec-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  color: var(--orbit-cream);
  margin-bottom: 1rem;
}

.process .sec-sub {
  font-size: 1.0625rem;
  color: rgba(247, 244, 239, 0.74);
  max-width: 38rem;
}

.process .sec-head--center .sec-sub {
  margin-inline: auto;
}

.process .glass {
  position: relative;
  background: var(--orbit-glass-dark);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--orbit-sh-diffuse), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.process .spec::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--orbit-glow-border);
  opacity: 0.88;
  animation: border-spin 5s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.orbit {
  --orbit-size: min(540px, 82vw);
  --radius: calc(var(--orbit-size) / 2 - 40px);
  position: relative;
  width: var(--orbit-size);
  height: var(--orbit-size);
  margin: 2.5rem auto 0;
  z-index: 2;
}

.orbit__rings {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.ring--1 {
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  animation: orbit-spin 70s linear infinite;
}

.ring--2 {
  width: calc(var(--radius) * 2);
  height: calc(var(--radius) * 2);
  border: 1px solid rgba(193, 122, 46, 0.16);
}

.ring--3 {
  width: 46%;
  height: 46%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: orbit-spin 50s linear infinite reverse;
}

.orbit__trail {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--radius) * 2 + 66px);
  height: calc(var(--radius) * 2 + 66px);
  transform: translate(-50%, -50%) rotate(var(--active-angle, 0deg));
  border-radius: 50%;
  z-index: 1;
  transition: transform 0.7s var(--orbit-spring);
  background: conic-gradient(from 0deg, transparent 0 80%, rgba(193, 122, 46, 0.55) 90%, transparent 97%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
}

.orbit__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(var(--orbit-size) * 0.46);
  height: calc(var(--orbit-size) * 0.46);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1rem, 3.5vw, 1.9rem);
  z-index: 5;
  color: var(--orbit-cream);
}

.orbit__step {
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orbit-gold-2);
}

.orbit__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.4vw, 1.7rem);
  color: var(--orbit-cream);
  margin: 0.35rem 0 0.55rem;
}

.orbit__desc {
  font-size: clamp(0.76rem, 2vw, 0.86rem);
  color: rgba(247, 244, 239, 0.78);
  line-height: 1.5;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.orbit__desc.morph {
  opacity: 0;
  transform: translateY(6px);
}

.orbit__nodes {
  position: absolute;
  inset: 0;
  z-index: 6;
}

.onode {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66px;
  height: 66px;
  margin: -33px 0 0 -33px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--orbit-cream);
  background: var(--orbit-glass-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: rotate(var(--angle)) translate(0, calc(-1 * var(--radius))) rotate(calc(-1 * var(--angle)));
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, scale 0.4s var(--orbit-spring);
  cursor: pointer;
}

.onode .ic {
  width: 1.4em;
  height: 1.4em;
  transition: color 0.3s;
}

.onode__n {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  background: var(--orbit-navy-800);
  color: var(--orbit-gold-2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.onode:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--orbit-gold);
  scale: 1.08;
}

.onode.is-active {
  background: linear-gradient(160deg, var(--orbit-gold-2), var(--orbit-gold-3));
  border-color: #fff;
  box-shadow: var(--orbit-sh-gold), 0 0 0 6px rgba(193, 122, 46, 0.15);
  scale: 1.12;
}

.onode.is-active .ic {
  color: var(--orbit-gold-ink);
}

.onode.is-active .onode__n {
  background: #fff;
  color: var(--orbit-gold-3);
}

.stepper {
  display: none;
  max-width: 38rem;
  margin: 1rem auto 0;
  list-style: none;
  padding: 0;
  position: relative;
  z-index: 2;
}

.stepper li {
  position: relative;
  display: flex;
  gap: 1.1rem;
  padding: 0 0 1.8rem 1.2rem;
}

.stepper li::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 8px;
  width: 3px;
  height: 100%;
  background: linear-gradient(var(--orbit-gold), rgba(193, 122, 46, 0.15));
  border-radius: 3px;
}

.stepper li:last-child::after {
  display: none;
}

.stepper__n {
  position: relative;
  z-index: 1;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--orbit-gold-ink);
  background: linear-gradient(160deg, var(--orbit-gold-2), var(--orbit-gold-3));
  box-shadow: var(--orbit-sh-gold);
}

.stepper h4 {
  color: var(--orbit-cream);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.stepper p {
  font-size: 0.9rem;
  color: rgba(247, 244, 239, 0.72);
}

@media (max-width: 768px) {
  .orbit {
    display: none;
  }

  .stepper {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .process .orb,
  .ring,
  .orbit__trail,
  .process .spec::before {
    animation: none !important;
  }

  .process .spec::before {
    --border-angle: 140deg;
    opacity: 0.75;
  }

  .orbit {
    display: none;
  }

  .stepper {
    display: block;
  }
}

/* ---------------------------------------------------------------------------
   11. Reviews & trust
   --------------------------------------------------------------------------- */
.reviews-grid {
  display: grid;
  gap: 1.15rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.review-top {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.review-top img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review-top strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
}

.review-top span {
  font-size: 0.8rem;
  color: var(--muted);
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--success);
  background: #ecfdf5;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-full);
}

.verified svg {
  width: 14px;
  height: 14px;
}

.review-card .stars {
  margin-bottom: 0.75rem;
}

.source {
  margin-left: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.review-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--charcoal);
  line-height: 1.5;
}

.trust-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: var(--space-7);
}

.trust-bar li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.7rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--navy);
}

.trust-bar svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ---------------------------------------------------------------------------
   12. FAQ accordion
   --------------------------------------------------------------------------- */
.faq-layout {
  display: grid;
  gap: var(--space-6);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.2rem 0;
  min-height: 56px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
}

.faq-trigger svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
}

.faq-minus,
.faq-item.is-open .faq-plus {
  display: none;
}

.faq-item.is-open .faq-minus {
  display: block;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel[hidden] {
  display: grid;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-inner p {
  padding: 0 0 1.2rem;
  color: var(--muted);
  max-width: 58ch;
}

/* ---------------------------------------------------------------------------
   12b. Residential page — protection, sheen guide, milestone, estimator
   --------------------------------------------------------------------------- */
body.page-residential main > section,
body.page-residential [data-reveal],
body.page-residential .js [data-reveal] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

body.page-residential .res-protection-card__title,
body.page-residential .res-milestone__body h3 {
  color: inherit;
}

.res-section-head {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.res-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.res-section-head--center .res-section-lede {
  margin-inline: auto;
}

.res-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #dcb877;
  margin-bottom: 0.85rem;
}

.res-eyebrow--dark {
  color: var(--gold-bright);
}

.res-section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  color: #f8fafc;
  margin-bottom: 0.75rem;
}

.res-section-title--dark {
  color: #0f1e36;
}

.res-section-lede {
  font-size: 1.0625rem;
  line-height: var(--lh-body);
  color: rgba(248, 250, 252, 0.72);
  max-width: 38rem;
}

.res-section-lede--dark {
  color: var(--muted);
}

.res-protection {
  padding: var(--space-9) 0;
  background: #0f1e36;
  color: #f8fafc;
}

.res-protection__grid {
  display: grid;
  gap: 1.15rem;
}

.res-protection-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.res-protection-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 119, 6, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.res-protection-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(217, 119, 6, 0.12);
  color: #d97706;
  font-size: 1.65rem;
  margin-bottom: 1.1rem;
}

.res-protection-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #f8fafc;
  margin-bottom: 0.65rem;
}

.res-protection-card__copy {
  color: rgba(248, 250, 252, 0.72);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  margin: 0;
}

.res-sheen {
  padding: var(--space-9) 0;
  background: linear-gradient(180deg, #f8fafc 0%, var(--cream) 100%);
}

.res-sheen__guide {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.res-sheen__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem;
  background: #0f1e36;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.res-sheen__tab {
  flex: 1 1 auto;
  min-width: min(100%, 160px);
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  background: transparent;
  color: rgba(248, 250, 252, 0.72);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.res-sheen__tab:hover {
  color: #f8fafc;
  border-color: rgba(217, 119, 6, 0.45);
}

.res-sheen__tab.is-active {
  background: linear-gradient(135deg, #dcb877, #d97706);
  border-color: transparent;
  color: #2f1500;
  box-shadow: var(--shadow-gold);
}

.res-sheen__panels {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.res-sheen__panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.res-sheen__panel.is-active {
  display: grid;
}

.res-sheen__panel-copy h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #0f1e36;
  margin-bottom: 0.65rem;
}

.res-sheen__panel-copy p {
  color: var(--body);
  margin-bottom: 1rem;
}

.res-sheen__panel-copy ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.res-sheen__panel-copy li + li {
  margin-top: 0.35rem;
}

.res-sheen__swatch {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: end start;
  padding: 1rem;
  border: 1px solid var(--border);
  min-height: 180px;
}

.res-sheen__swatch span {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.82);
  color: #0f1e36;
}

.res-sheen__swatch--matte {
  background: linear-gradient(145deg, #e8e4dc, #d4cfc4);
}

.res-sheen__swatch--eggshell {
  background: linear-gradient(145deg, #f0ebe3, #ddd5c8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.res-sheen__swatch--semigloss {
  background: linear-gradient(145deg, #f5f7fa, #dbeafe);
  box-shadow: inset 0 -12px 24px rgba(15, 30, 54, 0.06);
}

.res-sheen__partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--cream);
}

.res-sheen__partners-label {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.res-sheen__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.res-sheen__badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(15, 30, 54, 0.12);
  background: var(--white);
  color: #0f1e36;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.res-faq {
  background: var(--white);
}

.res-milestone {
  padding: var(--space-9) 0;
  background: linear-gradient(180deg, #f8fafc 0%, var(--cream) 100%);
  border-block: 1px solid var(--border);
}

.res-milestone__head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.res-milestone__lede {
  margin-inline: auto;
}

.res-milestone__track {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  padding-left: 0.5rem;
}

.res-milestone__rail {
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 3px;
  background: rgba(15, 30, 54, 0.12);
  border-radius: 3px;
  overflow: hidden;
}

.res-milestone__progress {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #d97706, #c17a2e);
  border-radius: 3px;
  box-shadow: 0 0 14px rgba(217, 119, 6, 0.55);
  transition: height 0.35s var(--ease);
}

.res-milestone__steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.res-milestone__step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 2.25rem;
}

.res-milestone__step:last-child {
  padding-bottom: 0;
}

.res-milestone__marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 2px solid rgba(15, 30, 54, 0.14);
  background: #fff;
  color: #64748b;
  position: relative;
  z-index: 1;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.res-milestone__body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #0f1e36;
  margin-bottom: 0.45rem;
}

.res-milestone__body p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.res-milestone__step.is-active .res-milestone__marker,
.res-milestone__step.is-complete .res-milestone__marker {
  background: #d97706;
  border-color: #d97706;
  color: #fff;
}

.res-milestone__step.is-active .res-milestone__marker {
  box-shadow: 0 0 0 6px rgba(217, 119, 6, 0.18), 0 0 20px rgba(217, 119, 6, 0.45);
}

.res-estimator .res-scope-btn {
  border: 1px solid var(--border);
  color: var(--muted);
  background: transparent;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.res-estimator .res-scope-btn:hover {
  border-color: #0f1e36;
  color: #0f1e36;
}

.res-estimator .res-scope-btn.is-active {
  border-color: #d97706;
  background: rgba(217, 119, 6, 0.12);
  color: #663500;
}

@media (min-width: 768px) {
  .res-protection__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .res-sheen__panel {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .res-protection-card:hover {
    transform: none;
  }
}

/* ---------------------------------------------------------------------------
   13. CTA banner
   --------------------------------------------------------------------------- */
.cta-banner-wrap {
  background: #faf7f1;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
}

.cta-banner {
  position: relative;
  overflow: hidden;
  background: #0a1224;
  border-radius: 1.5rem;
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.25rem, 3vw, 2.5rem);
  color: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 22px 50px rgba(10, 18, 36, 0.14),
    0 4px 14px rgba(10, 18, 36, 0.08);
}

.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42%;
  height: 140%;
  transform: translateY(-50%);
  pointer-events: none;
  filter: blur(48px);
}

.cta-banner::before {
  left: -10%;
  background: radial-gradient(circle, rgba(45, 90, 160, 0.42) 0%, transparent 68%);
}

.cta-banner::after {
  right: -10%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.34) 0%, transparent 68%);
}

.cta-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-strip__copy {
  flex: 1 1 380px;
  max-width: 820px;
}

.cta-strip__copy h2 {
  margin: 0 0 1rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.15;
  font-weight: 700;
}

.cta-strip__copy p {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  flex: 0 1 auto;
}

.cta-strip__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), background var(--duration) var(--ease);
}

.cta-strip__btn--primary {
  background: linear-gradient(135deg, #ff8c38, #d97706);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(217, 119, 6, 0.35);
}

.cta-strip__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(217, 119, 6, 0.42);
}

.cta-strip__btn--phone {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  padding-inline: 1.35rem;
}

.cta-strip__btn--phone:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-strip__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .cta-strip__btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

.cta-grid {
  display: grid;
  gap: var(--space-7);
}

.hotline {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  text-decoration: none;
  color: var(--white);
  padding: 0.85rem 1rem 0.85rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  min-height: 64px;
  transition: background var(--duration) var(--ease);
}

.hotline:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hotline svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.hotline span {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.hotline strong {
  font-size: 1.2rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white);
}

.estimate-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.form-row {
  display: grid;
  gap: 0.85rem;
}

.field {
  margin-bottom: 0.85rem;
}

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8c48a;
  margin-bottom: 0.4rem;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.field select option {
  color: var(--navy);
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(193, 122, 46, 0.25);
}

.form-error {
  color: #fca5a5;
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
}

.form-fine {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.estimate-form.is-success {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  text-align: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

/* ---------------------------------------------------------------------------
   14. Footer
   --------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.68);
  padding: var(--space-8) 0 var(--space-5);
}

.footer-grid {
  display: grid;
  gap: var(--space-6);
}

.footer-brand p {
  margin: 1rem 0 1.25rem;
  max-width: 32ch;
}

.brand-on-dark .brand-name,
.brand-on-dark .brand-tag {
  color: var(--white);
}

.brand-on-dark .brand-tag {
  color: rgba(255, 255, 255, 0.55);
}

.partner-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.partner-mark {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.site-footer h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.68);
  display: inline-block;
  padding: 0.28rem 0;
  min-height: 32px;
  transition: color var(--duration) var(--ease);
}

.site-footer a:hover {
  color: #e8c48a;
}

.social-row {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.social-row a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  padding: 0;
}

.social-row svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: var(--space-7);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* ---------------------------------------------------------------------------
   15. Responsive — tablet
   --------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .hero-frame {
    aspect-ratio: 4 / 5;
  }

  .zip-form {
    flex-direction: row;
    align-items: stretch;
  }

  .zip-form .btn {
    white-space: nowrap;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-lg {
    grid-column: 1 / -1;
  }

  .bento-wide {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .bento-wide-media {
    min-height: 100%;
  }

  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reviews-grid article:last-child {
    grid-column: 1 / -1;
  }

  .trust-bar {
    grid-template-columns: repeat(4, 1fr);
  }

  .faq-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .header-actions .btn-gold {
    display: inline-flex;
  }
}

/* ---------------------------------------------------------------------------
   16. Responsive — desktop
   --------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }

  .phone-link {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }

  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .bento-lg {
    grid-column: span 8;
    min-height: 420px;
  }

  .bento-navy {
    grid-column: span 4;
  }

  .bento-card:not(.bento-lg):not(.bento-navy):not(.bento-wide) {
    grid-column: span 4;
  }

  .bento-wide {
    grid-column: span 8;
  }

  .reviews-grid,
  .reviews-grid article:last-child {
    grid-column: auto;
  }

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .visualizer:not(.visualizer--studio) {
    padding: 1.5rem;
  }
}

/* ---------------------------------------------------------------------------
   17. Reduced motion
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .bento-card:hover,
  .swatch:hover,
  .btn:hover {
    transform: none;
  }
}
