 .tabs-wrap {
        max-width: 1120px;
        margin: -46px auto 0;
        padding: 0 20px;
        position: sticky;
        top: 10px; 
        z-index: 1000;
      }

      .tabs {
        display: flex;
        justify-content: space-between;
        gap: 0;
          background: linear-gradient(
    145deg,
    #fdfcf7,
    #f5eed8,
    #f1e7c8,
    #fdfbf5
  );
        backdrop-filter: blur(10px);
        border-radius: 22px;
        box-shadow: var(--shadow);
        padding: 10px 14px;
        border: 1px solid rgba(255,255,255,0.6);
      }

      .tab-btn {
        position: relative;
        flex: 1 1 220px;
        min-width: 0;
        border: 0;
        background: transparent;
        color: var(--muted);
        font: inherit;
        font-size: clamp(1rem, 2vw, 1.20rem);
        font-weight: 700;
        cursor: pointer;
        padding: 18px 20px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        transition: 0.25s ease;
      }

      @media (max-width: 768px) {
  .tab-btn {
        flex-direction: column;
  }
}

      .tab-btn:hover {
        background: rgba(18, 39, 77, 0.04);
      }

      .tab-btn::after {
        content: "";
        position: absolute;
        right: 18px;
        left: 18px;
        bottom: 6px;
        height: 4px;
        border-radius: 999px;
        background: transparent;
        transition: 0.25s ease;
      }

      .tab-btn.active {
        color: var(--text);
        background: rgba(18, 39, 77, 0.03);
      }

      .tab-btn.active::after {
        background: var(--tab-color, var(--family));
      }

      .tab-btn svg {
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
      }

      .tab-btn.family { --tab-color: var(--family); }
      .tab-btn.realestate { --tab-color: var(--realestate); }
      .tab-btn.labor { --tab-color: var(--labor); }

        @media (max-width: 900px) {
        .tabs {
          gap: 8px;
          flex-wrap:nowrap;
          justify-content:flex-start;
        }

        .tab-btn {
          flex: 1 1 100%;
          justify-content: center;
          padding: 14px 16px 16px;
          font-size:14px;
          padding:12px 16px;
        }
    }

        @media (max-width: 560px) {
        .tabs-wrap {
          padding-right: 14px;
          padding-left: 14px;
        }
    }