/* ==========================================================================
   GLOBAL DESIGN TOKENS & TYPOGRAPHY STANDARDS
   ========================================================================== */

/* 1. Global Font Import (Plus Jakarta Sans) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Brand Color Palette */
  --color-primary: #0077c8;        /* Ridge Theme Cyan / Blue */
  --color-primary-hover: #005fa3;  /* Deep hover blue */
  --color-navy: #081d38;           /* Primary Headings & Dark Text */
  --color-body: #64748b;           /* Body / Subtitle Slate Grey */
  --color-border: #e2e8f0;         /* Neutral Divider / Border */
  --color-bg-light: #f8fafc;       /* Light neutral section background */
  --color-white: #ffffff;

  /* Type Scale System (Harmonized Headings & Text) */
  --size-h1: clamp(32px, 4vw, 44px);
  --size-h2: clamp(28px, 3.2vw, 36px);
  --size-h3: clamp(20px, 2.2vw, 24px);
  --size-card-title: 15.5px;
  --size-eyebrow: 13px;
  --size-body: 14.5px;
  --size-body-sm: 12.5px;

  /* Standard Line Heights */
  --lh-tight: 1.2;
  --lh-normal: 1.45;
  --lh-relaxed: 1.6;
}

/* ==========================================================================
   GLOBAL ELEMENT RESETS & BASE TYPOGRAPHY
   ========================================================================== */

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

html, body {
  font-family: var(--font-main) !important;
  color: var(--color-navy);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Base Headings - Unified Across All Pages */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main) !important;
  color: var(--color-navy);
  letter-spacing: -0.5px;
  margin-top: 0;
}

h1 {
  font-size: var(--size-h1);
  font-weight: 800;
  line-height: var(--lh-tight);
}

h2 {
  font-size: var(--size-h2);
  font-weight: 800;
  line-height: var(--lh-tight);
}

h3 {
  font-size: var(--size-h3);
  font-weight: 800;
  line-height: 1.3;
}

p, span, label, input, button, textarea {
  font-family: var(--font-main) !important;
}

p {
  font-size: var(--size-body);
  color: var(--color-body);
  line-height: var(--lh-relaxed);
  margin-top: 0;
}

/* ==========================================================================
   GLOBAL UTILITY CLASSES FOR REPEATED PATTERNS
   ========================================================================== */

/* Universal Section Eyebrow (e.g. "WATER PROBLEMS AT HOME", "OUR SOLUTIONS") */
.section-eyebrow,
.problems-eyebrow,
.solutions-eyebrow,
.sources-eyebrow,
.advantage-eyebrow,
.why-ridge-eyebrow,
.res-faq-eyebrow {
  font-family: var(--font-main) !important;
  font-size: var(--size-eyebrow) !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: var(--color-primary) !important;
  margin-bottom: 8px !important;
  display: block;
}

/* Universal Section Subtitle */
.section-subtitle,
.problems-subtitle,
.solutions-subtitle,
.res-faq-subtitle {
  font-family: var(--font-main) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--color-body) !important;
  line-height: var(--lh-relaxed) !important;
}

/* Universal 5-Column & Catalog Card Titles */
.problem-title,
.solution-title,
.source-title,
.why-ridge-title {
  font-family: var(--font-main) !important;
  font-size: var(--size-card-title) !important;
  font-weight: 800 !important;
  letter-spacing: -0.2px !important;
  line-height: var(--lh-normal) !important;
  margin: 0 0 6px 0 !important;
}

/* Problem & Source Headings Specific Colors */
.problem-title,
.solution-title,
.why-ridge-title {
  color: var(--color-navy) !important;
}

.source-title {
  color: var(--color-primary) !important;
}

/* Universal Card Subtext / Descriptions */
.problem-desc,
.solution-desc,
.source-desc,
.why-ridge-desc {
  font-family: var(--font-main) !important;
  font-size: var(--size-body-sm) !important;
  color: var(--color-body) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}
/* ==========================================================================
   Residential Solutions Page - Hero Section
   ========================================================================== */

.res-hero-section {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #081d38;
}

/* Background Image Container */
.res-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  background-image: url('https://soul-vera.in/uploads/media/ChatGPT_Image_Sep_2__2026__11_34_15_PM_1788372266.webp'); /* Update with your uploaded image path */
  background-size: cover;
  background-position: center right;
  z-index: 1;
}

/* Seamless Left Fade Gradient */
.res-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 38%, rgba(255, 255, 255, 0.92) 48%, rgba(255, 255, 255, 0.4) 62%, rgba(255, 255, 255, 0) 80%);
  z-index: 2;
}

.res-hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 24px;
}

.res-hero-content {
  max-width: 520px;
}

.res-hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: #081d38;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}

.res-hero-title span {
  color: #0077c8;
}

.res-hero-desc {
  font-size: 16.5px;
  line-height: 1.6;
  color: #475569;
  font-weight: 500;
  margin-bottom: 32px;
}

.res-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #0077c8;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 119, 200, 0.28);
  transition: all 0.2s ease;
}

.res-hero-btn:hover {
  background-color: #005fa3;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 119, 200, 0.35);
}

.res-hero-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.res-hero-btn:hover svg {
  transform: translateX(4px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .res-hero-bg {
    width: 100%;
  }

  .res-hero-overlay {
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 55%, rgba(255, 255, 255, 0.6) 100%);
  }

  .res-hero-title {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .res-hero-section {
    min-height: auto;
    padding: 60px 0;
  }

  .res-hero-overlay {
    background: rgba(255, 255, 255, 0.92);
  }

  .res-hero-title {
    font-size: 34px;
  }

  .res-hero-desc {
    font-size: 15px;
  }
}

/* ==========================================================================
   Residential Solutions Page - Water Problems at Home Grid (Interactive)
   ========================================================================== */

.problems-section {
  padding: 50px 24px;
  background-color: #ffffff;
}

.problems-container {
  max-width: 1320px;
  margin: 0 auto;
}

.problems-header {
  text-align: center;
  margin-bottom: 50px;
}

.problems-eyebrow {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #0077c8;
  margin-bottom: 8px;
}

.problems-subtitle {
  font-size: 15px;
  color: #64748b;
  font-weight: 500;
  margin: 0;
}

/* 5-Column Grid */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

/* Problem Card Base */
.problem-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.problem-card:hover {
  transform: translateY(-6px);
}

/* Rounded Image Container */
.problem-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: 180px;
  max-height: 180px;
  border-radius: 14px;
  background-color: #f1f5f9;
  overflow: visible;
  margin-bottom: 24px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(8, 29, 56, 0.04);
  transition: box-shadow 0.25s ease;
}

.problem-card:hover .problem-img-wrap {
  box-shadow: 0 12px 28px rgba(8, 29, 56, 0.12);
}

/* Inner Frame for Image Zoom Containment */
.problem-img-frame {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

/* Image Element with Smooth Zoom */
.problem-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.problem-card:hover .problem-img-wrap img {
  transform: scale(1.06);
}

/* Floating Circular Badge with Pulse / Color Shift */
.problem-badge-icon {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #e0f2fe;
  box-shadow: 0 4px 12px rgba(0, 119, 200, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0077c8;
  z-index: 2;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.problem-badge-icon svg {
  width: 17px;
  height: 17px;
  transition: transform 0.25s ease;
}

.problem-card:hover .problem-badge-icon {
  background-color: #0077c8;
  color: #ffffff;
  border-color: #0077c8;
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 119, 200, 0.3);
}

/* Problem Headings */
.problem-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #081d38;
  margin: 0 0 8px 0;
  transition: color 0.2s ease;
}

.problem-card:hover .problem-title {
  color: #0077c8;
}

.problem-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
  max-width: 220px;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .problems-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 20px;
  }
}

@media (max-width: 680px) {
  .problems-section {
    padding: 50px 16px;
  }

  .problems-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 340px;
    margin: 0 auto;
  }

  .problem-img-wrap {
    height: 220px;
    max-height: 220px;
  }

  .problem-desc {
    max-width: 100%;
  }
}

/* ==========================================================================
   Residential Solutions Page - Our Solutions Feature Strip
   ========================================================================== */

.solutions-ribbon-section {
  padding: 16px 24px 60px;
  background-color: #ffffff;
}

.solutions-ribbon-container {
  max-width: 1320px;
  margin: 0 auto;
}

.solutions-header {
  text-align: center;
  margin-bottom: 36px;
}

.solutions-eyebrow {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #0077c8;
  margin-bottom: 8px;
}

.solutions-subtitle {
  font-size: 15px;
  color: #64748b;
  font-weight: 500;
  margin: 0;
}

/* 5 Horizontal Columns with Vertical Divider Separators */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}

.solution-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
  position: relative;
  transition: transform 0.2s ease;
  cursor: default;
}

.solution-item:hover {
  transform: translateY(-2px);
}

/* Subtle Vertical Divider between columns */
.solution-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(226, 232, 240, 0) 0%,
    #e2e8f0 30%,
    #e2e8f0 70%,
    rgba(226, 232, 240, 0) 100%
  );
}

/* Line-art Icon Container */
.solution-icon-wrap {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0077c8;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-icon-wrap svg {
  width: 44px;
  height: 44px;
  stroke: #0077c8;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s ease;
}

.solution-item:hover .solution-icon-wrap {
  transform: scale(1.08);
}

.solution-item:hover .solution-icon-wrap svg {
  stroke: #005fa3;
}

/* Content block */
.solution-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.solution-title {
  font-size: 15px;
  font-weight: 800;
  color: #081d38;
  margin: 0;
  letter-spacing: -0.2px;
}

.solution-desc {
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
  margin: 0;
}

/* Responsive Layout */
@media (max-width: 1100px) {
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 10px;
  }

  .solution-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .solutions-ribbon-section {
    padding: 12px 16px 40px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 380px;
    margin: 0 auto;
  }

  .solution-item {
    padding: 10px 12px;
  }
}

/* ==========================================================================
   Residential Solutions Page - Solutions For Every Water Source Grid
   ========================================================================== */

.sources-section {
  padding: 40px 24px 80px;
  background-color: #ffffff;
}

.sources-container {
  max-width: 1320px;
  margin: 0 auto;
}

.sources-header {
  text-align: center;
  margin-bottom: 40px;
}

.sources-eyebrow {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #0077c8;
  margin: 0;
}

/* 5-Column Grid */
.sources-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

/* Interactive Card Base */
.source-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.source-card:hover {
  transform: translateY(-6px);
}

/* Enforced Equal Dimensions & Ratio Container */
.source-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  max-height: 180px;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background-color: #f1f5f9;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(8, 29, 56, 0.04);
  transition: box-shadow 0.25s ease;
  flex-shrink: 0;
}

.source-card:hover .source-img-wrap {
  box-shadow: 0 12px 28px rgba(8, 29, 56, 0.12);
}

/* Uniform Cropped Image with Smooth Zoom */
.source-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.source-card:hover .source-img-wrap img {
  transform: scale(1.06);
}

/* Frosted Circular Badge Overlay */
.source-badge {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  z-index: 2;
  transition: all 0.25s ease;
}

.source-badge svg {
  width: 15px;
  height: 15px;
  stroke: #ffffff;
}

.source-badge.top-left {
  top: 10px;
  left: 10px;
}

.source-badge.top-right {
  top: 10px;
  right: 10px;
}

.source-badge.bottom-left {
  bottom: 10px;
  left: 10px;
}

.source-card:hover .source-badge {
  background: #0077c8;
  border-color: #0077c8;
  transform: scale(1.08);
}

/* Card Typography */
.source-title {
  font-size: 15px;
  font-weight: 800;
  color: #0077c8;
  margin: 0 0 6px 0;
  transition: color 0.2s ease;
  letter-spacing: -0.2px;
}

.source-card:hover .source-title {
  color: #005fa3;
}

.source-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .sources-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 20px;
  }
}

@media (max-width: 680px) {
  .sources-section {
    padding: 30px 16px 60px;
  }

  .sources-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 360px;
    margin: 0 auto;
  }

  .source-img-wrap {
    height: 220px;
    max-height: 220px;
  }
}

/* ==========================================================================
   Residential Solutions Page - The Ridge Advantage (Sticky Image Mosaic)
   ========================================================================== */

.advantage-section {
  padding: 80px 24px;
  background-color: #ffffff;
  position: relative;
}

.advantage-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: flex-start; /* Required for sticky positioning */
  position: relative;
}

/* Left Scrolling Column */
.advantage-content {
  display: flex;
  flex-direction: column;
}

.advantage-eyebrow {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #0077c8;
  margin-bottom: 12px;
}

.advantage-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  color: #081d38;
  letter-spacing: -0.8px;
  margin: 0 0 32px 0;
}

.advantage-title span {
  color: #0077c8;
}

/* Checklist of 20+ Points */
.advantage-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.advantage-item:hover {
  background-color: #f8fafc;
  transform: translateX(4px);
}

.advantage-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #0077c8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0077c8;
  flex-shrink: 0;
  margin-top: 1px;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.advantage-item:hover .advantage-check-icon {
  background-color: #0077c8;
  color: #ffffff;
}

.advantage-check-icon svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.5;
}

.advantage-item-text {
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

.advantage-item-text strong {
  color: #081d38;
  font-weight: 800;
}

/* Right Sticky Wrapper */
.advantage-sticky-wrapper {
  position: sticky;
  top: 110px; /* Accounts for fixed site header */
  align-self: flex-start;
  width: 100%;
}

/* 3x2 Right Mosaic Grid */
.advantage-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mosaic-img-card {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 14px;
  overflow: hidden;
  background-color: #f1f5f9;
  box-shadow: 0 4px 14px rgba(8, 29, 56, 0.05);
}

.mosaic-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 14px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mosaic-img-card:hover img {
  transform: scale(1.06);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .advantage-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .advantage-sticky-wrapper {
    position: static; /* Disable sticky on tablet/mobile */
  }

  .advantage-title {
    font-size: 34px;
  }

  .mosaic-img-card {
    height: 160px;
  }
}

@media (max-width: 640px) {
  .advantage-section {
    padding: 50px 16px;
  }

  .advantage-mosaic-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mosaic-img-card {
    height: 200px;
  }
}

/* ==========================================================================
   Residential Solutions Page - Why Choose Ridge Ribbon
   ========================================================================== */

.why-ridge-section {
  padding: 30px 24px 70px;
  background-color: #ffffff;
}

.why-ridge-container {
  max-width: 1320px;
  margin: 0 auto;
}

.why-ridge-header {
  text-align: center;
  margin-bottom: 40px;
}

.why-ridge-eyebrow {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #0077c8;
  margin: 0;
}

/* 4-Column Balanced Grid */
.why-ridge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.why-ridge-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 28px;
  position: relative;
  transition: transform 0.2s ease;
  cursor: default;
}

.why-ridge-item:hover {
  transform: translateY(-2px);
}

/* Subtle Vertical Divider between columns */
.why-ridge-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(226, 232, 240, 0) 0%,
    #e2e8f0 30%,
    #e2e8f0 70%,
    rgba(226, 232, 240, 0) 100%
  );
}

/* Icon Container */
.why-ridge-icon-wrap {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0077c8;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-ridge-icon-wrap svg {
  width: 44px;
  height: 44px;
  stroke: #0077c8;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s ease;
}

.why-ridge-item:hover .why-ridge-icon-wrap {
  transform: scale(1.08);
}

.why-ridge-item:hover .why-ridge-icon-wrap svg {
  stroke: #005fa3;
}

/* Content block */
.why-ridge-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.why-ridge-title {
  font-size: 15px;
  font-weight: 800;
  color: #081d38;
  margin: 0;
  letter-spacing: -0.2px;
}

.why-ridge-desc {
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .why-ridge-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .why-ridge-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .why-ridge-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 360px;
    margin: 0 auto;
  }

  .why-ridge-item {
    padding: 10px 12px;
  }
}

/* Centered Action Button Wrapper */
.why-ridge-cta-wrap {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-explore-shop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #0077c8;
  color: #ffffff;
  padding: 14px 34px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 119, 200, 0.28);
  transition: all 0.22s ease;
}

.btn-explore-shop:hover {
  background-color: #005fa3;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 119, 200, 0.35);
}

.btn-explore-shop svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn-explore-shop:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Residential Solutions Page - Full-Width Water Banner CTA (Ridge Theme)
   ========================================================================== */

.res-cta-banner-section {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #081d38;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Water Background Image */
.res-cta-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/images/water-glass.png');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Deep Ridge Brand Navy Overlay with Soft Center Glow */
.res-cta-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(8, 29, 56, 0.65) 0%,
    rgba(8, 29, 56, 0.88) 100%
  );
  z-index: 2;
}

.res-cta-banner-container {
  position: relative;
  z-index: 3;
  max-width: 860px;
  margin: 0 auto;
  padding: 70px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Matches Site Brand Typography */
.res-cta-banner-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.8px;
  margin: 0 0 28px 0;
}

/* Ridge Theme Brand Cyan Button */
.btn-cta-theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #0077c8;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.22s ease;
  box-shadow: 0 8px 24px rgba(0, 119, 200, 0.35);
}

.btn-cta-theme:hover {
  background-color: #005fa3;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 119, 200, 0.45);
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .res-cta-banner-section {
    min-height: 340px;
  }

  .res-cta-banner-title {
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: -0.4px;
    margin-bottom: 22px;
  }

  .btn-cta-theme {
    padding: 11px 26px;
    font-size: 13.5px;
  }
}

/* ==========================================================================
   Residential Solutions Page - FAQ Accordion Section
   ========================================================================== */

.res-faq-section {
  padding: 80px 24px 90px;
  background-color: #f8fafc;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.res-faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.res-faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.res-faq-eyebrow {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #0077c8;
  margin-bottom: 8px;
}

.res-faq-title {
  font-size: 36px;
  font-weight: 800;
  color: #081d38;
  letter-spacing: -0.6px;
  margin: 0 0 12px 0;
}

.res-faq-subtitle {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}

/* Accordion Wrapper */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-accordion-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-accordion-item.active {
  border-color: #bae6fd;
  box-shadow: 0 8px 24px rgba(0, 119, 200, 0.08);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #081d38;
  cursor: pointer;
  gap: 16px;
  transition: color 0.2s ease;
}

.faq-accordion-item.active .faq-question-btn,
.faq-question-btn:hover {
  color: #0077c8;
}

.faq-icon-indicator {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0077c8;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
}

.faq-icon-indicator svg {
  width: 16px;
  height: 16px;
}

.faq-accordion-item.active .faq-icon-indicator {
  transform: rotate(180deg);
  background: #e0f2fe;
  color: #0077c8;
}

/* Slide Down Answer */
.faq-answer-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
}

@media (max-width: 768px) {
  .res-faq-section {
    padding: 60px 16px;
  }
  .res-faq-title {
    font-size: 28px;
  }
  .faq-question-btn {
    padding: 16px 18px;
    font-size: 15px;
  }
  .faq-answer-inner {
    padding: 0 18px 18px;
    font-size: 13.5px;
  }
}

/* ==========================================================================
   Residential Solutions Page - Direct Consultation & Lead Form Card
   ========================================================================== */

.byws-consult-section {
  padding: 60px 24px 90px;
  background-color: #ffffff;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.byws-consult-shell {
  max-width: 1220px;
  margin: 0 auto;
}

.byws-consult-card {
  position: relative;
  background: linear-gradient(90deg, #edf7fd 0%, #edf7fd 46%, #ffffff 46%, #ffffff 100%);
  border-radius: 28px;
  border: 1px solid #e0f2fe;
  box-shadow: 0 20px 48px rgba(8, 29, 56, 0.05);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: visible;
  min-height: 380px;
  box-sizing: border-box;
}

/* Left Content & Avatar */
.byws-consult-left {
  position: relative;
  padding: 56px 40px 56px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.byws-consult-text {
  max-width: 320px;
  z-index: 2;
}

.byws-consult-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  color: #081d38;
  letter-spacing: -0.8px;
  margin: 0 0 16px 0;
}

.byws-consult-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 28px 0;
}

.byws-btn-expert-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  color: #0077c8;
  border: 1.5px solid #0077c8;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s ease;
  box-shadow: 0 4px 12px rgba(0, 119, 200, 0.08);
}

.byws-btn-expert-call:hover {
  background-color: #0077c8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 119, 200, 0.25);
}

.byws-btn-expert-call .byws-link-arrow {
  transition: transform 0.2s ease;
}

.byws-btn-expert-call:hover .byws-link-arrow {
  transform: translateX(4px);
}

/* Overlapping Mascot Avatar */
.byws-consult-avatar-box {
  position: absolute;
  bottom: 0;
  right: -100px;
  z-index: 3;
  pointer-events: none;
  line-height: 0;
}

.byws-consult-avatar-img {
  height: 420px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(8, 29, 56, 0.12));
}

/* Right Column: Inline Form */
.byws-consult-right {
  padding: 56px 60px 56px 80px;
  z-index: 2;
  box-sizing: border-box;
}

.byws-form-heading {
  font-size: 26px;
  font-weight: 800;
  color: #081d38;
  margin: 0 0 6px 0;
  letter-spacing: -0.4px;
}

.byws-form-subheading {
  font-size: 13.5px;
  color: #64748b;
  margin: 0 0 24px 0;
}

.byws-req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.byws-req-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.byws-req-input-group input {
  width: 100%;
  height: 46px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 13.5px;
  color: #081d38;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.byws-req-input-group input:focus {
  border-color: #0077c8;
  box-shadow: 0 0 0 3px rgba(0, 119, 200, 0.12);
}

.byws-req-input-group input::placeholder {
  color: #94a3b8;
}

.byws-input-loc-icon {
  position: absolute;
  right: 14px;
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.byws-input-loc-icon svg {
  width: 16px;
  height: 16px;
}

/* Submit Button */
.byws-btn-submit-req {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  background-color: #0077c8;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 14px;
  transition: all 0.22s ease;
  box-shadow: 0 6px 18px rgba(0, 119, 200, 0.25);
}

.byws-btn-submit-req:hover {
  background-color: #005fa3;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 119, 200, 0.35);
}

.byws-btn-submit-req .byws-link-arrow {
  transition: transform 0.2s ease;
}

.byws-btn-submit-req:hover .byws-link-arrow {
  transform: translateX(4px);
}

/* Alert Boxes */
.byws-req-alert {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13.5px;
  margin-top: 12px;
}

.byws-req-alert.success {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.byws-req-alert.error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Responsive */
@media (max-width: 1100px) {
  .byws-consult-avatar-box {
    display: none;
  }
  .byws-consult-card {
    background: #ffffff;
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }
  .byws-consult-left {
    padding: 0;
  }
  .byws-consult-text {
    max-width: 100%;
  }
  .byws-consult-right {
    padding: 30px 0 0 0;
  }
}

@media (max-width: 640px) {
  .byws-req-grid {
    grid-template-columns: 1fr;
  }
  .byws-consult-title {
    font-size: 28px;
  }
}