/* ==========================================================================
   RC HOME REMODELING - WARM LUXURY EDITORIAL DESIGN SYSTEM
   Inspired by high-end California architectural design-build firms
   WCAG 2.1 AA Compliant Contrast & Accessible Universal Design
   ========================================================================== */

:root {
  /* Warm Inviting Luxury Palette */
  --bg-page: #FAF8F5;          /* Warm alabaster / linen white */
  --bg-surface: #FFFFFF;       /* Pure white card containers */
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8F5EE;
  --bg-subtle: #F2ECE4;        /* Soft creamy beige */
  --bg-dark: #1E242B;          /* Rich espresso charcoal */
  --bg-dark-surface: #272F38;

  /* Typography Colors */
  --text-main: #222831;        /* Deep warm charcoal for crisp legibility */
  --text-muted: #5F6B7A;       /* Refined graphite */
  --text-light: #8E9BAA;
  --text-inverse: #FFFFFF;
  --text-inverse-muted: #D1D8E0;

  /* Luxury Accents */
  --gold-primary: #B88E44;      /* Warm brushed bronze / champagne gold */
  --gold-dark: #8F6B28;
  --gold-light: #D4AF37;
  --gold-glow: rgba(184, 142, 68, 0.2);
  --gold-subtle: rgba(184, 142, 68, 0.08);

  --border-subtle: #E8E2D8;
  --border-gold: #D6B87A;
  --border-dark: #37424F;

  --accent-green: #2B7A53;     /* Natural California coastal laurel */
  --focus-ring: #B88E44;

  /* Fonts */
  --font-display: 'Cinzel', serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 12px rgba(30, 36, 43, 0.04);
  --shadow-md: 0 10px 30px rgba(30, 36, 43, 0.07);
  --shadow-lg: 0 20px 48px rgba(30, 36, 43, 0.12);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --font-scale: 1rem;
}

/* High Contrast Mode for Accessibility */
body.high-contrast {
  --bg-page: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-subtle: #E2E8F0;
  --text-main: #000000;
  --text-muted: #1A202C;
  --gold-primary: #7C5205;
  --border-subtle: #000000;
  --border-gold: #000000;
  --focus-ring: #000000;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-scale);
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -70px;
  left: 20px;
  background: var(--bg-dark);
  color: var(--gold-light);
  font-weight: 700;
  padding: 14px 24px;
  z-index: 99999;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--gold-primary);
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

/* ==========================================================================
   TOP ACCESSIBILITY & CREDENTIALS TOOLBAR
   ========================================================================== */
.site-topbar {
  background: #191E24;
  color: #C3CCD6;
  font-size: 0.82rem;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-credentials {
  display: flex;
  align-items: center;
  gap: 16px;
}
.credential-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E2E8F0;
  font-weight: 600;
}
.credential-tag svg {
  color: var(--gold-light);
}
.topbar-a11y {
  display: flex;
  align-items: center;
  gap: 10px;
}
.a11y-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 3px 9px;
  font-size: 0.78rem;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}
.a11y-btn:hover {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #000;
}

/* ==========================================================================
   MAIN SITE HEADER & NAVIGATION
   ========================================================================== */
header.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: var(--transition);
}
.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--bg-dark);
  text-transform: uppercase;
  line-height: 1.15;
}
.brand-title span {
  color: var(--gold-primary);
}
.brand-tagline {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

nav.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}
nav.site-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 6px 0;
  position: relative;
  transition: var(--transition);
}
nav.site-nav a:hover, nav.site-nav a.active {
  color: var(--gold-primary);
}
nav.site-nav a.active::after, nav.site-nav a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-primary);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--bg-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}
.header-phone:hover {
  color: var(--gold-primary);
}
.btn-primary {
  background: var(--bg-dark);
  color: #FFFFFF;
  border: 1px solid var(--bg-dark);
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(30, 36, 43, 0.12);
}
.btn-primary:hover {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--gold-glow);
}
.btn-outline {
  background: transparent;
  color: var(--bg-dark);
  border: 1px solid var(--bg-dark);
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: var(--gold-subtle);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--bg-dark);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  cursor: pointer;
}

/* ==========================================================================
   PAGE HERO SECTIONS (Warm, Sunlit, Welcoming)
   ========================================================================== */
.hero-warm {
  background: linear-gradient(180deg, #F5F0E8 0%, #FAF8F5 100%);
  padding: 70px 24px 60px;
  border-bottom: 1px solid var(--border-subtle);
}
.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
}
.hero-two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-primary);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  font-weight: 700;
  color: var(--bg-dark);
  line-height: 1.2;
  margin-bottom: 22px;
}
.hero-title span {
  color: var(--gold-primary);
}
.hero-description {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
}
.hero-image-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}
.hero-image-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bg-dark);
  box-shadow: var(--shadow-md);
  border-left: 3px solid var(--gold-primary);
}

/* Trust Bar / Stats Ribbon */
.trust-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 30px 24px;
}
.trust-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: center;
}
.trust-item h4 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 4px;
}
.trust-item p {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}
.trust-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CONTENT WRAPPERS & EDITORIAL SECTION STYLES
   ========================================================================== */
.section-pad {
  padding: 85px 24px;
}
.content-container {
  max-width: var(--container-max);
  margin: 0 auto;
}
.section-heading-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}
.section-kicker {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 12px;
  display: block;
}
.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  color: var(--bg-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Two-Column Feature Block */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-split.reverse {
  direction: rtl;
}
.feature-split.reverse > * {
  direction: ltr;
}
.feature-split-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  background: #FFF;
}
.feature-split-img img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  display: block;
}
.feature-split-content h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--bg-dark);
  margin-bottom: 16px;
  line-height: 1.25;
}
.feature-split-content p {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.feature-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}
.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.check-bullet {
  background: var(--gold-subtle);
  color: var(--gold-primary);
  border: 1px solid var(--border-gold);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-text strong {
  display: block;
  font-size: 0.96rem;
  color: var(--bg-dark);
}
.check-text span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PHOTO GALLERY & PROJECT CARDS
   ========================================================================== */
.gallery-filter-toolbar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.gallery-tab {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-tab:hover, .gallery-tab.active {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-color: var(--bg-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.gallery-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
}
.gallery-img-container {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #EEE;
}
.gallery-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-card:hover .gallery-img-container img {
  transform: scale(1.05);
}
.gallery-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gold-dark);
  border-left: 2px solid var(--gold-primary);
}

.gallery-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}
.gallery-location {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-green);
  margin-bottom: 6px;
}
.gallery-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--bg-dark);
  margin-bottom: 10px;
  line-height: 1.25;
}
.gallery-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.gallery-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}
.gallery-specs li {
  font-size: 0.82rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}
.gallery-specs li::before {
  content: "✓";
  color: var(--gold-primary);
  font-weight: 800;
}

/* ==========================================================================
   BEFORE & AFTER TRANSFORMATION SHOWCASE
   ========================================================================== */
.ba-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.ba-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.ba-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
}
.ba-images-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  background: #111;
}
.ba-img-wrap {
  position: relative;
  overflow: hidden;
  height: 340px;
}
.ba-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ba-card:hover .ba-img-wrap img {
  transform: scale(1.03);
}
.ba-badge {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.ba-badge.before {
  left: 16px;
  background: rgba(30, 36, 45, 0.92);
  color: #E2E8F0;
  border-left: 3px solid #E53E3E;
}
.ba-badge.after {
  left: 16px;
  background: rgba(20, 26, 34, 0.94);
  color: #FFFFFF;
  border-left: 3px solid var(--gold-primary);
}
.ba-divider {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold-primary);
  color: #111;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  z-index: 3;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 4px 14px rgba(0, 0, 0, 0.3);
}
.ba-content {
  padding: 26px 30px;
}
.ba-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.ba-location {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.ba-turnaround {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--gold-subtle);
  color: var(--gold-dark);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-gold);
}
.ba-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--bg-dark);
  margin-bottom: 10px;
}
.ba-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.ba-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
.ba-highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-main);
}
.ba-highlight-item span.icon {
  color: var(--accent-green);
  font-weight: 800;
}

@media (max-width: 768px) {
  .ba-images-row {
    grid-template-columns: 1fr;
  }
  .ba-img-wrap {
    height: 230px;
  }
  .ba-divider {
    display: none;
  }
  .ba-content {
    padding: 20px 16px;
  }
}

/* ==========================================================================
   REALISTIC ARCHITECTURAL SHOWCASE & SPATIAL DIMENSION MARKERS
   ========================================================================== */
.realistic-spec-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
}
.realistic-img-stage {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #E8E2D8;
}
.realistic-img-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.arch-tag-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bg-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.arch-tag-pill:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}
.arch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(184, 142, 68, 0.25);
}
.realistic-caption-bar {
  padding: 20px 28px;
  background: var(--bg-surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--border-subtle);
}
.realistic-caption-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--bg-dark);
}
.realistic-caption-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TECHNICAL BLUEPRINT & COMPARISON TABLE (ADA Standards)
   ========================================================================== */
.blueprint-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
}
.blueprint-card img, .blueprint-card svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}
.spec-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.spec-box:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.spec-code {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 10px;
  display: inline-block;
}
.spec-box h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--bg-dark);
  margin-bottom: 10px;
}
.spec-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.comparison-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
table.comparison-tbl {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
}
table.comparison-tbl th, table.comparison-tbl td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
}
table.comparison-tbl th {
  background: #F5F1E9;
  font-family: var(--font-display);
  color: var(--bg-dark);
  font-size: 0.95rem;
}
table.comparison-tbl tr:last-child td {
  border-bottom: none;
}
.tag-standard {
  color: var(--accent-green);
  font-weight: 700;
}
.tag-conventional {
  color: var(--text-muted);
}

/* ==========================================================================
   ACCESSIBLE IN-HOME CONSULTATION FORM & CONTACT
   ========================================================================== */
.contact-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.form-card, #consultation-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  scroll-margin-top: 100px;
}
.form-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--bg-dark);
  margin-bottom: 8px;
}
.form-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field.full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bg-dark);
}
.form-field label span.req {
  color: #C53030;
}
.form-input {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: var(--transition);
}
.form-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-subtle);
}

.form-fieldset {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.form-fieldset legend {
  padding: 0 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-primary);
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  cursor: pointer;
}
.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-primary);
}

.info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.info-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--bg-dark);
  margin-bottom: 14px;
}
.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.info-list strong {
  color: var(--bg-dark);
}

/* Call to Action Banner */
.cta-banner {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  margin: 40px auto 0;
  max-width: var(--container-max);
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  margin-bottom: 16px;
}
.cta-banner p {
  color: #C3CCD6;
  max-width: 680px;
  margin: 0 auto 30px;
  font-size: 1.08rem;
}

/* ==========================================================================
   MODAL LIGHTBOX (Accessible Dialog)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 22, 28, 0.88);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.active {
  display: flex;
}
.modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  max-width: 980px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--bg-dark);
}
.modal-close-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--bg-dark);
  font-size: 1.2rem;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  transition: var(--transition);
}
.modal-close-btn:hover {
  background: var(--bg-subtle);
}
.modal-body img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
footer.site-footer {
  background: #14181D;
  color: #9AA5B4;
  padding: 70px 24px 30px;
  border-top: 1px solid #28313C;
  font-size: 0.92rem;
}
.footer-grid {
  max-width: var(--container-max);
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 40px;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: #A6B4C4;
  text-decoration: none;
  transition: var(--transition);
}
.footer-col a:hover {
  color: var(--gold-light);
}
.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #222933;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: #718096;
}

/* ==========================================================================
   MOBILE BOTTOM STICKY ACTION BAR
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 960px) {
  .site-topbar {
    padding: 6px 16px;
    font-size: 0.76rem;
    gap: 8px;
  }
  .topbar-credentials span:last-child {
    display: none;
  }
  .topbar-a11y button:not(#contrastToggle) {
    display: none;
  }

  .header-container {
    padding: 12px 18px;
    gap: 12px;
  }
  .brand-title {
    font-size: 1.15rem;
    letter-spacing: 1px;
  }
  .brand-tagline {
    font-size: 0.65rem;
    letter-spacing: 1px;
  }
  .header-cta-group .btn-primary {
    display: none;
  }
  .header-phone {
    font-size: 0.86rem;
    padding: 6px 10px;
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
  }
  .header-phone span {
    display: none;
  }

  .hero-two-col, .feature-split, .feature-split.reverse, .contact-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .promo-grid {
    grid-template-columns: 1fr !important;
    padding: 28px 20px !important;
    gap: 24px !important;
  }
  .feature-split.reverse {
    direction: ltr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  nav.site-nav {
    display: none;
  }
  nav.site-nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 2px solid var(--gold-primary);
    padding: 24px 20px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
    z-index: 1005;
    max-height: 80vh;
    overflow-y: auto;
  }
  nav.site-nav.active ul {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  nav.site-nav.active a {
    font-size: 1.05rem;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid var(--border-subtle);
  }
  .mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
  }
  .mobile-menu-cta .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 13px;
    font-size: 0.92rem;
  }
  .mobile-menu-cta .btn-call {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 0.92rem;
    background: var(--bg-subtle);
    color: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    border: 1px solid var(--border-subtle);
    background: #FFFFFF;
    font-size: 1.35rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 68px; /* Room for sticky bottom bar */
  }
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(18, 22, 28, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-gold);
    z-index: 9990;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.28);
    padding: 8px 12px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
  }
  .mobile-bar-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
  }
  .mobile-bar-btn.call-btn {
    background: #252D37;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.16);
  }
  .mobile-bar-btn.call-btn:active {
    background: #313A47;
  }
  .mobile-bar-btn.book-btn {
    background: var(--gold-primary);
    color: #12161C;
    border: 1px solid var(--gold-light);
    font-weight: 800;
  }
  .mobile-bar-btn.book-btn:active {
    background: var(--gold-dark);
    color: #FFFFFF;
  }
}

@media (max-width: 640px) {
  .section-pad {
    padding: 55px 16px;
  }
  .hero-warm {
    padding: 38px 16px 32px;
  }
  .hero-title {
    font-size: 1.95rem;
    line-height: 1.25;
  }
  .hero-description {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 24px;
  }
  .hero-image-wrap img {
    height: 270px;
  }
  .hero-image-tag {
    font-size: 0.74rem;
    padding: 8px 12px;
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 28px;
  }
  .hero-actions a {
    width: 100%;
    justify-content: center;
    padding: 13px;
    text-align: center;
  }
  .trust-strip {
    padding: 20px 16px;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .trust-item h4 {
    font-size: 1.55rem;
  }
  .trust-item p {
    font-size: 0.84rem;
  }
  .trust-item span {
    font-size: 0.74rem;
  }
  .feature-split-img img {
    height: 250px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .form-card, #consultation-form {
    padding: 22px 16px;
  }
  .form-input {
    font-size: 16px; /* Prevents auto-zoom on iOS Safari */
    min-height: 46px;
    padding: 10px 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .modal-dialog {
    padding: 14px;
    max-height: 95vh;
  }
  .modal-backdrop {
    padding: 10px;
  }
  .cta-banner {
    padding: 36px 18px;
  }
  .cta-banner h2 {
    font-size: 1.65rem;
  }
  .cta-banner p {
    font-size: 0.95rem;
  }
}
