/* =========================================
     WCAG 2.2 LOCATION PAGE FIXES
     ========================================= */
  
  /* 1. Page Header Contrast */
  .page-header-box h1,
  .breadcrumb-item a,
  .breadcrumb-item.active {
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    color: var(--white-color) !important;
  }

  /* 2. Form Inputs (Placeholders as Labels) */
  .form-control::placeholder {
    color: #4a4a4a !important; 
    opacity: 1;
  }
  
  /* 3. Input Borders */
  .form-control {
    border-color: #767676 !important;
  }
  .form-control:focus {
    border-color: var(--primary-color) !important;
  }

  /* 4. Google Map Focus */
  .google-map-iframe iframe:focus,
  .google-map-iframe iframe:focus-visible {
    outline: 3px solid #007bff !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 6px rgba(0, 123, 255, 0.5) !important;
  }

  /* --- Location Intro Section (Highly Decorative Playful) --- */
  .location-intro-section {
    padding: 120px 0;
    background-color: #f8faff; /* Slightly darker base for contrast */
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Abstract City Grid Pattern */
    background-image: 
        linear-gradient(rgba(2, 48, 71, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2, 48, 71, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
  }

  /* Decorative Floating Gradient Orb (Top Right) */
  .location-intro-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    /* Soft Secondary Color Tint */
    background: radial-gradient(circle, rgba(43, 196, 138, 0.08) 0%, transparent 70%); 
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(40px);
  }

  /* Decorative Floating Gradient Orb (Bottom Left) */
  .location-intro-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 700px;
    height: 700px;
    /* Soft Primary Color Tint */
    background: radial-gradient(circle, rgba(2, 48, 71, 0.06) 0%, transparent 70%); 
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(40px);
  }

  .intro-content-wrapper {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    /* Glass Effect Container */
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 70px 50px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 30px 80px rgba(2, 48, 71, 0.06);
  }

  /* Kicker / Location Label - Vibrant Pill */
  .location-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 30px;
    background: var(--primary-color);
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(2, 48, 71, 0.15);
    transition: transform 0.3s ease;
  }
  
  .location-label:hover {
      transform: translateY(-2px);
  }
  
  .location-label::before {
      content: '';
      display: block;
      width: 10px; height: 10px;
      background: var(--secondary-color);
      border-radius: 50%;
      margin-right: 12px;
      box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
  }

  .location-intro-section h1 {
    font-family: var(--accent-font);
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 800;
    text-transform: capitalize;
  }
  
  /* Decorative Underline moved to Pseudo element */
  .location-intro-section h1::after {
      content: '';
      display: block;
      width: 120px;
      height: 5px;
      background: linear-gradient(90deg, var(--secondary-color), transparent);
      margin: 25px auto 35px;
      border-radius: 10px;
  }

  .location-intro-section h2 {
    font-size: 1.5rem;
    color: #555;
    font-weight: 500;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
  }

  .location-intro-section p {
    font-size: 1.25rem;
    line-height: 1.9;
    color: #2c323a;
    margin-bottom: 50px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Action Buttons Group */
  .action-btn-group {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
  }

  /* Primary Button (Book) - Gradient & Shadow */
  .btn-location-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #001f3f 100%);
    color: #ffffff;
    padding: 18px 42px;
    border-radius: 60px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    border: none;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(2, 48, 71, 0.25);
  }
  
  .btn-location-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 45px rgba(2, 48, 71, 0.35);
    color: #ffffff;
  }

  /* Secondary Button (Call) - Modern Outline */
  .btn-location-secondary {
    background: transparent;
    color: var(--primary-color);
    padding: 16px 40px;
    border-radius: 60px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    border: 2px solid rgba(2, 48, 71, 0.15); /* Subtle border */
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
  }

  .btn-location-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(2, 48, 71, 0.05);
    transform: translateY(-5px);
  }

  @media (max-width: 768px) {
    .location-intro-section h1 { font-size: 2.5rem; }
    .location-intro-section h2 { font-size: 1.3rem; }
    .intro-content-wrapper { padding: 40px 25px; border-radius: 20px; }
    .action-btn-group { flex-direction: column; gap: 15px; }
  }

    /* Mobile-only: Location Intro Section (â‰¤480px) */
    @media (max-width: 480px) {
      /* ... existing mobile styles ... */
      .location-intro-section {
        padding: 60px 0;
      }
      .intro-content-wrapper {
        padding: 30px 20px;
        border-radius: 20px;
      }
      .location-label {
        font-size: 0.72rem;
        padding: 9px 18px;
        letter-spacing: 1px;
        margin-bottom: 20px;
      }
      .location-label::before {
        width: 8px;
        height: 8px;
        margin-right: 8px;
      }
      .location-intro-section h1 {
        font-size: 1.85rem;
        line-height: 1.2;
        margin-bottom: 12px;
      }
      .location-intro-section h1::after {
        width: 70px;
        height: 4px;
        margin: 18px auto 24px;
      }
      .location-intro-section h2 {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 20px;
      }
      .location-intro-section p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 30px;
      }
      .action-btn-group {
        gap: 12px;
        margin-top: 25px;
      }
      .btn-location-primary {
        width: 100%;
        justify-content: center;
        padding: 16px 28px;
        font-size: 0.9rem;
      }
      .btn-location-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.9rem;
      }
    }

    /* Ambient Background SVGs for Location Intro Section */
    .ambient-backgrounds-location {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
      overflow: hidden;
    }

    .ambient-svg-location {
      position: absolute;
      color: var(--primary-color);
      opacity: 0.22; /* Static visibility */
    }

    .location-intro-section .svg-loc-contours {
      width: 600px;
      height: auto;
      top: -100px;
      left: -150px;
      transform: rotate(-5deg);
      opacity: 0.12;
    }

    .location-intro-section .svg-loc-radar {
      width: 400px;
      height: 400px;
      bottom: -150px;
      right: -100px;
      opacity: 0.08;
    }

    .location-intro-section .svg-loc-crosses {
      width: 250px;
      height: 250px;
      top: 20%;
      right: 5%;
      opacity: 0.18; /* Increased visibility */
    }

    /* Mobile Responsive Logic for Location SVGs */
    @media (max-width: 767px) {
      .location-intro-section .svg-loc-contours {
        width: 350px;
        top: -50px;
        left: -80px;
      }
      .location-intro-section .svg-loc-radar {
        width: 250px;
        bottom: -80px;
        right: -60px;
      }
      .location-intro-section .svg-loc-crosses {
        display: none;
      }
    }

  /* --- Comprehensive Care Section (Dark Mode Medical Interface) --- */
  .comprehensive-care-section {
    padding: 120px 0;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    color: #ffffff;
    /* Techno/Medical Grid Background */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
  }

  /* Ambient Glow - "Scanner" effect */
  .comprehensive-care-section::before {
      content: '';
      position: absolute;
      top: -100px;
      right: -100px;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(43, 196, 138, 0.15) 0%, transparent 60%);
      filter: blur(80px);
      z-index: 0;
      animation: pulseGlow 8s infinite alternate;
  }
  
  @keyframes pulseGlow {
      0% { opacity: 0.5; transform: scale(1); }
      100% { opacity: 0.8; transform: scale(1.1); }
  }

  .care-section-title {
    font-family: var(--accent-font);
    font-size: 2.2rem;
    color: #ffffff !important; /* Force white text override */
    margin-bottom: 30px;
    position: relative;
    z-index: 2; /* Increased z-index */
    letter-spacing: -0.5px;
    opacity: 1; /* Fallback visibility */
    visibility: visible;
  }
  
  /* Ensure animation spans also inherit white */
  .care-section-title * {
      color: #ffffff !important;
  }
  
  .care-section-title::after {
      content: none; /* Remove old underline */
  }
  
  /* Highlight word style within title if we had spans, but we don't. 
     We'll just style the whole thing crisp. */

  .care-lead-text {
    font-size: 1.15rem;
    color: #e0e6ed; /* High Contrast Silver */
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 300;
    position: relative;
    z-index: 1;
  }

  .doctor-highlight {
    color: var(--secondary-color);
    background: rgba(43, 196, 138, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid rgba(43, 196, 138, 0.2);
  }

  .care-approach-text {
    font-size: 1rem;
    color: #aeb4b9;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    max-width: 90%;
  }

  /* --- Right Side: The "Patient Insight" Interface --- */
  .patient-scenarios-box {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    position: relative;
    z-index: 2;
  }
  
  .patient-scenarios-box::before { display: none; } /* Remove old orbit */

  .scenarios-title {
    font-family: var(--accent-font);
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    border-left: 4px solid var(--secondary-color);
    padding-left: 15px;
  }

  /* The List becomes a Card Stack */
  .scenarios-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .scenarios-list li {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    padding-left: 70px; /* Space for icon */
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
    position: relative;
  }

  /* Hover Effect: Glow (No Move) */
  .scenarios-list li:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }

  /* The "Status Indicator" Icon */
  .scenarios-list li::before {
    content: ''; 
    /* We'll use a mask status icon */
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: var(--secondary-color);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    background-image: none; /* Reset previous override */
    border-radius: 0;
    transition: all 0.3s ease;
  }
  
  /* Feature List Tick - Dark Contrast (Yellow) */
  html[data-contrast="dark"] .scenarios-list li::before {
    background: #ffff00 !important;
  }

  /* Feature List Tick - Light Contrast (Black) */
  html[data-contrast="light"] .scenarios-list li::before {
    background: #000000 !important;
  }

  /* Custom Scenario Icons */
  .scenarios-list li.scenario-pt::before {
    mask: url("../images/i-physical-therapy-svgrepo-com.svg") no-repeat center !important;
    -webkit-mask: url("../images/i-physical-therapy-svgrepo-com.svg") no-repeat center !important;
    mask-size: contain !important;
    -webkit-mask-size: contain !important;
  }

  .scenarios-list li.scenario-imaging::before {
    mask: url("../images/i-imaging-results.svg") no-repeat center !important;
    -webkit-mask: url("../images/i-imaging-results.svg") no-repeat center !important;
    mask-size: contain !important;
    -webkit-mask-size: contain !important;
  }

  .scenarios-list li.scenario-surgery::before {
    mask: url("../images/i-orthopedic-surgery.svg") no-repeat center !important;
    -webkit-mask: url("../images/i-orthopedic-surgery.svg") no-repeat center !important;
    mask-size: contain !important;
    -webkit-mask-size: contain !important;
  }

  .scenarios-list li.scenario-pain::before {
    mask: url("../images/i-persistent-pain.svg") no-repeat center !important;
    -webkit-mask: url("../images/i-persistent-pain.svg") no-repeat center !important;
    mask-size: contain !important;
    -webkit-mask-size: contain !important;
  }

    /* Mobile-only: Comprehensive Care Section (â‰¤480px) */
    @media (max-width: 480px) {
      /* ... existing mobile styles ... */
      .comprehensive-care-section {
        padding: 60px 0;
      }
      .care-section-title {
        font-size: 1.7rem;
        margin-bottom: 20px;
        line-height: 1.25;
      }
      .care-lead-text {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 20px;
      }
      .care-approach-text {
        font-size: 0.95rem;
        max-width: 100%;
        line-height: 1.7;
      }
      .scenarios-title {
        font-size: 0.85rem;
        letter-spacing: 1px;
        margin-bottom: 18px;
      }
      .scenarios-list {
        gap: 10px;
      }
      .scenarios-list li {
        padding: 16px 16px 16px 58px;
        font-size: 0.95rem;
        line-height: 1.5;
        transition: none;
      }
      .scenarios-list li:hover {
        transform: none;
      }
    }

    /* Ambient Background SVGs for Comprehensive Care Section */
    .ambient-backgrounds-escalation {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
      overflow: hidden;
    }

    .ambient-svg-escalation {
      position: absolute;
      color: #ffffff;
      opacity: 0.2; /* Static visibility on dark */
    }

    .comprehensive-care-section .svg-esc-grid {
      opacity: 0.15; /* Increased visibility as requested */
    }

    .comprehensive-care-section .svg-esc-curve {
      width: 550px;
      height: auto;
      bottom: -150px;
      left: -180px;
      transform: rotate(-12deg);
      opacity: 0.1;
    }

    .comprehensive-care-section .svg-esc-nodes {
      width: 320px;
      height: 320px;
      top: 15%;
      right: -100px;
      opacity: 0.15;
    }

    /* Mobile Responsive Logic for Care SVGs */
    @media (max-width: 991px) {
      .comprehensive-care-section .svg-esc-curve {
        width: 320px;
        bottom: -60px;
        left: -100px;
      }
      .comprehensive-care-section .svg-esc-nodes {
        width: 240px;
        top: 20px;
        right: -60px;
      }
    }

  /* --- Conditions Treated Section (High Contrast Decorative) --- */
  .conditions-treated-section {
    padding: 120px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    /* Decorative layered background */
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(2, 48, 71, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 90%, rgba(43, 196, 138, 0.05) 0%, transparent 20%),
        linear-gradient(#f0f4f8 1px, transparent 1px),
        linear-gradient(90deg, #f0f4f8 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  }

  /* Ambient Background SVGs for Conditions Treated Section */
  .ambient-backgrounds-conditions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
  }

  .ambient-svg-conditions {
    position: absolute;
    color: var(--primary-color);
    opacity: 0.22; /* Further visibility on white */
  }

  .conditions-treated-section .svg-cond-spine {
    width: 350px;
    height: auto;
    top: -50px;
    right: -80px;
    transform: rotate(10deg);
  }

  .conditions-treated-section .svg-cond-pulse {
    width: 1000px;
    height: auto;
    bottom: 50px;
    left: -200px;
    opacity: 0.15;
  }

  /* Mobile Responsive Logic for Conditions SVGs */
  @media (max-width: 991px) {
    .conditions-treated-section .svg-cond-spine {
      width: 200px;
      right: -40px;
    }
    .conditions-treated-section .svg-cond-pulse {
      width: 500px;
      left: -100px;
    }
  }

  /* Intro Header */
  .conditions-intro {
    background: #ffffff;
    border: 2px solid #023047; /* High contrast border */
    border-radius: 0 30px 0 30px; /* Decorative shape */
    padding: 50px;
    margin-bottom: 60px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 10px 10px 0px rgba(2, 48, 71, 0.1); /* Graphic shadow */
    position: relative;
    z-index: 2;
  }

  .conditions-intro h2 {
    font-family: var(--accent-font);
    font-size: 2.4rem;
    color: #023047; /* Max contrast Navy */
    margin-bottom: 20px;
    font-weight: 800;
  }

  .conditions-intro p {
    font-size: 1.25rem;
    color: #1a1a1a; /* Near black for readability */
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
  }

  /* Grid Layout */
  .conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
  }
  
  /* Condition Card */
  .condition-card {
    background: #ffffff;
    border: 2px solid #eef2f6;
    border-radius: 16px;
    padding: 30px 25px;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
  }

  /* Decorative Hover Stripe */
  .condition-card::before {
      content: '';
      position: absolute;
      left: 0; top: 0; bottom: 0;
      width: 6px;
      background: var(--primary-color);
      transform: scaleY(0);
      transform-origin: bottom;
      transition: transform 0.3s ease;
  }


  /* Icon Circle */
  .condition-icon-wrapper {
    width: 55px;
    height: 55px;
    background: #f0f7fa; /* Very light blue */
    border-radius: 12px; /* Soft square */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(2, 48, 71, 0.1);
  }


  .condition-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000000; /* Pure black for heading */
    margin: 0;
    line-height: 1.3;
  }

  /* RE-ADD HOVER ONLY FOR DEFAULT THEME (NOT CONTRAST MODES) */
  html:not([data-contrast]) .condition-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(2, 48, 71, 0.12);
  }

  html:not([data-contrast]) .condition-card:hover::before {
    transform: scaleY(1);
  }

  html:not([data-contrast]) .condition-card:hover .condition-icon-wrapper {
    background: var(--primary-color);
    color: #ffffff;
  }

  html:not([data-contrast]) .condition-card:hover .condition-icon-wrapper img {
    filter: brightness(0) invert(1) !important;
  }

  /* Force links to match heading color in all states */
  .condition-card h3 a {
    color: inherit !important;
    text-decoration: none !important;
  }
  
  .condition-card h3 a:hover,
  .condition-card h3 a:visited,
  .condition-card h3 a:active {
    color: inherit !important;
  }

  /* Accessibility: High Contrast Mode Frozen States (No Hover Shifts) */
  html[data-contrast="dark"] .conditions-treated-section,
  html[data-contrast="dark"] .condition-card,
  html[data-contrast="dark"] .condition-icon-wrapper,
  html[data-contrast="dark"] .conditions-intro {
    background: #000000 !important;
    background-image: none !important;
    border-color: #ffff00 !important;
    color: #ffff00 !important;
  }

  html[data-contrast="dark"] .condition-card h3,
  html[data-contrast="dark"] .condition-card h3 a,
  html[data-contrast="dark"] .conditions-intro h2,
  html[data-contrast="dark"] .conditions-intro p {
    color: #ffff00 !important;
  }

  html[data-contrast="dark"] .condition-icon-wrapper img {
    filter: brightness(0) saturate(100%) invert(88%) sepia(82%) saturate(1469%) hue-rotate(359deg) brightness(102%) contrast(104%) !important;
  }

  html[data-contrast="dark"] .condition-icon-wrapper svg {
    color: #ffff00 !important;
    fill: #ffff00 !important;
  }

  /* Invert & Light Contrast Mode: Frozen Icons (Black/White only) */
  html[data-contrast="invert"] .condition-icon-wrapper img,
  html[data-contrast="light"] .condition-icon-wrapper img {
    filter: brightness(0) saturate(100%) invert(0%) !important; 
  }

  html[data-contrast="invert"] .condition-icon-wrapper svg {
    color: #ffffff !important;
    fill: #ffffff !important;
  }

  html[data-contrast="light"] .condition-icon-wrapper svg {
    color: #000000 !important;
    fill: #000000 !important;
  }

  html[data-contrast="invert"] .condition-card,
  html[data-contrast="light"] .condition-card {
    background: #ffffff !important;
    border-color: #000000 !important;
  }

  html[data-contrast="invert"] .condition-card h3,
  html[data-contrast="invert"] .condition-card h3 a,
  html[data-contrast="light"] .condition-card h3,
  html[data-contrast="light"] .condition-card h3 a {
    color: #000000 !important;
  }

  /* ABSOLUTELY FREEZE HOVER IN ALL CONTRAST MODES */
  html[data-contrast] .condition-card:hover {
    background: inherit !important;
    transform: none !important;
    box-shadow: none !important;
    border-color: inherit !important;
  }

  html[data-contrast] .condition-card:hover .condition-icon-wrapper {
      background: inherit !important;
      color: inherit !important;
  }

  html[data-contrast] .condition-card,
  html[data-contrast] .condition-icon-wrapper,
  html[data-contrast] .condition-icon-wrapper img,
  html[data-contrast] .condition-icon-wrapper svg {
    transition: none !important;
    transform: none !important;
  }


  /* CTA Wrapper */
  .conditions-cta-wrapper {
    text-align: center;
    position: relative;
    z-index: 2;
  }
  
  .btn-view-all-conditions {
    display: inline-flex;
    align-items: center;
    padding: 18px 45px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: 2px solid var(--primary-color);
    border-radius: 60px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(2, 48, 71, 0.25);
  }

  .btn-view-all-conditions:hover,
  .btn-view-all-conditions:focus-visible {
    background-color: #ffffff !important;
    color: var(--primary-color) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(2, 48, 71, 0.15) !important;
    text-decoration: none !important;
  }
  
  .btn-view-all-conditions:focus-visible {
    outline: 5px solid #ff3399 !important;
    outline-offset: 6px !important;
    box-shadow: 0 0 40px rgba(255, 51, 153, 0.4) !important;
  }
  
  .btn-view-all-conditions svg {
    margin-left: 10px;
    transition: transform 0.3s ease;
  }

  /* === Mobile-only: Conditions Treated Section (â‰¤480px) === */
  @media (max-width: 480px) {

    /* Section: reduce 120px desktop padding */
    .conditions-treated-section {
      padding: 60px 0;
    }

    /* Intro block: reduce padding + scale border-radius */
    .conditions-intro {
      padding: 28px 20px;
      border-radius: 0 20px 0 20px; /* Proportional decorative shape */
      margin-bottom: 35px;
      box-shadow: 6px 6px 0 rgba(2, 48, 71, 0.1); /* Smaller shadow */
    }

    /* Intro heading: 2.4rem overflows on 320px */
    .conditions-intro h2 {
      font-size: 1.65rem;
      margin-bottom: 14px;
      line-height: 1.25;
    }

    /* Intro paragraph */
    .conditions-intro p {
      font-size: 1rem;
      line-height: 1.65;
    }

    /* CRITICAL: Force single-column to prevent horizontal scroll.
       minmax(300px, 1fr) would try a 300px min on a ~340px container â€” overflows. */
    .conditions-grid {
      grid-template-columns: 1fr;
      gap: 16px;
      margin-bottom: 35px;
    }

    /* Card: reduce padding, maintain icon+text row layout */
    .condition-card {
      padding: 20px 18px;
    }

    /* Disable translateY hover on touch (prevents stuck offset after tap) */
    .condition-card:hover {
      transform: none;
    }

    /* Icon box: scale down slightly */
    .condition-icon-wrapper {
      width: 46px;
      height: 46px;
      margin-right: 14px;
      border-radius: 10px;
      flex-shrink: 0;
    }

    /* Card heading: scale to comfortable mobile reading size */
    .condition-card h3 {
      font-size: 1rem;
      line-height: 1.4;
    }

    /* CTA: full-width pill with centred content */
    .btn-view-all-conditions {
      width: 100%;
      justify-content: center;
      padding: 16px 24px;
      font-size: 0.9rem;
    }
  }

  /* === Tablet: Conditions Grid (â‰¤768px) === */
  @media (max-width: 768px) {
    /* Keep two columns on tablet if space allows â€” only override min */
    .conditions-grid {
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 20px;
    }
  }

  .treatments-section {
    padding: 100px 0;
    background-color: var(--primary-color); /* Dark Background */
    color: #ffffff;
    position: relative;
    border-top: none;
  }
  
  /* Subtle Texture */
  .treatments-section {
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
  }

  /* Ambient Background SVGs for Advanced Treatments Section */
  .ambient-backgrounds-treatments {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
  }

  .ambient-svg-treatments {
    position: absolute;
    color: #ffffff;
    opacity: 0.08; /* Static visibility on dark */
  }

  .treatments-section .svg-treat-hex {
    width: 500px;
    height: auto;
    top: -80px;
    right: -100px;
    opacity: 0.05;
    transform: rotate(30deg);
  }

  .treatments-section .svg-treat-nodes {
    width: 350px;
    height: auto;
    bottom: 5%;
    left: -50px;
    opacity: 0.06;
    transform: rotate(-15deg);
  }

  .treatments-section .svg-treat-dna {
    width: 220px;
    height: auto;
    top: 15%;
    left: 42%;
    opacity: 0.05;
    transform: rotate(-12deg);
  }

  .treatments-section .svg-treat-crosses {
    width: 180px;
    height: 180px;
    top: 35%;
    right: 12%;
    opacity: 0.06;
  }

  /* Mobile Responsive Logic for Treatments SVGs */
  @media (max-width: 991px) {
    .treatments-section .svg-treat-hex {
      width: 250px;
      right: -40px;
    }
    .treatments-section .svg-treat-nodes {
      width: 180px;
      left: -20px;
    }
  }

  .treatments-intro {
    text-align: left;
    max-width: 100%;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
  }
  
  .treatments-intro h2 {
    font-family: var(--accent-font);
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 15px;
  }
  
  .treatments-intro p {
    font-size: 1.15rem;
    color: #d1d5db;
    line-height: 1.6;
    max-width: 800px;
    margin: 0;
  }

  /* List Container - Redesigned for 8-item balance (4x2) */
  .treatment-list-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 30px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 60px;
    box-shadow: none;
  }

  /* Tablet: 2 columns (2x4) */
  @media (max-width: 1199px) {
    .treatment-list-container {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  /* Mobile: 1 column */
  @media (max-width: 767px) {
    .treatment-list-container {
      grid-template-columns: 1fr;
    }
  }

  /* Dark Minimalist Item */
  .treatment-item {
    display: flex;
    align-items: center;
    padding: 12px 0; 
    border-radius: 0;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05); /* Dark mode divider */
  }
  
  .treatment-item:hover {
    background: transparent;
    border-bottom-color: rgba(255,255,255,0.2);
  }
  
  .treatment-item:hover span {
    color: var(--secondary-color); /* Teal highlight on hover */
  }
  
  /* Minimalist Bullet */
  .treatment-check {
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: block; 
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 0 8px var(--secondary-color); /* Glow dot */
    color: transparent;
  }
  
  .treatment-check svg {
      display: none;
  }
  
  .treatment-item span {
    font-size: 1.05rem;
    font-weight: 400;
    color: #e0e6ed; /* Off-white text */
    line-height: 1.5;
    transition: color 0.2s ease;
  }

  /* Regenerative Block - Dark Card */
  .regenerative-banner {
    background: rgba(255,255,255,0.03); /* Glassy dark */
    border: 1px solid rgba(255,255,255,0.1);
    border-left: 5px solid var(--secondary-color);
    border-radius: 12px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    overflow: visible;
  }
  
  .regenerative-banner::before {
      display: none;
  }

  .regen-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
    color: var(--secondary-color);
  }

  .regen-content h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 5px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
  }
  
  .regen-content p {
    margin: 0;
    font-size: 1.05rem;
    color: #a0aeb2;
  }

  /* --- Regenexx Feature Card Redesign --- */
  .regenexx-feature-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 50px;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .regenexx-feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(43, 196, 138, 0.08) 0%, transparent 70%);
    pointer-events: none;
  }

  .regenexx-badge {
    display: inline-block;
    background: rgba(43, 196, 138, 0.15);
    color: var(--secondary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    border: 1px solid rgba(43, 196, 138, 0.3);
  }

  .regenexx-header h3 {
    font-family: var(--accent-font);
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
  }

  .regenexx-header p {
    font-size: 1.1rem;
    color: #aeb4b9;
    max-width: 800px;
    line-height: 1.7;
    margin-bottom: 40px;
  }

  .regenexx-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .regenexx-pill {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 25px 30px;
    border-radius: 16px;
    transition: all 0.3s ease;
  }

  .regenexx-pill:hover {
    background: rgba(255,255,255,0.07);
    border-color: var(--secondary-color);
  }

  .pill-title {
    font-family: var(--accent-font);
    font-weight: 700;
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .pill-title::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: inline-block;
  }

  .pill-desc {
    font-size: 1rem;
    color: #8c969c;
    line-height: 1.5;
  }

  @media (max-width: 768px) {
    .regenexx-feature-card { padding: 30px; }
    .regenexx-header h3 { font-size: 1.6rem; }
  }

  /* Force links to inherit color in Treatments Section */
  .treatment-item a,
  .treatment-item span a,
  .regen-content p a {
    color: inherit !important;
    text-decoration: none !important;
  }

  .treatment-item a:hover,
  .treatment-item a:visited,
  .treatment-item a:active,
  .treatment-item span a:hover,
  .treatment-item span a:visited,
  .treatment-item span a:active,
  .regen-content p a:hover,
  .regen-content p a:visited,
  .regen-content p a:active {
    color: inherit !important;
  }

  /* === Mobile-only: Advanced Treatments Section (â‰¤480px) === */
  @media (max-width: 480px) {

    /* Section: reduce 100px desktop padding */
    .treatments-section {
      padding: 60px 0;
    }

    /* Intro heading: 2.2rem â†’ 1.7rem */
    .treatments-intro h2 {
      font-size: 1.7rem;
      margin-bottom: 12px;
    }

    /* Intro paragraph: tighter density */
    .treatments-intro p {
      font-size: 1rem;
      max-width: 100%;
    }

    /* Intro bottom margin */
    .treatments-intro {
      margin-bottom: 30px;
    }

    /* CRITICAL: Force single-column â€” minmax(300px) causes overflow on 320-480px */
    .treatment-list-container {
      grid-template-columns: 1fr;
      gap: 0;
      margin-bottom: 35px;
    }

    /* Treatment item: tighter touch target */
    .treatment-item {
      padding: 14px 0;
    }

    /* Disable translateX hover on touch (avoids sticky shifted items after tap) */
    .treatment-item:hover {
      transform: none;
    }

    /* Span text: slightly smaller for narrow screens */
    .treatment-item span {
      font-size: 0.95rem;
      line-height: 1.5;
    }

    /* Regenerative banner: stack icon above content on mobile */
    .regenerative-banner {
      flex-direction: column;
      align-items: flex-start;
      padding: 24px 20px;
      gap: 16px;
    }

    /* Icon box: remove right margin (was for inline row) */
    .regen-icon-box {
      margin-right: 0;
    }

    /* Regen heading */
    .regen-content h3 {
      font-size: 1.05rem;
      margin-bottom: 8px;
    }

    /* Regen paragraph */
    .regen-content p {
      font-size: 0.95rem;
      line-height: 1.6;
    }
  }

  /* === Tablet: Treatments Grid (â‰¤768px) === */
  @media (max-width: 768px) {
    /* Loosen the grid min so 2 columns fit on tablets */
    .treatment-list-container {
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
  }

  /* Make the block-level links in treatment items behave */
  .treatment-list-container > a {
    text-decoration: none;
    color: inherit;
    display: block;
  }
  
  .treatment-list-container > a:hover .treatment-item {
      background: transparent;
      border-bottom-color: rgba(255,255,255,0.2);
  }
  
  /* --- Why Choose Us Section (Highly Decorative Trust Grid) --- */
  .why-choose-section {
    padding: 120px 0;
    background-color: #f7f9fc;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  /* Decorative Background Pattern */
  .why-choose-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(#e1e7ec 1.5px, transparent 1.5px),
        radial-gradient(#e1e7ec 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.45;
    z-index: -1;
  }

  /* Why Choose Section Ambient SVGs */
  .ambient-backgrounds-why {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }

  .ambient-svg-why {
    position: absolute;
    color: var(--primary-color);
    opacity: 0.35; /* High visibility on light bg */
  }

  .why-choose-section .svg-why-circles {
    width: 600px;
    height: auto;
    bottom: -150px;
    left: -150px;
    opacity: 0.25;
  }

  .why-choose-section .svg-why-grid {
    width: 350px;
    height: auto;
    top: 40px;
    right: -60px;
    opacity: 0.2;
  }

  /* Visit Section Ambient SVGs */
  .ambient-backgrounds-visit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
  }

  .ambient-svg-visit {
    position: absolute;
    color: #ffffff;
    opacity: 0.18; /* High visibility on dark bg */
  }

  .visit-location-section .svg-visit-radar {
    width: 450px;
    height: auto;
    top: -80px;
    right: -80px;
    opacity: 0.15;
  }

  .visit-location-section .svg-visit-path {
    width: 1000px;
    height: auto;
    bottom: -40px;
    left: -100px;
    opacity: 0.12;
  }

  /* Mobile Responsive Logic for Why/Visit SVGs */
  @media (max-width: 991px) {
    .why-choose-section .svg-why-circles {
      width: 300px;
      left: -50px;
    }
    .why-choose-section .svg-why-grid {
      width: 180px;
      top: 20px;
    }
    .visit-location-section .svg-visit-radar {
      width: 200px;
      right: -30px;
    }
    .visit-location-section .svg-visit-path {
      width: 500px;
      bottom: -20px;
    }
  }
  /* Floating Blobs for Atmosphere */
  .why-choose-section::after {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(43, 196, 138, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
  }

  .why-choose-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
    position: relative;
  }
  
  /* Decorative Underline for Header */
  .why-choose-header::after {
      content: '';
      display: block;
      width: 60px;
      height: 4px;
      background: var(--secondary-color);
      margin: 20px auto 0;
      border-radius: 2px;
  }

  .why-choose-header h2 {
    font-family: var(--accent-font);
    font-size: 2.6rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    line-height: 1.2;
  }

  @media (max-width: 991px) {
    .why-choose-header h2 {
      font-size: 2.1rem;
    }
  }
  
  /* Feature Grid - Redesigned for 7-item balance */
  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
  }

  .benefit-card {
    grid-column: span 3; /* Default: 4 cards per row (3x4=12) */
    background: #ffffff;
    border: none;
    border-radius: 24px;
    padding: 40px 35px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  }

  /* Second Row: 3 items centered/widened (4x3=12) */
  @media (min-width: 1200px) {
    .benefit-card:nth-child(5),
    .benefit-card:nth-child(6),
    .benefit-card:nth-child(7) {
      grid-column: span 4;
    }
  }

  /* Responsive: 2 items per row */
  @media (max-width: 1199px) {
    .benefit-card {
      grid-column: span 6;
    }
    /* Centering the last item if it's the orphan (the 7th) */
    .benefit-card:last-child {
      grid-column: span 12;
      max-width: 600px;
      margin: 0 auto;
      align-items: center;
      text-align: center;
    }
  }

  /* === Tablet: Benefits Grid (â‰¤991px) === */
  @media (max-width: 991px) {
    .why-choose-section {
       padding: 80px 0;
    }
    .benefits-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
    .benefit-card {
      grid-column: span 1 !important;
      padding: 30px 25px;
    }
    .benefit-card:last-child {
      grid-column: span 2 !important;
      margin: 0 auto;
      max-width: 50% !important;
      min-width: 300px;
      align-items: center;
      text-align: center;
    }
  }

  /* Mobile: Stacked */
  @media (max-width: 767px) {
    .benefits-grid {
      grid-template-columns: 1fr;
    }
    .benefit-card {
      grid-column: span 1 !important;
      padding: 30px 25px;
      max-width: 100% !important;
    }
    .benefit-card:last-child {
      grid-column: span 1 !important;
      max-width: 100% !important;
      margin: 0;
      align-items: flex-start;
      text-align: left;
    }
  }
  
  /* Gradient Overlay hidden by default */
  .benefit-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(2, 48, 71, 0.03) 100%);
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 0;
  }
  
  .benefit-card:hover::before {
      opacity: 1;
  }
  
  /* Hover Effect - Pop & Glow */
  .benefit-card:hover {
    box-shadow: 0 25px 50px rgba(2, 48, 71, 0.1);
  }
  
  /* Corner Accent */
  .benefit-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    background: radial-gradient(circle at top right, var(--secondary-color), transparent 70%);
    opacity: 0.1;
    transition: opacity 0.3s ease;
  }

  .benefit-card:hover::after {
      opacity: 0.2;
  }

  .benefit-icon {
    width: 65px;
    height: 65px;
    background: #f0f8ff;
    border-radius: 18px; /* Squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(2, 48, 71, 0.05);
  }
  
  /* Icon Activation on Hover (Color Only) */
  .benefit-card:hover .benefit-icon {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(2, 48, 71, 0.2);
  }

  /* Why Choose Us: benefit-card h3 */
  .benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.35;
    position: relative;
    z-index: 1;
    margin: 0;
  }

  /* === Mobile-only: Why Choose Us Section (â‰¤480px) === */
  @media (max-width: 480px) {

    /* Section: halve 120px desktop padding */
    .why-choose-section {
      padding: 60px 0;
    }

    /* Header: reduce bottom margin */
    .why-choose-header {
      margin-bottom: 35px;
    }

    /* Heading: 2.6rem is too large for 320px */
    .why-choose-header h2 {
      font-size: 1.75rem;
      margin-bottom: 12px;
      line-height: 1.25;
    }

    /* CRITICAL: Force single column â€” minmax(320px) causes scroll on â‰¤480px */
    .benefits-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    /* Cards: reduce generous desktop padding */
    .benefit-card {
      padding: 24px 20px;
      border-radius: 18px;
    }

    /* Disable translateY hover on touch to avoid stuck elevated card */
    .benefit-card:hover {
      transform: none;
    }

    /* Icon box: 65px â†’ 50px for proportional mobile feel */
    .benefit-icon {
      width: 50px;
      height: 50px;
      border-radius: 14px;
      margin-bottom: 18px;
    }

    /* Card heading */
    .benefit-card h3 {
      font-size: 1rem;
      line-height: 1.4;
    }
  }

  /* The Tablet (768px) block is now handled by reordering or removal as it was conflicting. */

  .visit-location-section {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: #fff;
    position: relative;
    overflow: hidden;
  }

  /* Abstract Map Pattern */
  .visit-location-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
      linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
  }

  .visit-location-section::after {
      content: '';
      position: absolute;
      bottom: -100px; left: -100px;
      width: 400px; height: 400px;
      background: radial-gradient(circle, rgba(43, 196, 138, 0.1) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
  }

  .visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
  }

  /* Left Content */
  .visit-content h2 {
    font-family: var(--accent-font);
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
  }

  .address-block {
    margin-bottom: 30px;
    padding-left: 25px;
    border-left: 4px solid var(--secondary-color);
  }

  .address-block p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #e0e6ed;
  }
  
  .address-block strong {
      color: #ffffff;
      font-weight: 700;
  }

  .location-note {
    font-size: 1.1rem;
    color: #a0aeb2 !important;
    margin-bottom: 0;
  }

  /* Right Card */
  .visit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  }

  .info-group {
    margin-bottom: 30px;
  }

  .info-group:last-child {
    margin-bottom: 0;
  }

  .info-group h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
  }

  .info-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .info-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 12px;
  }
  
  .info-list li:last-child {
      border-bottom: none;
      padding-bottom: 0;
      margin-bottom: 0;
  }
  
  .info-list li span:last-child {
      font-weight: 600;
      color: #e0e6ed;
  }

  .appt-list li {
    position: relative;
    padding-left: 0;
    justify-content: flex-start;
    border: none;
    padding-bottom: 5px;
  }
  
  .appt-list li svg {
      color: var(--secondary-color);
      margin-right: 10px;
      flex-shrink: 0;
  }

  /* Map Embed */
  .map-container {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }
  
  .map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* filter removed to keep map light */
  }

  /* === Mobile-only: Visit Location Section (â‰¤480px) === */
  @media (max-width: 480px) {

    /* Section: halve 100px desktop padding */
    .visit-location-section {
      padding: 60px 0;
    }

    /* Stack the 2-column grid to a single column */
    .visit-grid {
      grid-template-columns: 1fr;
      gap: 35px;
    }

    /* H2: 2.5rem â†’ 1.75rem to prevent overflow */
    .visit-content h2 {
      font-size: 1.75rem;
      margin-bottom: 20px;
    }

    /* Address block: reduce font size */
    .address-block p {
      font-size: 1rem;
    }

    /* Location note: already smaller but tighten further */
    .location-note {
      font-size: 0.95rem;
    }

    /* Map: reduce height on small screens */
    .map-container {
      height: 240px;
      border-radius: 14px;
      margin-top: 20px;
    }

    /* Visit card: reduce padding */
    .visit-card {
      padding: 24px 20px;
      border-radius: 18px;
    }

    /* Info group heading: reduce letter-spacing */
    .info-group h3 {
      font-size: 0.9rem;
      letter-spacing: 0.5px;
      margin-bottom: 14px;
    }

    /* Hours list items: reduce font, let space-between breathe */
    .info-list li {
      font-size: 0.9rem;
      margin-bottom: 10px;
      padding-bottom: 10px;
    }

    /* Appointment list items */
    .appt-list li span {
      font-size: 0.9rem;
    }
  }

  /* === Tablet: Visit Grid (â‰¤768px) === */
  @media (max-width: 768px) {
    /* Stack to single column on tablet too â€” side-by-side is too cramped at 768px */
    .visit-grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }

    .visit-content h2 {
      font-size: 2rem;
    }
  }

  .location-faq-section {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
  }
  
  /* Decorative Texture */
  .location-faq-section::before {
      content: '';
      position: absolute;
      top: 0; right: 0;
      width: 300px; height: 300px;
      background: radial-gradient(circle, rgba(2, 48, 71, 0.03) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
  }
  
  .location-faq-section .section-title {
      text-align: center;
      margin-bottom: 50px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
  }
  
  .location-faq-section .section-title h2 {
      margin-bottom: 15px;
      color: var(--primary-color);
      text-transform: capitalize;
  }
  
  /* Accordion Styling matching active/focus states from main CSS */
  .faq-accordion .accordion-item {
    background-color: #fff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: visible !important; /* Accessibility Fix */
    transition: all 0.3s ease;
  }
  
  .faq-accordion .accordion-item:hover {
      border-color: #dce4eb;
      box-shadow: 0 5px 15px rgba(0,0,0,0.03);
  }

  .faq-accordion .accordion-header {
      margin-bottom: 0;
  }
  

  
  /* Accessibility Focus Ring */
  .faq-accordion .accordion-button:focus-visible {
    outline: 3px solid var(--primary-color) !important;
    outline-offset: -3px !important;
    z-index: 5;
  }

  /* FAQ Section Ambient SVGs */
  .ambient-backgrounds-faq {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }

  .ambient-svg-faq {
    position: absolute;
    color: var(--primary-color);
    opacity: 0.18; /* Refined static visibility */
  }

  .location-faq-section .svg-faq-wave {
    width: 600px;
    height: auto;
    bottom: -40px;
    right: -100px;
    opacity: 0.15;
  }

  .location-faq-section .svg-faq-nodes {
    width: 280px;
    height: auto;
    top: -40px;
    left: 20%;
    opacity: 0.12;
    transform: rotate(-15deg);
  }

  .location-faq-section .svg-faq-hex {
    width: 500px;
    height: auto;
    top: -80px;
    left: -150px;
    opacity: 0.14;
    transform: rotate(15deg);
  }

  .location-faq-section .svg-faq-radar {
    width: 380px;
    height: auto;
    top: 50%;
    right: -120px;
    opacity: 0.12;
    transform: translateY(-50%);
  }

  /* Mobile Responsive for FAQ SVGs */
  @media (max-width: 991px) {
    .location-faq-section .svg-faq-wave {
      width: 300px;
      right: -50px;
    }
    .location-faq-section .svg-faq-nodes {
      width: 150px;
      left: 10%;
    }
    .location-faq-section .svg-faq-hex {
      width: 250px;
      left: -50px;
    }
    .location-faq-section .svg-faq-radar {
      width: 180px;
      right: -40px;
    }
  }

  /* === Mobile-only: FAQ Section (â‰¤480px) === */
  @media (max-width: 480px) {

    /* Section: reduce generous 100px desktop padding */
    .location-faq-section {
      padding: 60px 0;
    }

    /* Section title block: reduce bottom margin */
    .location-faq-section .section-title {
      margin-bottom: 30px;
    }

    /* Section heading: scale down to prevent overflow on 320px */
    .location-faq-section .section-title h2 {
      font-size: 1.75rem;
      line-height: 1.25;
    }

    /* Accordion items: reduce gap between items */
    .faq-accordion .accordion-item {
      margin-bottom: 12px;
      border-radius: 10px;
    }

    /* Accordion button: reduce font size for long questions on narrow screens */
    .faq-accordion .accordion-button {
      font-size: 0.95rem;
      line-height: 1.45;
      padding: 16px 18px;
    }

    /* Accordion body: tighten text */
    .faq-accordion .accordion-body {
      padding: 12px 18px 18px;
      font-size: 0.95rem;
      line-height: 1.6;
    }
  }

  @media (max-width: 991px) {
    .visit-grid { grid-template-columns: 1fr; gap: 40px; }
  }


  @media (max-width: 768px) {
    .treatment-list-container { grid-template-columns: 1fr; }
    .regenerative-banner { flex-direction: column; text-align: left; align-items: flex-start; }
    .regen-icon-box { margin-right: 0; margin-bottom: 20px; }
  }

  /* --- Dark Contrast Mode Overrides --- */
  html[data-contrast="dark"] .location-intro-section {
    background: #000000 !important;
    background-image: none !important;
  }
  
  html[data-contrast="dark"] .location-intro-section::before,
  html[data-contrast="dark"] .location-intro-section::after {
    display: none !important;
  }
  
  html[data-contrast="dark"] .intro-content-wrapper {
    background: #000000 !important;
    border: 2px solid #ffff00 !important;
    box-shadow: none !important;
  }

  /* --- Light Contrast Mode Overrides --- */
  html[data-contrast="light"] .btn-location-primary,
  html[data-contrast="light"] .btn-location-primary * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
  
  html[data-contrast="light"] .comprehensive-care-section .care-section-title,
  html[data-contrast="light"] .comprehensive-care-section .care-lead-text,
  html[data-contrast="light"] .comprehensive-care-section .care-approach-text,
  html[data-contrast="light"] .comprehensive-care-section .doctor-highlight,
  html[data-contrast="light"] .comprehensive-care-section .doctor-highlight a {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
  }

  /* --- Text Scaling Overrides (Accessibility Widget) --- */
  
  /* Level 1 Scaling - Aggressive */
  body.acc-text-x1 .location-intro-section h1,
  body.acc-text-x1 .location-intro-section h1 * { font-size: 4.5rem !important; line-height: 1.2 !important; }
  
  body.acc-text-x1 .location-intro-section h2,
  body.acc-text-x1 .location-intro-section h2 * { font-size: 2rem !important; line-height: 1.3 !important; }
  
  body.acc-text-x1 .location-intro-section p,
  body.acc-text-x1 .location-intro-section p * { font-size: 1.6rem !important; line-height: 1.5 !important; }
  
  body.acc-text-x1 .location-label,
  body.acc-text-x1 .location-label * { font-size: 1.2rem !important; }
  
  body.acc-text-x1 .btn-location-primary,
  body.acc-text-x1 .btn-location-secondary { font-size: 1.2rem !important; }

  /* Level 2 Scaling - Aggressive */
  body.acc-text-x2 .location-intro-section h1,
  body.acc-text-x2 .location-intro-section h1 * { font-size: 5rem !important; line-height: 1.1 !important; }
  
  body.acc-text-x2 .location-intro-section h2,
  body.acc-text-x2 .location-intro-section h2 * { font-size: 2.3rem !important; line-height: 1.3 !important; }
  
  body.acc-text-x2 .location-intro-section p,
  body.acc-text-x2 .location-intro-section p * { font-size: 1.8rem !important; line-height: 1.5 !important; }
  
  body.acc-text-x2 .location-label,
  body.acc-text-x2 .location-label * { font-size: 1.4rem !important; }
  
  body.acc-text-x2 .btn-location-primary,
  body.acc-text-x2 .btn-location-secondary { font-size: 1.3rem !important; }

  /* Level 3 Scaling - Aggressive */
  body.acc-text-x3 .location-intro-section h1,
  body.acc-text-x3 .location-intro-section h1 * { font-size: 5.5rem !important; line-height: 1.1 !important; }
  
  body.acc-text-x3 .location-intro-section h2,
  body.acc-text-x3 .location-intro-section h2 * { font-size: 2.6rem !important; line-height: 1.3 !important; }
  
  body.acc-text-x3 .location-intro-section p,
  body.acc-text-x3 .location-intro-section p * { font-size: 2rem !important; line-height: 1.4 !important; }
  
  body.acc-text-x3 .location-label,
  body.acc-text-x3 .location-label * { font-size: 1.6rem !important; }
  
  body.acc-text-x3 .btn-location-primary,
  body.acc-text-x3 .btn-location-secondary { font-size: 1.4rem !important; }

  /* --- Invert Contrast Mode Overrides --- */
  html[data-contrast="invert"] .btn-location-secondary svg {
    color: #00ffff !important; /* Visual Cyan in Invert Mode */
  }

  html[data-contrast="invert"] .btn-location-primary svg {
    color: #000000 !important; /* Visual Black in Invert Mode */
  }

  /* --- Dark Contrast Mode Overrides --- */
  html[data-contrast="dark"] .conditions-intro {
    background-color: #000000 !important;
    background: #000000 !important;
  }

  html[data-contrast="dark"] .location-faq-section {
    background-color: #000000 !important;
    background: #000000 !important;
  }

  /* Specific Button Contrast Fix for Dark Mode - High Specificity */
  html[data-contrast="dark"] .cta-box .btn-default,
  html[data-contrast="dark"] .cta-box .btn-default span {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #ffff00 !important;
    -webkit-text-fill-color: #ffff00 !important;
    box-shadow: inset 0 0 0 100px #000000 !important;
    border: 2px solid #ffff00 !important;
    border-radius: 100px !important;
    transition: none !important;
  }

  html[data-contrast="dark"] .cta-box .btn-default::before,
  html[data-contrast="dark"] .cta-box .btn-default::after,
  html[data-contrast="dark"] .cta-box .btn-default span::before,
  html[data-contrast="dark"] .cta-box .btn-default span::after {
    display: none !important;
    content: none !important;
  }

  html[data-contrast="dark"] .cta-box .btn-default:hover,
  html[data-contrast="dark"] .cta-box .btn-default:hover span {
    background-color: #ffff00 !important;
    background: #ffff00 !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    box-shadow: inset 0 0 0 100px #ffff00 !important;
  }
  /* === Mobile-only: CTA Section (â‰¤480px) === */
  @media (max-width: 480px) {

    /* Section: reduce the inline padding-bottom: 80px via class override */
    .location-faq-section + .cta-box,
    section.cta-box {
      padding-top: 60px;
      padding-bottom: 60px;
    }

    /* CTA section-title: tighten bottom margin */
    .cta-box-content .section-title {
      margin-bottom: 20px;
    }

    /* Subtitle: scale down letter-spacing and font for narrow screens */
    .cta-box-content .sub-title {
      font-size: 0.8rem;
      letter-spacing: 1px;
    }

    /* H2: scale down from desktop default (~2.8rem) */
    .cta-box-content h2 {
      font-size: 1.75rem;
      line-height: 1.25;
    }

    /* Body paragraph: scale to readable density */
    .cta-box-content p:not(.sub-title) {
      font-size: 1rem;
      line-height: 1.65;
    }

    /* Button group: centre â€” flex + justify-content: center in inline style handles it */
    .cta-box-content .section-btn {
      margin-top: 22px;
    }
  }

  /* Location CTA Section Ambient SVGs */
  .ambient-backgrounds-cta {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }

  .ambient-svg-cta {
    position: absolute;
    color: #ffffff;
    opacity: 0.08; /* Static visibility on dark */
  }

  .cta-box .svg-cta-spiral {
    width: 600px;
    height: auto;
    bottom: -150px;
    left: -150px;
    opacity: 0.06;
    transform: rotate(-25deg);
  }

  .cta-box .svg-cta-cluster {
    width: 300px;
    height: auto;
    top: -50px;
    right: -50px;
    opacity: 0.08;
    transform: rotate(15deg);
  }

  /* Mobile Responsive for CTA SVGs */
  @media (max-width: 991px) {
    .cta-box .svg-cta-spiral {
      width: 300px;
      left: -80px;
    }
    .cta-box .svg-cta-cluster {
      width: 150px;
      top: -30px;
    }
  }

/* WCAG 2.3.3 Animation/Transition from Interactions Reset */
@media (prefers-reduced-motion: reduce) {
  .benefit-card,
  .benefit-card::before,
  .benefit-card::after,
  .benefit-card .benefit-icon {
    transition: none !important;
  }
  .benefit-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
  }
  .benefit-card:hover::before {
    opacity: 0 !important;
  }
  .benefit-card:hover::after {
    opacity: 0.1 !important;
  }
  .benefit-card:hover .benefit-icon {
    background: #f0f8ff !important;
    color: var(--primary-color) !important;
    box-shadow: 0 5px 15px rgba(2, 48, 71, 0.05) !important;
  }
}