/* =========================================================
   SOLUTIONS.CSS
   Silver Star Vending
   Related Solutions section
   Refined to match the lighter, premium visual system used
   in why.css / machines.css / footer-adjacent sections
   Responsive, accessible, polished, production-ready
   ========================================================= */

/* =========================================================
   1. TOKENS
   ========================================================= */

   :root {
    --solutions-max-width: 1600px;
    --solutions-content-max: 76ch;
  
    --solutions-ink-900: #102330;
    --solutions-ink-800: #142b3a;
    --solutions-ink-700: #173244;
  
    --solutions-cyan-500: #22d3ee;
    --solutions-cyan-600: #14b8d4;
    --solutions-cyan-700: #1297c7;
    --solutions-cyan-800: #0b7ea8;
  
    --solutions-text-strong: #173244;
    --solutions-text-body: #33586d;
    --solutions-text-soft: #527487;
    --solutions-text-link: #0b7ea8;
    --solutions-text-link-hover: #1297c7;
  
    --solutions-surface-0: #ffffff;
    --solutions-surface-1: #f7fbfd;
    --solutions-surface-2: #edf6fa;
    --solutions-surface-3: #e4f1f7;
  
    --solutions-border: rgba(23, 50, 68, 0.12);
    --solutions-border-strong: rgba(23, 50, 68, 0.18);
    --solutions-border-accent: rgba(18, 151, 199, 0.22);
  
    --solutions-shadow-xs: 0 8px 20px rgba(16, 35, 48, 0.05);
    --solutions-shadow-sm: 0 14px 34px rgba(16, 35, 48, 0.08);
    --solutions-shadow-md: 0 20px 48px rgba(16, 35, 48, 0.12);
    --solutions-shadow-lg: 0 28px 68px rgba(16, 35, 48, 0.16);
  
    --solutions-radius-sm: 18px;
    --solutions-radius-md: 24px;
    --solutions-radius-lg: 32px;
    --solutions-radius-pill: 999px;
  
    --solutions-gap: clamp(1rem, 1.4vw, 1.4rem);
    --solutions-gap-lg: clamp(1.15rem, 1.8vw, 1.8rem);
  
    --solutions-title-size: clamp(2rem, 1.2rem + 2.4vw, 4rem);
    --solutions-card-title-size: clamp(1.15rem, 1rem + 0.42vw, 1.42rem);
    --solutions-body-size: clamp(0.98rem, 0.94rem + 0.16vw, 1.05rem);
    --solutions-eyebrow-size: clamp(0.8rem, 0.75rem + 0.14vw, 0.92rem);
  
    --solutions-line-tight: 1.16;
    --solutions-line-body: 1.76;
  
    --solutions-transition-fast: 180ms ease;
    --solutions-transition-base: 320ms cubic-bezier(.2, .8, .2, 1);
    --solutions-transition-slow: 640ms cubic-bezier(.22, 1, .36, 1);
  
    --solutions-ring:
      0 0 0 3px rgba(255, 255, 255, 0.92),
      0 0 0 6px rgba(34, 211, 238, 0.24);
  }
  
  /* =========================================================
     2. TARGETED SECTION SCOPE
     Uses the existing markup pattern
     ========================================================= */
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding-block: clamp(4rem, 7vw, 8rem);
    background:
      radial-gradient(circle at 10% 14%, rgba(34, 211, 238, 0.10), transparent 28%),
      radial-gradient(circle at 92% 18%, rgba(20, 184, 212, 0.10), transparent 24%),
      linear-gradient(180deg, var(--solutions-surface-1) 0%, var(--solutions-surface-2) 54%, var(--solutions-surface-0) 100%);
    border-top: 1px solid rgba(23, 50, 68, 0.05);
    border-bottom: 1px solid rgba(23, 50, 68, 0.05);
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"])::before,
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"])::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"])::before {
    inset: 0;
    background:
      linear-gradient(120deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 20%),
      linear-gradient(90deg, rgba(23, 50, 68, 0.035) 1px, transparent 1px),
      linear-gradient(180deg, rgba(23, 50, 68, 0.035) 1px, transparent 1px);
    background-size:
      auto,
      clamp(2.5rem, 3.6vw, 4rem) clamp(2.5rem, 3.6vw, 4rem),
      clamp(2.5rem, 3.6vw, 4rem) clamp(2.5rem, 3.6vw, 4rem);
    mask-image: radial-gradient(circle at center, black 26%, transparent 86%);
    -webkit-mask-image: radial-gradient(circle at center, black 26%, transparent 86%);
    opacity: 0.82;
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"])::after {
    right: -6%;
    bottom: -18%;
    width: clamp(16rem, 28vw, 34rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, rgba(34, 211, 238, 0) 70%);
    filter: blur(10px);
    opacity: 0.95;
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) > .container {
    position: relative;
    z-index: 1;
    width: min(100% - 2rem, var(--solutions-max-width));
    margin-inline: auto;
  }
  
  /* =========================================================
     3. HEADER
     ========================================================= */
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .text-center {
    text-align: center;
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) > .container.text-center {
    max-width: none;
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) > .container > h2 {
    position: relative;
    width: min(100%, 24ch);
    margin: 0 auto 1rem;
    color: var(--solutions-text-strong);
    font-size: var(--solutions-title-size);
    line-height: 1.04;
    letter-spacing: -0.04em;
    text-wrap: balance;
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) > .container > h2::before {
    content: "Related Solutions";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(18, 151, 199, 0.16);
    border-radius: var(--solutions-radius-pill);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 246, 250, 0.92));
    box-shadow: var(--solutions-shadow-xs);
    color: var(--solutions-cyan-800);
    font-size: var(--solutions-eyebrow-size);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .services-subtitle {
    width: min(100%, var(--solutions-content-max));
    margin: 0 auto clamp(1.8rem, 3vw, 3rem);
    color: var(--solutions-text-body);
    font-size: clamp(1rem, 0.95rem + 0.18vw, 1.1rem);
    line-height: 1.8;
    text-wrap: pretty;
  }
  
  /* =========================================================
     4. GRID
     ========================================================= */
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--solutions-gap-lg);
    align-items: stretch;
    width: 100%;
  }
  
  /* =========================================================
     5. CARD
     ========================================================= */
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card {
    position: relative;
    grid-column: span 4;
    min-width: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(1.2rem, 1.6vw, 1.6rem);
    border: 1px solid var(--solutions-border);
    border-radius: var(--solutions-radius-md);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 253, 0.97)),
      linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(237, 246, 250, 0.94));
    box-shadow:
      var(--solutions-shadow-sm),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    transition:
      transform var(--solutions-transition-base),
      box-shadow var(--solutions-transition-base),
      border-color var(--solutions-transition-fast),
      background var(--solutions-transition-base);
    will-change: transform;
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--solutions-cyan-500), var(--solutions-cyan-700));
    opacity: 0.95;
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card::after {
    content: "";
    position: absolute;
    right: -8%;
    top: -14%;
    width: clamp(10rem, 16vw, 14rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, rgba(34, 211, 238, 0) 68%);
    pointer-events: none;
    opacity: 0.8;
    transition:
      transform var(--solutions-transition-base),
      opacity var(--solutions-transition-base);
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card:hover,
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card:focus-within {
    transform: translateY(-8px);
    border-color: var(--solutions-border-accent);
    box-shadow:
      var(--solutions-shadow-md),
      0 0 0 1px rgba(34, 211, 238, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(237, 246, 250, 0.98)),
      linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(228, 241, 247, 0.94));
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card:hover::after,
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card:focus-within::after {
    transform: translate3d(-10px, 10px, 0) scale(1.04);
    opacity: 1;
  }
  
  /* =========================================================
     6. CARD TYPOGRAPHY
     ========================================================= */
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card h3 {
    position: relative;
    margin: 0 0 0.85rem;
    padding-right: 2.9rem;
    color: var(--solutions-text-strong);
    font-size: var(--solutions-card-title-size);
    line-height: var(--solutions-line-tight);
    letter-spacing: -0.025em;
    text-wrap: balance;
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card h3::after {
    content: "";
    position: absolute;
    top: 0.05rem;
    right: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 16px;
    border: 1px solid rgba(18, 151, 199, 0.14);
    background:
      linear-gradient(180deg, rgba(237, 246, 250, 0.98), rgba(228, 241, 247, 0.92));
    box-shadow:
      0 8px 18px rgba(16, 35, 48, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.88);
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card h3::before {
    content: "↗";
    position: absolute;
    top: 0.5rem;
    right: 0.63rem;
    z-index: 1;
    color: var(--solutions-cyan-800);
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1;
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card p {
    margin: 0;
    color: var(--solutions-text-body);
    font-size: var(--solutions-body-size);
    line-height: var(--solutions-line-body);
    text-wrap: pretty;
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card p strong {
    color: var(--solutions-text-strong);
  }
  
  /* =========================================================
     7. LINK STYLING
     ========================================================= */
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card h3 a {
    color: var(--solutions-text-strong);
    text-decoration: none;
    background-image: linear-gradient(rgba(11, 126, 168, 0.32), rgba(11, 126, 168, 0.32));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 1px;
    transition:
      color var(--solutions-transition-fast),
      background-size var(--solutions-transition-fast),
      box-shadow var(--solutions-transition-fast);
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card h3 a:hover,
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card h3 a:focus-visible {
    color: var(--solutions-text-link-hover);
    background-size: 100% 2px;
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card h3 a:focus-visible {
    outline: none;
    box-shadow: var(--solutions-ring);
    border-radius: 4px;
  }
  
  /* =========================================================
     8. REVEAL SUPPORT
     Safe default: content is visible unless JS explicitly
     opts into animation state with .js-reveal on the section
     ========================================================= */
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]).js-reveal .grid-3 > .card {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]).js-reveal.is-visible .grid-3 > .card,
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]).js-reveal .grid-3 > .card.is-visible,
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]).js-reveal .grid-3.is-visible > .card {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]).js-reveal .grid-3 > .card:nth-child(1) { transition-delay: 30ms; }
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]).js-reveal .grid-3 > .card:nth-child(2) { transition-delay: 90ms; }
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]).js-reveal .grid-3 > .card:nth-child(3) { transition-delay: 150ms; }
  
  html:not(.js) .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card,
  body:not(.js) .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card {
    opacity: 1;
    transform: none;
  }
  
  /* =========================================================
     9. RESPONSIVE
     ========================================================= */
  
  @media (max-width: 1199px) {
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 {
      gap: 1rem;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card {
      grid-column: span 4;
    }
  }
  
  @media (max-width: 991px) {
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) > .container {
      width: min(100% - 1.25rem, var(--solutions-max-width));
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card {
      grid-column: auto;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) > .container > h2 {
      width: min(100%, 20ch);
    }
  }
  
  @media (max-width: 767px) {
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) {
      padding-block: 3.75rem 4.25rem;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .services-subtitle {
      font-size: 0.98rem;
      line-height: 1.72;
      margin-bottom: 1.55rem;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) > .container > h2 {
      font-size: clamp(1.8rem, 7.8vw, 2.55rem);
      line-height: 1.06;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 {
      grid-template-columns: 1fr;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card {
      padding: 1rem;
      border-radius: 20px;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card h3 {
      padding-right: 2.65rem;
      font-size: 1.08rem;
      line-height: 1.24;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card h3::after {
      width: 2rem;
      height: 2rem;
      border-radius: 14px;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card h3::before {
      top: 0.46rem;
      right: 0.58rem;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card p {
      font-size: 0.96rem;
      line-height: 1.68;
    }
  }
  
  @media (max-width: 479px) {
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) {
      padding-block: 3.4rem 3.85rem;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) > .container {
      width: min(100% - 1rem, var(--solutions-max-width));
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) > .container > h2::before {
      width: 100%;
      max-width: 12.5rem;
      margin-inline: auto;
      padding: 0.64rem 0.85rem;
      letter-spacing: 0.12em;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .services-subtitle {
      font-size: 0.95rem;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card {
      border-radius: 18px;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card h3 {
      font-size: 1rem;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card p {
      font-size: 0.94rem;
      line-height: 1.66;
    }
  }
  
  @media (min-width: 1600px) {
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) {
      padding-block: 5.5rem 7rem;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) > .container {
      width: min(100% - 4rem, 1720px);
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 {
      gap: 1.5rem;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card {
      padding: 1.4rem 1.45rem 1.5rem;
    }
  }
  
  @media (min-width: 2200px) {
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) > .container {
      width: min(100% - 6rem, 2100px);
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) > .container > h2 {
      font-size: clamp(3.4rem, 2.1vw, 5rem);
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card h3 {
      font-size: clamp(1.22rem, 0.7vw + 1rem, 1.55rem);
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card p {
      font-size: clamp(1rem, 0.5vw + 0.92rem, 1.12rem);
    }
  }
  
  /* =========================================================
     10. HOVER / TOUCH TUNING
     ========================================================= */
  
  @media (hover: none) {
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card:hover {
      transform: none;
      border-color: var(--solutions-border);
      box-shadow:
        var(--solutions-shadow-sm),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 253, 0.97)),
        linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(237, 246, 250, 0.94));
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card:hover::after {
      transform: none;
      opacity: 0.8;
    }
  }
  
  /* =========================================================
     11. ACCESSIBILITY / REDUCED MOTION
     ========================================================= */
  
  @media (prefers-reduced-motion: reduce) {
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]),
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) *,
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) *::before,
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) *::after {
      animation: none !important;
      transition: none !important;
      scroll-behavior: auto !important;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card,
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card:hover,
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card:focus-within {
      opacity: 1 !important;
      transform: none !important;
    }
  }
  
  /* =========================================================
     12. PRINT
     ========================================================= */
  
  @media print {
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) {
      background: #ffffff !important;
      border: 0 !important;
      box-shadow: none !important;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"])::before,
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"])::after,
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card::before,
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card::after,
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card h3::before,
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card h3::after {
      display: none !important;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 {
      grid-template-columns: 1fr 1fr 1fr;
      gap: 0.8rem;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card {
      opacity: 1 !important;
      transform: none !important;
      break-inside: avoid;
      border: 1px solid #cfd8de !important;
      box-shadow: none !important;
      background: #ffffff !important;
    }
  
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) > .container > h2,
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .services-subtitle,
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card h3,
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card p,
    .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) .grid-3 > .card h3 a {
      color: #000000 !important;
    }
  }
  
  /* =========================================================
     13. FALLBACK SELECTORS
     For browsers that do not support :has()
     Apply .solutions-section on the section element if needed
     ========================================================= */
  
  .solutions-section {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding-block: clamp(4rem, 7vw, 8rem);
    background:
      radial-gradient(circle at 10% 14%, rgba(34, 211, 238, 0.10), transparent 28%),
      radial-gradient(circle at 92% 18%, rgba(20, 184, 212, 0.10), transparent 24%),
      linear-gradient(180deg, var(--solutions-surface-1) 0%, var(--solutions-surface-2) 54%, var(--solutions-surface-0) 100%);
    border-top: 1px solid rgba(23, 50, 68, 0.05);
    border-bottom: 1px solid rgba(23, 50, 68, 0.05);
  }
  
  .solutions-section::before,
  .solutions-section::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
  }
  
  .solutions-section::before {
    inset: 0;
    background:
      linear-gradient(120deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 20%),
      linear-gradient(90deg, rgba(23, 50, 68, 0.035) 1px, transparent 1px),
      linear-gradient(180deg, rgba(23, 50, 68, 0.035) 1px, transparent 1px);
    background-size:
      auto,
      clamp(2.5rem, 3.6vw, 4rem) clamp(2.5rem, 3.6vw, 4rem),
      clamp(2.5rem, 3.6vw, 4rem) clamp(2.5rem, 3.6vw, 4rem);
    mask-image: radial-gradient(circle at center, black 26%, transparent 86%);
    -webkit-mask-image: radial-gradient(circle at center, black 26%, transparent 86%);
    opacity: 0.82;
  }
  
  .solutions-section::after {
    right: -6%;
    bottom: -18%;
    width: clamp(16rem, 28vw, 34rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, rgba(34, 211, 238, 0) 70%);
    filter: blur(10px);
    opacity: 0.95;
  }
  
  .solutions-section > .container {
    position: relative;
    z-index: 1;
    width: min(100% - 2rem, var(--solutions-max-width));
    margin-inline: auto;
  }
  
  .solutions-section > .container > h2 {
    position: relative;
    width: min(100%, 24ch);
    margin: 0 auto 1rem;
    color: var(--solutions-text-strong);
    font-size: var(--solutions-title-size);
    line-height: 1.04;
    letter-spacing: -0.04em;
    text-wrap: balance;
  }
  
  .solutions-section > .container > h2::before {
    content: "Related Solutions";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(18, 151, 199, 0.16);
    border-radius: var(--solutions-radius-pill);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 246, 250, 0.92));
    box-shadow: var(--solutions-shadow-xs);
    color: var(--solutions-cyan-800);
    font-size: var(--solutions-eyebrow-size);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  
  .solutions-section .services-subtitle {
    width: min(100%, var(--solutions-content-max));
    margin: 0 auto clamp(1.8rem, 3vw, 3rem);
    color: var(--solutions-text-body);
    font-size: clamp(1rem, 0.95rem + 0.18vw, 1.1rem);
    line-height: 1.8;
    text-wrap: pretty;
  }
  
  .solutions-section .grid-3 {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--solutions-gap-lg);
    align-items: stretch;
  }
  
  .solutions-section .grid-3 > .card {
    position: relative;
    grid-column: span 4;
    min-width: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(1.2rem, 1.6vw, 1.6rem);
    border: 1px solid var(--solutions-border);
    border-radius: var(--solutions-radius-md);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 253, 0.97)),
      linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(237, 246, 250, 0.94));
    box-shadow:
      var(--solutions-shadow-sm),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    transition:
      transform var(--solutions-transition-base),
      box-shadow var(--solutions-transition-base),
      border-color var(--solutions-transition-fast),
      background var(--solutions-transition-base);
  }
  
  .solutions-section .grid-3 > .card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--solutions-cyan-500), var(--solutions-cyan-700));
  }
  
  .solutions-section .grid-3 > .card::after {
    content: "";
    position: absolute;
    right: -8%;
    top: -14%;
    width: clamp(10rem, 16vw, 14rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, rgba(34, 211, 238, 0) 68%);
    pointer-events: none;
    opacity: 0.8;
    transition:
      transform var(--solutions-transition-base),
      opacity var(--solutions-transition-base);
  }
  
  .solutions-section .grid-3 > .card:hover,
  .solutions-section .grid-3 > .card:focus-within {
    transform: translateY(-8px);
    border-color: var(--solutions-border-accent);
    box-shadow:
      var(--solutions-shadow-md),
      0 0 0 1px rgba(34, 211, 238, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(237, 246, 250, 0.98)),
      linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(228, 241, 247, 0.94));
  }
  
  .solutions-section .grid-3 > .card:hover::after,
  .solutions-section .grid-3 > .card:focus-within::after {
    transform: translate3d(-10px, 10px, 0) scale(1.04);
    opacity: 1;
  }
  
  .solutions-section .grid-3 > .card h3 {
    position: relative;
    margin: 0 0 0.85rem;
    padding-right: 2.9rem;
    color: var(--solutions-text-strong);
    font-size: var(--solutions-card-title-size);
    line-height: var(--solutions-line-tight);
    letter-spacing: -0.025em;
    text-wrap: balance;
  }
  
  .solutions-section .grid-3 > .card h3::after {
    content: "";
    position: absolute;
    top: 0.05rem;
    right: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 16px;
    border: 1px solid rgba(18, 151, 199, 0.14);
    background:
      linear-gradient(180deg, rgba(237, 246, 250, 0.98), rgba(228, 241, 247, 0.92));
    box-shadow:
      0 8px 18px rgba(16, 35, 48, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.88);
  }
  
  .solutions-section .grid-3 > .card h3::before {
    content: "↗";
    position: absolute;
    top: 0.5rem;
    right: 0.63rem;
    z-index: 1;
    color: var(--solutions-cyan-800);
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1;
  }
  
  .solutions-section .grid-3 > .card h3 a {
    color: var(--solutions-text-strong);
    text-decoration: none;
    background-image: linear-gradient(rgba(11, 126, 168, 0.32), rgba(11, 126, 168, 0.32));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 1px;
    transition:
      color var(--solutions-transition-fast),
      background-size var(--solutions-transition-fast),
      box-shadow var(--solutions-transition-fast);
  }
  
  .solutions-section .grid-3 > .card h3 a:hover,
  .solutions-section .grid-3 > .card h3 a:focus-visible {
    color: var(--solutions-text-link-hover);
    background-size: 100% 2px;
  }
  
  .solutions-section .grid-3 > .card h3 a:focus-visible {
    outline: none;
    box-shadow: var(--solutions-ring);
    border-radius: 4px;
  }
  
  .solutions-section .grid-3 > .card p {
    margin: 0;
    color: var(--solutions-text-body);
    font-size: var(--solutions-body-size);
    line-height: var(--solutions-line-body);
    text-wrap: pretty;
  }
  
  .solutions-section .grid-3 > .card p strong {
    color: var(--solutions-text-strong);
  }
  
  /* =========================================================
     14. FALLBACK RESPONSIVE
     ========================================================= */
  
  @media (max-width: 991px) {
    .solutions-section > .container {
      width: min(100% - 1.25rem, var(--solutions-max-width));
    }
  
    .solutions-section .grid-3 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .solutions-section .grid-3 > .card {
      grid-column: auto;
    }
  }
  
  @media (max-width: 767px) {
    .solutions-section {
      padding-block: 3.75rem 4.25rem;
    }
  
    .solutions-section .grid-3 {
      grid-template-columns: 1fr;
    }
  
    .solutions-section .grid-3 > .card {
      padding: 1rem;
      border-radius: 20px;
    }
  
    .solutions-section .grid-3 > .card h3 {
      padding-right: 2.65rem;
      font-size: 1.08rem;
      line-height: 1.24;
    }
  
    .solutions-section .grid-3 > .card h3::after {
      width: 2rem;
      height: 2rem;
      border-radius: 14px;
    }
  
    .solutions-section .grid-3 > .card h3::before {
      top: 0.46rem;
      right: 0.58rem;
    }
  
    .solutions-section .grid-3 > .card p,
    .solutions-section .services-subtitle {
      font-size: 0.96rem;
      line-height: 1.7;
    }
  }
  
  @media (max-width: 479px) {
    .solutions-section {
      padding-block: 3.4rem 3.85rem;
    }
  
    .solutions-section > .container {
      width: min(100% - 1rem, var(--solutions-max-width));
    }
  
    .solutions-section > .container > h2::before {
      width: 100%;
      max-width: 12.5rem;
      margin-inline: auto;
      padding: 0.64rem 0.85rem;
      letter-spacing: 0.12em;
    }
  
    .solutions-section .grid-3 > .card {
      border-radius: 18px;
    }
  
    .solutions-section .grid-3 > .card h3 {
      font-size: 1rem;
    }
  
    .solutions-section .grid-3 > .card p {
      font-size: 0.94rem;
      line-height: 1.66;
    }
  }




  /* =========================================================
   APPEND — force "Related Solutions" eyebrow above heading
   ========================================================= */

.section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) > .container > h2,
.solutions-section > .container > h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) > .container > h2::before,
.solutions-section > .container > h2::before {
  display: inline-flex;
  order: -1;
  margin: 0;
}

@media (max-width: 479px) {
  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) > .container > h2,
  .solutions-section > .container > h2 {
    gap: 0.85rem;
  }

  .section:has(.grid-3 > .card > h3 > a[href="/catalog/"]) > .container > h2::before,
  .solutions-section > .container > h2::before {
    width: 100%;
    max-width: 12.5rem;
    margin-inline: auto;
  }
}